Erik Sapir
Erik Sapir

Reputation: 24727

Get file data into a ByteArray using FileReference

I am using the FileReference object. I want to be able to save the local file data into a ByteArray. I know that I can use the data property in Flash 10, but I would like a solution that works for earlier versions of Flash.

Is there a way to do that?

Upvotes: 1

Views: 665

Answers (1)

JeffryHouser
JeffryHouser

Reputation: 39408

You can't get access to file data in version of Flash Player before Flash 10.

I believe you should be able to use FileReference to upload the file to the server, and then send it back to the Flash Player as a byteArray.

Upvotes: 3

Related Questions