Rich Rodecker’s blog on flash, flex, actionscript, javascript, and php, with a dash of randomness
Archive for May, 2006
Think Vitamin
May 5th
Vitamin is a resource for web designers, developers and entrepreneurs. I just found this site today, I’m not sure how long it’s been around, but the content in the site looks pretty sweet. Looks like there’s some pretty well-known names contributing, so the content has some cred behind it as well.
SWFObject helper
May 2nd
As if SWFObject wasn't easy enough to use on its own, i created a little helper js file to use with it, it's like a little 'cheat sheet'. It lists all the possible variables and parameters that need to be set for SWFObject, and also lists all the possible parameters for the object/embed tags. I just created this so you don't need to go searching through any docs (either SWFObject's or macrome adobe's) to find the information you need.
Download here: js_swfo_helper.zip
Usage: All you're doing is including is including the swfobject_helper.js file in place of the the normal swfobject embedded script, so this:
-
<script type="text/javascript">
-
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699");
-
so.write("flashcontent");
-
</script>
turns into this:
-
<script type="text/javascript" xsrc="swfobject_helper.js"></script>
Then you just crack open the swfobject_helper.js file and set any parameters you need.
