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

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

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -