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();
}
精彩评论