Want to take part in these discussions? Sign in if you have an account, or apply for one below
myCapsules forum v.1.1.10
var my_print_job:PrintJob = new PrintJob();
var myResult:Boolean = my_print_job.start();
if(myResult) {
// if you need to scale to fit the paper, then here it is
var x:Number = _root._xscale;
var y:Number = _root._yscale;
_root._xscale = 75;
_root._yscale = 75;
// print the whole page
my_print_job.addPage("_root", {xMin:0,xMax:800,yMin:0,yMax:600});
// stretch movie back to normal
_root._xscale = x;
_root._yscale = y;
my_print_job.send();
}
// clear this print job out of memory
delete my_print_job;
xxx.addPage("_root", {xMin:0,xMax:800,yMin:0,yMax:600}, {printAsBitmap:Boolean}
, <frame#>);1 to 1 of 1