I can see many are asking about the the printJob but I can't really find an answer for my problem...
I use this code:
PHP Code:
printBut.onRelease = function() {
    var 
pageCount:Number 0;
    var 
my_pj:PrintJob = new PrintJob();
    if (
my_pj.start()) {
        if (
my_pj.addPage("txtMc", {xMin:0xMax:600yMin:0yMax:800}, {printAsBitmap:false}, 2)) {
            
pageCount++;
        }
    }
    
// If addPage() was successful at least once, print the spooled pages. 
    
if (pageCount>0) {
        
my_pj.send();
    }
    
delete my_pj;

}; 
Inside "txtMc" (frame 2) is a dynamic textbox and it's content depends on the user. It prints fine but only one page no matter what.
Can anyone please tell me what I'm doing wrong???

Thz