View comments | RSS feed

arguments object

Availability

Flash Player 5; property added in 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

A reference to the function being called.

arguments.caller

A reference to the calling function.

arguments.length

The number of parameters passed to a function.


Comments


No screen name said on Oct 21, 2004 at 2:28 PM :
Example code for accessing arguments can be found in
arguments.length

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00001186.html