ActionScript 2.0 Components Language Reference |
|
|
|
| TreeDataProvider interface > TreeDataProvider.removeTreeNodeAt() | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
someNode.removeTreeNodeAt(index)
index An integer indicating the position of the node to be removed.
The removed XML node, or undefined if an error occurs.
Method; removes a node (and all of its descendants) specified by the current node and index position of the child node. Calling this method refreshes the view.
The following code removes the fourth child of the myTreeDP.firstChild node:
myTreeDP.firstChild.removeTreeNodeAt(3);
|
|
|
|