How to dynamically set print page margins in Flash CS3
问题 //I can get the right margins by defining a rectangle and giving it the following dimensions: var rect1:Rectangle = new Rectangle(0, 0, 792,612); //When the print button is pressed the following code executes using the dimensions defined by rect1: prntCover_btn.addEventListener(MouseEvent.CLICK, printCover); function printCover(evt:MouseEvent):void { front_mc.visible = false; var myPrintJob:PrintJob = new PrintJob(); var options:PrintJobOptions = new PrintJobOptions(); options.printAsBitmap =