Re: [flexcoders] application exit event?

2008-02-22 Thread Sherif Abdou
you would probably need to use some javascript, and detect it from there - Original Message From: Maciek Sakrejda <[EMAIL PROTECTED]> To: flexcoders Sent: Friday, February 22, 2008 6:22:42 PM Subject: [flexcoders] application exit event? I need to perform some cleanup when th

[flexcoders] application exit event?

2008-02-22 Thread Maciek Sakrejda
I need to perform some cleanup when the user exits the application (i.e., closes the page in which the application is embedded). Is there an event I can listen for? I've tried Event.REMOVED, FlexEvent.REMOVE, and Event.REMOVED_FROM_STAGE, but none of those seem to fire targetting the actual applica