[flexcoders] Re: XMLListCollection search [f2b3]

2006-05-25 Thread Tim Hoff
r.Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, May 25, 2006 5:50 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: XMLListCollection search [f2b3]As I recall, the dependents approach is safer

[flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Tim Hoff
Hi Graham, I'm not sure if it works, but have you tried this approach? var myTreeData:ICollectionView = new XMLListCollection(); var myCursor:IViewCursor = myArrayCollection.createCursor(); myCursor.findFirst([EMAIL PROTECTED]:9998}); // maybe just Id?. According to the docs, this only

Re: [flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Bryan Choi
(); === I wanna help you that. Regards, Bryan Choi. - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, May 25, 2006 10:25 AM Subject: [flexcoders] Re: XMLListCollection search [f2b3] Hi Graham, I'm not sure if it works

[flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Tim Hoff
, 2006 10:25 AM Subject: [flexcoders] Re: XMLListCollection search [f2b3] Hi Graham, I'm not sure if it works, but have you tried this approach? var myTreeData:ICollectionView = new XMLListCollection(); var myCursor:IViewCursor = myArrayCollection.createCursor(); myCursor.findFirst

Re: [flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Graham Weldon
Hi Tim, A good suggestion. Unfortunately my collection is not sorted, and a sort would cause some issues with the display of the Tree that uses my collection as a dataProvider. Bryan, Your code example is good, but I feel that it will only work for 2 levels of nodes. My XML structure has

Re: [flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Bryan Choi
PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, May 25, 2006 10:54 AM Subject: [flexcoders] Re: XMLListCollection search [f2b3] Nice work Bryan. Don't worry, your English is understood. :) Tim Hoff --- In flexcoders@yahoogroups.com, Bryan Choi [EMAIL PROTECTED] wrote

RE: [flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Tracy Spratt
@yahoogroups.com] On Behalf Of Graham Weldon Sent: Wednesday, May 24, 2006 10:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: XMLListCollection search [f2b3] Hi Tim, A good suggestion. Unfortunately my collection is not sorted, and a sort would cause some issues with the display

RE: [flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Tracy Spratt
That should be: (@id==sId) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006 11:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: XMLListCollection search [f2b3] Graham, Wont e4x

RE: [flexcoders] Re: XMLListCollection search [f2b3]

2006-05-24 Thread Tracy Spratt
@yahoogroups.com Subject: RE: [flexcoders] Re: XMLListCollection search [f2b3] That should be: (@id==sId) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Wednesday, May 24, 2006 11:13 PM To: flexcoders@yahoogroups.com Subject: RE