Also in 1.5, you have to get a reference to the node somehow. Usually I traverse(recursively, or using the index) the tree and compare the node values to whatever I need to find. If the tree was fairly static, I would build an asociative array of node references to simplify random access.
Tracy
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jesús Iglesias
Sent: Monday, May 22, 2006 6:25 PM
To: [email protected]
Subject: Fw: [flexcoders] Re: set node selected on a tree
Please, I had no response to this.
On Flex2b3.
I have a tree with an object as dataProvider.
In response a some events of my aplication I need to select one node from
the tree. The problem is I don't know how to do it.
I tried
treExplorer.selectedItem=treExplorer.getChildAt(i);
but it does nothin. Even more, how would I select a child node? and a child
of a child node?
Thanks.
--
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
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

