Core classes

The core ActionScript classes are those borrowed directly from ECMAScript. In the Actions toolbox, these classes are located in the Built-in Classes > Core subfolder.

Class

Description

Arguments

An array that contains the values that were passed as parameters to any function. See Arguments class.

Array

The Array class contains methods and properties for working with array objects. See Array class.

Boolean

The Boolean class is a wrapper for Boolean (true or false) values. See Boolean class.

Button

The Button class provides methods and properties for working with button objects. See Button class.

Date

The Date class provides access to date and time values relative to universal time (Greenwich Mean Time) or relative to the operating system on which Flash Player is running. See Date class.

Error

The Error class contains information about errors that occur in your scripts. You typically use the throw statement to generate an error condition, which you can then handle using a try..catch..finally statement. See try..catch..finally and Error class.

Function

The Function class is the class representation of all ActionScript functions, including those native to ActionScript and those that you define. See Function class.

Math

The Math class lets you access and manipulate mathematical constants and functions. All of the properties and methods of the Math class are static, and must be called with the syntax Math.method(parameter) or Math.constant. See Math class.

Number

The Number class is a wrapper for the primitive number data type. See Number class.

Object

The Object class is at the root of the ActionScript class hierarchy; all other classes inherit its methods and properties. See Object class.

String

The String class is a wrapper for the string primitive data type, which allows you to use the methods and properties of the String object to manipulate primitive string value types. See String class.