for (var i:int = 0; i < array.length; i++ ){ if (array[i].name == neededName){ removeChild(array[i]); array.split(1, i); } }