rawKeyDown (or up) doesn't report the ASCII code for the key pressed, it reports some other code. You have worked out that the code for space is 62593. You just need to test for any keys you need to trap so you can find their codes.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/

On Thursday, June 12, 2003, at 01:17 pm, Scott Slaugh wrote:

Here's a problem I've been running into. I create a new stack, and put on a player with a QuickTime movie. I then open the card script, and enter this:
on rawKeyDown key
if key=32 then
start player 1
else
pass rawKeyDown
end if
Problem is, this doesn't start the player when I hit the space bar. However, if I change the 32 to 62593, which is the return key, the script works fine. Why doesn't space bar work?


Scott Slaugh


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to