[英]Get file data into a ByteArray using FileReference
我正在使用FileReference
object。 我希望能夠將本地文件數據保存到ByteArray
中。 我知道我可以使用 Flash 10 中的數據屬性,但我想要一個適用於早期版本 Flash 的解決方案。
有沒有辦法做到這一點?
Flash 10 之前的 Flash Player 版本無法訪問文件數據。
我相信你應該可以使用 FileReference 將文件上傳到服務器,然后將其作為 byteArray 發送回 Flash Player。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.