You can try flash.events.Event.DEACTIVATE
which comes out of Application a new problem arises if the user really shut down the flash player or just alt-tabbing [p e r c e p t i c o n] wrote: > > > Hi all, > > > Is there any way to do some cleanup just before an app exits? for > example i've persisted some data to the DB and since the user hasn't > completed all the steps, i want to roll back that commit..is there an > event i can write a handler for? > > thanks > > and > > cheers > > -- > [ p e r c e p t i c o n ] > Notice of confidentiality: The information contained in this e-mail is intended only for the use of the individual or entity named above and may be confidential. Should the reader of this message not be the intended recipient, you are hereby notified that any unauthorized dissemination, distribution or reproduction of this message is strictly prohibited. If you have received this message in error, please advise the sender immediately and destroy the e-mail.

