开发者

Get file data into a ByteArray using FileReference

开发者 https://www.devze.com 2023-03-12 11:32 出处:网络
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 t开发者_如何学Pythonhe data property in Flash 10, but I would like a solution

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 t开发者_如何学Pythonhe 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消