A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Right/Left Shift onKeyPress?

  1. #1
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576

    Right/Left Shift onKeyPress?

    Is it possible in AS 2.0 to determine which Shift key was/is being pressed - Right or Left?

    I've heard it's possible in AS 3.0, but I've yet to make the leap into 3, & found it to be a "tough" Google...
    1 Infinite Loop, Cupertino is a portal of Hell.

  2. #2
    Senior Member
    Join Date
    Jun 2007
    Location
    Nottingham, England
    Posts
    203
    Surely Left and Right shift both have seperate ASCII codes? Just a case of finding them out..

    getCode(); ?

  3. #3
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576
    yeah, ASCII...Good idea
    I'll look into that.
    thanks!
    1 Infinite Loop, Cupertino is a portal of Hell.

  4. #4
    Senior Member
    Join Date
    Jun 2007
    Location
    Nottingham, England
    Posts
    203
    No problem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center