Is this script copied from your actual script?
In that case correct the spelling of "controlDown" in the controleerExit handler.
Bertil Flink
Creative Media
[EMAIL PROTECTED]
----- Original Message -----
From: "Frank" <[EMAIL PROTECTED]>
To: "Lingo-L Digest" <[EMAIL PROTECTED]>
Sent: Monday, November 27, 2000 10:31 AM
Subject: <lingo-l> keyDownScript
> I work with Director 7.0.2 on PC win98. I try to use the keyDownScript
> in the following script, but this does not seem to work. The projector
> quits when "Control Q" is pressed and also when "Esc" is pressed. What
> can be wrong?
> ----------------
> on startMovie
> global mijnwegA, mijnwegB
> set mijnwegA = FALSE
> set mijnwegB = FALSE
> set the exitLock to TRUE
> set the keyDownScript to "controleerExit"
> end
> ------------------
> on controleerExit
> if the controDown then
> if the key = "q" then
> go to "exit1"
> end if
> else PASS
> end if
> end
> --------------
>
>
> ------------------
> Frank Van Coppenolle
> University Antwerp
> UIA
> AV-Centrum
> Universiteitsplein 1
> B-2610 Wilrijk
> Belgium
> [EMAIL PROTECTED]
> tel. 03-8202222
> +32 3 8202222
> fax +32 3 8202225
>
>
> [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!]
>
>
[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!]