Use a URLLoader, which gives you the ByteArray as the data property after it has been loaded.
Doug --- In [email protected], "Andrew D. Goodfellow" <[EMAIL PROTECTED]> wrote: > > I feel like I must be missing something. I have a Loader object that I am > loading image data to, sometimes as a URLRequest and sometimes as a > ByteArray. It depends on if I am getting the data from an upload or from the > database. > > How do I go about getting a ByteArray back out of the Loader object? I have > seen many posts on Loader and ByteArray, but I don't see a solution, unless > I am missing something obvious... Anyone? > > -Andy >

