View Full Version : onExit event?
jerez_z
August 11th, 2004, 05:53 PM
Is there an event that IU can assign a function that is called when an swf closes? (say they click the close button of the internet explorer window) Cause that would be sweet.
Dulcinea
August 11th, 2004, 05:58 PM
onUnload
in javascript is <body onUnload="javascript: ...">
in flash is _root.onUnload = function() { ... }
jerez_z
August 11th, 2004, 06:32 PM
ok but I hoping for something in Actionscript. Does it exist?
senocular
August 11th, 2004, 06:36 PM
nope
ahmed
August 11th, 2004, 06:39 PM
You can embed the swf in an HTML page (which you should do anyway) and assign the onExit action to the window with javascript
jerez_z
August 12th, 2004, 09:39 AM
hmmmm.... well that just kinda sucks. Maybe I can work around it.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.