1 person found this helpful
Subclass TreeItemRenderer. Listen for CLICK events and compare the event.target to whether it is one of the icons. If it isn't, call navigateToURL
Flex SDK Developer
Adobe Systems Inc.
Thanks for quick reply.
I am new to flex, would you tell me how can I listen for click events in TreeItemRender?
nvm, you can use addEventListener in your treeitemrender
I am having another question.
Different node will have different url or pop up window.
if I defined a node like this in xml file <node label="Personal Folder" url="http://www.yahoo.com">
How can retrieve url in treerenderitem