A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: *** On Release --- how come the keyboard keys won't work?

  1. #1
    Senior Member
    Join Date
    Sep 2000
    Posts
    116
    How come when I tell flash to use a key on a keyboard to control a button it never works.
    I want button when release or when the <enter> key is pressed to go to the intended page. I know how to include the command into the action script of a button, but it never seems to work.

    Can anyone help??

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    263
    flashkitok,

    The script in the button should be On(Key:
    not On(Release:

    On (Key: <Enter>)
    Go to and Stop (1)
    End On

    Also the user has to click within the movie in
    order for the key entry to work.

    Hope this helps.
    :)MA

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