try changing the last "end if" to just "end".  I don't know if that would
cause the failure or not, but it's incorrect.  Also, instead of using Buddy
API, try using "the controlDown" function.  Since it's native lingo it might
work better.

Charlie Fiskeaux II
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883


----- Original Message -----
From: "Dale Moore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 8:23 AM
Subject: <lingo-l> capturing CONTROL key


I am using Director 8 with the Buddy API Xtra. I would like my movie  to go
to a particular frame when the CONTROL key is pressed. My script works fine
until I make a projector when it no longer works. Is there a work around, or
am I missing something. (I have the same problem if I try to capture the
SHIFT or ALT key too).

My script is:
on exitFrame
if baKeyIsDown(17) then
    go to  "control"
  else go to the frame
  end if
end if

I have included the Xtra in the movie.

Thanks
Dale



[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!]

Reply via email to