I think it is System.exit(0);
NativeApplication.exit() for air
Message was edited by: saisri2k2
Thanks guys for putting me on the right track .....
With a bit more rooting about I got the following to work
This just closes all the windows and shuts down the application in a rudimentary way. For a more graceful exit the notes at ...
... look pretty helpful,