trace(String.fromCharCode(97)); //prints 'a' trace("a".charCodeAt(0));//prints '97'