At 12:06 PM -0500 11/17/01, Shari wrote:
>I changed it to the following and it works as expected.
>
>repeat until the mouse is up
>  set the loc of cd btn someButton to the mouseLoc
>end repeat

If you really want to stop all other scripting until the object is dropped, you can 
use:

on mouseUp
grab me
end mouseUp

Otherwise, check out the mouseMoved message -- something like:

global gGrabbedObject

on mouseUp
put the name of me into gGrabbedObject
end mouseUp

on mouseMove x,y
if the name of me is gGrabbedObject then set the loc of me to x,y
end mouseMove

or something like that -- haven't tried it out.

regards,

Geoff

Reply via email to