http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_8.htm\
l
You typically use events to respond to user interaction with a Tree
<http://livedocs.adobe.com/flex/3/langref/mx/controls/Tree.html> 
control. Since the Tree control is derived from the List
<http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html> 
control, you can use all of the events defined for the List control. The
Tree control also dispatches several Event
<http://livedocs.adobe.com/flex/3/langref/flash/events/Event.html>  and
TreeEvent 
<http://livedocs.adobe.com/flex/3/langref/mx/events/TreeEvent.html>
class events, including Event.change andTreeEvent.itemOpen

I was using this on creation complete
RootTree.addEventListener(ListEvent.ITEM_CLICK, treeChange);

and this works

RootTree.dispatchEvent(new ListEvent(ListEvent.ITEM_CLICK));








--- In [email protected], "advancedonsite" <nos...@...> wrote:
>
> I'm trying to figure out where I can find how to dispatch the Tree
Change Event?
>
> I'm more interested in why I can't find it by researching the AS 3.5
docs online but at any rate any help would be much appreciated
>
>
> var result:Boolean = RootTree.dispatchEvent(new TreeEvent(  CHANGE?
>

Reply via email to