To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-31-2006, 03:36 PM   #1
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
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
Jenn_C is offline   Reply With Quote
Old 04-03-2006, 10:43 AM   #2
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
Still having a problem not sure how to correct it.

Jenn
Jenn_C is offline   Reply With Quote
Old 04-03-2006, 03:00 PM   #3
tidenburg
Wait- what now?
 
tidenburg's Avatar
 
Join Date: Dec 2005
Posts: 1,468
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."
tidenburg is offline   Reply With Quote
Old 04-05-2006, 09:56 AM   #4
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
I need them to be printed seperately. I have set up 4 different buttons to print four different pages. Is this possible?????

Jenn
Jenn_C is offline   Reply With Quote
Old 04-19-2006, 11:44 AM   #5
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
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
Jenn_C is offline   Reply With Quote
Old 04-19-2006, 01:15 PM   #6
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
Is there anyone that could clarify this for me???
Jenn_C is offline   Reply With Quote
Old 04-19-2006, 01:33 PM   #7
Shotsy247
Senior Member
 
Shotsy247's Avatar
 
Join Date: Apr 2001
Location: Be there in a minute!
Posts: 1,386
What does the code look like on the other buttons?

_t
__________________
I don't feel tardy.
Shotsy247 is offline   Reply With Quote
Old 04-19-2006, 01:54 PM   #8
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
It looks the same way.
Jenn_C is offline   Reply With Quote
Old 04-19-2006, 02:14 PM   #9
Shotsy247
Senior Member
 
Shotsy247's Avatar
 
Join Date: Apr 2001
Location: Be there in a minute!
Posts: 1,386
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
__________________
I don't feel tardy.
Shotsy247 is offline   Reply With Quote
Old 04-20-2006, 09:24 AM   #10
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
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
Jenn_C is offline   Reply With Quote
Old 04-20-2006, 09:57 AM   #11
Shotsy247
Senior Member
 
Shotsy247's Avatar
 
Join Date: Apr 2001
Location: Be there in a minute!
Posts: 1,386
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.
__________________
I don't feel tardy.
Shotsy247 is offline   Reply With Quote
Old 04-20-2006, 10:00 AM   #12
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
Thank you for the reply I will try this and let you know...

Jenn
Jenn_C is offline   Reply With Quote
Old 04-20-2006, 11:41 AM   #13
Jenn_C
Member
 
Join Date: Aug 2005
Posts: 34
Thank you soooo much this worked.
Jenn_C is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash Newbies

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:21 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.