I cant stop my tweens!

Hiya, thanks for checking this. I am using a function that targets a movie clip and then performs a yoyo() tween on it. I then want to call this function and stop the same tween (passing a false value) but I can’t figure out why this is not working.
If anyone has any ideas it would be a big help.
Thanks! :slight_smile:
[AS]
function highlightCard(target:MovieClip, highlightIt:Boolean) {
trace(“highlight card:”+highlightIt+":"+target);
var pulseSpeed:Number = 0.4;
var origY:Number = target._y;
if (highlightIt) {
var myTween:Tween = new Tween(target, “_xscale”, None.easeNone, 100, growSize, pulseSpeed, true);
myTween.onMotionFinished = function() {
this.yoyo();
};
var myTween2:Tween = new Tween(target, “_yscale”, None.easeNone, 100, growSize, pulseSpeed, true);
myTween2.onMotionFinished = function() {
this.yoyo();
};
} else {
trace(“SHOULD STOP TWEEN”);
target.myTween.stop()
target.myTween2.stop()
target._xscale = 100;
target._yscale = 100;

}

}[/AS]