import flash.display.StageDisplayState;
import flash.system.fscommand;
import flash.media.Sound;
import flash.media.SoundChannel;
function GM():void
{
this.stage.scaleMode = StageScaleMode.NO_SCALE;
goFullScreen();
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
function goFullScreen():void
{
if (stage.displayState == StageDisplayState.NORMAL)
{
stage.displayState = StageDisplayState.FULL_SCREEN;
}/* else {
stage.displayState=StageDisplayState.NORMAL;
}*/
}
GM();
function onEnterFrame(e:Event):void
{
goFullScreen();
}
function ExitControls():void
{
var exit_btn:close_btn = new close_btn();
exit_btn.x = 980;
exit_btn.y = 790;
exit_btn.buttonMode = true;
exit_btn.addEventListener(MouseEvent.MOUSE_DOWN, _handleClick);
addChild(exit_btn);
}
function _handleClick(event:MouseEvent):void
{
fscommand("quit");
}
ExitControls();
MX04 ???????? ?????? ??????????? ????????
-
???? ??????! ???? ????? ?????, ? ? ?????? ???????? ???????? ?????? ?? ?????
https://multfilmy.cyou . ??? ????? ?????????? ?????????, ??????? ???
??????????...
1 week ago
0 comments:
Post a Comment