Is there no LShift and RShift in as3?

3 posts

Flag Post

Well, i searched well for Left and Right Shift key codes, it seems that as3 only has one code for Shift key, so there is no left or right, but I want someone to confirm, is there really no LShift and RShift?

 
Flag Post

The property you are looking for is called keyLocation. It should return 1 for left shift, and 2 for right shift. I hope this helps.

(And I need some vitamins or something because boy am I in a foul mood today…)

 
Flag Post
Originally posted by Ace_Blue:

The property you are looking for is called keyLocation. It should return 1 for left shift, and 2 for right shift. I hope this helps.

(And I need some vitamins or something because boy am I in a foul mood today…)

Thank you! you helped me a lot. And here some oxygene will certainly fix your mood.