printJob Class help

Hey all,

my printJob Class works perfectly till the point of where my mask stops…

currently it is set up like so:

  1. MC with textfield in it.
  2. Textfield has a mask over it with a scroller.
  3. print button
  4. when it prints i have scaled my document and i get a few lines more but still not the whole textfield.

here is my code:

var printbutt:TextField = this.createTextField("printbutt", this.getNextHighestDepth(), 0, 0, 0, 0);
printbutt.autoSize = "left";
printbutt.border = true;
printbutt.selectable = false;
printbutt.html = true;
printbutt.htmlText = "<a href='asfunction:startPrint'>PRINT</a>";
var tField:TextField = contentMain;
function startPrint():Void {
    var pjTheAgency:PrintJob = new PrintJob();
    if (pjTheAgency.start()) {
        tField._yscale = 100*pjTheAgency.pageHeight/tField._height;
        tField._xscale = tField._yscale;
        pjTheAgency.addPage(contentMain);
    }
    pjTheAgency.send();
    tField._xscale = 100;
    tField._yscale = 100;
    delete pjTheAgency;
}

any help would be great

ps. “it only prints a paragraph more past the end of my mask, and my mask is a dynamic mask”

Cheers all,