Combined Code
frame 1 {
movieLoaded = this.getBytesLoaded();
movieTotal = this.getBytesTotal();
percentage = Math.floor((movieLoaded / movieTotal) * 100);
infodisplay.text = percentage;
if (percentage >= 100) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
model.frm = 1;
model.stop();
}
movieClip 183 {
}
instance model of movieClip 183 {
onClipEvent (mouseDown) {
down = 1;
down_x = _xmouse;
currentFrm = frm;
}
onClipEvent (mouseUp) {
down = 0;
drag = 0;
frm = currentFrm;
}
onClipEvent (mouseMove) {
if (down) {
drag = 1;
up_x = _xmouse;
distance = -1 * Math.floor((down_x - up_x) * 100 / 480);
turn = Math.floor(distance / 3.33);
currentFrm = frm + turn;
if (currentFrm < 1) {
currentFrm = Math.abs(90 + currentFrm);
}
if (currentFrm > 90) {
currentFrm = Math.abs(currentFrm - 90);
}
gotoAndStop(currentFrm);
}
}
}