Код первого кадра мувиклипа:

Код:
MovieClip.prototype.rev = function() {
this.onEnterFrame = function(){
if (go and this._currentframe<this._totalframes) {
this.nextFrame();
}
if (!go and this._currentframe>1) {
this.prevFrame();
}
}
}
this.rev();
Код на кнопке:

Код:
on (rollOver) {
go = true;
}
on (rollOut) {
go = false;
}