
Код:
import mx.transitions.Tween;
import mx.transitions.easing.None;
currentThumb.onRollOver = currentThumb.onDragOver = function () {
this.tweenX.stop ();
this.tweenY.stop ();
this.tweenX = new Tween (this, "_xscale", None.easeNone, this._xscale, 140, 0.3, true);
this.tweenY = new Tween (this, "_yscale", None.easeNone, this._yscale, 140, 0.3, true);
showName_txt.text = this.NAME;
};
currentThumb.onRollOut = currentThumb.onDragOut = function () {
this.tweenX.stop ();
this.tweenY.stop ();
this.tweenX = new Tween (this, "_xscale", None.easeNone, this._xscale, 100, 0.3, true);
this.tweenY = new Tween (this, "_yscale", None.easeNone, this._yscale, 100, 0.3, true);
showName_txt.text = this.NAME;
showName_txt.text = "";
};