Making an image draggable

Ken Ray kray at sonsothunder.com
Sat Jul 9 10:36:16 EDT 2005


> Tried several variations of the following script:
> on mousedown
> make image "ruler.jpg" draggable
> end mousedown

-- Script of ruler image
on mouseDown
  grab me
end mouseDown

Now this doesn't have any constraints, but it works very well...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the use-livecode mailing list