Put the forms on a ViewStack. You change views by setting:
myViewStack.selectedIndex = <some index number>;

On each "leaf" node of the tree, include the index of the corresponding form in 
the stack, then on click, just set the view stack index as above.

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
gradykellydesign
Sent: Friday, August 05, 2005 3:19 PM
To: [email protected]
Subject: [flexcoders] Tree branches and Panels

Hello All,

   I have a tree with various nodes.  To the right of the tree is an
area with a panel.  The tree nodes represent various form names.  I
would like to make it so that when a node is clicked, that the form
attached to that node appears in the fore mentioned panel, with that
nodes name in the title of that panel.

   Make sense?

   I should mention, that I am a designer, not a developer.  Our
company has purchased Flex, and I am trying to stretch its limits, and
see if it can do for us what we will need it to do in our application.
 I am putting together a composite/demo of a portion of our app.

   Thanks

Grady





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 







------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12haod5oq/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123280183/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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