On 07/17/2015 01:57 PM, Peter TB Brett wrote:
On 2015-07-17 12:52, Richmond wrote:
I am animating a series of images like this:
on animaSHun
set the vis of img "M1" to true
set the vis of img "M4" to false
wait 4 ticks
set the vis of img "M2" to true
set the vis of img "M1" to false
wait 4 ticks
set the vis of img "M3" to true
set the vis of img "M2" to false
wait 4 ticks
set the vis of img "M4" to true
set the vis of img "M3" to false
wait 4 ticks
animaSHun
end animaSHun
You need to:
wait 4 ticks with messages
Using "with messages" means that the engine can process clicks, key
presses, etc. while waiting. See also
<http://livecode.com/resources/api/#livecode_script/wait>.
Peter
Thanks a lot! Just what the doctor ordered!
Richmond.
_______________________________________________
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