I'm building a room layout application, and one of its features is that you can create a PDF printout of your project. I'm using AlivePDF to create the PDFs in the Flash player.
The app needs to create PDFs of many pages, and each page takes awhile to create. what I just started seeing today is that it times out before it can create all the pages. My general routine is that I have a print view class that's a container for the pages. Each room in the project gets a page, so for each room, I set the print view to show that room, invalidate the view with validateNow(), create the image, and pass it into the PDF. I figure I can cut the createPrintout() method into a few different methods, but for whichever method calls these smaller ones, how do I keep it from timing out before all the pages are created? How can I use callLater() to spread this work out so that this process (which by its nature takes awhile) doesn't time out? Many thanks for any advice you can offer, OK DAH