Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
jeromiec83223024
jeromiec83223024Correct answer
Inspiring
Jan 12, 2018 10:13 PM UTC

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
Jan 25, 2018 10:10 AM UTC

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

    }

}

Translate
jeromiec83223024
jeromiec83223024Correct answer
Inspiring
Jan 12, 2018 10:13 PM UTC

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

Translate