Hello,
I'm using the TimelineMax ans it works great. But I have a problem with something. I want to use a delayedCall function. In this function, I have other tweenMax. Something like this :
var tl:TimelineMax = new TimelineMax();
tl.insert(TweenMax.to(camion, 8,{x:700, ease:Linear.easeNone}));
tl.insert(TweenMax.to(nuage, 20,{x:"-100", ease:Linear.easeNone}));
tl.insert(TweenMax.delayedCall(3,enleverTexte));
//
function enleverTexte() {
TweenMax.to(txt1, 0.7,{y:"-40", alpha:0, ease:Quint.easeIn});
TweenMax.to(txt2, 0.7,{y:"-40", alpha:0, ease:Quint.easeIn, delay:0.2});
}
Now, I want to start my animation with a gap starting. Like this :
tl.currentTime = 5;
Normaly, I should not see the movieClip txt1 ans txt2 when my animation start (because I launch the animation at 5 seconds, and inside my timeline I hide the mc txt1 and txt2 at 3 seconds).
But it doesn't works... When the animation start, even if I start at 15 seconds, I see the mc txt1 and txt2 and the function enleverTexte() is executed...
How can I do this kind of manipulation ? Thank you.