How do I add downloadable PDF files to my web site?

Help!
I'm creating a web site, and I need to add two buttons that, when clicked, will download two different PDF files. I have absolutely NO IDEA how to do this!!! Not a clue!
I'm using actionscript 3 and Flash CS4.
Any help would be greatly appreciated!!!! Thank you!
Kelly

Thank you everyone for your response!!!
I found this code on a tutorial :
var getFile:URLRequest=new URLRequest("http://www.my_website_name.com/my_pdf_file_name.pdf");
pdf_btn.addEventListener(MouseEvent.CLICK, getMyFile);
function getMyFile(event:MouseEvent):void {
navigateToURL(getFile,"_blank");
This code downloads a zipped file perfectly! However, it won't download or even bring up the pdf file. (I thought something might be wrong with the pdf file. I renamed it, used a completely different pdf file; nothing! I still get a blank page.)
Tiago, I tried implementing your code too... I know this should work!
I really appreciate all of your help!!! Thank you! Thank you!

Similar Messages

  • Downloading PDF files from reliable web-sites U-R-G-E-N-T

    Hi,
    Since last year I encounter regular (close to 100%) problems downloading PDF files from reliable web-sites (for sure web-sites from which I could troubleless download PDF files in the past) The result on my HDD : 0KB pdf file ! = An empty file
    This is very anoying and I am sure I am not the only one who encounters this.
    Please review your procedures and make this possible again.
    Note: I uninstalled Adobe Reader, reset Safari, closed Safari, re-installed Adobe Reader : no results !
    THANKS FOR HELPING ASAP !
    I travel a lot and have to bring my files with me as internet is not always available in the countries where I work
    Christian

    Hi Christian,
    I've had problems for ages with this but I did notice that after I went through the reinstall with Apple yesterday I now have a couple of different options that are working.
    Yesteday I uninstalled reader, restarted my computer and then reinstalled again. I didn't think it had worked for me but after some extra experimentation I have discovered a couple of things.
    On some websites eg: https://www.gatewaycu.com.au/uploadedFiles/PDF/Forms/Quick%20Debit%20Authority.pdf
    it is coming up with a toolbar (I suppose it's called) at the top of the PDF and it is allowing me to print and save to my desktop, open the pdf and print YEAH.
    Also with another website the PDF is showing up differently. eg http://media.wix.com/ugd/99e891_6110f024d956431abb7b66dd24f19251.pdf
    This shows up like it used to but the difference is that if you try to save as or print throught the safari options like I used too it doesn't work, BUT if you hover down the bottom of the PDF it brings up a bar type box (sorry I don't know the technical word for this) then you can print, save to desktop, documents etc and then print from there too.
    YEAH! It looks like (I hope) that the problem is solved. You have to go about it in a couple of different ways depending on the website, but hey, I don't think that's so bad as long as I can actually print my PDF's. It's better that not being able to access any of them which is what's been happening for the last few months.
    I hope this helps you guys out and if you have any problems just let me know and I'll try and explain it better for you.
    Cheers
    Andrea

  • Cannot view or download PDF files from secure web site with Reader X.

    Ran into a similar problem when Reader X first came out (Reader 9 had been working fine).  Only a blank window was displayed, but a work around was to "Save As" and use the view option to display and print the document. I recently had to replace my modem. Since then, that work around option is no longer available; it errors out saying that the file could not be downloaded.  We are using IE9 and Windows 7.  I tried another browser, Google Chrome, with the same negative results. Also, I got the same results on another secure website.  I have deleted and downloaded another copy of Reader X (10.1.1) and checked for updates, run the Repair program, and confirmed that Protected Mode and AdobePDF.dll are both enabled.  I looked at my Internet settings, too but found nothig that would obviously
    interfere with Reader.

    Usually, this message occurs with Windows. First time I've seen it with OS X. Looking into it.

  • How do I add a PDF file for download to my iWeb page?

    How do I add a PDF file for download to my iWeb page?
    I have created one using Apples Pages program.
    Thanks!

    Hi-
    You need to create a text link to the file...
    On your page, type a word that you want to be the link... then select the word, and in the inspector pane, click the link tab (the arrow on the far right) and check "enable as hyperlink." Then choose "file" from the dropdown menu and a chooser box will open for you to locate the file on your hard drive.
    Choose the file by clicking "open" once it's located. Then the next time you publish, the file will be uploaded and linked to!
    Hope this helps... I think I got all the steps in there!

  • How do i add a PDF file for download on a WIX created website?

    Hi guys,
    Im trying to add a PDf file to my WIX site http://www.babywearonline.com.au but with no luck. Has anyone had experience with WIX and PDF before? Many Thanks in advance!

    Look at the help of wix.com.

  • How does one add a photo gallery to my web site in Dreamweaver CS5 and have the link recognized as a destination file?

    How does on add a photo gallery to a web site in Dreamweaver CS5 and have the file folder which contains the photos, recognized as the "go to location" for the link up?

    Ok.  So Photos1.htm is the main gallery page.
    And it looks like you have sub-folders with images in them like these from 2011 and 2010
    LLA Picnic 2011/
    photos 2010/
    Have you defined a site in DW yet?   That's a critical first step in getting DW to recognize your site's links and other assets.  See video below:
    GS-01: Defining a new site | Learn Dreamweaver CS5 & CS5.5 | Adobe TV
    Nancy O.

  • I'm unable to print pdf files from certain web sites. I have just changed to Mavericks

    i'm unable to print pdf file from certain web site. I just changed over to Mavericks.

    You will need to access that PDF on your computer first, before you can print it — unless that PDF is corrupted, which occasionally happens. Your printer needs to be configured and working.
    Default PDF web-browser plug-in in Safari, latest (Firefox/Chrome) also built-in.
    Click on the remote PDF link to open in browser
    On Mavericks, you will need to click through security challenges for the PDF
    File menu > Print
    Right-click on remote PDF file and then choose Download Linked File As...Open that file in /Applications/Preview.appFile > print
    Adobe Reader 11.0.04 PDF plug-in
    Same security challenges on Mavericks as first bullet
    With PDF imaged in browser, either select print icon from the plug-in toolbar, or mouse over the bottom one inch of displayed document and you will see a printer icon in the popup toolbar. Use that.

  • PDF files email and web sites

    What app do I need to upload a PDF file to a web site? Trying to upload my resume to a job search site. And how do I attach more then one PDF file an email at one time?

    Hi Christian,
    I've had problems for ages with this but I did notice that after I went through the reinstall with Apple yesterday I now have a couple of different options that are working.
    Yesteday I uninstalled reader, restarted my computer and then reinstalled again. I didn't think it had worked for me but after some extra experimentation I have discovered a couple of things.
    On some websites eg: https://www.gatewaycu.com.au/uploadedFiles/PDF/Forms/Quick%20Debit%20Authority.pdf
    it is coming up with a toolbar (I suppose it's called) at the top of the PDF and it is allowing me to print and save to my desktop, open the pdf and print YEAH.
    Also with another website the PDF is showing up differently. eg http://media.wix.com/ugd/99e891_6110f024d956431abb7b66dd24f19251.pdf
    This shows up like it used to but the difference is that if you try to save as or print throught the safari options like I used too it doesn't work, BUT if you hover down the bottom of the PDF it brings up a bar type box (sorry I don't know the technical word for this) then you can print, save to desktop, documents etc and then print from there too.
    YEAH! It looks like (I hope) that the problem is solved. You have to go about it in a couple of different ways depending on the website, but hey, I don't think that's so bad as long as I can actually print my PDF's. It's better that not being able to access any of them which is what's been happening for the last few months.
    I hope this helps you guys out and if you have any problems just let me know and I'll try and explain it better for you.
    Cheers
    Andrea

  • How do i link a flash file to a web site in dreamweaver 8

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0059_01C7A541.7942B2A0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Hi
    How do i link a flash file to a web site in dreamweaver 8
    Thanks
    ------=_NextPart_000_0059_01C7A541.7942B2A0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6000.16448"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DArial
    size=3D2>Hi</FONT><FONT face=3DArial =
    size=3D2></FONT></DIV>
    <DIV><FONT size=3D1>
    <P><FONT size=3D3>How do i link a flash file to a
    web site in =
    dreamweaver=20
    8</FONT></P>
    <P> </P>
    <P><FONT face=3DArial =
    size=3D2>Thanks</FONT></P></FONT></DIV></BODY></HTML>
    ------=_NextPart_000_0059_01C7A541.7942B2A0--

    In Flash. There is no way to apply an HTML link to a swf
    file.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dave" <[email protected]> wrote in message
    news:f3s8f0$cla$[email protected]..
    Hi
    How do i link a flash file to a web site in dreamweaver 8
    Thanks

  • How do you add a google calendar to muse web site, that updates are synced

    how do you add a google calendar to muse web site, that updates are synced?

    You can add Google Calender using iframe which Google provides if you go to calender settings.
    Once you insert this code in Muse page through Object > Insert HTML , the calender will be displayed on page.
    https://support.google.com/calendar/answer/41207?hl=en
    Thanks,
    Sanjit

  • How to edit a downloaded .pdf file?

    Hi! Have a downloaded .pdf file, (application for employment form) My options are to print out/fill out. I want to know if there is a way that I can edit the application so that I can fill it out on line (Neater) then print. Between a 2004 version of Word, plus Keynote, Pages and Adobe 8, I can't edit the application. I called Apple and they said there is no way that I edit a pdf file so that I can complete the application on line. There must be a way to do this, right? Thanks, Bill

    Bostonfan49 wrote:
    Hi! Have a downloaded .pdf file, (application for employment form) My options are to print out/fill out. I want to know if there is a way that I can edit the application so that I can fill it out on line (Neater) then print. Between a 2004 version of Word, plus Keynote, Pages and Adobe 8, I can't edit the application. I called Apple and they said there is no way that I edit a pdf file so that I can complete the application on line. There must be a way to do this, right? Thanks, Bill
    Yes, there is a way. First, if check the security on the pdf. Adobe has many levels of security, so that files can be printed but not edited and not made into smaller files, etc.
    Usually you would need the real Adobe app, not the reader. But then, even though Adobe can edit pdf files, it will not do so if the file is protected. You normally would be asked for a password when you attempt to modify a PW-protected pdf document.
    That all being said, if the document is protected I can only refer you to ghostscript, ghostview and GSView.

  • Bug:Downloading pdf file from the web,file name in dialog box populates with incorrect file name

    Hi Gurus
    When downloading any pdf file from the web using adobe Reader X the file name dialog box populates with incorrect file name
    compared to the saved file name of the document downloaded.
    Clarity
    1. Download any pdf file from the web
    2. Click File, Save as note the populated File Name
    3. Compare the populated file name with the saved file name of the documant yuo are downloading.
    4. The file Name is incorrect...
    Is there any work around on this issue?Can someone please help?..
    OS:Windows7
    Reader: Adobe Reader X
    I've tried a couple of other versions and still get the same results...

    Are you downloading the file (right-click, save link as), or just opening it by clicking it?
    If the latter, then what happens is the file is loaded to the temporary internet files folder by IE and assigned a temporary name, which is then used when you're trying to save it.
    You can test this out by going to File - Document Properties before trying to save and looking at the file's location.

  • Why do pdf files from some web sites download as aspx files, which I can't open from Firefox but I can in Internet Explorer?

    I have tried downloading files which are supposed to be pdf but they download as aspx files. This doesn't happen if I use Internet Explorer and other pdfs from the same web site download without a problem.

    To make a long story short, the server can send a preferred file name but isn't always programmed to do so. IE sniffs the beginning of the file and may override what is sent by the server; Firefox does not.
    You can manually change the file extension when you save it (if you have Firefox set to ask you where to save) or you can rename it after it is saved.

  • How do I sync downloaded PDF files in iBooks between my iPhone, iPad, and MacBook Pro?

    I've combed the forums.  I can't sync through iTunes.  These PDF files don't show up.  I've downloaded tech manuals for gear I have via manufacturer's websites.  I can't populate them across my devices.  I have some in iPhone, some on iPad.  I have an iPhone 5, iPad2, and MacBook Pro running current software as of 11:22 AM 13 MAR 2014.  Nothing has worked so far in the standard methods. 
    Help!

    I agree in theory.  
    Apple is very protective of copy written material, but even I have shoe-horned copy written papers into iBooks by using copy &amp; paste.  This is the only reason I can see for the lack of user friendliness in iBooks.   You may have noticed that removing it from iTunes also removed the ability to edit any "get info" content - something I could do when books were within iTunes.
    I like the ePub format.   I can produce a very nice looking book with pictures and it looks great in iBooks.  If I produce it on my Mac and use ePub into iBooks, I can then sync to my devices that way.   For a really nice product this is a great option.
    But.   I can send the same product to Kindle and keep it synced to all devices.   Or I can add to kindle from one of my other devices and get it to sync also.   Obviously I made my choice and it works.
    If you find a route via iBooks, please publish.   Many other Apple users are frustrated by the lack of iBook flexibility since iOS 7 update. 

  • How do you add a pdf file in iBooks as an attachment or file to an email?

    I have some PDF files in my iBooks app and I'm trying to add them to an email or a chat as a file. Is there a way to do that? I have the iPad Air. Thx

    Launch iBooks. Open the PDF that you want to email. Tap the action icon in the upper left corner. Tap Email. The Mail app will launch with the PDF as an attachment,

Maybe you are looking for