var mylistener = new Object();
Key.addListener(mylistener);
mylistener.onKeyUp = function(){
code=Key.getCode();
ascii=Key.getAscii();
chrascii=chr(Key.getAscii());
}
var mylistener = new Object();
Key.addListener(mylistener);
mylistener.onKeyUp = function(){
code=Key.getCode();
ascii=Key.getAscii();
chrascii=chr(Key.getAscii());
}