开发者

quit application develop in flash release in Adobe air apk

i have develop one game in FLASH cs 5.5 and Action script 3.开发者_开发百科0 , my problem is i have put one close button in end of that game. but when i am press those button after make apk and test on mobile, it get no effect(means not quit my application). thanks nik


this should work:

close.addEventListener(MouseEvent.CLICK, onClickClose);
private function onClickClose(evt:MouseEvent):void
{
  NativeApplication.nativeApplication.exit();
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜