Arguments object

Availability

Flash Player 6.

Description

The Arguments object is an array that contains the values that were passed as parameters to any function. Each time a function is called in ActionScript, an Arguments object is automatically created for that function. A local variable, arguments, is also created and lets you refer to the Arguments object.

Property summary for the Arguments object

Property Description
arguments.callee Refers to the function being called.
arguments.caller Refers to the Arguments object of the the calling function.
arguments.length The number of parameters passed to a function.