0 Replies Latest reply on Mar 9, 2010 9:27 AM by Rash12680

    File save issue


      Is there a way to set a default extension when saving an image using  FileReference save method?

      var fileReference:FileReference = new FileReference();
      fileReference.save( pngData, "image.png" );


      If windows is set to "hide known file extensions",
      only image without extension will be displayed in save dialog.
      File type is "*.*".
      Some of my users hat the great idea to add .jpg extension in filename,  because they couldn't see one.
      So file was saved broken as image.jpg.