[flexcoders] TreeItemRenderer setting an icon to an embedded image

2008-11-11 Thread dfrank76
What is the proper way to set the icon from a TreeItemRenderer when using an embeded graphic file? I don't want to accidentally create hundreds of instances of it in memory. TreeItemRenderer.icon is an instance of IFlexDisplayObject which is implemented by BitmapDataAsset (the embedded

RE: [flexcoders] TreeItemRenderer setting an icon to an embedded image

2008-11-11 Thread Alex Harui
may not need a custom renderer if all you want to change is the icon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dfrank76 Sent: Tuesday, November 11, 2008 11:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TreeItemRenderer setting an icon to an embedded