Flash CS3 Documentation |
|||
| Flash Lite 2.x ActionScript Language Reference > ActionScript classes > String > fromCharCode (String.fromCharCode method) | |||
public static fromCharCode() : String
Returns a string comprising the characters represented by the Unicode values in the parameters.
String - A string value of the specified Unicode character codes.
The following example uses fromCharCode() to insert an @ character in the e-mail address:
var address_str:String = "dog"+String.fromCharCode(64)+"house.net"; trace(address_str); // output: dog@house.net
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/00005453.html