Adobe Flex Actionscript Question:

Download Job Interview Questions and Answers PDF

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

Adobe Flex Actionscript Interview Question
Adobe Flex Actionscript Interview Question

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 Interview Questions And Answers PDF

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?