are image objects moveable?
Malte Brill
malte.brill at t-online.de
Wed Feb 25 10:52:42 EST 2004
Hi Nicolas,
you might want to put something like this into the images script:
on mousemove x,y
if the mouse is down then
set the loc of me to x,y
end if
end mouseMove
If you want to check if the object is over another object you might want to
use the intersect function for a start:
if intersect (img "myimage",img "myImage2") then
--do your stuff here
end if
Put it into the mousemove handler.
Hope that helps to get you started. There are more advanced techniques to
move an object (search the archives for uAllowDrag)
Best,
Malte
More information about the use-livecode
mailing list