Typically you will do this on the change event of the tree.  Presumbably, each node will have the information required to determine what you want the right-hand area to display.  The right hand detail area should be a ViewStack, with mxml components.  On the change event of the tree, use the tree.selectedItem info to set the ViewStack.selectedIndex.

 

I don’t have an example handy.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of quasimotoca
Sent: Tuesday, August 01, 2006 8:16 PM
To: [email protected]
Subject: [flexcoders] Tree loading MXML in another panel

 

Hi:
I have a tree control on the left side of a Horizontal divider.
Basically the tree example in the components explorer. When I click on
a tree item I want to load MXML files in the right-hand panel. For
example I have a "Search" tree node item and when it's clicked I want
to open a search panel on the right (complete with data-bindng to my
back-end), to perform a user search. Things like that.

Any help greatly appreciated. Will actually PayPal you a few bucks for
a good example.

Cheers,
Dave Cook

__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to