3 Replies Latest reply on Feb 28, 2012 4:10 AM by abhisekpaul02

    How to find an ArrayCollection item with a specific property value in flex4

    xbgsai123

      Hi all,

       

      private var collection:ArrayCollection = new ArrayCollection([

                                              {id:"1", stuff:"whatever1"},

                                              {id:"2", stuff:"whatever2"},

                                              {id:"3", stuff:"whatever3"}

        {id:"4", stuff:"whatever4"},

        {id:"5", stuff:"whatever5"},

        {id:"6", stuff:"whatever6"}

                                    ]);

       

      i have id=2 of specific property value  now i need to find item