/ Published in: ActionScript 3
This is a way to detect when Flash exit full screen mode.
Expand |
Embed | Plain Text
import flash.display.StageDisplayState; this.stage.addEventListener(Event.RESIZE, this.handleStageResize); function handleStageResize(e:Event):void { if (stage.displayState == StageDisplayState.FULL_SCREEN) { //Do your full screen stuff }else { //Do your back to normal screen stuff } }
You need to login to post a comment.
