evan
06-25-2009, 08:35 PM
This link should list all the keyboard codes
http://people.uncw.edu/tompkinsj/112/FlashActionScript/keyCodes.htm
I have no trouble getting the space/enter/ or arrows to work.
I am only getting the alpha keys to work with the shift key pressed. the correct code for the 'r' key would be 114 without the shift. but it does not work. I tried disabling keyboard shortcuts as well.
here is some code:
if
(evt.keyCode == 82){
trace("hi");}
-this works but when I put in the value of 114(no shift key) it isn't responding. Unless my keyboard is whacked or something.
Thanks in advance.
http://people.uncw.edu/tompkinsj/112/FlashActionScript/keyCodes.htm
I have no trouble getting the space/enter/ or arrows to work.
I am only getting the alpha keys to work with the shift key pressed. the correct code for the 'r' key would be 114 without the shift. but it does not work. I tried disabling keyboard shortcuts as well.
here is some code:
if
(evt.keyCode == 82){
trace("hi");}
-this works but when I put in the value of 114(no shift key) it isn't responding. Unless my keyboard is whacked or something.
Thanks in advance.