You need to write
return_script()
or else Director thinks you are declaring a variable.
-Andreas
>I think I'm being a dumbass but why won't the following code work? I've
>tried it as if keypressed(36) then (i.e. no = 1 ) and it's not executing the
>handlers.
>
>on keydown
> if keypressed(36) = 1 then
> return_script
> end if
>
> if keypressed(0) = 1 then
> a_script
> end if
>
> if keypressed(37) = 1 then
> l_script
> end if
>
> if keypressed(49) = 1 then
> space_script
> end if
>end
[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!]