Did you look at my example? Tracy
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: Thursday, July 17, 2008 5:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Expanding Tree Node Based On Attribute Match --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Jason" <[EMAIL PROTECTED]> wrote: > > Thanks Tracy, that got me really close to wrapping this up. I was > able to find the node and isolate it, however the tree is not > expanding that node. > > var topic:String = "Add Skill"; > var xmlListSearch:XMLList = xml.menuTree..folder.(attribute ("topic") > == topic); > var foundNode:XML = xmlListSearch[0]; > > trace("xml: " + foundNode.toXMLString()); //traces the node I want: > <folder label="Adding Skills" topic="Add Skill" /> > > navTree.expandItem(foundNode, true, true);//does not expand the node > found above > > The id of the tree is indeed navTree. Not sure what's happening here. > > Thanks in advance, > > Jason > Any ideas anyone? I'm stumped! Thanks.