So I have a graphic object generated like this:

on mouseUp
   put empty into fld "f1"
   put 0.1 into KOUNT
   repeat until KOUNT > 12.6
      put (KOUNT * 10) into LYNE
      put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR
      put ((((cos (KOUNT)) ) * 300) +400) into TB
      put (LR & "," & TB) into line LYNE of fld "f1"
      add 0.1 to KOUNT
   end repeat
   set the points of grc "c1" to fld "f1"
end mouseUp

(where grc "c1" is a pre-existing graphic)

and a button containing this:

on mouseUp
   move grc "g1" to the points of grc "c1" in 10 seconds
end mouseUp

and all should be fine, but it isn't, because on attempted execution of the button I get this:

"button "GO": execution error at line 2 (move: end point is not a point), char 21".

All very mysterious, Richmond.

P.S. Before Mark, Jacque or Richard try it; there is a comma before my name!


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to