raudjcholo commented on issue #842:
URL: https://github.com/apache/royale-asjs/issues/842#issuecomment-641202854
Hi:
I have tested on Windows, specifically on Firefox and Chrome, and it works
perfectly.
I have also tested on IE 11, but in this browser FileReference doesn't work
well. Select Event Handler does not launch.
Example:
```
public function loadFromFileSystem(allowedExtensions:String,
imagesFilterDescription:String):void
{
trace("loadFromFileSystem");
var file:FileReference = new FileReference();
file.addEventListener(Event.SELECT, selectHandler);
file.browse([new FileFilter(String(imagesFilterDescription) +
" (" + allowedExtensions.replace(/\*\./g, "").replace(/;/g,
",").toUpperCase() + ")",
allowedExtensions)]);
}
private function selectHandler(event:Event):void
{
...
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]