Totally Loopy
Peter TB Brett
peter.brett at livecode.com
Fri Jul 17 06:57:58 EDT 2015
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
--
Dr Peter Brett <peter.brett at livecode.com>
LiveCode Engine Development Team
More information about the use-livecode
mailing list