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 works if the
collection is sorted.

myCursor.insert({label:"thing", id:"9999"});
// might be different syntax for XML

-TH

--- In flexcoders@yahoogroups.com, "Bryan Choi" <[EMAIL PROTECTED]> wrote:
>
> Hi Graham,
>
> As you can see that my english is not good.
>
> If I can tell you in english well, might be is not now in Korea.
>
> So I told you how many it'll help you...
>
> I am so sorry.
>
> However, I think that you can understand it, if you know that AS
3.0 syntax.
>
> Any way, I am sad and wanna talk in english well.
>
> Regards,
> Bryan Choi.
>
>
> ----- Original Message -----
> From: "Graham Weldon" <[EMAIL PROTECTED]>
> To: <flexcoders@yahoogroups.com>
> Sent: Thursday, May 25, 2006 9:59 AM
> Subject: Re: [flexcoders] XMLListCollection search [f2b3]
>
>
> >
> > Hi Bryan,
> >
> > Thanks for that link. Unfortunately I don't read Korean too well
(at all).
> > Do you know if there is an English translation for this
discussion, or
> > do you have some code samples that are commented in English?
> >
> > Regards,
> > Graham Weldon
> > \
> >
> >
> > Bryan Choi wrote:
> >
> >> Hi, Graham Weldon.
> >>
> >> I am a Korean.
> >>
> >> I explained it on my community.
> >>
> >> You can see from the url (
http://cafe.naver.com/flexcomponent/665 )
> >>
> >> Actually, I was helped flexcoders members.
> >>
> >> So I'll show you and many Korean.
> >>
> >> I don't know how many it'll help you to know it.
> >>
> >> Thank you,
> >> Bryan.
> >>
> >>
> >> ----- Original Message -----
> >> From: "Graham Weldon" <[EMAIL PROTECTED]>
> >> To: <flexcoders@yahoogroups.com>
> >> Sent: Thursday, May 25, 2006 9:05 AM
> >> Subject: [flexcoders] XMLListCollection search [f2b3]
> >>
> >>
> >> > Hi all,
> >> >
> >> > I'm wondering if anyone has had any experience or has some
samples for
> >> > searching an XMLListCollection for a particular item?
> >> > I have a nested structure of <element>'s, each having an "id"
> >> attribute.
> >> > I would like to be able to do something like:
> >> >
> >> > var myXmlListCollection : XMLListCollection = new
XMLListCollection(
> >> ...
> >> > some data source ... );
> >> > var item : *** = findItem(myXmlListCollection, 'MyUniqueId');
> >> > trace (item.toString());
> >> >
> >> > I am unsure of the class type of variable "item" in this
example. I
> >> want
> >> > to be able to add in an element using "item" as the parent.
So the data
> >> > type used needs to allow this type of operation. The next
step will be
> >> > to add a child to this found item.
> >> >
> >> > Any thoughts?
> >> >
> >> > Regards,
> >> > Graham Weldon
> >> >
> >> >
> >> >
> >> > --
> >> > 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
> >> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=
Computer+software+development&w3=Software+design+and+development&w4=M
acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L
-4QTvxB_quFDtMyhrQaHQ>
> >> Computer software development
> >> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+site+design+development&w
2=Computer+software+development&w3=Software+design+and+development&w4
=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig
=lvQjSRfQDfWudJSe1lLjHw>
> >> Software design and development
> >> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+site+design+development
&w2=Computer+software+development&w3=Software+design+and+development&
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
ig=1pMBCdo3DsJbuU9AEmO1oQ>
> >>
> >> Macromedia flex
> >> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+sof
tware+development&w3=Software+design+and+development&w4=Macromedia+fl
ex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZ
I36cYzBjw>
> >> Software development best practice
> >> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=Web+site+design+developm
ent&w2=Computer+software+development&w3=Software+design+and+developme
nt&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166
&.sig=f89quyyulIDsnABLD6IXIw>
> >>
> >>
> >>
> >> ----------------------------------------------------------------
--------
> >> YAHOO! GROUPS LINKS
> >>
> >>     *  Visit your group "flexcoders
> >>       <http://groups.yahoo.com/group/flexcoders>" on the web.
> >>       
> >>     *  To unsubscribe from this group, send an email to:
> >>        [EMAIL PROTECTED]
> >>       <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
> >>       
> >>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> >>       Service <http://docs.yahoo.com/info/terms/>.
> >>
> >>
> >> ----------------------------------------------------------------
--------
> >>
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor ------------------
--~-->
> > Get to your groups with one click. Know instantly when new email
arrives
> > http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM
> > -----------------------------------------------------------------
---~->
> >
> > --
> > 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




Reply via email to