Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Downloading PDFs

Status
Not open for further replies.

jaredr

Technical User
Nov 13, 2002
7
US
I want to add a download PDF button in Flash. Can I do this without going outside Flash? Is this easy because I cannot find any documentation on this.<br><br>Cheers <br><br>JR
 
all you should have to do is create the button so that it links directly to the file.&nbsp;&nbsp;The way downloading works is that if a browser can't open a file in that browser then it will prompt you and ask if you want to save it to your computer.&nbsp;&nbsp;Since PDFs can't be read by browsers (as far as I know, anyhow) all you have to do is link strait to it like you would an html file.&nbsp;&nbsp;My experience is that you won't have to leave the flash site (because the requested site can't actually be &quot;opened&quot;).&nbsp;&nbsp;Of course, the problem with this is the possibility of you being evil and uploading viruses or something.&nbsp;&nbsp;However, if you find that linking to a pdf file doesn't work, then just change it to a winzip file.&nbsp;&nbsp;Incidentally, you might want to get a simple book on html, because it is this kind of thing which is covered more in basic html scripting than in flash (at least, that's where I was able to learn about it).&nbsp;&nbsp;Good luck, and I hope it works for you.<br><br>Jonathan
 
PDF can be read by browsers just so u know :) the only ones i know of is IE and Netscape<br><br>Az<br><A HREF="mailto:azmaramza@home.com">azmaramza@home.com</A><br>ICQ 59238403 <p>Az<br><a href=mailto:azmaramza@home.com>azmaramza@home.com</a><br><a href= > </a><br>ICQ 59238403<br>
AIM azmaramza
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top