Exit button.
I want to add "Exit" button to my app, used this code:
exit.addEventListener(MouseEvent.CLICK, exitHandler);
I want to add "Exit" button to my app, used this code:
exit.addEventListener(MouseEvent.CLICK, exitHandler);
Hi,
function exitHandler(event:MouseEvent):void
{
NativeApplication.nativeApplication.exit();
};
Also specific to Android OS:
http://blogs.adobe.com/flashplatform/2010/10/tip-close-your-android-air-app-on-back-button.html
regards,
Peter
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.