User Guide

1076 Appendix: Deprecated Language Elements
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()