> 1. Store the binary data from the xml in a BytesArray.
> 2. Use Loader.loadBytes() to make it an image.
unfortunately after giving this a solid newbie try, getting stumped
converting the binary data to an image. what i've tried in my item
renderer is:
// legends?
thisNode=XML(TreeListData(super.listData).item);
if (thisNode.legend.length()) {
var loader:Loader=new Loader();
var ba:ByteArray=new ByteArray();
ba.writeObject([EMAIL PROTECTED]);
loader.loadBytes(ba);
addChild(loader.content);
}
keeps throwing "Error #2124: Loaded file is an unknown type." at
runtime. any ideas?
thanks.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/