Код я на форуме разыскал
Цитата:
this.onEnterFrame = function () {
this.gotoAndStop (this._currentframe + this.df);
if (this._currentframe == 1) {
this.df = 1;
} else if (this._currentframe == this._totalframes) {
this.df = -1;
}
};
this.df = 0
this.stop ();
|
Только как его заставить нормально работать от нажатия кнопки