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 :

    Code
    <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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!