|
Flash 8 ActionScript 2.0 Language Reference
|
|
Top LevelClass arguments
Object
public class arguments
extends Object
Player version: | Flash Player 5 — As of Flash Player 6 the arguments object supports all methods and properties of the Array class. |
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.
See also
| callee : Object
A reference to the currently executing function. |
| caller : Object
A reference to the function that called the currently executing function, or null if it wasn't called from another function. |
| length : Number
The number of arguments passed to the function. |
callee Property
public callee : Object
Player version: | Flash Player 5 |
A reference to the currently executing function.
See also
caller Property
public caller : Object
Player version: | Flash Player 6 |
A reference to the function that called the currently executing function, or null
if it wasn't called from another function.
See also
length Property
public length : Number
Player version: | Flash Player 5 |
The number of arguments passed to the function. This may be more or less than the function declares.
Copyright © 2005 Macromedia Inc. All rights reserved.
Tue Sep 13 2005, 16:15 PDT