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.
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...