:rd:
Hi,
…I dont want to insult any bodies intelligence… but, I would like to know how people can download a PDF file from my web site…
Thats it!
How do you do it?
Cheers
:rd:
Hi,
…I dont want to insult any bodies intelligence… but, I would like to know how people can download a PDF file from my web site…
Thats it!
How do you do it?
Cheers
upload the PDF to your server, then link to it. That’s all!
I’d mention that the link will download a PDF. Giving the byte size is also a thoughtful gesture for us dial-uppers.
You may also want to include a link to download the free Acrobat reader in case they don’t have it.
Cheers,
JC
okay… thats cool, I havn’t started putting it on to a server yet, is there something I can do in the mean on my computer, so I can show people a test site.
… Im thinking I should create a PDF button yeah, then… on release, but what action after that?
If you’re wanting to add a PDF button to a flash site rather than just an html link (which i think is what you’re after), you can just use code like this:
on(release){
getURL(“images/map.pdf”, “_blank”);
}
well, i did and it works ok
Obviously, instead of the images/map.pdf you would add your own relative path to the pdf file you want to open!
Hope this is of some help,
Dave
use getURL:
on(press){
getURL("../../path_to_file.pdf", "_blank");
}
As long as your PDF file is in the same folder as your Flash movie, you can simply put the name of the PDF for the path, i.e. path_to_file.PDF
_blank will open the file in a new window.
is that what you are looking for?
jcs
talk about timing, jcs
You may have one small problem though,
that is if the user has Acrobat Reader installed,
the pdf will not download, but open in the browser (plug-in)!
Of course they can then still click on the save button, and
at least they get to see what it is before, it might just not be what you want…
check out www.flash2pdf.com …soooo cool!!
BigDave are you stalking me? … lol
Eyez - that site is neat-o! Thanks for the tip!
jcs
you could always zip the pdf as well…
most people would download the zip file and then open the pdf locally…
that way it won’t open in the browser window as stated by eyezberg
::::: AnOraK :::::
Hey! Cheers JCS! Its working beautifully… and that thread from Joe is dead useful too. Infact all the stuff you four guys have wrote, has been most cool!
Cheers
glad to hear it.
:: Copyright KIRUPA 2024 //--