you would probably need to use some javascript, and detect it from there
----- Original Message ---- From: Maciek Sakrejda <[EMAIL PROTECTED]> To: flexcoders <[email protected]> Sent: Friday, February 22, 2008 6:22:42 PM Subject: [flexcoders] application exit event? 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 application object. Any ideas? -- Maciek Sakrejda Truviso, Inc. http://www.truviso. com ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

