|
-
Printing
Hello,
I have set up a mc buttons to print on release this is the code that I used
b10.onRollOver = over;
b10.onRollOut = out;
b10.onRelease = b10release;
function b10release(){
printNum(0,"bframe");
}
b10.buttText.buttonText.text = "Keypad Mode English Version";
This works well. The problem that I am having is that I have four different buttons set up to print four different documents. These documents are PDF that I have imported to the main library and placed on the stage.
The thing is that I can not get the different pages to print just the first one.
Not sure how to correct this.
thanks,
Jenn
-
Still having a problem not sure how to correct it.
Jenn
-
Wait- what now?
have you tried grouping them all into one PDF?
"I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."
-
I need them to be printed seperately. I have set up 4 different buttons to print four different pages. Is this possible?????
Jenn
-
I still haven't figured out how this is done..
I have four different documents and four buttons, when the user clicks on the different buttons the doc correct page is printed.
I am sorry if I am not clear on what I am looking for..
Right now when I cleck on the different buttons the same document prints.....
Jenn
-
Is there anyone that could clarify this for me???
-
Senior Member
What does the code look like on the other buttons?
_t
-
-
Senior Member
printNum prints the level that you assign it. In your case you have said to print level 0 or the _root. If each button has the same code on it, then why would it print different things?
If you load your PDFs into different levels and change the script on each button to print the appropriate level, things should work out for you.
_t
-
ok now i feel stupid... The files that I am trying to print on on different frames but in the same layer. Is it code that locates them on different levels????
Jenn
-
Senior Member
I would use print and not printNum.
1. Put each of you PDFs into a seperate movieclip.
2. Place the movies off the viewable area of the stage.
3. Give each of them a different instance name.
Code for buttons goes on a frame not on the buttons:
code: myBtn1.onRelease = function(){
print(PDFHolder1, "bframe");
}
myBtn2.onRelease = function(){
print(PDFHolder2, "bframe");
}
myBtn3.onRelease = function(){
print(PDFHolder3, "bframe");
}
No need to feel stupid. Printing is tricky. I'm sure there are many more ways to accomplish this,including using a PrintJob, but this should work.
-
Thank you for the reply I will try this and let you know...
Jenn
-
Thank you soooo much this worked.
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
|