Adobe Flex ActionScript Interview Questions and Answers

 

Why is myTreeNode.label or myTreeNode.attributes.label undefined?

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.

Posted by:Richards