Using keyboard to control a player

Scott Slaugh xslaugh at hotmail.com
Wed Jun 11 22:20:01 EDT 2003


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

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the use-livecode mailing list