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" <[EMAIL PROTECTED]>
wrote:
>
> import mx.utils.ObjectUtil;
>
> var newList:Object = ObjectUtil.copy(oldList);
>
> Cheers,
>
> Brian
>
> On 2/1/07, helihobby <[EMAIL PROTECTED]> 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
>