back to krasimirtsonev.com
to blog's home page

Adobe AIR: how to make things upon closing the application

Sometimes we need to catch the closing of our AIR application to make some things like storing the window's position and size. We can do that in our code.

What we need is to add a listener to our nativeWindow.

and then to prevent the closing of the application till we do what we want:
Sharing ...
Commenting ...
blog comments powered by Disqus