Move to the points.
Richmond
richmondmathewson at gmail.com
Sun Jun 26 12:49:17 EDT 2016
Thanks, both.
Meanwhile, I came up with another way of doing things
[Isn't THAT the best thing about Livecode?
That there are almost always many ways to achieve one thing.]
So, my script looks a bit like this:
on mouseUp
put the points of grc "myTRACK" into fld "myTRAK"
put 1 into KOUNT
repeat until line KOUNT of fld "myTRAK" is empty
put line KOUNT of fld "myTRAK" into POZZ
move btn "thing" to POZZ
--- animation sequence
set the icon of btn "thing" to the id of img "thing1"
wait 5 ticks
set the icon of btn "thing" to the id of img "thing2"
wait 5 ticks
set the icon of btn "thing" to the id of img "thing3"
wait 5 ticks
----
add 10 to KOUNT
end repeat
end mouseUp
Richmond.
More information about the use-livecode
mailing list