[flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ?

2007-01-28 Thread helihobby
: [flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ? Hi, I don't think you can... In the help docs they have this example for each (var item in doc.p) { trace(item); } I would say you are going to have to bite the bullet and loop. ArrayCollection

Re: [flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ?

2007-01-28 Thread Michael Schmalle
: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of Michael Schmalle Sent: Thursday, January 25, 2007 8:34 AM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Re: How to convert

[flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ?

2007-01-25 Thread Danko Kozar
Have you tried: myDP = xmlData.partsList.catalog as ArrayCollection; ? --- In flexcoders@yahoogroups.com, helihobby [EMAIL PROTECTED] wrote: Hello, I have XML data which comes back from a server via a custom socket. How can I convert that the to an ArrayCollection ? If I try: myDP =

Re: [flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ?

2007-01-25 Thread Michael Schmalle
Hi, I don't think you can... In the help docs they have this example for each (var item in doc.p) { trace(item); } I would say you are going to have to bite the bullet and loop. ArrayCollection is just a wrapped array and I don't see any place where XMLList returns and array. It's like

RE: [flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ?

2007-01-25 Thread Tracy Spratt
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Thursday, January 25, 2007 8:34 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to convert XMLList Collection to an ArrayCollection ? Hi, I don't think you can... In the help docs they have