A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Using the Keyboard

  1. #1
    Senior Member lopez1_de's Avatar
    Join Date
    Oct 2001
    Location
    Germany
    Posts
    299

    Using the Keyboard

    Ok an example for you all.

    You can do it the 3dfa way. add a keyboard element. but this is poor.

    Better do it the Flash way with constants like these:

    Key (object)
    Key.addListener
    Key.BACKSPACE
    Key.CAPSLOCK
    Key.CONTROL
    Key.DELETEKEY
    Key.DOWN
    Key.END
    Key.ENTER
    Key.ESCAPE
    Key.getAscii
    Key.getCode
    Key.HOME
    Key.INSERT
    Key.isDown
    Key.isToggled
    Key.LEFT
    Key.onKeyDown
    Key.onKeyUp
    Key.PGDN
    Key.PGUP
    Key.removeListener
    Key.RIGHT
    Key.SHIFT
    Key.SPACE
    Key.TAB
    Key.UP


    watch the example and use google to find more key features of flash. remember. you can use all the flash mx code in 3dfa.
    Attached Files Attached Files
    visit my homepage -> ejected.de

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