February 14th, 2004, 02:21 PM
how to resize to full screen?
hello, i am noobie in flash,
i wanted to know how this website was made,
this website resizes to full screen depending on resolution,
i tried 800x600, 1200x800, etc and its always displays full screen, how did they do it? also maybe its not a good idea to
make a flash page that covers whole screen? thanks
February 14th, 2004, 06:42 PM
Hi, you can use the Stage object to do that. It has a function called onResize. If you search around you can find some info on this. The idea is you link it to a function that will then be called each time the screen is resized. You can then use that to position your objects based on the new dimensions.
Dont really know if this is how they did it, but it's one way to do what you want...
Stage.onResize = function()
myMenu._y = Stage.height - myMenu._height;
myRightBorder = Stage.width - myRightBorder._width;
Quis custodiet ipsos custodes?
February 15th, 2004, 05:06 PM