Would anybody be able to tell me why I am getting this actionscript error when looping through an arraycollection.
attendeelist = new ArrayCollection(event.result.ATTENDEELIST as Array);
length is 3
setting selectedindex based on profileid match
var index:int =-1;
for (var i:int = 0; 1 < attendeelist.length; i++)
{
if (attendeelist.getItemAt(i).PROFILEID == setprofileid)
{
index = i;
break;
}
}

