Hello,
I"m wondering how to start a timeline with a ThrowProps Tween.
this is the code i have for the Throw:
ThrowPropsPlugin.to(mScrollContainer,{throwProps:{y:{velocity:yVelocity, min:targetY-20, max:targetY-20, resistance:4000}
},ease:Power3.easeOut
},1,.25,0);
works great. Now i want to append some animations afterwards, but i'm not sure how... What would be the proper way to write the code below? Where the throwprops is the 1st item in the timeline?
var moveToLock:TimelineLite = new TimelineLite();
moveToLock.append( // THROW PROPS ANIMATION GOES HERE // );
moveToLock.append( new TweenLite(mScrollContainer,.2,{y:targetY,ease:Power3.easeIn}) );
moveToLock.append( new TweenLite(mScrollContainer,.03,{y:"-5",ease:Linear}) );
moveToLock.append( new TweenLite(mScrollContainer,.1,{y:targetY,ease:Power3.easeIn}) );
any assistance would be warmly appreciated.
Sincerely,
Mark