I found the cure for my problem script:

on mousedown
  repeat until the mouse is up
    set the loc of me to the mouseloc
  end repeat
end mousedown  

I can't use 'grab me', because in my actual code, there is code to make sure
the object isn't dragged out of bounds, and to move selection handles with
the object, etc.

After fighting with it, I found that the way to stop the button from
sticking to the finger after the mouse is up is to do this:

on mousedown
  repeat until the mouse is up
    wait for messages
    set the loc of me to the mouseloc
  end repeat
end mousedown

It would seem that revolution doesn't recognize "until the mouse is up" as a
queue to actually check to see if the mouse button has changed states during
the loop.

- keelan

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

Reply via email to