Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

Detect window closing event in AIR application

$
0
0
How do I detect the window closing event in an AIR app? Tried the following.

deactivate and windowDeactivate events in the WindowedApplication tag.
addEventListener(Event.CLOSING, onClose);
addEventListener(AIREvent.APPLICATION_DEACTIVATE onClose);
addEventListener(AIREvent.WINDOW_DEACTIVATE, onClose);

None of them seem to work.
Any ideas?

Thanks
CS

Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>