Example
The following code removes a node:
myTreeDP.firstChild.removeTreeNode();
TreeDataProvider.removeTreeNodeAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
someNode.removeTreeNodeAt(index)
Parameters
An integer indicating the position of the node to be removed.
index
Returns
The removed XML node, or
Description
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.
Example
The following code removes the fourth child of the
myTreeDP.firstChild.removeTreeNodeAt(3);
792
Chapter 6: Components Dictionary
if an error occurs.
undefined
myTreeDP.firstChild
node:
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers