onExit event?

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.

onUnload
in javascript is <body onUnload=“javascript: …”>
in flash is _root.onUnload = function() { … }

ok but I hoping for something in Actionscript. Does it exist?

nope

You can embed the swf in an HTML page (which you should do anyway) and assign the onExit action to the window with javascript

hmmmm… well that just kinda sucks. Maybe I can work around it.