How can i make my flash applications in a browser in full screen mode? I know that the stage can be put in that mode, but when i run the application in any browser this doesn't work. So, this can be done, but how?
+2
A:
Check this article on Adobe DevNet: http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html
Christophe Herreman
2008-10-07 14:24:48
A:
I believe it is a simple actionscript command. Source
fscommand( "fullscreen" , "true" )
John Chuckran
2008-10-07 14:29:50
this doesn't work in a web browser.
unkiwii
2008-10-07 14:32:07
+10
A:
In the HTML including the Flash SWF, add the following parameter to your <object> tag:
<param name="allowFullScreen" value="true" />
and the following attribute to your <embed> tag:
allowFullScreen="true"
Or, if you are using SWFObject (as you should be), add the allowFullscreen parameter to your embed code. See the SWFObject documentation for the various ways to this.
In your Flash/Flex file, you need to provide the user a way to initiate fullscreen mode - you cannot force fullscreen without the user initiating it. Whatever you have the user do, include this code as a response to it:
stage.displayState = StageDisplayState.FULL_SCREEN; //Flash
systemManager.stage.displayState = StageDisplayState.FULL_SCREEN; // Flex
81bronco
2008-10-07 15:06:16