TweenLite.to(myFish, 2, {x:90, y:27, ease:Cubic.easeOut, onComplete:fishFinish}); function fishFinish():void { trace('Fish finished!'); }