5 Replies Latest reply on Nov 29, 2007 5:34 AM by Clark_Kent101

    How to use getItemIndex?

      In this example of an ArrayCollection.

      private var originalArrayCollection:ArrayCollection = new ArrayCollection([
      {nombre:"Oscar", apellido:"Cortes", email:"ocortess@fake.com"},
      {nombre:"Ines", apellido:"Cortes", email:"icortes@fake.com"},
      {nombre:"Marina",apellido:"Santos", email:"marina@kafe.com"},
      {nombre:"Harald", apellido:"Cortes", email:"harald@fake.com"}
      ]);

      How can I get the index of the third record?.
      Can I use getItemIndex? .
      How is this done?