A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: download button

  1. #1
    Junior Member
    Join Date
    Aug 2001
    Posts
    20
    I need to create a button that will download a pdf file from an all Flash site. I'm guessing this is a pretty easy thing to do. But everytime I search for instructions I get everything but. I know how to create buttons, just need the scripts/code to make the download work. Can someone point me in the right direction?

  2. #2
    Bamboozled snoop_doug's Avatar
    Join Date
    Apr 2001
    Posts
    1,278

    easy

    upload your pdf file to your web hosting server, find its exact URL e.g http://www.domain.com/subdomain/yourfile.pdf - and put this into the flash button like a normal URL, it will then download on prompt when u click the button

  3. #3
    Senior Member bhughes's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix
    Posts
    347
    actually, it may NOT download. often, using ie, a pdf is opened in the browser with acrobat and not really downloaded unless the viewer chooses to do so. if you really want to make sure they download it to disk, (and to save yourself some bandwidth) zip it up. a zip file will always download.

  4. #4
    Bamboozled snoop_doug's Avatar
    Join Date
    Apr 2001
    Posts
    1,278
    ok then try putting this in your button instead ftp://www.domain.com/subdomain/yourfile.pdf

  5. #5
    Junior Member
    Join Date
    Aug 2001
    Posts
    20

    thanks

    thanks a mill guys!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center