Question
Fullscreen Flash Projector
Hello everybody.
I used to make fullscreen Flash websites, using 100x100 width/height and "No Scale" on Publish Settings.
Everything is ok on a browser, since I can position elements using relative coordinates for liquid layouts.
Now I have to make a fullscreen standalone .exe projector.
To get fullscreen I use fscommand("fullscreen", "true") on the first frame and it works.
The problem is:
If I create a 1024x768 Flash movie, even with 100x100 and "No Scale" activated, the movie remains at 1024x768.
So, if I trace stage.stageWidth and stage.stageHeight, those remain respectively at "1024" and "768", but I need for the movie to get the max width and max height available on the system.
In the browser it happens automatically, but in the Flash projector it doesn't.
*** So, how can I get the movie to match the exact size of the screen where it runs? ***
I've tried with Capabilities.screenResolutionX and Y but there is no way (and I think it's normal) to set the stage.width and stage.height properties on runtime.
Thank you.
I used to make fullscreen Flash websites, using 100x100 width/height and "No Scale" on Publish Settings.
Everything is ok on a browser, since I can position elements using relative coordinates for liquid layouts.
Now I have to make a fullscreen standalone .exe projector.
To get fullscreen I use fscommand("fullscreen", "true") on the first frame and it works.
The problem is:
If I create a 1024x768 Flash movie, even with 100x100 and "No Scale" activated, the movie remains at 1024x768.
So, if I trace stage.stageWidth and stage.stageHeight, those remain respectively at "1024" and "768", but I need for the movie to get the max width and max height available on the system.
In the browser it happens automatically, but in the Flash projector it doesn't.
*** So, how can I get the movie to match the exact size of the screen where it runs? ***
I've tried with Capabilities.screenResolutionX and Y but there is no way (and I think it's normal) to set the stage.width and stage.height properties on runtime.
Thank you.
