Hi guys,
I have a problem with The TweenMax.killAll(true) method. Here is my example:
TweenMax.to(targetQ, 2, {
scaleX : 2,
scaleY : 2,
reversed : true,
yoyo : true,
repeat : 1,
x : targetQ.x + (targetQ.width - 2 * targetQ.width) / 2,
y : targetQ.y + (targetQ.height - 2 * targetQ.height),
ease : Back.easeOut,
onReverseComplete : function onReverseComplete():void {
trace("complete this tween ;)");
}
} );
If you make a reversed tween, it's never call the onComplete function.
The tweenax documentation write this: "
onComplete : Function – A function that should be called when the tween