Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 8 of 8
  1. #1

    Default Flash to download a pdf file

    I am designing a website in flash, how do I get the movie to access and download a remote pdf file on my server?

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2003
    Location
    india
    Posts
    202

    Default

    Hi there,

    Just simple use the geturl function to strat download the pdf file with full url use _blank in new window.

    regards
    jeet

  4. #3
    Join Date
    Feb 2008
    Posts
    570

    Default

    to simplify Jeet's statment:

    Just link to it.

  5. #4

    Default download- not just open

    I've tried the getURL thing like you mentioned.

    Works great in firefox, because it downloads to the computer

    However in Safari (and I'm not sure about internet explorer, etc) instead of downloading the pdf, it actually loads it into a new browser window.

    This would be ok, except that the pdf is quite big so when it opens in a new window, it takes a long time and looks like it isn't working at all (because the viewer doesn't realise that it is a big file and will take a while to load)

    i cant make the pdf smaller, because this is a site for another person who wants the whole pdf- i just want it to download rather than open

    is there a bit of extra code that will make this work on ALL browsers?

    thanks!

  6. #5

    Default

    This can be accomplished by firstly upload your files at http://www.axmag.com/submit.html, after conversion you'll get a url link, rewrite this code link in your website script. Hope this would help.

  7. #6

    Default

    You should be able to use getURL("pdflocationhere.pdf"); - but I believe thats totally dependent on how the users computer is set up. If they don't have Adobe Reader, it will probably fail, or will attempt to load the pdf within a modern browser that should have the reader plug-in. From my experience, when using getURL() within a projector, it will attempt to open the filetype based on that specific filetype's default opening program which is set in the OS.

  8. #7

    Default

    Just simple use the geturl function to strat download the pdf file with full url use _blank in new window.









    Wordpress Newsletter Plugin

  9. #8

    Default

    I think axmag.com is a good example for designing online PDF viewer and sharing. Meanwhile issuu.com is another good one to recommend.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Download linked file
    By allgood in forum Flash Scripting
    Replies: 2
    Last Post: 06-18-2007, 10:08 PM
  2. How to download flash games
    By dibyajyoti in forum Newbies
    Replies: 0
    Last Post: 12-23-2005, 07:55 PM
  3. creating a download in flash
    By kup2you in forum Newbies
    Replies: 4
    Last Post: 06-29-2005, 10:54 AM
  4. HOW TO IMPORT/DOWNLOAD A .swf FILE
    By docotep in forum Newbies
    Replies: 0
    Last Post: 09-14-2004, 08:49 AM
  5. File download
    By 9 slug in forum Newbies
    Replies: 1
    Last Post: 12-18-2003, 10:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial