Skip to main content
This topic has been closed for replies.
Correct answer jeromiec83223024

Yeah, Safari blocks Flash Player from accessing the filesystem now.  You can disable safe mode to restore this functionality.

Remove restrictions on Flash content playing in Safari

2 replies

guillaumeb21571178
Participant
January 25, 2018

Since no error is thrown and browse still returns true, if you wish to detect if Safari blocks the browse popup you can do as follow:

private function onBrowse():void

{

    _browseTime = getTimer();

    _fileRef.browse();

    _fileRef.addEventListener(Event.SELECT, onFilesSelected);

    _fileRef.addEventListener(Event.CANCEL, onFilesCancel);

}

private function onFilesCancel(e:Event):void

{

    if (getTimer() - _browseTime < 100) {

          //do whatever seems fit

    }

}

jeromiec83223024
jeromiec83223024Correct answer
Inspiring
January 12, 2018

Yeah, Safari blocks Flash Player from accessing the filesystem now.  You can disable safe mode to restore this functionality.

Remove restrictions on Flash content playing in Safari