On 10/13/10 4:33 PM, Michael Kristensen wrote:
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.

Odd, I tested it before I posted and it worked (at least on Mac, what OS are you on?) Only I didn't have your flipping code so I just set the color of a field instead. If you change the flip to something like "set the backcolor of fld 1 to red" on flip and "set the backcolor of fld 1 to empty" on un-flip, does that work? If so, then see if there's anything in your other handler that's changing the behavior.

I wouldn't expect flushevents to work, the messages are coming in faster than you can clear them.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to