In Flex 3 (not currently in the beta), you can pass a bytearray to the
Image as its source instead of a url.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of tarun chandra
Sent: Tuesday, November 27, 2007 11:10 AM
To: [email protected]
Subject: [flexcoders] Re: Can we Pass image object instead of image file
reference???





I was going through Adobe's Sample Photo Viewer and in that the
galleries.xml file provides the source to all the image files which
are stored locally. So, was wondering if instead of using the local
files can I read a byte stream and add it to my photo array collection. 

So, I guess what I am looking for is a way to read the byteStream and
create the image file. Is it anyway possible in flex?

- Tarun



 

Reply via email to