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
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
();
===
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
, 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
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
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
@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
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
@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
9 matches
Mail list logo