dragging question

john at debraneys.com john at debraneys.com
Wed Feb 7 18:44:32 EST 2007


Hi Marty,
A simple approach is
on mousedown
 repeat until the mouse is up
 set the loc of me to the mouseloc
 end repeat
end mousedown
Cheers
John T

>-----Original Message-----
>From: marty [mailto:marty at ucls.uchicago.edu]
>Sent: Wednesday, February 7, 2007 12:58 PM
>To: use-revolution at lists.runrev.com
>Subject: dragging question
>
>Hi all --
>
>I'm sure I should know how to do this, but.....
>
>What would the script be to drag an object (let's call it graphic 
>"triangle" or something) when the user clicks and drags on it?
>
>Thanks,
> - marty
>
>--
>Marty Billingsley
>The University of Chicago Laboratory Schools
>
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list