function moveFrame(num) {
this.onEnterFrame = function() {
if (num>this._currentframe) {
this.nextFrame();
} else if (num<this._currentframe) {
this.prevFrame();
} else {
delete this.onEnterFrame;
}
};
}
this.onEnterFrame = function() {
if (num>this._currentframe) {
this.nextFrame();
} else if (num<this._currentframe) {
this.prevFrame();
} else {
delete this.onEnterFrame;
}
};
}

