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.


I know that the message is getting sent, becauase if I put an answer command right above the start player command, the answer box comes up when I hit space. The problem is that my movie doesn't start. I did discover that if I set the alwaysBuffer of the movie to true, it does play when I hit space. The problem with this is that the movie, while playing, doesn't show itself playing-it just goes to the end, and then shows the very last frame. The thing that confuses me is why the start player command will start the player if I put it in a button, but not in the script to catch space bar.


Scott Slaugh

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

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


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

Reply via email to