I've copied the Adobe sample "public class PrintMultiplePages extends
MovieClip", it prints 2 pages with a rectangle of the page dimensions in the
'default' application colour on both pages and nothing else.
If I comment out the 'sheet.graphics' stuff it just prints two blank pages.
This is working for me . Can you please check if something else is missing.
You should be seeing two pages with a text on the top and the first page will
have white color image. Second page will just have text.
I've gone back to the url and copied and pasted the code in again just to be
sure. But it's still not working. I get 2 pages with the printable area in a
dark green colour much like the application default colour. There's nothing
else, no text and no small rectangle.
Have I missed initialising something? A button click calls doPrint()
Thanks,
Paul
<mx:Script>
<![CDATA[
import PrintMultiplePages;
private function doPrint():void
{
var p:PrintMultiplePages = new PrintMultiplePages();
}
]]>
</mx:Script>