ActionScript 2.0 Components Language Reference |
|
|
|
| TreeDataProvider interface > TreeDataProvider.attributes.label | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
someNode.attributes.label
Property; a string that specifies the text displayed for the node. This is written to an attribute of the XMLNode object. Setting this property does not refresh any tree displays.
The following code locates the node to adjust and sets its label property. The result of the following code is <node label="Mail">.
var myTreeNode = myTreeDP.firstChild.firstChild; myTreeNode.attributes.label = "Mail";
TreeDataProvider.attributes.data
|
|
|
|