Accessibility
 
Home > Products > Flash > Support > ActionScript Dictionary
Flash Icon Macromedia Flash Support Center - ActionScript dictionary
Array.splice

Availability
Flash Player 5.

Usage

 myArray  .splice(  start, deleteCount, value0,value1...valueN  ) 

Parameters
start The index of the element in the array where the insertion or deletion begins.

deleteCount The number of elements to be deleted. This number includes the element specified in the start parameter. 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. If the value is 0, no elements are deleted.

value Zero or more values to insert into the array at the insertion point specified in the start parameter. This parameter is optional.

Returns
Nothing.

Description
Method; adds and removes elements from an array. This method modifies the array without making a copy.

To Table of Contents Back to Previous document Forward to next document