How to exit (close) a mobile flex application?

1.6k views Asked by At

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

2

There are 2 answers

1
Abdul Salam On BEST ANSWER

I think you should use

NativeApplication.nativeApplication.exit();

Explained here: Application launching and exit options.

0
flexicious.com On

On Android you can do

NativeApplication.nativeApplication.exit();

On iOS, this is not possible. http://forums.adobe.com/message/4347689