Flash 5: Actionscript: Need an OnUnload kind of function
Posted on 2004-10-02
I have a chat program. Works great.
I need an unload function though.
The chat program runs in the flash .exe format - and when someone clicks on the "X" to close the window, I need the program to connect to the server and log the user out.
The user can click on a logout button, but not many people will be doing that. :)