LINGO in Mac Director6.5
Posted on 1998-10-06
I am hoping to have someone help me with lingo scripting.
What I have is a director movie containing two digital videos (Quicktime3) in which the first video starts playing while other animation is running at the same time and on my command(by a keypress) the second video will start to play in place of the first.
My problem is this: I have my lingo written in the frame script like this:
go to the frame
-- which will keep my first video looping
if the keypressed = RETURN then go loop
-- in using keypress, it will let me keep looping in
the first video until I press a
key function (RETURN) which then goes to my next
All I want to do is change the keypressed = RETURN to keypressed = SPACEBAR. Instead of pressing the return key to activate my second video, I would prefer to press the spacebar. I have tried KeyCode(49), I have tried the numToChar(32), I have tried KeyDown, keyUp, etc.
If anyone has any suggestions in how to write this lingo script, it would be greatly appreciated.
Thank you very much