At 4/25/05 02:45 AM, sactownboy10 wrote:
can someone tell me the key codes for all the letters thanks
What Version of Flash you using? if you have MX2004, then go onto the help menu near the lower bit of the screen, click on the "help" tab rather than the "how do I" tab, then double click on the book that says "Actionscript reference guide", then find the book saying "Keyboard keys and key code values overview" (or "Keyboard keys and key c..." if your screen is small) and then there is a list of submenus, with keycodes for 1-z, 1-9 and others.
To help you understand how it works:
if(Key.isDown(Key.UP)){
//stuff;
}
the above is for a key with its own name (such as UP, RIGHT, SPACE or ENTER etc.)
if(Key.isDown(65)){
//stuff;
}
That is for use with a key without its own name (the 65 means A, so 66 would mean B, until Z which is 90) Notice you dont have to put the (Key.KEY) bit, as the keycode it represented by the number.
Did that help, or Did I just confuse you more?
If i confused you, sorry, and ask me to explain again.
If not, then glad I could help!
~JD~