This content has been marked as final. Show 4 replies
Tough to say how much you will be able to do as the URL is changing,
use. You can then use the fscommand-style call to invoke a function in
your Flash movie to let it now it's about to be gone.
I haven't tried this though so I don't know how effective it is.
> Like most of the use of swf, my swf is embedded in an html. I'm wondering if I
> can catch the event in my swf when user browses away from the html. Is swf
> gets unloaded at the time? Can I do certain things in actionscript when it
> Help is appreciated.
Faster, easier, better...ActionScript development taken to new heights.
Download the BNMAPI today. You'll wonder how you ever did without it!
Available for ActionScript 2.0/3.0.
thanks, i'll try it out.
If the user moves to a new URL in the same browser window that held your
Flash movie, then the Flash movie is gone, so there will be nothing for
you to do. If the user is moving to another URL using a new window or a
function in your Flash movie. Look at the addCallBack method in the
ExternalInterface class. That might do the trick.
Adobe Community Expert
ic. thanks for the replies.