Hey guys -
It's been a while since I used TweenMax (AS version, about 3 years ago was the last time), and now I'm trying to use it again in JS. I'm running into a big issue though.
I have a tween I'm receiving in data as a set of points (in one case, 158 points), as well as an easing type which is supposed to span all of those points. Of course these points do not necessarily define a straight line. I'd rather not have to calculate the time for each segment of the total line of tweens (for obvious reasons, I hope) based on the easing equation. It would appear that easing is not something that can be applied to TimelineLite/Max as a whole - but is is possible to tween across multiple points, like
TweenMax.to(thing, dur, {
left : [233, 234, 235, 236],
top : [0, 12, 8, 23],
ease : 'Power2.easeIn'
});
?
By the way, I am aware that I can put the number of points into a TweenLite instance and get the correct point in time for any moment along that point that way, and by that I can derive the duration of each segment of the total tween. I was hoping for a shorter route, though.