quit application develop in flash release in Adobe air apk -



quit application develop in flash release in Adobe air apk -

i have develop 1 game in flash cs 5.5 , action script 3.0 , problem have set 1 close button in end of game. when press button after create apk , test on mobile, no effect(means not quit application). nik

this should work:

close.addeventlistener(mouseevent.click, onclickclose); private function onclickclose(evt:mouseevent):void { nativeapplication.nativeapplication.exit(); }

flash air flash-cs5

Comments

Popular posts from this blog

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -