
Код:
this.createTextField("tf",1,10,10,20,20);
v="?";
tf.variable="v";
tf.type="input";
tf.maxChars=1;
tf.border=1;
tf.onChanged=function(){
trace(v+"____________")
trace("String.charCodeAt:"+this.text.charCodeAt(0))
trace("Key.getCode : "+Key.getCode())
trace("Key.getAscii : "+Key.getAscii());
}
поиграйся с регистром, раскдадкой - должно проясниться