Is there a way to do
in Flash? MaybeCode:html:
body onunload="..."
or something? I need to know because I'm making a chat room and I'm trying to figure out how to detect a user leaving the chat.Code:actionscript:
on (movieUnload) {...}
Thanks
Printable View
Is there a way to do
in Flash? MaybeCode:html:
body onunload="..."
or something? I need to know because I'm making a chat room and I'm trying to figure out how to detect a user leaving the chat.Code:actionscript:
on (movieUnload) {...}
Thanks
hi..
please make your question clearer..
do you want to detect that the whole movie is closed or the movieclip is unloaded, because you can do the latter by usint eh handler:
Code:onClipEvent(unload)
the whole movie
the only way I can think of doing it is by loading it through a JavaScript function & then unloading it w/ javascript as well...
and how would i do that?