03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 2<br />

ActionScript classes<br />

Documentation for ActionScript classes includes syntax, usage information, <strong>and</strong> code samples<br />

for methods, properties, <strong>and</strong> event h<strong>and</strong>lers <strong>and</strong> listeners that belong to a specific class in<br />

ActionScript (as opposed to global functions or properties). The classes are listed<br />

alphabetically. If you are not sure to which class a certain method or property belongs, you can<br />

look it up in the Index.<br />

arguments<br />

Object<br />

|<br />

+-arguments<br />

public class arguments<br />

extends Object<br />

An arguments object is used to store <strong>and</strong> access a function's arguments. While inside the<br />

function's body it can be accessed with the local arguments variable.<br />

The arguments are stored as array elements, the first is accessed as arguments[0], the second<br />

as arguments[1], etc. The arguments.length property indicates the number of arguments<br />

passed to the function. Note that there may be a different number of arguments passed in<br />

than the function declares.<br />

See also<br />

Function<br />

229<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!