0 Replies Latest reply on May 2, 2007 3:06 AM by jeannat

    pb with FileReference.download() function

    jeannat
      Hi,

      Can anyone tell me why this simple code makes the navigators crash ?
      IE and Firefox just disappear from my windows task bar...


      private var fileRef:FileReference ;

      private function file_download():void{
      var request:URLRequest = new URLRequest();
      request.url = " http://www.logitweb.com/download/file.txt"
      fileRef=new FileReference();
      fileRef.download(request,"myFile.txt");
      }

      You can try the SWF at this address : http://www.logitweb.com/download/
      Thanks
      Jean