Hey all,
I’m attempting to make a printjob for a project I am currently working on.
I want to be able to print everything on my third level, and based on tutorials / threads I’ve checked out here and on actionscript.org, the code below is what I came up with.
– EDIT –
The problem NOW is that when I press the print button, the printer just spits out a blank page.
_root.navi.printdesign.onRelease = function()
{
var pj = new PrintJob();
var success = pj.start();
var bitmap = new Object();
bitmap.printAsBitmap = true;
if (success) {
pj.addPage("3", {xMin : 0, xMax: 701, yMin: 0, yMax: 501}, {printAsBitmap: true}, {frameNum: 2} );
}
delete pj;
}