Compress it to a PNG or a JPEG - these formats will output a tidy ByteArray for you. If you don't have AMF or trouble with writing HTTP Post headers, you can always pack it into a Base64 encoded string.
Use Loader.loadBytes() to load it. This is in fact synchronous but occurs asynchronously. I don't even think it's worth listening for the result. Loader.content should be a Bitmap object... H On Thu, Aug 14, 2008 at 10:21 AM, Omar Fouad <[EMAIL PROTECTED]>wrote: > Hello all, > I was wondering if I can get the binary data from a bitmap data, and send > it > to database (blob) or/and getting the binary data from the database and in > flash reform it to display the bitmap back. > > I've been reading about the ByteArray Class but I am still confused whether > to use it or to use URLStreaming. > > > Thanks. > > -- > Omar M. Fouad - Digital Emotions > http://www.omarfouad.net > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

