No. You can read a file using the File APIs. In JS, you can get a Blob and 
ArrayBuffer The rough equivalent to ByteArray in Royale is BinaryData which 
wraps ArrayBuffer and deals with the views and you can get that from a file.

We’ve done work on abstracting those APIs. Yishay did the work on that, so 
he’ll have the best answer.

Harbs

> On Oct 3, 2017, at 4:33 PM, Idylog - Nicolas Granon <[email protected]> 
> wrote:
> 
> We use FileReference a lot in our Flex apps (data import functionalities, 
> export functionalities).
> 
> With FP, it has been possible (since FP 11 if I am correct) to have local 
> read and write access (provided the access is "controlled" by a dialog that 
> the user has to validate) from the user's drive to the app (and vice versa).
> 
> As I understand it, there is no provision in JS for app local file read 
> access : you have to upload the local file to the HTTP server, and then back 
> (download) into the app.
> However, there is local write access from the app to the local hard drive.
> 
> Is this correct ?
> 
> Nicolas Granon
> 

Reply via email to