Bastien and Howdy,

I think dontPassEvent has become deprecated.  You might want to use
stopEvent instead.

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group



> Simplest way is probably to use a behavior attached to the 
> sprite in the score:
> 
> on keyDown me
> 
>    if the key = RETURN or the key = ENTER then
>      BEEP
>      dontPassEvent
>    else
>      pass
>    end if
> 
> END keyDown
> 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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