Flash CS3 Documentation |
|||
| Flash Lite 2.x ActionScript Language Reference > ActionScript classes > arguments | |||
Object
|
+-arguments
public class arguments
extends Object
An arguments object is used to store and access a function's arguments. While inside the function's body it can be accessed with the local arguments variable.
The arguments are stored as array elements, the first is accessed as arguments[0], the second as arguments[1], etc. The arguments.length property indicates the number of arguments passed to the function. Note that there may be a different number of arguments passed in than the function declares.
|
Modifiers |
Property |
Description |
|---|---|---|
|
|
A reference to the currently executing function. |
|
|
|
A reference to the function that called the currently executing function, or |
|
|
|
The number of arguments passed to the function. |
Properties inherited from class Object constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property)
Methods inherited from class Object
Flash CS3