MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 786

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Returns
Nothing.
Description
Method; specifies whether the node has a folder icon and expander arrow and either has children
or can have children. A node is automatically set as a branch when it has children; you only need
to call
setIsBranch()
branches that don't yet have children if, for example, you only want child nodes to load when a
user opens a folder.
Calling
setIsBranch()
Example
The following code makes a node of
myTree.setIsBranch(myTree.getTreeNodeAt(1), true);
Tree.setIsOpen()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myTree.setIsOpen(node, open [, animate])
Parameters
An XML node.
node
A Boolean value that opens a node (
open
A Boolean value that determines whether the opening transition is animated (
animate
not (
). This parameter is optional.
false
Returns
Nothing.
Description
Method; opens or closes a node.
Example
The following code opens a node of
myTree.setIsOpen(myTree.getTreeNodeAt(1), true);
786
Chapter 6: Components Dictionary
when you want to create an empty folder. You may want to create
refreshes any views.
a branch:
myTree
true
:
myTree
) or closes it (
).
false
) or
true

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents