THNAK YOU SO MUCH.

I just needed the a.source ...

Thanks again,

Sean.

--- In [email protected], "Brian Holmes" <[EMAIL PROTECTED]> wrote:
>
> Just create a new XMLListColletion with the source of the one you 
want
> to copy from.
> 
> var a:XMLListCollection = new XMLListCollection(xmlList);
> var b:XMLListCollection = new XMLListCollection(a.source);
>  
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of helihobby
> Sent: Friday, February 02, 2007 10:46 AM
> To: [email protected]
> Subject: [flexcoders] Re: How do you make a copy of an 
XMLListCollection
> ( not instance of ) ...
> 
> I event try:
> 
> newList = ObjectUtil.copy(x) as XMLListCollection;
> 
> for each (var node1:XML in x ){       
>       trace("XXXX " + node1);                                 
> }
> 
> for each (var node2:XML in newList ){ 
>       trace("NNNN " + node2);                                 
> }
> 
> I see the traces for XXXX but nothing for NNNN 
> 
> :(
> 
> 
> 
> 
> --- In [email protected], "Brian Dunphy" <briandunphy@>
> wrote:
> >
> > import mx.utils.ObjectUtil;
> > 
> > var newList:Object = ObjectUtil.copy(oldList);
> > 
> > Cheers,
> > 
> > Brian
> > 
> > On 2/1/07, helihobby <helihobby@> wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Can anyone please post sample code of how to make a copy of a  
> > > XMLListCollection.
> > >
> > >  Not a copy of the instance object but a new XMLListCollection
> object.
> > >
> > >  Thank you for all the help,
> > >
> > >  Sean.
> > >
> > >  
> > 
> > 
> > --
> > Brian Dunphy
> >
> 
> 
> 
> 
> --
> 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
> 
> 
> 
> 
> 
> ***
> The information in this e-mail is confidential and intended solely 
for the individual or entity to whom it is addressed.  If you have 
received this e-mail in error please notify the sender by return e-
mail delete this e-mail and refrain from any disclosure or action 
based on the information.
> ***
>


Reply via email to