This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2005 > how to ad a direct link from a button to a pdf?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how to ad a direct link from a button to a pdf?
flashe11

2004-04-21, 3:15 pm

Help, I am a novice. How do you make a direct link from a button to a pdf file? thanks.
Kathy

2004-04-21, 3:15 pm

on (release) {
getURL("http://www.whatever.com/whatever.pdf");
}

flashe11 wrote:
> Help, I am a novice. How do you make a direct link from a button to a pdf file? thanks.


rlc5611

2004-04-21, 3:15 pm

If you want it in a separate window:

on (release) {
getURL("http://www.whatever.com/whatever.pdf","_blank");
}
fourteensquarefeet

2005-05-09, 11:14 pm

and what if you want it to download automatically to the users desktop?
merlinvicki

2005-05-10, 4:16 am

to download automatically put the same code without the event handler on the
frame:
getURL("http://www.whatever.com/whatever.pdf","_blank");

to download it to the desktop zip it and use the same code:
getURL("http://www.whatever.com/whatever.zip","_blank");

fourteensquarefeet

2005-05-11, 7:24 pm

and what if you want it to download automatically to the users desktop?
merlinvicki

2005-05-11, 7:24 pm

to download automatically put the same code without the event handler on the
frame:
getURL("http://www.whatever.com/whatever.pdf","_blank");

to download it to the desktop zip it and use the same code:
getURL("http://www.whatever.com/whatever.zip","_blank");

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews