-
PrintJob Class; printing selective layers
I have a picture gallery that i want to allow users to print off specific pictures from. Right now it prints off exactly what they see in the gallery which includes the next button, the print button and the menu. How do I tell my PrintJob to only print a certain layer? I just want the picture itself to print.
-
Just curious.. what does the code look like that's on your print button?
-
This is the action script on my code:
// add the event listener for the print button
print_btn.addEventListener("click", prnt_funct);
//function that prints the photo
function prnt_funct(eventObj:Object)
{
var my_pj:PrintJob = new PrintJob();
if (my_pj.start()) {
if (my_pj.addPage(slideShow_mc.slides_mc[this])) {
my_pj.send();
}
}
delete my_pj;
}
-
place the picture in a movieclip of its one and print that.
as far as I know you can only print entire movieclips not single layers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|