Hello, everyone.
We have that Flex app talking to the server. We need some kind of *FlexEvent.ON_BROWSER_WINDOW_CLOSE* event but, unfortunately Flex does not provide such.
So I've got the advice to catch a javascript "onbeforeunload" event and call the flash client thru the ExternalInterface-registred method.
Is there any way to subscribe for a javascript event without any javascript code?
Update I'm want to do that is multiply flash app hosting pages. Certainly we could manage that by external javascript file, but it's unclear still...