2 Replies Latest reply on Jul 19, 2010 10:40 AM by Niranjan_swain

    How copy one arraycollection variable to another arraycollection variable but any cahnge in one var

    Niranjan_swain Level 1

      hi all,


      I want to create one copy of arraycollection from existing array collection variable.

      but when i change the newly created arraycollection variable that is relect the older one.


      how i can protect the changes the new one is doesn't reflect the older one.


      i use the code given below


      var aa:ArrayCollection = new ArrayCollection();

      var aa1:ArrayCollection = new ArrayCollection(aa.source.concat());



      Thanks in advance;