Hi,
I am getting a bit confused after looking at all the different restart of a tween examples...
All I would like to do is store one tween (myTween) in a variable and later restart that tween. Here is my code:
import com.greensock.TweenMax;
import com.greensock.TimelineLite;
import com.greensock.easing.*;
var tl = new TimelineLite();
var myTween:TweenMax = new TweenMax(card, .5, {x:148, y:168, scaleX:1, scaleY:1, blurFilter:{blurX:0, blurY:0, remove:true}});
//runs the card unblur function .2 seconds into the previous tween
tl.add([cardReg], "-=0.1")
tl.to(txt1, 1, {alpha:1}, "+=1")
.to(card, .4, {alpha:0, scaleX:3, scaleY:3}, "+=1")
.restart(myTween);
stop();
Please advise. Thanks!