Combined Code
frame 1 {
stop();
_root.onEnterFrame = function () {
percentage = Math.round((this.getBytesLoaded() / this.getBytesTotal()) * 100);
percentageLoaded.text = percentage + '%';
if (percentage == 100) {
delete _root.onEnterFrame;
gotoAndPlay('MovieStart');
}
};
}
// unknown tag 88 length 63
movieClip 75 {
}
frame 2 {
stop();
}
movieClip 196 {
}
instance of movieClip 196 {
onClipEvent (load) {
this.gotoAndStop(this._currentframe);
}
onClipEvent (mouseDown) {
flag = true;
}
onClipEvent (mouseUp) {
flag = false;
}
onClipEvent (mouseMove) {
if (flag) {
xmouse = _root._xmouse;
if (xmouse - lastXMouse > 0) {
if (this._currentframe + 1 > this._totalframes) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(this._currentframe + 1);
}
} else {
if (this._currentframe - 1 < 1) {
this.gotoAndStop(60);
} else {
this.gotoAndStop(this._currentframe - 1);
}
}
lastXMouse = xmouse;
}
}
}