4 Replies Latest reply on Jan 23, 2010 6:41 PM by John Hall

    ArrayCollection Stop Binding

    Francisc Level 3



      I have a Bindable public static var in a class: MyClass.myAC.

      I want to assign that var to an ArrayCollection in another class, but stop changes reflecting to this var, but only this one.


      e.g. var newAC:ArrayCollection=MyClass.myAC;

      newAC.removeItemAt(0); -> I don't want this to go back to MyClass.myAC, however I still want it to be bindable in other locations.


      How can I stop newAC from reflecting changes to the MyClass.myAC var? Again, I don't want MyClass.myAC to not be bindable anymore.


      Thank you!