Skip navigation
Currently Being Moderated

Have Downloadable Files on Flash Site

Jun 11, 2012 12:47 PM



I am wondering if there is an easy way to link files to a flash website so users are able to download the file to their local computer.  What I have tried so far is to make a button and then use AS to do a getURL to try and link it to a local file in the same directory but by the lack of progress I have made I am guessing it is not possible that way if at all?  Any pointers or suggestings would be appriciated, and just as a side note, I am a novice to Flash and AS yet.

  • Currently Being Moderated
    Jun 11, 2012 1:05 PM   in reply to bigj_kcfan

    You should show the code you are trying to use.  If you are using AS3 and tried using getURL, then that will be part of the problem since getURL is AS2 code.  As3 uses navigateToURL.


    An alternative approach would be to use the FileReference class.  YOu can search Google for a tutorial.  Here's onwe result from searching "AS3 FileReference download tutorial"


    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points