The modal dialog does not belong to Flash, it belongs to Windows, and specifically it belongs to the browser window that contains the Flash movie.
This being said, I have a Flash app that uses PrintJob and I just tested keeping my PrintJob dialog open for a full 3 minutes and I did not get an alert that Flash was hung. So, it looks like you have some other issue with your movie and PrintJob isn't to blame. -Steven > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Danny Kodicek > Sent: Wednesday, March 29, 2006 3:26 AM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. > > > >> I would suggest that it is: there's no error in the code, and > >> it's not that > >> the Flash movie itself is running slowly, it's purely a > >> result of user > >> interaction. While the print dialogue is displayed, the Flash > >> movie should > >> simply not be running. > > > > PrintJob makes a synchronous call to the OS. Flash ceases > to execute code > > until it receives a response. Unfortunately, this means > Flash is hung on > > a > > line of code which means Flash is going to throw up an > error after 15 > > seconds because it believes, and rightfully so, that it has > code that is > > unresponsive. > > > > It is not a bug. It's the way PrintJob is written - synchronously. > > Er - and I'd say that's a bug (in Flash, not in the OP's > code). The code > that checks if a movie is hanging should be looking at number > of lines of > code executed. While a modal dialogue is up, it shouldn't be > being called at > all. > > Danny > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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