Adobe Flex Actionscript Question:

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

Tweet Share WhatsApp

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.

Download Adobe Flex Actionscript PDF Read All 84 Adobe Flex Actionscript Questions
Previous QuestionNext Question
Sometimes, if I do not move the mouse, "click" and "mouseDown" do not work. Why is that?When I add or modify an item in my dataProvider, why does not it show up in my DataGrid?