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 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.
精彩评论