Is the fla saved as CS4? Can you resave as CS3, I get unexpected file format
Regards
Ninja_Boy
Not everyone knows that you can change the size of a SWF in real time, at runtime.
When Flash CS3 came out many of us hoped that the new version of Actionscript allowed to
set the size of the stage so that we could change the size of the SWF embedded in html page.
We thought we could act on the properties stage.stageWidth and stage.stageHeight but we were wrong because these properties are read-only, not writable.
So, how to change the size of SWF?
This is possible using Actionscript and Javascript.
I found a really good Actionscript class that allows to do so.
The author is Noel Billig.
I created an example, have a look...
DEMO
Source files:
Is the fla saved as CS4? Can you resave as CS3, I get unexpected file format
Regards
Ninja_Boy
It's working fine to me.
post the code
Bookmarks