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 35 {
on (release) {
gotoAndStop(3);
}
}
button 38 {
on (release) {
gotoAndStop(2);
}
}
button 40 {
on (release) {
gotoAndStop(1);
}
}
movieClip 41 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.3 * _root.all._xscale * (_x - centerx) + 275;
_root.YP = -0.3 * _root.all._xscale * (_y - centery) + 220;
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
frame 1 {
stop();
}
movieClip 55 {
}
movieClip 57 {
}
movieClip 58 {
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 = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
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 57 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (press) {
}
onClipEvent (release) {
_root.gotoAndPlay(2);
}
onClipEvent (releaseOutside) {
}
}
}
frame 2 {
stop();
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 71 {
frame 125 {
gotoAndPlay(1);
}
frame 255 {
_root.all.head.ears.gotoAndPlay('closed');
}
}
movieClip 79 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 83 {
}
movieClip 85 {
}
movieClip 112 {
frame 152 {
gotoAndPlay(1);
}
frame 153 {
stop();
}
}
movieClip 124 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
gotoAndStop(1);
}
}
movieClip 125 {
}
movieClip 126 {
}
movieClip 128 {
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 133 {
instance of movieClip 128 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (release, releaseOutside) {
stopDrag();
}
}
instance of movieClip 130 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (release, releaseOutside) {
stopDrag();
}
}
instance of movieClip 132 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (release, releaseOutside) {
stopDrag();
}
}
}
movieClip 135 {
}
instance cFace of movieClip 135 {
onClipEvent (load) {
_root.XP = width;
_root.YP = height;
}
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (release, releaseOutside) {
stopDrag();
}
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);
}
}
onClipEvent (keyPress '<Right>') {
_root.all.head.face.mouth.nextFrame();
}
onClipEvent (keyPress '<Left>') {
_root.all.head.face.eyebrows.nextFrame();
}
onClipEvent (keyPress '<Up>') {
_root.all.head.face.eyes.gotoAndPlay('closed');
_root.all.head.ears.gotoAndPlay('closed');
}
onClipEvent (keyPress '<Down>') {
_root.all.head.face.eyes.gotoAndPlay(1);
_root.all.head.face.ears.gotoAndPlay(1);
}
}