Hi, Ken.

This won't take long.

1.  Start a new director movie.
2.  Create a movie script and type
      the following.

on startMovie
  set the exitLock = TRUE
end

on keyDown
  put "The keyCode for" && the key  �
       && "is" && the keyCode
end

3.  Create a frame script.

on exitFrame
    go the frame
end

4. Open the Message Window.
5. Play the movie then click the stage.
6.  Press any key and watch
the message window.

You may not actually see the key *ESC* or
*TAB* but I guess you have the idea already.

Have a nice day.

cheers,
John Erazo


> How can I detect when the "ESCAPE" Key is pressed? what is the key code
> number?
>
> Thanks in advance.
>
> Ken



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to