Flash Loader and ByteArray
问题 I need to be able to load a jpeg/png image from disk and show it in flex and send it to a server as a base64 encoded string. But once the image file is loaded, in my flash.display.LoaderInfo object, the bytes property (type of ByteArray ) contains more byte than the file content. Example: image file size: 3089 flash.display.LoaderInfo.bytesTotal:3089 flash.display.LoaderInfo.bytes.length:3155 As i need to encode the flash.display.LoaderInfo.bytes in base64 string, i don't know which part of