hi all, i jjust want to know a way how to (on the rollout) stop the tweens that are happening on the rollover
for (i=0; i<=sections.length; i++) {
this[sections*+""].onRollOver = function() {
var heightGo:Tween = new Tween(this, "_height", Strong.easeOut, this._height, 2*this._height, 0.3, true);
var widthGo:Tween = new Tween(this, "_width", Strong.easeOut, this._width, 2*this._width, 0.3, true);
};
this[sections*+""].onRollOut = function() {
var heightGoBack:Tween = new Tween(this, "_height", Strong.easeOut, this._height, 0.5*this._height, 0.3, true);
var widthGoBack:Tween = new Tween(this, "_width", Strong.easeOut, this._width, 0.5*this._width, 0.3, true);
};
}
I don’t know how to reference a tween within that function :S