Reputation: 502
Is it possible to make a flash player go full screen (not in browser)? Would there be any bug / error on different version of Flash player?
Upvotes: 1
Views: 2996
Reputation: 4340
HI!
stage.displayMode = StageDisplayState.FULL_SCREEN_INTERACTIVE;
Available only in Adobe AIR. It allows you to listen to keyboard events (meaning you can also type inside text boxes etc..)
stage.displayMode = StageDisplayState.FULL_SCREEN;
Available in any AS3 based flash file (starting from flash 9) There is no issue with using it, except you cannot use the keybard.
Upvotes: 1
Reputation: 588
From my experience with fullscreen mode's in flash the main thing to bear in mind is to make your application have liquid layouts which re-act to the Event.RESIZE. Then when you listen for that event re-lay out your application to the new ( fullscreen ) width and height.
To do this you would change the stage.displayMode to StageDisplayState.FULL_SCREEN
Upvotes: 1
Reputation: 9897
In Flash player it's Ctrl-F, as menu suggests, so it's certainly possible. Have you tried stage.displayMode = StageDisplayState.FULL_SCREEN_INTERACTIVE? StageDisplayState doc says it's here from version 9.0.28.0.
Upvotes: 0