PrintJob works fine in simplistic Flash movies. Try and do anything advanced (such as a stock exchange trading system) and it will cause the alert to appear.
That ain't an error with my code! --- On Wed 03/29, Steven Sacks < [EMAIL PROTECTED] > wrote: From: Steven Sacks [mailto: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 29 Mar 2006 03:34:35 -0800 Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. The modal dialog does not belong to Flash, it belongs to Windows, andspecifically 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 testedkeeping my PrintJob dialog open for a full 3 minutes and I did not get analert that Flash was hung.So, it looks like you have some other issue with your movie and PrintJobisn'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://[EMAIL PROTECTED] change your subscription options or search the archive:http://chattyfig.figleaf.com/mailman/listinfo/flashcodersBrought to you by Fig Leaf SoftwarePremier Authorized Adobe Consulting and Traininghttp://www.figleaf.comhttp://training.figleaf.com _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! _______________________________________________ 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