Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript language elements > Global Functions > chr function | |||
chr(number:Number) : String
Deprecated since Flash Player 5. This function was deprecated in favor of String.fromCharCode().
Converts ASCII code numbers to characters.
Availability: ActionScript 1.0; Flash Player 4
number:Number - An ASCII code number.
String - The character value of the specified ASCII code.
The following example converts the number 65 to the letter A and assigns it to the variable myVar: myVar = chr(65);
fromCharCode (String.fromCharCode method)
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00001171.html