Re: [flexcoders] Custom Tree Icons Flex 2.0

2006-01-30 Thread Jason Y. Kwong
This works for me: mx:Script ![CDATA[ [Embed('item_bullet.png')] private var ITEM_BULLET_ICON: Class; ]] /mx:Script mx:Canvas width=100% height=100% mx:Tree defaultLeafIcon=ITEM_BULLET_ICON /mx:Tree /mx:CanvasOr you can short-hand it a bit: mx:Tree

[flexcoders] Custom Tree Icons Flex 2.0

2006-01-29 Thread Brendan Meutzner
Hi, When I try to implement a custom icon in a Tree component for Flex 2.0, it gives me a runtime error stating that it can't find the variable I've defined for the icon class... Has anyone gotten this to work? I can post code if need be... Thanks, Brendan -- Flexcoders Mailing List