esc 退出程序
作者:互联网
air
stage.addEventListener(FullScreenEvent.FULL_SCREEN,screenHandle); function screenHandle(e:FullScreenEvent):void { if(!e.fullScreen) { NativeApplication.nativeApplication.exit(); } }
as3
stage.addEventListener(FullScreenEvent.FULL_SCREEN,screenHandle); function screenHandle(e:FullScreenEvent):void { if(!e.fullScreen) { NativeApplication.nativeApplication.exit(); } }
标签:function,fullScreen,screenHandle,FULL,SCREEN,程序,esc,FullScreenEvent,退出 来源: https://www.cnblogs.com/dt1991/p/14589140.html