> I am having trouble having counting Keystrokes. Here is my script. I want
> the user to press the key only once otherwise
> nothing. The book says that  theKey, the keyPressed and the Keycode always
> indicate the last key pressed. How do i get
> over it.

I'm a bit confused as to what the general goal is here. If you could
describe what it is you need to accomplish by tracking keystrokes, I might
be able to help.

>From the code you posted, It looks like you have a behavior to trap
keystrokes. Is the behavior attached to a field or text sprite that has
focus? If not, then it won't get called unless it's a movie script and you
designate the handler as a keydownscript.

-Kurt


[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