At this point it would be marvellous if somebody could chime in with a fairly sensible explanation of the role of "*without waiting*" and whether is would *declunk* the mismatch-thing
that seems to be going on between *dragging* and *animating*.

Certainly, *Director* (at least in 1999) did not have that sort of problem.

Richmond.

On 22.04.2016 21:37, Colin Holgate wrote:
This has the advantage of smooth dragging, but the disadvantage of less smooth 
animation:

local p

on mouseDown

put 1 into p

grab me

do animashun

end mouseDown

on mouseMove

do animashun

end mouseMove

on animashun

set the backGroundPattern of graphic "G1" to the id of image ("p"&p&".png")

wait 1 with messages

put p + 1 into p

if p > 15 then put 1 into p

end animashun


About Director, it can of course do this sort of animation monthly, but also it 
can be used as an XTalk language.


_______________________________________________
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

_______________________________________________
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