Hi folks, i have a very long movieclip and i need to take printout. how printjob class is used take printout(multiple page)?
var printJob: PrintJob = new PrintJob();
if (printJob.start())
{
var numPages:Number = 0;
if (printJob.addPage(mc))
{
trace(numPages)
numPages ++;
}
// etc.
if (numPages> 0)
{
trace(‘sending…’);
printJob.send(); // print page(s)
}
}
delete printJob;
i’m using this code but it takes only one page…
anyhelp will be appreciated.
Thanks.