Adobe AIR: how to make things upon closing the application
posted in /home/ActionScript on 2010-11-03 |
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:
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:
Delicious