fromCharCode

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of blc187
Sent: Thursday, April 03, 2008 1:33 PM
To: [email protected]
Subject: [flexcoders] can you translate keyCode or charCode from number
into letter?

 

Is it possible to capture a keyboard event and tell which letter key 
was pressed?
The KeyboardEvent has a charCode and keyCode but these are numbers, is 
there a way to associate them with the specific letter they represent?

For example, I want to trace out which letter was pressed on key_down 
however I can only trace the numerical equivalent. If I press a Q, the 
keyCode prints 81 when I would like to see Q.

 

Reply via email to