Adobe Flex Actionscript Question:
Why is myTreeNode.label or myTreeNode.attributes.label undefined?
Answer:
Make sure you use the TreeDataProvider methods to modify a node. Do not rely on the node being XML. For example, the above should be myTreeNode.getProperty("label") instead.