1 Reply Latest reply on Feb 25, 2010 8:32 AM by Matt Le Fevre

    Download pdf => how to open and not save file

    Joe_75

      hi

       

      in my app i have to download a file. at the beginning the file is called with blazeds as a ByteArray.

       

      var saveReference:FileReference = new FileReference();

      saveReference.save(pdfByteArray, 'Report.pdf');

       

      i like to open an application associated on the Operation System when the user download the file. eg download the report.pdf => the pdf reader opens.

       

      i tried hard but could not find a way to force this, in my app the save file dialog opens.

       

      the only report similar to mine i could find:

       

      http://stackoverflow.com/questions/569350/flex-filereference-download-is-it-possible-to-op en-associated-application/569596

       

      maybe you could help me. thanks

       

      joe