Flash Player 4. This function has been deprecated in Flash 5 in favor of String.fromCharCode()
.
chr(number
)
number
An ASCII code number.
Nothing.
String function; converts ASCII code numbers to characters.
The following example converts the number 65 to the letter A and assigns it to the variable myVar
.
myVar = chr(65);