Skip to main content
September 2, 2008
Question

Exit confirmation?

  • September 2, 2008
  • 3 replies
  • 472 views
Is it possible to detect the exit button was pressed and handle it (cancel it)?

I would like to put a confirmation on the player exit but I cannot find anything.
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
September 2, 2008
jpsoul's response was correct.
September 2, 2008
Yes, the exit button on the window containing the running flash application is what I am referring to. There seems to an event for maximize but not exit.

Even if we were unable to cancel the exit, it would make sense to be able to detect the application exit so that data could be saved like any word processor or data application can do.
Participating Frequently
September 2, 2008
If you're talking about the exit button (the "x") from the browser, then you will want to use JavaScript to detect the event.