User Guide
784 Chapter 6: Components Dictionary
Example
The following code removes the fourth child of the root of the tree myTree:
myTree.removeTreeNodeAt(3);
Tree.selectedNode
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myTree.selectedNode
Description
Property; specifies the selected node in a tree instance.
Example
The following example specifies the first child node in myTree:
myTree.selectedNode = myTree.getTreeNodeAt(0);
See also
Tree.selectedNodes
Tree.selectedNodes
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myTree.selectedNodes
Description
Property; specifies the selected nodes in a tree instance.
Example
The following example selects the first and third child nodes in myTree:
myTree.selectedNodes = [myTree.getTreeNodeAt(0), myTree.getTreeNodeAt(2)];
See also
Tree.selectedNode