0 Replies Latest reply on Sep 29, 2014 7:37 PM by Donnie1314Amy

    FileReference browse doesn't work for one of our clients for unknown reason

    Donnie1314Amy

      Hi,

       

      I have a button on my page.

      <mx:Button id="browseBtn" label="Browse" click="onBrowse()" />

       

      Inside the click event handler, I create a new FileReference Instance, and tried to call browse function to open a open file dialog.

       

      private var _requestFileRef:FileReference;

      private function onBrowse():void{   

          _requestFileRef = new FileReference();

          _requestFileRef.addEventListener(Event.SELECT, onFileSelected);

          _requestFileRef.addEventListener(IOErrorEvent.IO_ERROR, onError);

          _requestFileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onError);

          var csvFileFilter:FileFilter = new FileFilter("CSV(Comma delimited)(*.csv)", "*.csv");   

          _requestFileRef.browse([csvFileFilter]);

      }


      It works for most of our clients but one client reported that she clicked that button but the file dialog didn't show up.

      Also she double confirmed that:There is no opening file dialog before she click the button.

       

      Could anyone please help? Is there any settings related about permission?

       

      Regards

      Amy