User Guide

Tree component (Flash Professional only) 783
Tree.removeAll()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myTree.removeAll()
Parameters
None.
Returns
Nothing.
Description
Method; removes all nodes and refreshes the tree.
Example
The following code empties myTree:
myTree.removeAll();
Tree.removeTreeNodeAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myTree.removeTreeNodeAt(index)
Parameters
index
The index number of a tree child. Each child of a tree is assigned a zero-based index in
the order in which it was created.
Returns
An XMLNode object, or undefined if an error occurs.
Description
Method; removes a node (specified by its index position) on the root of the tree and refreshes
the tree.