Rumor has it vector based movie clips size to page and print full scale, this is a neat feature and somthing we wanted to offer our client. Although im having trouble getting it to print the movie clip. Can you help me out?
//Handle Roll over without movie clip
on (rollOver) {
var colorful = new Color(this);
colorful.setRGB("0x6E91CB");
}
on (rollOut) {
var colorful = new Color(this);
colorful.setRGB("0xCA5711");
}
//Handle release
on (release)
{
//Disable the print button
this.enabled = false;
//Attach the clip to be printed
mapPrint_mc = attachMovie("mcMap", "mcMap",{_x:0, _y:0, printOnly:true});
var objpj:PrintJob = new PrintJob();
objpj.orientation = "landscape";
mapPrint_mc._rotation = -90;
if (objpj.start()) {
objpj.addPage(mapPrint_mc,{},{printAsBitmap:true});
objpj.send();
}
//Clear the printed movieclip and print objects
mapPrint_mc.removeMovieClip();
delete mapPrint_mc;
delete objpj;
//Enable the print button
this.enabled = true;
}