In Action Script, FileReference.browse() is called.
I would like to send the chosen file to Javascript and convert it to File object, just like if I would press the Browse
button of the <input type='file />
and got File object.
I need that to be able to display picture thumbnail like shown here.
Maybe instead of passing the whole object it is possible to send only the required information for the thumbnail from the object ?
Thanks !