//ASCII码转成字符: var a:String=String.fromCharCode(97); trace(a);//输出:a //字符转成ASCII码: var str:String = “A”; trace(str.charCodeAt());//输出:65
ASCII字符串互换
原文:http://www.cnblogs.com/dt1991/p/7492464.html