Some more info, and I am getting closer.
I am using the following function, but it returns a value of -1, out of bounds,
regardless of
what value I try to get the index of:
public function remItem():void{
fields.removeItemAt(fields.getItemIndex({fieldTag: "small",
value:"t"}));
}
Remember that the arrayCollection looks like:
private var fields:ArrayCollection = new ArrayCollection([{fieldTag: "big",
value:"t"}, {fieldTag:
"small", value: "t"}]);
Does anybody know why getItemIndex would return a value of -1?