8 Replies Latest reply on Oct 12, 2007 12:35 PM by levancho

    Removing item from ArrayCollection object

    msabljic Level 1
      If i have an ArrayCollection like this one:

      public var myAC:ArrayCollection = new ArrayCollection([{name: 'First, price: '10'}]);
      myAC.addItem({name:"Second", price:"20"});

      How can i for example remove {name:"First" price:"10"} item from myAC?

      thanks in advance