Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| changeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| clickHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| killFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| scrollHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| dataProvider: XMLNode (write)
|
| Sets the data provider of the component (an xml object). Each node that is to be displayed should contain an attribute named "label". If that node contains child nodes, you can also include an attribute named "open" which can be set to true or false, and will determine if that folder on the tree is open or not.
|
|
public
| dataProvider: XMLNode (read)
|
| Gets the data provider of the component.
|
|
public
| highlightColor: Number (write)
|
| Sets the color to use when an item in the tree is rolled over.
|
|
public
| highlightColor: Number (read)
|
| Gets the color used when an item in the tree is rolled over.
|
|
public
| indentSize: Number (write)
|
| Sets the distance in pixels that each new level of the tree will be indented.
|
|
public
| indentSize: Number (read)
|
| Gets the distance in pixels that each new level of the tree will be indented.
|
|
public
| rowHeight: Number (write)
|
| Sets the height for the individual rows in the tree.
|
|
public
| rowHeight: Number (read)
|
| Gets the height of the individual rows in the tree.
|
|
public
| scroll: Number (write)
|
| Sets the current scroll value of the component.
|
|
public
| scroll: Number (read)
|
| Gets the current scroll value of the component.
|
|
public
| scrollBarWidth: Number (write)
|
| Sets the width of the scrollbar used in the tree (if needed)
|
|
public
| scrollBarWidth: Number (read)
|
| Gets the width of the scrollbar used in the tree
|
|
public
| selectedColor: Number (write)
|
| Sets the color to use when an item in the tree is clicked on.
|
|
public
| selectedColor: Number (read)
|
| Gets the color used when an item in the tree is clicked on.
|
|
public
| selectedIndex: Number (write)
|
| Sets the selected item.
|
|
public
| selectedIndex: Number (read)
|
| Gets the number of the currently selected item in the tree.
|
|
public
| selectedNode: XMLNode (read-only)
|
| A reference to the currently selected xml node in the tree.
|
|
|
|
Constructor |
public
| Tree (
Void)
|
|
|
|
Method Summary |
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): Tree |
| Static method used to create an instance of a Tree on stage at run time.
|
|
|
|