A-C > Array.splice
Array.spliceSyntax
myArray
.splice(
start, deleteCount, value0,value1...valueN
);
Arguments
start
The index of the element in the array where the insertion and/or deletion begins.
deleteCount
The number of elements to be deleted. This number includes the element specified in the start
argument. If no value is specified for deleteCount
, the method deletes all of the values from the start
element to the last element in the array.
value
Zero or more values to insert into the array at the insertion point specified in the start
argument. This argument is optional.
Description
Method; adds and/or removes elements from an array. This method modifies the array itself without making a copy.
Player
Flash 5 or later.