Question

I want to exit ( close ) programmatically a mobile flex application when clicking a Button. What is the ActionScript for that ?

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top