PDA

View Full Version : Change stage dimensions dynamically


jimboready
12-23-2005, 03:26 PM
Does anyone know if it's possible to change the stage width and height with actionscript? Or if there's a setting that will make the stage dimensions the same as the dimensions in the html that inserts the flash?

Many thanks,

- Jim.

deadbeat
12-23-2005, 06:03 PM
You would need to set the dimensions in the HTML...

K.

jimboready
12-24-2005, 12:52 AM
d'you know what setting I need for it to recognise the html dimensions as the stage dimensions? By that I mean Stage.width and Stage.height, not just how big it is in the webpage.

expresh
12-24-2005, 02:18 AM
something like this:

http://www.mustardlab.com/developer/flash/objectresize/

jimboready
12-24-2005, 10:54 AM
that's perfect. Thanks a lot :)

jimboready
12-27-2005, 05:40 PM
Awesome. Sorted it.. thanks a lot!