
Код:
my_mc.onRollOver = function () {
this.onEnterFrame = function () {
if (this._xscale == 200) {
delete this.onEnterFrame;
} else {
this._xscale += 10;
this._yscale += 10;
}
};
};
my_mc.onRollOut = function () {
this.onEnterFrame = function () {
if (this._xscale == 100) {
delete this.onEnterFrame;
} else {
this._xscale -= 10;
this._yscale -= 10;
}
};
};