Flipping graphic with a Key
    Michael Kristensen 
    michael-kristensen at dsa-net.dk
       
    Wed Oct 13 17:33:06 EDT 2010
    
    
  
Hi
Thanks for the reply's
I m sorry to report that neither
  flushEvents("autoKey")
  flushEvents("all")
or
Jacquelines script:
on keydown pkey
   if pkey = "f" then
     doTheFlipping
     send "checkKey" to me in 0
   else
     pass keydown
   end if
end keydown
command checkKey
   if "102" is in keysdown() then -- 102 is the keycode for "f"
     send "checkKey" to me in 250 milliseconds -- adjust timing here
   else
     doTheFlipping
   end if
end checkKey
.......did have any effect on stopping the repeated keyDown.
Mic
    
    
More information about the use-livecode
mailing list