You are not logged in.

1

Wednesday, September 30th 2020, 10:54am

How to wait some second before to call the action again ?

Hi Krpano-community !

I got a pretty good animation on the forum but I would like to know if it was possible to "stop" the animation after the call then restart the animation after something like 3sec ?

here is the action I've found :

Source code

1
<action name="wobble" args="attribute, min, max, time" scope="local">			set(local.vverh, false);			calc(cal,'caller.' + attribute);setinterval(calc('merc_' + caller.name), get(time),if(vverh, tween(get(cal),get(max),get(time),easeInQuad);set(vverh,false);,tween(get(cal),get(min),get(time),easeOutQuad); set(vverh,true);););  	 	      </action>


I tried he delayedcall() but it only works for the first time...

I call the action in "onload".

Thanks for your help