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
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
2 matches
Mail list logo