This content has been marked as final. Show 4 replies
if you were to write XML dynamically from your array data you could then populate your tree with that XML you would then be able to assign those "extra" variables as attributes of those nodes. You could access those by the myTree.selectedItem.@myAttribute property. I know its a completely different way than the way you are doing it but I only use XML with trees :\. The same technique might actually work for your array actually. I'm not too sure though. Hope that helps.
Thank you very much. I will give that a shot.
"I only use XML with trees ". Me TOO! e4x XML in Flex is very powerful and simple. It works sooo well with the Tree. I really use xml for almost everything.
you will probably need a labelFunction. Here is an example:
Thanks very much. I got it to work!