嗯嗯,我也试过这个,可是还是无法退出。代码如下: /* 单击以关闭 AIR 窗口 单击指定对象会退出 AIR 应用程序。 */ button_2.addEventListener(MouseEvent.CLICK, fl_CloseWindow_2); function fl_CloseWindow_2(event:Event):void { stage.nativeWindow.close(); }
2018年10月03日 10点10分
你这个是代码片段的吧 你百度搜索 是可以的 之前弄过
2018年10月04日 06点10分