Thanks. I was looking for a way to do it in Flex, eg on an Application unload or destroy event, but I guess Flex doesn't have those. I'd just managed to remove all the ExternalInterface calls i was using so wasn't keen to use that approach.

Thanks for the links though. :-)

On 10/08/2008, at 7:41 AM, gerhard.schlager wrote:

--- In [email protected], Guy Morton <[EMAIL PROTECTED]> wrote:
> Does anyone know if there is an event that can be used to trigger
> clean-up activities when a Flex app is closed, either by the browser
> being closed or the user navigating to a new page?

Just look at [1] and [2].

[1] http://flexblog.faratasystems.com/?p=134
[2]
http://gregjessup.com/flex-3-catch-browser-exit-or-close-event-using-javascript-and-externalinterface/




Reply via email to