fullScreen doesn’t work?

March 10th, 2011 by admin » (0) » AS3

You have a fullscreen-function that just won’t work.

stage.displayState = StageDisplayState.FULL_SCREEN;

No matter what you try… it doesn’t seem to work out. The first thing you should check is, whether you have the Debug Player installed. And if you have, you might get a Security Error, that says, Fullscreen Mode is not allowed…

Adobe Debug Player shows Security Error

Debugger shows Security Error for Fullscreen

The answer is, that entering the fullscreen mode isn’t allowed through a MouseEvent.MOUSE_OVER, you should use a proper CLICK-Event.

Max Schalch

About the author

Max, twentysomething, is a designer and developer from Bavaria. He runs his own business and was long time employed in media and advertising.
On fASforward.com he blogs about ActionScript, Flash, ColdFusion and all the other stuff.

Twitter | XING | LinkedIn | Facebook

Leave a Reply