missing mousedowns mystery

Sarah Reichelt sarah.reichelt at gmail.com
Thu May 31 17:57:14 EDT 2007


> The problem is once and a while a mouse down event is not caught by
> revolution. it appears to usually happen after clicking on a button
> that brings up a different group and then when you quickly try to
> click on one of the newly visible group's buttons quickly the
> mousedown is not captured on the object that is clicked on (like a
> transparent button). the mousedown message does go onto the card
> level though.

I don't know why the problem occurs, but if you get the mouseDown
message at the card level, what is "the target" at that stage? If "the
target" is actually the button you wanted to click, you could use that
to trigger the correct script.

Another possibility would be to set a flag when mouseDown was handled
and if a mouseUp or mouseStillDown message arrived without the
mouseDown having happened, you could send the mouseDown directly.

Cheers,
Sarah



More information about the use-livecode mailing list