Try using ArrayCollections. There is a method called
getItemIndex(item:Object), you can use this method.

HTH,

-Ravi
http://achieveravi.blogspot.com

On Feb 15, 12:02 pm, "pradeep.pa...@gmail.com"
<pradeep.pa...@gmail.com> wrote:
> Hi
> I have a doubt on Arrays.
> I have some thing like this:
> memberNamesCollection:array = new Array();
> memberNamesCollection.push({memberName:name, Age:age});
> ....
> Each users registers their name and age as mention above into the
> memberNamesCollection array;
>
> Now, How to get the index of a particular member using "memberName"
> data field ONLY and using "indexOf".
> Also i wud not like to use for loop here.
>
> Thanks,
> Pradeep Pasam

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to