sd.onRelease = function(){ mv.gotoAndPlay(5); mv.onEnterFrame = function(){ if ( this._currentframe >= this._totalframes ) { this.stop(); delete this.onEnterFrame ; // Запускаем то, что мы там запускаем уже себе } } }