RE: [flexcoders] mx:Tree control icon setting (f2b3)

2006-05-10 Thread Jason Hawryluk
I use the iconFunction. Embed the images. You can change it this way dependant on any attribute you want. mx:Script ![CDATA[ private function getIconForNode(item:Object):Class{ var iconSymbol:String = [EMAIL PROTECTED]; if (iconSymbol !=){ switch(iconSymbol){ case myimage: return

RE: [flexcoders] mx:Tree control icon setting (f2b3)

2006-05-10 Thread Jason Hawryluk
2006 15:45 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] mx:Tree control icon setting (f2b3) I use the iconFunction. Embed the images. You can change it this way dependant on any attribute you want. mx:Script ![CDATA[ private function getIconForNode(item:Object):Class{ var

RE: [flexcoders] mx:Tree control icon setting (f2b3)

2006-05-10 Thread Jason Hawryluk
: RE: [flexcoders] mx:Tree control icon setting (f2b3) I use the iconFunction. Embed the images. You can change it this way dependant on any attribute you want. mx:Script ![CDATA[ private function getIconForNode(item:Object):Class{ var iconSymbol:String = [EMAIL PROTECTED]; if (iconSymbol