I'm having a problem, whenever I try to remove an element from the array it gives this error #2025. The object is not visible on stage anymore when I click on it but it always gives this error.
//remove items inventory
public function RemoveObject(mc:MovieClip)
{
var checkRemove:Number = curSlot - 1;
trace("current slot " + (curSlot-1));
trace("current pos array" + myIndex);
for(var i:int = 0; i < itemS.length;i++) {
this.removeChild(itemS[checkRemove]);
}
}