Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lknk

macrumors newbie
Original poster
Jan 3, 2009
1
0
no idea how to solve this "PrintJob"
Please tell me the hint..

(1)my flash version:FLASH CS3(Action script3.0)
(2)OS:MacOS 10
(3)Problem:
I am getting the error that it can not be printouted illustrations
(each instance neme is mcprint1,mcprint2)

(4)About file:
file name: example1
print button(instance neme): Printbutton
illust1(instance name): mcprint1
illust2(instance name): mcprint2

(5)Here is the (error) code

Printbutton.addEventListener(MouseEvent.CLICK, btPrintClickHandler);
function btPrintClickHandler(evt:MouseEvent):void {
var example1:printJob = new PrintJob()
var arr = new Array( mcprint1, mcprint2);
if (example1.start()){
try {
example1.addPage(arr, null, null, 0);
}catch(err:Error){
}
example1.send();
}
}
 

Attachments

  • Printjob.zip
    32.7 KB · Views: 100
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.