Astra tree component


i'm using tree component here: http://developer.yahoo.com/flash/astra-flash/tree/examples.html

 

i'm trying figure out when branch node has been expanded/collapsed. in documentation find treeevent class item_open , item_close. (http://developer.yahoo.com/flash/astra-flash/classreference/)

 

which seem need.

 

i've got me tree setup data, else working. , add following:

 

import com.yahoo.astra.fl.events.treeevent;

 

mytree.addeventlistener(treeevent.item_open, openbranch);

mytree.addeventlistener(treeevent.item_close, closebranch);

 

function openbranch(e:treeevent) {

          trace("hello openbranch");

}

 

function closebranch(e:treeevent) {

          trace("hello closebranch");

}

 

 

neither 1 getting called. i've tried opening/closing both plus/minus , clicking on entry. nothing seems work.

 

 

anybody have experience tree component? or different 1 use?

anybody. i'm still trying item open/close events. i'm not sure who/what might dispatching them.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support