private function onClosing(event:Event):void{
event.preventDefault();//取消默认的事件行为??
Alert.show("是否关闭窗口");
}
<mx:WindowedApplication closing="onClosing(event)"/>
捕获air退出事件
最新推荐文章于 2024-08-14 16:38:13 发布
private function onClosing(event:Event):void{
event.preventDefault();//取消默认的事件行为??
Alert.show("是否关闭窗口");
}
<mx:WindowedApplication closing="onClosing(event)"/>