Matt, how do I get at the dataProvider to use the methods? I tried adding the nodes to the dataProvider dynamically but that didn't work. Little more info would be helpful. Thanks.
--- In [email protected], Matt Chotin <[EMAIL PROTECTED]> wrote: > Check out the TreeDataProvider API in the ASDoc. You'll see the methods you > should use. Tree.dataProvider should provide you with the root of the tree. > > > > Matt > > > > _____ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of jwaknitz > Sent: Wednesday, May 04, 2005 12:53 PM > To: [email protected] > Subject: [flexcoders] Control Tree with a Button > > > > Anyone know how I would be able to go through nodes of a tree using a > button? My tree has two levels and I would like to be able to go > through just the child nodes for each parent node. Can anyone show > me > some code to do this? I'm stumped. > > I'm dynamically adding nodes to the tree. > > <mx:Tree id="treeMenu" indentation="3" height="100%" width="100%" > change="changeMenu()" defaultLeafIcon="" folderClosedIcon="" > folderOpenIcon="" /> > > > > > > > > _____ > > Yahoo! Groups Links > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > <http://groups.yahoo.com/group/flexcoders/> > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! > <http://docs.yahoo.com/info/terms/> Terms of Service. 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/

