[flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-18 Thread Jason
> If you use @label in an e4x expression, and if any of the nodes in the > xml does not have the "label" attribute, the expression will error. If > you use the attribute("label") syntax it will not error. Good to know, thanks. Jason

RE: [flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-18 Thread Tracy Spratt
s.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: Friday, July 18, 2008 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Expanding Tree Node Based On Attribute Match I'm working on answering your questions - may not get to them before the weekend, but meanwhile, wh

[flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-18 Thread Jason
I'm working on answering your questions - may not get to them before the weekend, but meanwhile, why did you say, "attribute() method is safer than @"? Just curious - I'm always eager to learn.. Jason

RE: [flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-18 Thread Tracy Spratt
? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: Friday, July 18, 2008 2:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Expanding Tree Node Based On Attribute Match > Did you look at my example? Thanks, and I did, but I couldn

[flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-18 Thread Jason
> Did you look at my example? Thanks, and I did, but I couldn't pick out anything that would help, at least noting that I am not already doing. It's part of a huge Flex app (well, huge to me, 110+ class files so far), so what part would you like me to post? I'm not sure what information you'r

RE: [flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-17 Thread Tracy Spratt
44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Expanding Tree Node Based On Attribute Match Did you look at my example? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: Thursday, July 17, 2008 5:

RE: [flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-17 Thread Tracy Spratt
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

[flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-17 Thread Jason
--- In flexcoders@yahoogroups.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 = xm

[flexcoders] Re: Expanding Tree Node Based On Attribute Match

2008-07-17 Thread Jason
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