Hi, This looks like a very useful script that I'll be having a go at testing.
I came to it after having some issues with IE6 and resizing the flash movie while on the page.
You can do this by animating the size of the container div, with your movie set to noscale and salign set to 'lt'. But I seem to have problems with IE6 where even though the movie is set to 100%, it won't scale with the div, as it does on other browsers (in IE7)
So, I'm wondering if SWFObject will help me, as it should write the object/embed code correctly. Or does it only write the object tag?
I think a great new feature to add to this script would be the ability to animate the width or height of the Flash movie by using Javascript. (You could also call this JS using getURL("javascript:animateIt(etc, etc)"); from within the movie.)
I have also been looking at using Flash Shared Objects to trigger various JS things too.
It either writes an object OR embed tag depending on the browser. because of this, it can give each of them the same ID (since they are never on the same page at the same time).
So if you want to manipulate the object or embed tag, you can just use the id you pass intot he swfobject constructor (second parameter)
or you can set the swf to 100% by 100% and manipulate the div that contains the object or embed tag as well...
however, there are some issues in some browsers with manipulating things like that, and it may cause the browser to redraw your swf, which makes it restart... so there's only a limited number of attributes you can change in the parent elements.