Hi. I hope this makes sense... I have an animation where 6 balls fall down and stop vertically/sequentially. All six balls then exit stage left, again sequentially.
Right now, as the balls head left, ball2 follows ball1 after .2 seconds. Ball3 follows ball2 after .2 seconds, and so on.
I would like to decrement the time so that ball2 follows ball1 after .2 seconds, ball3 follows ball2 after .2-.05 seconds, ball4 follows ball3 after .2-(2*.05), and so on. Do I just add gradual delays? Is there an elegant way to do this? Any advice appreciated. Thanks!
var timeline:TimelineMax = new TimelineMax({repeat:-1});
timeline.append(TweenMax.to(b1, .5, {y:"200", ease:Cubic.easeInOut}));
timeline.append(TweenMax.to(b2, .5, {y:"200", ease:Cubic.easeInOut}));
timeline.append(TweenMax.to(b3, .5, {y:"200", ease:Cubic.easeInOut}));
timeline.append(TweenMax.to(b4, .5, {y:"200", ease:Cubic.easeInOut}));
timeline.append(TweenMax.to(b5, .5, {y:"200", ease:Cubic.easeInOut}));
timeline.append(TweenMax.to(b6, .5, {y:"200", ease:Cubic.easeInOut}));
timeline.appendMultiple([new TweenMax(b1, .5, {x:"-800"}),
new TweenMax(b2, .5, {x:"-800", ease:Sine.easeOut}),
new TweenMax(b3, .5, {x:"-800", ease:Sine.easeOut}),
new TweenMax(b4, .5, {x:"-800", ease:Sine.easeOut}),
new TweenMax(b5, .5, {x:"-800", ease:Sine.easeOut}),
new TweenMax(b6, .5, {x:"-800", ease:Sine.easeOut})], .5, TweenAlign.START, .2);