Thank for the reply ...
I know it should work as I have tried this but it does not ... :(

I tried copying the data using this utility and it does not seem to 
copy the data for XMLListCollection

Doing:

[Bindable]
public var newList:XMLListCollection;

...


var x:XMLListCollection = event.data.employeeDB; 
newList = ObjectUtil.copy(x) as XMLListCollection;

Does not work and I know the data is in x but not copied to newList.

Any Help is appreciated ...

Regards,

Sean.



--- 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
>


Reply via email to