I have created air application for TV. When user press on EXIT key of remote control, the application will be closed, this is ok with me.
But in the application, if user press on RETURN key, app will show the panel to confirm. If user choose 'no', it will back to app. If user choose 'yes', we must close application from flash.
Any one please let me know what actionscript function we should call?
Thank you very much.
No. of ways to Exit in Flex:
1. NativeApplication.nativeApplication.exit(); 2. Application.application.exit(); 3. application.close(); 4. exit();
Retrieving data ...