Combined Code
movieClip 2 {
}
button 7 {
on (press) {
startDrag('', false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
}
movieClip 8 {
}
button 10 {
on (press) {
if (_root.all._xscale < 1100) {
_root.all._xscale += 10;
_root.all._yscale = _root.all._xscale;
--bar._x;
}
}
}
button 11 {
on (press) {
if (_root.all._xscale > 0) {
_root.all._xscale -= 10;
_root.all._yscale = _root.all._xscale;
++bar._x;
}
}
}
button 16 {
on (press) {
drag = true;
}
on (release, releaseOutside) {
drag = false;
}
}
movieClip 17 {
}
button 20 {
on (press) {
_root.XP += 10;
}
}
button 21 {
on (press) {
_root.XP -= 10;
}
}
button 23 {
on (press) {
_root.YP -= 10;
}
}
button 24 {
on (press) {
_root.YP += 10;
}
}
button 26 {
on (press) {
startDrag('', false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
}
movieClip 27 {
}
button 29 {
on (press) {
startDrag('', false);
}
on (release) {
stopDrag();
}
}
// unknown tag 88 length 496
button 34 {
on (release) {
gotoAndStop(3);
}
}
button 37 {
on (release) {
gotoAndStop(2);
}
}
button 39 {
on (release) {
gotoAndStop(1);
}
}
movieClip 40 sprite 157 copy {
frame 1 {
stop();
}
instance bar of movieClip 8 {
onClipEvent (load) {
top = _y;
bottom = _y;
left = _x - 100;
right = _x + 10;
center = _x;
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.all._xscale = -10 * (_x - center) + 100;
_root.all._yscale = _root.all._xscale;
}
}
}
instance kuru of movieClip 17 {
onClipEvent (mouseMove) {
if (drag) {
xDis = _parent._xmouse - _x;
yDis = _parent._ymouse - _y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / 0.01745329;
_rotation = kakudo;
_root.all._rotation = kakudo;
updateAfterEvent();
}
}
}
instance pp of movieClip 27 {
onClipEvent (load) {
top = _y + 15;
bottom = _y - 15;
left = _x - 20;
right = _x + 20;
centerx = _x;
centery = _y;
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.XP = -0.5 * _root.all._xscale * (_x - centerx) + 245;
_root.YP = -0.5 * _root.all._xscale * (_y - centery) + 345;
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
frame 1 {
stop();
}
movieClip 54 {
}
movieClip 56 {
}
movieClip 57 {
frame 1 {
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
loadPercent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 1000) / 10;
if (loadedSize >= totalSize) {
gotoAndStop(5);
}
}
frame 2 {
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
loadPercent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 1000) / 10;
if (loadedSize >= totalSize) {
gotoAndStop(5);
}
}
frame 3 {
loadedSize = Math.round(_root.getBytesLoaded() / 1000);
totalSize = Math.round(_root.getBytesTotal() / 1000);
loadPercent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 1000) / 10;
bar._xscale = (loadedSize / totalSize) * 100;
if (loadedSize >= totalSize) {
gotoAndStop(5);
}
}
frame 4 {
gotoAndPlay(3);
}
frame 5 {
stop();
}
instance of movieClip 56 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (press) {
}
onClipEvent (release) {
_root.gotoAndPlay(2);
}
onClipEvent (releaseOutside) {
}
}
}
frame 2 {
stop();
}
movieClip 64 {
frame 1 {
stop();
}
frame 3 {
gotoAndStop(1);
}
}
movieClip 76 {
frame 1 {
stop();
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 83 {
frame 1 {
stop();
}
frame 4 {
gotoAndStop(1);
}
}
movieClip 89 {
frame 1 {
stop();
}
frame 4 {
gotoAndStop(1);
}
}
movieClip 96 {
frame 1 {
stop();
}
frame 4 {
gotoAndStop(1);
}
}
movieClip 103 {
frame 1 {
stop();
}
frame 4 {
gotoAndStop(1);
}
}
movieClip 112 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.all.belt.gotoAndStop(2);
}
frame 3 {
stop();
_root.all.belt.gotoAndStop(1);
}
frame 5 {
gotoAndStop(1);
}
}
movieClip 117 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 120 {
}
movieClip 121 {
}
movieClip 123 {
}
instance hairClick of movieClip 123 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.all.hair.nextFrame();
}
}
movieClip 125 {
}
instance bitsClick of movieClip 125 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.all.bits.nextFrame();
}
}
movieClip 129 {
frame 1 {
stop();
}
frame 4 {
gotoAndStop(1);
}
frame 5 {
stop();
}
}
instance underClick of movieClip 129 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.all.under.nextFrame();
this.nextFrame();
}
}
movieClip 131 {
frame 1 {
stop();
}
}
instance botClick of movieClip 131 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.all.bottom.nextFrame();
}
}
movieClip 133 {
frame 1 {
stop();
}
}
instance topClick of movieClip 133 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.all.top.nextFrame();
}
}
movieClip 135 {
}
instance dirtClick of movieClip 135 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.dirtVis.toggled = !_root.dirtVis.toggled;
if (_root.dirtVis.toggled) {
_root.dirtVis.gotoAndStop(1);
_root.all.dirt._alpha = 100;
} else {
_root.dirtVis.gotoAndStop(3);
_root.all.dirt._alpha = 0;
}
}
}
movieClip 137 {
}
instance socksClick of movieClip 137 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.all.socks.nextFrame();
}
}
movieClip 144 {
}
instance botVis of movieClip 144 {
onClipEvent (load) {
this.stop();
this.toggled = false;
this.onRelease = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.bottom._alpha = 0;
_root.botClick.gotoAndStop(2);
} else {
this.gotoAndStop(1);
_root.all.bottom._alpha = 100;
_root.botClick.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.bottom._alpha = 0;
_root.botClick.gotoAndStop(2);
} else {
this.gotoAndStop(1);
_root.all.bottom._alpha = 100;
_root.botClick.gotoAndStop(1);
}
};
this.onRollOver = function () {
if (this.toggled) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(2);
}
};
this.onPress = function () {
if (this.toggled) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(5);
}
};
this.onRollOut = function () {
if (this.toggled) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
};
}
}
instance topVis of movieClip 144 {
onClipEvent (load) {
this.stop();
this.toggled = false;
this.onRelease = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.top._alpha = 0;
_root.topClick.gotoAndStop(2);
_root.all.belt.gotoAndStop(1);
_root.all.top.gotoAndStop(1);
} else {
this.gotoAndStop(1);
_root.all.top._alpha = 100;
_root.topClick.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.top._alpha = 0;
_root.topClick.gotoAndStop(2);
_root.all.belt.gotoAndStop(1);
_root.all.top.gotoAndStop(1);
} else {
this.gotoAndStop(1);
_root.all.top._alpha = 100;
_root.topClick.gotoAndStop(1);
}
};
this.onRollOver = function () {
if (this.toggled) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(2);
}
};
this.onPress = function () {
if (this.toggled) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(5);
}
};
this.onRollOut = function () {
if (this.toggled) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
};
}
}
instance underVis of movieClip 144 {
onClipEvent (load) {
this.stop();
this.toggled = false;
this.onRelease = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.under._alpha = 0;
_root.underClick.gotoAndStop(5);
} else {
this.gotoAndStop(1);
_root.all.under.gotoAndStop(1);
_root.all.under._alpha = 100;
_root.underClick.gotoAndStop(1);
}
};
this.onReleaseOutside = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.under._alpha = 0;
_root.underClick.gotoAndStop(5);
} else {
this.gotoAndStop(1);
_root.all.under.gotoAndStop(1);
_root.all.under._alpha = 100;
_root.underClick.gotoAndStop(1);
}
};
this.onRollOver = function () {
if (this.toggled) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(2);
}
};
this.onPress = function () {
if (this.toggled) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(5);
}
};
this.onRollOut = function () {
if (this.toggled) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
};
}
}
instance bitsVis of movieClip 144 {
onClipEvent (load) {
this.gotoAndStop(3);
this.toggled = false;
_root.all.bits._alpha = 0;
this.onRelease = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(1);
_root.all.bits._alpha = 100;
} else {
this.gotoAndStop(3);
_root.all.bits._alpha = 0;
}
};
this.onReleaseOutside = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(1);
_root.all.bits._alpha = 0;
} else {
this.gotoAndStop(3);
_root.all.bits._alpha = 100;
}
};
this.onRollOver = function () {
if (this.toggled) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(4);
}
};
this.onPress = function () {
if (this.toggled) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(6);
}
};
this.onRollOut = function () {
if (this.toggled) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
};
}
}
instance socksVis of movieClip 144 {
onClipEvent (load) {
this.stop();
this.toggled = false;
this.onRelease = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.socks._alpha = 0;
} else {
this.gotoAndStop(1);
_root.all.socks._alpha = 100;
}
};
this.onReleaseOutside = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.socks._alpha = 0;
} else {
this.gotoAndStop(1);
_root.all.socks._alpha = 100;
}
};
this.onRollOver = function () {
if (this.toggled) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(2);
}
};
this.onPress = function () {
if (this.toggled) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(5);
}
};
this.onRollOut = function () {
if (this.toggled) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
};
}
}
instance beltVis of movieClip 144 {
onClipEvent (load) {
this.stop();
this.toggled = false;
this.onRelease = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.belt._alpha = 0;
} else {
this.gotoAndStop(1);
_root.all.belt._alpha = 100;
}
};
this.onReleaseOutside = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(3);
_root.all.belt._alpha = 0;
} else {
this.gotoAndStop(1);
_root.all.belt._alpha = 100;
}
};
this.onRollOver = function () {
if (this.toggled) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(2);
}
};
this.onPress = function () {
if (this.toggled) {
this.gotoAndStop(6);
} else {
this.gotoAndStop(5);
}
};
this.onRollOut = function () {
if (this.toggled) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
};
}
}
instance dirtVis of movieClip 144 {
onClipEvent (load) {
this.gotoAndStop(3);
this.toggled = false;
_root.all.dirt._alpha = 0;
this.onRelease = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(1);
_root.all.dirt._alpha = 100;
} else {
this.gotoAndStop(3);
_root.all.dirt._alpha = 0;
}
};
this.onReleaseOutside = function () {
this.toggled = !this.toggled;
if (this.toggled) {
this.gotoAndStop(1);
_root.all.dirt._alpha = 0;
} else {
this.gotoAndStop(3);
_root.all.dirt._alpha = 100;
}
};
this.onRollOver = function () {
if (this.toggled) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(4);
}
};
this.onPress = function () {
if (this.toggled) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(6);
}
};
this.onRollOut = function () {
if (this.toggled) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
};
}
}
movieClip 146 {
}
instance faceClick of movieClip 146 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (release, releaseOutside) {
_root.all.face.nextFrame();
}
}
// unknown tag 88 length 501
movieClip 150 {
}
instance controller of movieClip 150 {
onClipEvent (load) {
_root.XP = width;
_root.YP = height;
}
onClipEvent (enterFrame) {
_root.all._x = (_root.all._x + _root.XP) / 2;
_root.all._y = (_root.all._y + _root.YP) / 2;
}
onClipEvent (keyPress 'v') {
if (_root.vc._currentframe == 3) {
_root.vc.gotoAndStop(1);
} else {
_root.vc.gotoAndStop(3);
}
}
}