Hi Guys,
I need to change the ease on a timeline on reverse, for example:
var _easeElastic = Elastic.easeOut.config(1, 0.4);
var _easePower2 = Power2.easeOut;
function showNuts(){
_tl2
.to('#nuts',0,{opacity:1})
.to('#nuts', 0.4, {opacity:1, top:18, scale:1, ease: _easeElastic})
.to('#copyNuts', 0.4, {top:87, left:45, scale:1.5, ease: _easeElastic}, '-=0.4')
.to('.copyNutsFill', 0.3, {fill: "rgb(232,230,1)"}, '-=0.3')
.to('#copyJerky', 0.4, {top:85, left:21, ease: _easeElastic}, '-=0.4')
.to('#copySeeds', 0.4, {top:85, left:22, ease: _easeElastic, onComplete:function(){
TweenLite.delayedCall(2, function(){
_tl2.updateTo({ease:_easePower2});
_tl2.reverse()
});
}}, '-=0.4')
}
I know that updateTo is not part of the TimelimeMax, but that is to explain what I need when the timeline is reversed.