I’m going to need this in a few days…
Example: Using an item renderer with a Tree control — Flex 2.01
For the Tree control, you use the
itemRenderer
property to specify a single renderer for all nodes of the tree. If you
define a custom item renderer, you are responsible for handling the
display of the entire node, including the text and icon.One option is to define an item renderer as a subclass of the default item renderer class, the TreeItemRenderer class.