Presumably "monthly" is a slip of the keyboard for "smoothly", although
it did entertain me.

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