[flexcoders] printJob and callLater

2008-09-03 Thread markdemich
I have an application that produces a very large printout.  The 
documentation in the printJob says that you have a 15 second time 
limit in between calls to PrintJob.addPage (this is what 
FlexPrintJob.addObject is calling).  However, based on my tests it 
seems you have 60 seconds for the whole thing to happen.  I tried to 
chain my addPage calls with callLaters but that just cause an 
exception on the second addPage.  The documentation says that you can 
do it in multiple frames, but that doesn't seem to be the case.  Am I 
stuck with making sure my print job get's completely done withing the 
60 second timelimit or is there a work around?



RE: [flexcoders] printJob and callLater

2008-09-03 Thread Alex Harui
Yeah, due to a bug, you can't print over multiple frames.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
markdemich
Sent: Wednesday, September 03, 2008 12:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] printJob and callLater


I have an application that produces a very large printout. The
documentation in the printJob says that you have a 15 second time
limit in between calls to PrintJob.addPage (this is what
FlexPrintJob.addObject is calling). However, based on my tests it
seems you have 60 seconds for the whole thing to happen. I tried to
chain my addPage calls with callLaters but that just cause an
exception on the second addPage. The documentation says that you can
do it in multiple frames, but that doesn't seem to be the case. Am I
stuck with making sure my print job get's completely done withing the
60 second timelimit or is there a work around?