A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Key.whatever

  1. #1
    baldrick
    Join Date
    Dec 2003
    Location
    England, UK
    Posts
    71

    Key.whatever

    you can say...

    Key.RIGHT
    Key.LEFT
    Key.SPACE
    Key.TAB
    ...
    and so on, but what if you want to use letters from the keyboard? do u put in the ASCII character codes or what???
    writing Key.a or Key.'a' or Key."a" or Key.<a> just gives an error.

    there's gotta be a simple way of using keys on the keyboard without pausing for an input then having to write out arrays and then a massive set of if staments.

    as always, any help is cool even if it isn't much.
    thnx

  2. #2
    No I can't do it by tommorow.. 1stbite's Avatar
    Join Date
    Feb 2003
    Location
    UK
    Posts
    1,300
    and in a blink of an eye...
    Media and Multimedia Courses in Nottingham - First Diploma | IMedia | HND | Foundation Degrees | BA(Hons) Top Ups.

    Give a Twit a chance!

  3. #3
    baldrick
    Join Date
    Dec 2003
    Location
    England, UK
    Posts
    71
    thnx problem solved.

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