If you're using Flash 8 you can skip using the modal dialog box. Because ExternalInterface and JavaScript communicate synchronously the JavaScript waits for Flash to return a value and the window waits for JavaScript. It's a great setup. You gotta love Flash8!
Tyler On 4/30/06, g. wygonik <[EMAIL PROTECTED]> wrote:
If you dig in the list archives (if they are still around), i wrote a bit about how i used onBeforeUnload to trigger Flash and i know other people chimed in. In IE-only situations, i found it best to catch the onBeforeUnload event, tell Flash via setVariable, open a modal dialog box (so the main browser won't close) then either have the modal box close itself after a few seconds, or have a localConnection or sharedObject setup to let a Flash movie in the modal dialog know the main Flash was done and it could close itself, which would in turn close the first, main window. whew! :-) There are ways to have a modal box in other browsers, but i don't know the details off the top of my head. fwiw g. On 4/25/06, erixtekila <[EMAIL PROTECTED]> wrote: > > > Le 25 avr. 06, à 23:31, David Rorex a écrit : > > > window.onbeforeunload > Never knew that one. > > I'l check for its availability across platforms. Thanks. > > ----------- > erixtekila > http://blog.v-i-a.net/ > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- weblog: broadcast.artificialcolors.com blazePDF: www.blazepdf.com band: www.cutratebox.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

