Tree.getIsOpen()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myTree.getIsOpen(node)
Parameters
An XMLNode object.
node
Returns
A Boolean value that indicates whether the tree is open (
Description
Method; indicates whether the specified node is open or closed.
Note: Display indices change every time nodes open and close.
Example
The following code assigns the state of the node to a variable:
var open = myTree.getIsOpen(myTree.getTreeNodeAt(1));
Tree.getNodeDisplayedAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myTree.getNodeDisplayedAt(index)
Parameters
An integer representing the display position in the viewable area of the tree. This number
index
is zero-based; the node at the first position is 0, second position is 1, and so on.
Returns
The specified XMLNode object.
Description
Method; maps a display index of the tree onto the node that is displayed there. For example, if the
fifth row of the tree showed a node that is eight levels deep into the hierarchy, that node would be
returned by a call to
getNodeDisplayedAt(4)
) or closed (
true
.
Tree component (Flash Professional only)
).
false
779
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