4 Replies Latest reply on Feb 6, 2009 12:35 PM by cmschofield

    File Download was working then stopped

    shawnyale
      Hi all,
      I could really use some help on this. I have a control that allows the user to download a file. Looks like this:

      var urlRequest:URLRequest = new URLRequest(itemPath);
      var fileRef:FileReference = new FileReference();
      fileRef.download(urlRequest);

      It was working great until I upgraded to Flash 9.0.124 and now it looks like it works, but it doesnt actually download the file. I get the popup dialog asking where the file is to be downloaded and everything. When I click "Save" and then go look on my desktop, the file isnt there. I debugged and when the fileRef was instantiated, all of the properties said <exception thrown by getter> and gave eror #2037. I was also seeing Error 2000 No security context.

      Is there a security setting blocking the file download or something? I would really appreciate some help.