Andrew,

If you mean moving an image in an arc the following will work.  Create a
button with the following script, click on it, and see if this is anywhere
close to what you have in mind.

on mouseup
  put 239 into YY
  put 430 into XX --center of circle between start (260) and finish (600)
  put 200 into RR --radius of the arc
  put 5000 into NumSteps --this essentially sets the speed
  put (Pi/2)*3 into StartPoint --start at the 270 degree point
 repeat NumSteps
    set the loc of me to  XX+round(RR*sin (StartPoint)),YY+round(RR*cos
(StartPoint))
    subtract (Pi/NumSteps) from Startpoint --add to go counterclockwise
  end repeat
end mouseup

Nelson Zink


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to