danny0085
March 13th, 2009, 10:22 PM
I have a MovieClip map inside I have a UILoader where I load a map, this map is very big so I need to use a mask:
// Draw the mask
var square:Sprite = new Sprite();
square.graphics.lineStyle(1, 0x000000);
square.graphics.beginFill(0x0000ff);
square.graphics.drawRect(0, 0, 600, 600);
square.graphics.endFill();
this.addChild(square);
mapa.mask = square;
var myPrintJob PrintJob = new PrintJob();
myPrintJob.start();
myPrintJob.addPage(mapa);
myPrintJob.send();
when the parameter scaleContent of the UILoader is true print the map, but I need this parameter to be false, and when it is false it donīt print
What I am doing wrong?
Thanks for your time.
// Draw the mask
var square:Sprite = new Sprite();
square.graphics.lineStyle(1, 0x000000);
square.graphics.beginFill(0x0000ff);
square.graphics.drawRect(0, 0, 600, 600);
square.graphics.endFill();
this.addChild(square);
mapa.mask = square;
var myPrintJob PrintJob = new PrintJob();
myPrintJob.start();
myPrintJob.addPage(mapa);
myPrintJob.send();
when the parameter scaleContent of the UILoader is true print the map, but I need this parameter to be false, and when it is false it donīt print
What I am doing wrong?
Thanks for your time.