Hey,
i’ve been trying to reverse a tween using tweenlite (i’m pretty new to code) but i’m not sure how to structure the code.
does it go:
tweento.TweenLite.to(mc, 1, {x:100, y:200});
then this line:
myTween.addEventListener(TweenEvent.COMPLETE, myFunction);
function myFunction(TweenEvent) {
myTween.reverse(adjustDuration:Boolean, forcePlay:Boolean):void
}
or something like this?
any ideas?