I use the javascript method, except i use the swfobject/javascript
integration kit...works fine for me.



On 9/21/06, David Rorex <[EMAIL PROTECTED]> wrote:

The only way I know to do it is from javascript, and then call to flash
using ExternalInterface, which is synchronous, thus the browser cannot
exit
until the flash function call finishes (so it wont 'zap' the flash object
in
the middle of your cleanup)

-David R

On 9/21/06, Michel Gaudette <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> Do any of you know how to catch the event (in Flash/AS) when a browser
> is closed or zapped?
>
> I think I could use the JavaScript unloadPage if it's called before the
> Flash object is zapped, but I'd prefer to use some sort of onUnload() on
> the main timeline...
>
> Any clues?
> Thanks!
>
> Michel
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to