Hi all,
So I need to print a mc from a .swf that is loaded into another .swf.
However the print gives empty pages. The printing works fine when the swf is not loaded into another other swf.
So structure is:
main.swf (loades)
print.swf (swf that contains the mc to print)
print.swf works fine when run standalone in a browser.
I am using the printJob class. It does not seem to be a path problem… Any ideas?
mcPrint.onRelease = function() {
this.gotoAndStop("out");
var pj:PrintJob = new PrintJob();
// Letter paper size
pj.pageHeight = 730;
pj.pageWidth = 550;
if (pj.start()){
tr.text = "WOOO!";
pj.addPage("mcResultsAllPrint", {xMin:0,xMax:550,yMin:0,yMax:710});
pj.addPage("mcResultsAllPrint", {xMin:0,xMax:550,yMin:700,yMax:1270});
pj.addPage("mcResultsAllPrint", {xMin:0,xMax:550,yMin:1270,yMax:2150});
pj.send();
} else {
tr.text = "Problem!";
}
delete pj;
};