I think you should use
NativeApplication.nativeApplication.exit();
Explained here: Application launching and exit options.
Question
I want to exit ( close ) programmatically a mobile flex application when clicking a Button. What is the ActionScript for that ?
Solution
I think you should use
NativeApplication.nativeApplication.exit();
Explained here: Application launching and exit options.
OTHER TIPS
On Android you can do
NativeApplication.nativeApplication.exit();
On iOS, this is not possible. http://forums.adobe.com/message/4347689