A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: "Command" key: can it be used as input?

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    2

    I'd like to use the macintosh "Command" key in the Key.isDown method... anyone have any idea if this is possible?
    *la
    lcesari@scilearn.com

  2. #2
    juggernart me2222's Avatar
    Join Date
    Jun 2000
    Posts
    1,322
    The "command/alt" key has ascii value 7, but it seems that it is not recognized.
    Neither with
    Key.isDown(7);
    nor with
    Key.getCode();

    (but maybe I´m wrong)

  3. #3
    Member
    Join Date
    Nov 2000
    Posts
    31

    your right

    but you can use the ctrl key

    Key.CONTROL

    and the capslock

    Key.CAPSLOCK

    the command key is captured for the flashplayer shortcuts

    M

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