0 Replies Latest reply on Jan 21, 2009 3:17 AM by tatiana1

    Logoff using Javascript and Flash

    tatiana1 Level 1
      Hi all, I have WEB page which contains a Flash AS2 movie. The user logs onto the system from Flash and when he closes the browser window, I execute a function which calls the logoff function in Flash. Currently it works fine, but in order to delay the browser window from closing, I'm opening an ALERT box with a message, while the Flash function is running in the background. Now I'd like to eliminate that annoying ALERT box, but have found no valid alternative. A loop, blocks browser execution altogether and the logoff function doesn't execute. Does anyone have any idea how I can accomplish this? Thanks!!! Here's the code: