ActionScript 2.0 Components Language Reference |
|
|
|
| TreeDataProvider interface > TreeDataProvider.attributes.data | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
someNode.attributes.data
Property; specifies the data to associate with the node. This adds the value as an attribute in the XMLNode object. Setting this property does not refresh any tree displays. This property can be of any data type.
The following code locates the node to adjust and sets its data property:
var myTreeNode = myTreeDP.firstChild.firstChild; myTreeNode.attributes.data = "hi"; // results in <node data = "hi">;
TreeDataProvider.attributes.label
|
|
|
|