Quick update...

This can be accomplished using some Flex code as described on http://deepthoughts.orsomethinglikethat.com  ...

ExternalInterfaceUtil.addExternalEventListener( "window.onunload", unload, "unloadFlex" );


--- In [email protected], "pfact0ry" <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Is there a built in flex mechanism for detecting when the containing
> browser is closed or the flash player unloads? I've got a requirement
> to perform a final flex function when the user closes the browser
> window via the 'X' or otherwise. I'm currently attempting to
> accomplish this by using the ExternalInterface to set the browser's
> 'document.body.unLoad' event to call a flex function that has been
> exposed to the browser via the ExternalInterface.addCallback()
> function. Does anyone know a simpler way of doing so or any thoughts
> on this?
>
> Thanks in advance,
> Luke
>
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to