Use the change event on the tree to call a handler, for example,
change="nodeSelected(event)".  "event" will contain a reference to the
selected node, from which you can extract the information you need to
set up your panel.

myViewStack.selectedIndex = even.target.getProperty("panelIndex");

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ghislain Simard
Sent: Thursday, April 28, 2005 11:42 AM
To: [email protected]
Subject: [flexcoders] Tree and Panel

How to show the right panel based on the tree node selection?





 
Yahoo! Groups Links



 







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to