class 329
chr
Availability
Flash Player 4. This function was deprecated in Flash 5 in favor of String.fromCharCode().
Usage
chr(number)
Parameters
number
An ASCII code number.
Returns
Nothing.
Description
String function; converts ASCII code numbers to characters.
Example
The following example converts the number 65 to the letter A and assigns it to the variable myVar.
myVar = chr(65);
See also
String.fromCharCode()
class
Availability
Flash Player 6.
Usage
[dynamic] class className [ extends superClass ]
[ implements interfaceName [, interfaceName... ] ]
{
// class definition here
}
Note: To use this keyword, you must specify ActionScript 2.0 and Flash Player 6 or later in the Flash
tab of your FLA file’s Publish Settings dialog box. This keyword is supported only when used in
external script files, not in scripts written in the Actions panel.
Parameters
className
The fully qualified name of the class.
superClass Optional; the name of the class that className extends (inherits from).
interfaceName Optional; the name of the interface whose methods className
must implement.