1 Reply Latest reply on Sep 21, 2009 11:33 PM by chris12296

    ArrayCollection acting buggy

    chris12296

      I have a TileList and the data provider is an ArrayCollection of User objects.  At one point in my code, I call addItem on this ArrayCollection with a

       

      new User and that User gets added to the end of the ArrayCollection, but it also replaces the first element in the ArrayCollection.  It doesnt seem to

       

      be a rendering issue because i checked the value of arrayCollection[0] and it had defintely been replaced by the new User object.  Any ideas what could

       

      cause this?