I\'m loading an SWF movie into an HTML page using SWFObject. I want to resize this SWF dynamically. How can SWFObject help? I\'m sure I don\'t have to write my own solution.
The easiest solution is to embed the SWF within a container div, then use JavaScript and CSS to dynamically resize the container DIV. If the SWF is set to 100% width/height, it will stretch to fit the wrapper whenever the wrapper is resized.
In the body:
This div will be replaced by an object via SWFObject
In the head:
Now whenever you resize #wrapper, the SWF will scale to fill it.