EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 287

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Array.toString() 287
Array.splice()
Availability
Flash Player 5.
Usage
my_array.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 An optional parameter specifying the values to insert into the array at the insertion point
specified in the
start parameter.
Returns
Nothing.
Description
Method; adds and removes elements from an array. This method modifies the array without
making a copy.
Array.toString()
Availability
Flash Player 5.
Usage
my_array.toString()
Parameters
None.
Returns
A string.
Description
Method; returns a string value representing the elements in the specified Array object. Every
element in the array, starting with index 0 and ending with index my_array.length-1, is
converted to a concatenated string and separated by commas.

Table of Contents

Related product manuals