AS3 fullscreen delay in chrome
How can I hide all controls before stageDisplayState changes? setTimeout
and Timer cannot be used to delay switching to fullscreen. I have created
a curtain element that I want to show BEFORE the display state change.
Timeout, timers, and mousedown events do not give any change events in my
application, so what can I do?
stage.addEventListener(MouseEvent.CLICK, function (e:MouseEvent):void {
//curtain shows AFTER enter to fullscreen mode - must before
curtain.visible = true;
stage.displayState = StageDisplayState.FULL_SCREEN;
});
Any tips, dear ActionScript masters?
No comments:
Post a Comment