try this alternative (put into your graphic object):

#click to select and drag, click again to release
on mouseDown
 set the dragMe of me to NOT the dragMe of me
end mouseDown

#moving...
on mouseMove X,Y
 if the dragMe of me is TRUE then
   #will set the limits for the drag space to minY, maxY, minX, maxX
   if Y >= minY and Y <=maxY and X >=minX and X <= maxX then
     set the loc of me to X & comma & Y
   end if
 end if
end mouseMove

Viktoras
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to