Question
Getting the application to exit when the user presses the Home button
I've got this, currently, but it doesn't seem to work:
NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, onDeactivateApp);
...
protected function onDeactivateApp(event:Event):void
{
NativeApplication.nativeApplication.exit();
}Help?
