Tree.firstVisibleNode
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
treeInstance.firstVisibleNode = someNode
Description
Property; indicates the first node that is visible at the top of the tree display. Use this property
to scroll the tree display to a desired position. If the specified node
is within a node
someNode
that hasn't been expanded, setting
has no effect. The default value is the
firstVisibleNode
first visible node or
if there is no visible node. The value of this property is an
undefined
XMLNode object.
This property is an analogue to the
property.
List.vPosition
Example
The following example populates a Tree component called
with six nodes that it creates
my_tr
from a string of XML text. It makes the last node visible in the Tree by assigning the last node
(relative position 5) to the
property. You can make other nodes visible by
firstVisibleNode
changing 5 to other values from 0 to 4.
1290
Tree component (Flash Professional only)