Revision: 50522
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 25, 2011 18:43 by ozke
Initial Code
public function Main():void { NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke); ... } private function onInvoke(event:InvokeEvent):void { toggleFullScreen(); stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; ... } private function toggleFullScreen():void { stage.displayState = ( stage.displayState == StageDisplayState.FULL_SCREEN_INTERACTIVE ) ? StageDisplayState.NORMAL : StageDisplayState.FULL_SCREEN_INTERACTIVE; }
Initial URL
Initial Description
Taken from here: http://blog.ochodurando.com/2010/04/adobe-air-e-fullscreen/
Initial Title
Adobe AIR fullscreen on launch
Initial Tags
Initial Language
ActionScript 3