Frame 1
_lockRoot = true;
version = getVersion();
flash_ver = version.split(",");
ver = flash_ver[0].substr(4, 1);
trace(ver);
if (ver > 7) {
gotoAndPlay (3);
} else {
gotoAndStop (2);
}
ms = 0;
_root.onMouseDown = function () {
ms = 1;
};
_root.onMouseUp = function () {
ms = 0;
_root.myDrop(dragTarget);
};
var dragTarget;
_root.myPickup = function (obj) {
obj.pos = "lifted";
_root.myStartDrag(obj);
obj.link.t = 0;
obj.link = none;
obj.gravity.gotoAndPlay(2);
};
_root.myDrop = function (obj) {
if (obj.customRelease == undefined) {
_root.releaseObject(obj);
} else {
obj.customRelease();
}
_root.myStopDrag();
};
_root.myStartDrag = function (obj) {
dragTarget = obj;
};
_root.myStopDrag = function () {
dragTarget = undefined;
};
_root.getDropTarget = function (obj) {
startDrag (obj);
stopDrag();
return(eval (obj._dropTarget));
};
_root.onEnterFrame = function () {
dragTarget._x = _root._xmouse;
dragTarget._y = _root._ymouse;
};
_root.releaseObject = function (obj) {
var _local3 = _root.getDropTarget(obj);
if (_local3.status == 0) {
obj.link = _local3;
obj.pos = "hooked";
_root.attach.play();
} else {
obj.pos = "free";
}
};
Frame 2
stop();
Frame 3
ifFrameLoaded (5) {
gotoAndStop (5);
}
Frame 4
gotoAndPlay (3);
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
Frame 14
stop();
Frame 15
stop();
Frame 16
stop();
Frame 17
stop();
Frame 18
prevFrame();
Symbol 1 MovieClip [sendToFriendLoader] Frame 1
function init(email, url) {
var _local3 = new MovieClipLoader();
var _local2 = {};
_local2.email = email;
_local2.url = url;
_local2.onLoadComplete = function (mc) {
mc.onEnterFrame = function () {
this.sendToFriendModule.init(email, url);
_visible = false;
var count = 0;
var appearCount = 3;
this.onEnterFrame = function () {
count++;
trace(appearCount);
if (count > appearCount) {
_visible = true;
_alpha = ((100 * (count - appearCount)) / 10);
if ((count - appearCount) == 10) {
this.onEnterFrame = undefined;
}
}
};
};
};
_local3.addListener(_local2);
var _local4 = this;
_local3.loadClip("SendToFriend.swf", _local4);
}
Symbol 7 MovieClip Frame 1
ox = this._x;
osc = 0;
stop();
Symbol 7 MovieClip Frame 2
osc = osc + 0.01;
if (osc > 1) {
osc = osc - 1;
}
this._x = ox + (30 * osc);
Symbol 7 MovieClip Frame 3
gotoAndPlay (2);
Symbol 8 MovieClip Frame 1
stop();
Symbol 14 Button
on (release) {
getURL ("http://www.macromedia.com/software/flashplayer/");
}
Symbol 17 Button
on (press) {
getURL ("http://www.vectorpark.com", "_blank");
}
Symbol 22 MovieClip Frame 13
stop();
Symbol 25 MovieClip Frame 1
var p = _parent;
var crossbar = _parent.crossbar;
var hook1 = crossbar.hook1;
var hook2 = crossbar.hook2;
var targetA = crossbar.targeta;
var targetB = crossbar.targetb;
hook1.t = 0;
hook2.t = 0;
targetA.t = 0;
targetB.t = 0;
this.onEnterFrame = function () {
p.t = ((((((p._xscale / 100) * (p._xscale / 100)) * 15) + hook1.t) + hook2.t) + targetA.t) + targetB.t;
_parent.link.t = _parent.t;
l = hook2.t + targetA.t;
r = hook1.t + targetB.t;
_parent.crossbar.d = l - r;
};
Symbol 26 MovieClip Frame 1
n = random(200) - 100;
dn = 0;
q = _parent._xscale;
Symbol 26 MovieClip Frame 2
dn = dn + ((random(200) - 100) / 300);
if (dn > 5) {
dn = 5;
}
if (dn < -5) {
dn = -5;
}
n = n + dn;
if (n > 1000) {
n = -1000;
}
if (n < -1000) {
n = 1000;
}
var angle = ((Math.sin((n / 1000) * Math.PI) * Math.PI) / 3);
_parent._xscale = q * Math.cos(angle);
_parent.crossbar.creak.crk = int(((_parent.t * 0.7) * dn) / 400);
if (_parent.crossbar.creak.crk > 5) {
_parent.crossbar.creak.crk = 5;
}
Symbol 26 MovieClip Frame 3
gotoAndPlay (2);
Symbol 30 MovieClip Frame 1
if ((t > 0) or (t < 0)) {
status = 1;
gotoAndPlay (3);
} else {
status = 0;
gotoAndPlay (1);
}
Symbol 30 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 MovieClip Frame 3
if ((t > 0) or (t < 0)) {
status = 1;
gotoAndPlay (3);
} else {
status = 0;
gotoAndPlay (1);
}
Symbol 30 MovieClip Frame 4
gotoAndPlay (3);
Symbol 31 MovieClip Frame 1
stat = 0;
Symbol 31 MovieClip Frame 2
t = 5 * stat;
Symbol 31 MovieClip Frame 3
gotoAndPlay (2);
Symbol 32 MovieClip Frame 1
if ((p = _parent._currentframe)) {
t = 1;
} else {
t = t + 1;
}
p = (int(_parent.d * 50) + 500) + 1;
if (p > 1000) {
p = 1000;
}
if (p < 0) {
p = 0;
}
if (p != q) {
t = 1;
} else {
t = t + 1;
}
q = p;
imp = (p - _parent._currentframe) / ((t - 10) * 2);
if (imp < -1) {
imp = -imp;
}
if (imp < 1) {
imp = 0;
}
if (_parent._currentframe < p) {
with (_parent) {
gotoAndStop(_currentframe + int(super.imp));
}
} else if (_parent._currentframe > p) {
with (_parent) {
gotoAndStop(_currentframe - int(super.imp));
}
}
Symbol 32 MovieClip Frame 2
gotoAndPlay (1);
Symbol 35 MovieClip Frame 1
crk = 0;
Symbol 35 MovieClip Frame 3
if (crk > 0) {
crk = crk - 1;
if (random(4) == 1) {
play();
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Symbol 35 MovieClip Frame 4
gotoAndPlay (2);
Symbol 37 MovieClip Frame 1
pos = "hooked";
_this._x = 250;
_this._visible = 0;
_this._y = 29.3;
Symbol 37 MovieClip Frame 2
_this._visible = true;
stop();
Symbol 47 MovieClip Frame 5
gotoAndPlay (1);
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 48 MovieClip Frame 131
if (_root.clock.timekeeper.p > 13) {
with (_root.clock.timekeeper) {
stop();
}
with (_root) {
play();
}
gotoAndStop ("win");
}
with (_root) {
play();
}
with (_root.clock.timekeeper) {
stop();
}
Symbol 48 MovieClip Frame 132
if (_root.clock.timekeeper.p > 13) {
with (_root.clock.timekeeper) {
stop();
}
gotoAndStop ("win");
}
Symbol 48 MovieClip Frame 133
with (_root.clock.timekeeper) {
play();
}
Symbol 48 MovieClip Frame 134
gotoAndPlay (1);
Symbol 48 MovieClip Frame 140
_root.poseidon.head.glow.play();
stop();
Symbol 51 MovieClip Frame 1
status = 5;
Symbol 51 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 MovieClip Frame 1
var objects = [_root.lever1, _root.lever2, _root.lever3, _root.lever4, _root.lever5, _root.lever6, _root.house, _root.rock, _root.saw, _root.squid, _root.waterjar, _root.ball, _root.snowman, _root.sub, _root.poseidon];
w = 0;
p = 0;
var n = 0;
while (n < objects.length) {
if (objects[n].wet == 1) {
w = w + 1;
}
if (objects[n].pos == "hooked") {
p = p + 1;
}
n++;
}
tot = p - w;
if (tot > (_root._currentframe - 4)) {
if (_parent.hand._currentframe < 3) {
_parent.hand.gotoAndPlay(3);
}
} else if (w > 0) {
_parent.hand.gotoAndStop(1);
} else {
_parent.hand.gotoAndStop(2);
}
Symbol 52 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 1
s = 1;
Symbol 55 MovieClip Frame 2
setProperty(_parent, _y , _parent._y + (((s / 2) * s) / 2));
if (_parent._y > 320) {
removeMovieClip(_parent);
}
s = s + 1;
Symbol 55 MovieClip Frame 3
gotoAndPlay (2);
Symbol 55 MovieClip Frame 6
setProperty(_parent, _y , 360 + ((5 * s) * math.sin(w / 4)));
w = w + 1;
if (s > 1) {
s = s - 0.2;
} else {
s = 1;
}
Symbol 55 MovieClip Frame 7
gotoAndPlay ("bob");
Symbol 56 MovieClip Frame 1
setProperty(_parent, _rotation , _parent._rotation - 5);
Symbol 56 MovieClip Frame 2
gotoAndPlay (1);
Symbol 57 MovieClip Frame 1
party = 88.7;
partx = -32.8;
Symbol 57 MovieClip Frame 2
gotoAndPlay (1);
Symbol 57 MovieClip Frame 4
gotoAndPlay (3);
Symbol 59 MovieClip Frame 1
party = 102.3;
partx = -46;
Symbol 59 MovieClip Frame 2
gotoAndPlay (1);
Symbol 59 MovieClip Frame 4
gotoAndPlay (3);
Symbol 61 MovieClip Frame 1
party = 72.3;
partx = -12.6;
Symbol 61 MovieClip Frame 2
gotoAndPlay (1);
Symbol 61 MovieClip Frame 4
gotoAndPlay (3);
Symbol 62 MovieClip Frame 1
party = 70.7;
partx = -28.8;
Symbol 62 MovieClip Frame 2
gotoAndPlay (1);
Symbol 62 MovieClip Frame 4
gotoAndPlay (3);
Symbol 64 MovieClip Frame 1
x = 0;
Symbol 64 MovieClip Frame 3
if (_root.snowman._currentframe > 1684) {
x = x + 1;
if (x == 1800) {
play();
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 69 MovieClip Frame 1
function bob() {
_parent._y = 360 + ((3 * s) * Math.sin(w / 4));
w = w + 0.5;
if (s > 1) {
s = s - 0.1;
} else {
s = 1;
}
}
s = 0.5;
Symbol 69 MovieClip Frame 2
if (_parent.pos == "free") {
_parent._y = _parent._y + (((s / 2) * s) / 2);
if (_parent._y > 360) {
_parent._y = 360;
b = 10;
w = 0;
gotoAndPlay ("splash");
}
s = s + 0.5;
} else {
s = 0.5;
}
Symbol 69 MovieClip Frame 3
gotoAndPlay (2);
Symbol 69 MovieClip Frame 4
bob();
Symbol 69 MovieClip Frame 5
bob();
Symbol 69 MovieClip Frame 6
gotoAndPlay ("bob");
Symbol 70 MovieClip Frame 1
var link = _parent.link;
var linkgp = link._parent._parent;
if (_parent.pos == "hooked") {
_parent._x = linkgp._x + ((link._x * linkgp._xscale) / 100);
_parent._y = linkgp._y + ((link._y * linkgp._yscale) / 100);
}
Symbol 70 MovieClip Frame 2
gotoAndPlay (1);
Symbol 71 MovieClip Frame 1
if ((eval (_parent._droptarget).status != 0) and (_parent.pos != "lifted")) {
stopDrag();
pos = "free";
}
Symbol 71 MovieClip Frame 2
gotoAndPlay (1);
Symbol 73 Button
on (press) {
_root.myPickup(this);
}
Symbol 74 MovieClip Frame 1
a = 0;
_parent.pos = "free";
_parent.wet = 0;
this.onEnterFrame = function () {
if (_parent.hitTest(_root.frontwave.sensor)) {
_parent.wet = 1;
} else {
_parent.wet = 0;
}
var _local4 = _parent.link;
var _local3 = _parent.t;
_local4.t = _local3 - (a * _local3);
if (_parent.hitTest(_root.depth) == true) {
a = a + 0.01;
if (a > 1.2) {
a = 1.2;
}
} else {
a = a - 0.01;
if (a < 0) {
a = 0;
}
}
};
Symbol 75 MovieClip Frame 1
t = 10;
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 3
gotoAndStop (1);
Symbol 79 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 7
gotoAndPlay (1);
Symbol 89 MovieClip Frame 1
t = 25;
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 21
if (_root.all.towermain.towerbody.t == 1) {
gotoAndPlay ("spin");
} else {
play();
}
Symbol 94 MovieClip Frame 40
gotoAndStop (1);
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
e = _parent.refill;
while (e > 21) {
e = e - 21;
}
if (e == 21) {
play();
} else {
gotoAndStop (24);
}
Symbol 95 MovieClip Frame 23
gotoAndPlay (3);
Symbol 95 MovieClip Frame 24
stop();
Symbol 98 Button
on (press) {
_root.myPickup(this);
}
Symbol 99 MovieClip Frame 1
_parent.t = 40;
_parent.refill = 0;
_parent.mc = 1;
with (_root.drip) {
stop();
}
with (_parent) {
stop();
}
Symbol 99 MovieClip Frame 2
_parent.t = 42 - (_parent._currentframe / 2);
if (_parent._y > 330) {
with (_parent) {
refill = refill + 1;
with (monkwet) {
gotoAndPlay(1);
}
with (monkdry) {
gotoAndPlay(1);
}
gotoAndStop(1);
}
}
Symbol 99 MovieClip Frame 3
gotoAndPlay (2);
Symbol 101 MovieClip Frame 1
a = 0;
_parent.pos = "free";
Symbol 101 MovieClip Frame 2
if (this.hitTest(_root.frontwave) == true) {
_parent.wet = 1;
} else {
_parent.wet = 0;
}
if (this.hitTest(_root.depth) == true) {
_parent.link.t = _parent.t - (a * _parent.t);
a = a + 0.01;
if (a > 1.2) {
a = 1.2;
}
} else {
if (a < 0) {
a = 0;
}
_parent.link.t = _parent.t - (a * _parent.t);
a = a - 0.01;
if (a < 0) {
a = 0;
}
}
Symbol 101 MovieClip Frame 3
gotoAndPlay (2);
Symbol 106 Button
on (rollOver) {
play();
with (_root.duplicator) {
play();
}
}
on (rollOut) {
stop();
with (_root.duplicator) {
gotoAndStop(2);
}
}
Symbol 108 MovieClip Frame 80
with (_root.duplicator) {
gotoAndStop(1);
}
Symbol 108 MovieClip Frame 81
gotoAndPlay (80);
with (_root.duplicator) {
gotoAndStop(1);
}
Symbol 111 MovieClip Frame 1
setProperty(this, _y , _root.waterjar._y + ((230 * _root.waterjar._yscale) / 100));
setProperty(this, _x , _root.waterjar._x - ((57 * _root.waterjar._xscale) / 100));
s = 1;
v = (random(300) - 150) / 200;
v2 = random(600) / 100;
Symbol 111 MovieClip Frame 2
_y = ((_y + (((s / 2) * s) / 2)) + v2);
_x = (_x - v);
if (this._y > 380) {
removeMovieClip(this);
}
s = s + 0.5;
Symbol 111 MovieClip Frame 3
gotoAndPlay (2);
Symbol 112 MovieClip Frame 1
with (_root.drip) {
gotoAndStop(4);
mc = 0;
}
stop();
Symbol 112 MovieClip Frame 2
duplicateMovieClip (_root.drip, "drip" + mc, mc);
setProperty("drip" + mc, _x , _root.waterjar._x + ((110 * _root.waterjar._xscale) / 100));
setProperty("drip" + mc, _y , _root.waterjar._y + ((43 * _root.waterjar._yscale) / 100));
mc = mc + 1;
Symbol 112 MovieClip Frame 3
gotoAndPlay (2);
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 7
gotoAndPlay (1);
Symbol 120 MovieClip Frame 1
_parent._parent.t = (((_root.bird1.home * 5) + (_root.bird2.home * 5)) + (_root.bird3.home * 5)) + 10;
stat = 0;
Symbol 120 MovieClip Frame 2
gotoAndPlay (1);
Symbol 121 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 1
_root.bird1.home = 1;
_root.bird2.home = 1;
_root.bird3.home = 1;
t = 10;
stop();
Symbol 124 MovieClip Frame 1
_parent._parent._visible = true;
Symbol 124 MovieClip Frame 2
_parent._y = 0;
_parent._y = _parent._y - 1;
if (_parent._parent.flap == 0) {
gotoAndPlay (8);
}
Symbol 124 MovieClip Frame 3
_parent._y = _parent._y + 0.5;
if (_parent._parent.flap == 0) {
gotoAndPlay (8);
}
Symbol 124 MovieClip Frame 4
_parent._y = _parent._y + 0.5;
if (_parent._parent.flap == 0) {
gotoAndPlay (8);
}
Symbol 124 MovieClip Frame 5
_parent._y = _parent._y + 0.5;
if (_parent._parent.flap == 0) {
gotoAndPlay (8);
}
Symbol 124 MovieClip Frame 6
_parent._y = _parent._y - 0.5;
if (_parent._parent.flap == 0) {
gotoAndPlay (8);
}
Symbol 124 MovieClip Frame 7
if (_parent._parent.flap == 0) {
play();
} else {
gotoAndPlay (2);
}
Symbol 124 MovieClip Frame 8
if (_parent._parent.flap == 0) {
play();
} else {
gotoAndPlay (2);
}
Symbol 124 MovieClip Frame 9
if (_parent._parent.flap == 0) {
if (_parent._parent.des == _root.house.home.nest) {
_parent._parent._visible = false;
_parent._parent.home = 1;
}
stop();
} else {
gotoAndPlay (1);
}
Symbol 127 MovieClip Frame 1
x2 = _parent._parent._x;
with (_parent) {
gotoAndStop(1);
}
Symbol 127 MovieClip Frame 2
x1 = _parent._parent._x;
turn = ((x1 - x2) * 1.5) + 20;
if (turn > 40) {
turn = 40;
}
if (turn < 1) {
turn = 1;
}
with (_parent) {
gotoAndStop(int(turn));
}
Symbol 127 MovieClip Frame 3
x2 = _parent._parent._x;
turn = ((x2 - x1) * 1.5) + 20;
if (turn > 40) {
turn = 40;
}
if (turn < 1) {
turn = 1;
}
with (_parent) {
gotoAndStop(int(turn));
}
gotoAndPlay (2);
Symbol 135 Button
on (rollOver) {
if (home == 0) {
with (stirrer) {
gotoAndPlay(4);
}
}
}
Symbol 137 MovieClip Frame 1
imp = 0;
Symbol 137 MovieClip Frame 3
if (_parent.stabilizer.alt < 350) {
if (random(60000) < imp) {
play();
} else {
imp = imp + 1;
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Symbol 137 MovieClip Frame 4
_parent.body.wingflap2.gotoAndPlay(1);
_parent.body.wingflap1.gotoAndPlay(1);
if (_parent.home == 0) {
_parent.launch.gotoAndPlay(2);
} else {
_parent.exit.gotoAndPlay(2);
}
_parent.des.stat = _parent.des.stat - 1;
_parent.play();
Symbol 138 MovieClip Frame 1
alt = ((((_parent.des._parent._y + _parent.des._y) * _parent.des._parent._parent._yscale) / 100) + _parent.des._parent._parent._y) - 5;
_parent._y = alt;
_parent._x = (((_parent.des._parent._x + _parent.des._x) * _parent.des._parent._parent._xscale) / 100) + _parent.des._parent._parent._x;
if ((alt > 350) and (_parent.home == 0)) {
_parent.body.wingflap2.gotoAndPlay(1);
_parent.body.wingflap1.gotoAndPlay(1);
_parent.launch.gotoAndPlay(2);
_parent.des.stat = _parent.des.stat - 1;
_parent.play();
}
Symbol 138 MovieClip Frame 2
gotoAndPlay (1);
Symbol 139 MovieClip Frame 1
stop();
_parent.flyery.impulse = 1;
_parent.flyerx.impulse = 1;
Symbol 139 MovieClip Frame 2
with (_parent) {
home = 0;
setProperty(body, _visible , true);
}
Symbol 139 MovieClip Frame 3
setProperty(_parent, _x , ((((_root.house.home.nest._parent._x + _root.house.home.nest._x) * _root.house.home.nest._parent._parent._xscale) / 100) + _root.house.home.nest._parent._parent._x) + 30);
setProperty(_parent, _y , (((((_root.house.home._y + _root.house.home.nest._y) * _root.house._yscale) / 100) * _root.house.home._yscale) / 100) + _root.house._y);
with (_parent.flyerx) {
stop();
}
with (_parent.flyery) {
stop();
}
Symbol 139 MovieClip Frame 4
setProperty(_parent, _x , ((((_root.house.home.nest._parent._x + _root.house.home.nest._x) * _root.house.home.nest._parent._parent._xscale) / 100) + _root.house.home.nest._parent._parent._x) + 15);
setProperty(_parent, _y , (((((_root.house.home._y + _root.house.home.nest._y) * _root.house._yscale) / 100) * _root.house.home._yscale) / 100) + _root.house._y);
Symbol 139 MovieClip Frame 5
setProperty(_parent, _x , ((((_root.house.home.nest._parent._x + _root.house.home.nest._x) * _root.house.home.nest._parent._parent._xscale) / 100) + _root.house.home.nest._parent._parent._x) - 20);
setProperty(_parent, _y , (((((_root.house.home._y + _root.house.home.nest._y) * _root.house._yscale) / 100) * _root.house.home._yscale) / 100) + _root.house._y);
_parent.body_visible = true;
a = 10;
Symbol 139 MovieClip Frame 6
setProperty(_parent, _x , _parent._x - (3 * a));
a = a - 1;
Symbol 139 MovieClip Frame 7
if (a == 0) {
_parent.flyery.impulse = 0;
_parent.flyerx.impulse = 0;
stop();
} else {
gotoAndPlay (6);
}
Symbol 140 MovieClip Frame 1
_parent.flyery.impulse = 0;
_parent.flyerx.impulse = 0;
stop();
Symbol 140 MovieClip Frame 2
_parent._y = _parent._y + -1;
Symbol 140 MovieClip Frame 3
_parent._y = _parent._y + -2;
Symbol 140 MovieClip Frame 4
_parent._y = _parent._y + -3;
Symbol 140 MovieClip Frame 5
_parent._y = _parent._y + -4;
Symbol 140 MovieClip Frame 6
_parent._y = _parent._y + -5;
Symbol 140 MovieClip Frame 7
_parent._y = _parent._y + -6;
Symbol 140 MovieClip Frame 8
_parent._y = _parent._y + -7;
Symbol 140 MovieClip Frame 9
_parent._y = _parent._y + -8;
Symbol 140 MovieClip Frame 10
_parent._y = _parent._y + -6;
Symbol 140 MovieClip Frame 11
_parent._y = _parent._y + -7;
Symbol 140 MovieClip Frame 12
_parent._y = _parent._y + -6;
Symbol 140 MovieClip Frame 13
_parent._y = _parent._y + -5;
Symbol 140 MovieClip Frame 14
_parent._y = _parent._y + -4;
Symbol 140 MovieClip Frame 15
_parent._y = _parent._y + -4;
Symbol 140 MovieClip Frame 16
_parent._y = _parent._y + -3;
Symbol 140 MovieClip Frame 17
_parent._y = _parent._y + -2;
Symbol 140 MovieClip Frame 18
setProperty(_parent, _y , _parent._y - 1);
_parent.flyery.impulse = 0;
_parent.flyerx.impulse = 0;
stop();
Symbol 141 MovieClip Frame 4
setProperty(_parent, _visible , false);
_parent.des = _root.house.home.nest;
_parent.home = 1;
_root.house.stat = 3;
Symbol 141 MovieClip Frame 5
stop();
Symbol 142 MovieClip Frame 1
PROG = 1;
var targets = [_root.house.home.nest, _root.lever1.crossbar.targeta, _root.lever1.crossbar.targetb, _root.lever2.crossbar.targeta, _root.lever2.crossbar.targetb, _root.lever3.crossbar.targeta, _root.lever3.crossbar.targetb, _root.lever4.crossbar.targeta, _root.lever4.crossbar.targetb];
target = random(targets.length);
while (target == _parent.old) {
target = random(targets.length);
}
_parent.des = targets[target];
Symbol 142 MovieClip Frame 2
PROG = 2;
var pos = _parent.des._parent._parent.pos;
var wet = _parent.des._parent._parent.wet;
if (((((_parent.des == undefined) or (_parent.des.stat > 0)) or (pos == "free")) or (wet == 1)) or (pos == "lifted")) {
gotoAndPlay (1);
} else {
_parent.flyerx.t = 256;
_parent.flyerx.gotoAndPlay(2);
_parent.flyery.t = 256;
_parent.flyery.gotoAndPlay(2);
}
Symbol 142 MovieClip Frame 3
PROG = 3;
var pos = _parent.des._parent._parent.pos;
if (((_parent.des.stat > 0) or (pos == "free")) or (pos == "lifted")) {
_parent.flyerx.gotoAndPlay("slow");
_parent.flyery.gotoAndPlay("slow");
stop();
} else {
play();
}
Symbol 142 MovieClip Frame 4
PROG = 4;
_parent.old = target;
gotoAndPlay (3);
Symbol 143 MovieClip Frame 1
function getD() {
des = _parent.des;
return(((((des._parent._y + des._y) * des._parent._parent._yscale) / 100) + des._parent._parent._y) - 5);
}
d = getD();
t = 128;
arv = 0;
stop();
Symbol 143 MovieClip Frame 2
d = getD();
_parent._y = _parent._y + ((2 / t) * (d - _parent._y));
arv = 0;
if (t < 8) {
play();
} else {
t = t / 1.2;
}
Symbol 143 MovieClip Frame 3
d = getD();
if ((((d - _parent._y) < 2) and ((d - _parent._y) > -2)) and (impulse == 0)) {
_parent._y = d;
arv = 1;
if (_parent.flyerx.arv == 1) {
_parent.des.stat = _parent.des.stat + 1;
if (_parent.des == _root.house.home.nest) {
_root.house.doorway.play();
}
_parent.gotoAndStop(1);
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
Symbol 143 MovieClip Frame 4
d = getD();
t = t * 1.5;
_parent._y = _parent._y + ((2 / t) * (d - _parent._y));
arv = 0;
Symbol 143 MovieClip Frame 5
d = getD();
if (t < 256) {
gotoAndPlay (4);
} else {
t = 128;
stop();
}
Symbol 143 MovieClip Frame 6
d = getD();
Symbol 143 MovieClip Frame 7
d = getD();
Symbol 143 MovieClip Frame 8
d = getD();
Symbol 143 MovieClip Frame 9
d = getD();
Symbol 143 MovieClip Frame 10
d = getD();
Symbol 144 MovieClip Frame 1
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
t = 128;
arv = 0;
stop();
PROG = 1;
Symbol 144 MovieClip Frame 2
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
_parent._x = _parent._x + ((2 / t) * (d - _parent._x));
arv = 0;
if (t < 8) {
play();
} else {
t = t / 1.2;
}
PROG = 2;
Symbol 144 MovieClip Frame 3
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
if ((((d - _parent._x) < 2) and ((d - _parent._x) > -2)) and (impulse == 0)) {
_parent._x = d;
arv = 1;
if (_parent.flyery.arv == 1) {
_parent.des.stat = _parent.des.stat + 1;
if (_parent.des == _root.house.home.nest) {
with (_root.house.doorway) {
play();
}
}
with (_parent) {
gotoAndStop(1);
}
} else {
gotoAndPlay (2);
}
} else {
gotoAndPlay (2);
}
PROG = 3;
Symbol 144 MovieClip Frame 4
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
t = t * 1.5;
_parent._x = _parent._x + ((2 / t) * (d - _parent._x));
arv = 0;
PROG = "SLOW";
Symbol 144 MovieClip Frame 5
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
if (t < 256) {
gotoAndPlay (4);
} else {
t = 128;
with (_parent.nav) {
gotoAndPlay(1);
}
stop();
}
PROG = "SLOW";
Symbol 144 MovieClip Frame 6
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
PROG = "SLOW";
Symbol 144 MovieClip Frame 7
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
PROG = "SLOW";
Symbol 144 MovieClip Frame 8
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
PROG = "SLOW";
Symbol 144 MovieClip Frame 9
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
PROG = "SLOW";
Symbol 144 MovieClip Frame 10
var des = _parent.des;
d = (((des._parent._x + des._x) * des._parent._parent._xscale) / 100) + des._parent._parent._x;
PROG = "SLOW";
Symbol 145 MovieClip Frame 1
still = 1;
flap = 0;
imp = 0;
stop();
Symbol 145 MovieClip Frame 2
flap = 1;
stop();
Symbol 145 MovieClip Frame 3
gotoAndPlay (1);
Symbol 147 MovieClip Frame 1
a = 0;
_parent.pos = "free";
Symbol 147 MovieClip Frame 2
if (_parent.target.hitTest(_root.frontwave) == true) {
_parent.wet = 1;
} else {
_parent.wet = 0;
}
if (_parent.hitTest(_root.depth) == true) {
_parent.link.t = _parent.t - (a * _parent.t);
a = a + 0.01;
if (a > 1.2) {
a = 1.2;
}
} else {
if (a < 0) {
a = 0;
}
_parent.link.t = _parent.t - (a * _parent.t);
a = a - 0.01;
if (a < 0) {
a = 0;
}
}
Symbol 147 MovieClip Frame 3
gotoAndPlay (2);
Symbol 150 MovieClip Frame 1
if (_root.nose._currentframe < 3) {
setProperty(_root.nose, _x , _parent._x + ((_root.nose.partx * _parent._xscale) / 100));
setProperty(_root.nose, _y , _parent._y + ((_root.nose.party * _parent._yscale) / 100));
}
if (_root.leftarm._currentframe < 3) {
setProperty(_root.leftarm, _x , _parent._x + ((_root.leftarm.partx * _parent._xscale) / 100));
setProperty(_root.leftarm, _y , _parent._y + ((_root.leftarm.party * _parent._yscale) / 100));
}
if (_root.rightarm._currentframe < 3) {
setProperty(_root.rightarm, _x , _parent._x + ((_root.rightarm.partx * _parent._xscale) / 100));
setProperty(_root.rightarm, _y , _parent._y + ((_root.rightarm.party * _parent._yscale) / 100));
}
if (_root.pipe._currentframe < 3) {
setProperty(_root.pipe, _x , _parent._x + ((_root.pipe.partx * _parent._xscale) / 100));
setProperty(_root.pipe, _y , _parent._y + ((_root.pipe.party * _parent._yscale) / 100));
}
if (_root.eyeright._currentframe < 3) {
setProperty(_root.eyeright, _x , _parent._x + ((_root.eyeright.partx * _parent._xscale) / 100));
setProperty(_root.eyeright, _y , _parent._y + ((_root.eyeright.party * _parent._yscale) / 100));
}
if (_root.eyeleft._currentframe < 3) {
setProperty(_root.eyeleft, _x , _parent._x + ((_root.eyeleft.partx * _parent._xscale) / 100));
setProperty(_root.eyeleft, _y , _parent._y + ((_root.eyeleft.party * _parent._yscale) / 100));
}
setProperty(_root.motion, _x , _parent._x);
setProperty(_root.motion, _y , _parent._y);
Symbol 150 MovieClip Frame 2
gotoAndPlay (1);
Symbol 151 MovieClip Frame 1
if ((_parent.pos == "hooked") and (_parent.link.status == 5)) {
setProperty(_parent, _x , 247.3);
setProperty(_parent, _y , 10.6);
} else if (_parent.pos == "hooked") {
var link = _parent.link;
var linkgp = link._parent._parent;
_parent._x = linkgp._x + ((link._x * linkgp._xscale) / 100);
_parent._y = linkgp._y + ((link._y * linkgp._yscale) / 100);
}
Symbol 151 MovieClip Frame 2
gotoAndPlay (1);
Symbol 152 Button
on (press) {
_root.myPickup(this);
}
Symbol 153 MovieClip Frame 1
meltCounter = 0;
_parent.mask.gotoAndStop(1);
_parent.stop();
Symbol 153 MovieClip Frame 2
melt = 0;
var rock = _root.rock;
var me = _parent;
var dx = (rock._x - me._x);
var dy = (rock._y - me._y);
var dist = (Math.sqrt((dx * dx) + (dy * dy)) - 25);
if (dist < 0) {
dist = 0;
}
var distFactor = ((dist / 100) * (dist / 100));
if (distFactor < 0.25) {
distFactor = 0.25;
}
var heatFactor = (rock.heat * rock.heat);
var melt = (heatFactor / distFactor);
if (melt > 4) {
melt = 4;
}
if (melt < 0.1) {
melt = 0;
}
if (melt > 0) {
meltCounter = meltCounter + melt;
if (meltCounter > 1686) {
_root.clock.hook.status = 5;
_parent.gotoAndStop(1686);
} else {
_parent.gotoAndStop(Math.round(meltCounter));
}
}
_parent.t = (1685 - meltCounter) / 55;
if (meltCounter > 937) {
_root.leftarm.gotoAndPlay(3);
}
if (meltCounter > 1112) {
_root.rightarm.gotoAndPlay(3);
}
if (meltCounter > 1333) {
with (_root.pipe) {
gotoAndPlay(3);
}
}
if (meltCounter > 1433) {
with (_root.nose) {
gotoAndPlay(3);
}
}
if (meltCounter > 1500) {
with (_root.eyeright) {
gotoAndPlay(3);
}
}
if (meltCounter > 1517) {
with (_root.eyeleft) {
gotoAndPlay(3);
}
}
if (meltCounter > 1684) {
with (_root.drips) {
gotoAndStop(5);
}
with (_root.dripa) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.dripb) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.dripc) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.dripd) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.dripe) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.dripf) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.dripg) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.driph) {
if (_y > 380) {
gotoAndStop(1);
}
}
with (_root.dripi) {
if (_y > 380) {
gotoAndStop(1);
}
}
}
Symbol 153 MovieClip Frame 3
gotoAndPlay (2);
Symbol 158 MovieClip Frame 1
function customRelease() {
_root.myStopDrag();
var _local3 = _root.getDropTarget(this);
if ((_local3.status == 0) or (target.hitTest(_root.clock.hook) and (_currentframe > 1684))) {
link = _local3;
pos = "hooked";
if (target.hitTest(_root.clock.hook)) {
link = _root.clock.hook;
_root.clock.gotoAndPlay(2);
}
_root.attach.play();
} else {
pos = "free";
}
}
Symbol 160 MovieClip Frame 1
party = 109.2;
partx = 83;
Symbol 160 MovieClip Frame 2
gotoAndPlay (1);
Symbol 160 MovieClip Frame 4
gotoAndPlay (3);
Symbol 162 MovieClip Frame 1
party = 110;
partx = -73;
Symbol 162 MovieClip Frame 2
gotoAndPlay (1);
Symbol 162 MovieClip Frame 4
gotoAndPlay (3);
Symbol 164 MovieClip Frame 1
xfin = _root.pipe._x;
s = 1;
yfin = _root.pipe._y;
this._alpha = 0;
Symbol 164 MovieClip Frame 2
this._y = yfin - (((s / 4) * s) / 4);
this._alpha = 100 - (3 * s);
this._x = xfin + ((s * s) / 100);
if (this._y < 0) {
this._y = yfin;
s = 1;
gotoAndPlay (1);
}
s = s + 0.5;
Symbol 164 MovieClip Frame 3
gotoAndPlay (2);
Symbol 167 MovieClip Frame 1
xfin = ((((_root.snowman.target._x * _root.snowman._xscale) / 100) + _root.snowman._x) + 10) - random(20);
setProperty(_parent, _alpha , 50);
yfin = ((_root.snowman.target._y * _root.snowman._yscale) / 100) + _root.snowman._y;
Symbol 167 MovieClip Frame 2
setProperty(_parent, _y , yfin + (s * s));
_parent._x = xfin;
if (_parent._y > 400) {
setProperty(_parent, _alpha , 0);
with (_parent) {
gotoAndPlay(1);
}
}
s = s + 1;
Symbol 167 MovieClip Frame 3
gotoAndPlay (2);
Symbol 168 MovieClip Frame 2
if ((((random(_root.snowman.weightandmelt.melt) * 150) - random(100)) / random(3000)) > 1) {
play();
} else {
gotoAndPlay (1);
}
Symbol 168 MovieClip Frame 4
gotoAndPlay (3);
Symbol 171 MovieClip Frame 1
var superParent = _parent._parent;
this.onEnterFrame = function () {
var _local2 = _parent._currentframe;
var _local4 = superParent.b / 20;
r = ((_local2 / 360) * Math.PI) * 2;
var _local7 = Math.cos(r);
var _local8 = (_local4 * 45) * _local7;
var _local5 = (Math.cos(r * 2) + 1) / 2;
var _local9 = Math.sin(r);
var _local6 = 15.5 * ((((_local5 / 2) + 0.5) * _local4) + (1 - _local4));
_parent._rotation = _local8;
_parent._yscale = _local6;
_local2 = _local2 + (Math.ceil(_parent._parent.q) + 1);
if (_local2 > 360) {
_local2 = _local2 - 360;
}
_parent.gotoAndStop(_local2);
var _local3 = 100 + (_local9 * 50);
if (_local3 > 100) {
_local3 = 100;
}
_parent._alpha = _local3;
};
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 14
gotoAndStop (1);
Symbol 178 MovieClip Frame 1
with (_parent.leg1) {
gotoAndStop(5);
}
with (_parent.leg2) {
gotoAndStop(79);
}
with (_parent.leg3) {
gotoAndStop(151);
}
with (_parent.leg4) {
gotoAndStop(223);
}
with (_parent.leg5) {
gotoAndStop(295);
}
function adjustWeight() {
_parent.q = _parent.q - 0.4;
if (_parent.q < 0) {
_parent.q = 0;
}
_parent._parent.t = (10 - (_parent.b / 3)) - _parent.q;
}
_parent.b = 0;
_parent.q = 0;
var burstCounter = 0;
var burstArray = [1, 2, 4, 7, 10, 13, 15, 16, 16.5, 17, 16, 12, 5, 1, -2, -3.5, -4, -4.2, -4.3, -4.3, -4.2, -4, -3.75, -3.25, -2.75, -2.25, -1.75, -1.25, -0.75, -0.4, -0.2, -0.1, 0];
this.onEnterFrame = function () {
if (!extraburst) {
if ((_parent.push == 1) or (((_parent._parent._y > 250) or (random(2400) == 1)) and (_parent._parent.pos == "hooked"))) {
extraburst = true;
squark.play();
} else {
_parent.b = 0;
extraburst = false;
}
}
if (extraburst) {
if (burstCounter == burstArray.length) {
burstCounter = 0;
extraburst = false;
_parent.b = 0;
_parent.push = 0;
} else {
_parent.b = burstArray[burstCounter];
}
if (burstCounter == 10) {
_parent.q = _parent.q + 10;
}
burstCounter = burstCounter + 1;
}
adjustWeight();
};
Symbol 180 Button
on (rollOver) {
go = 1;
}
on (rollOut) {
go = 0;
}
on (press) {
push = 1;
}
Symbol 183 MovieClip Frame 1
t = 10;
Symbol 187 MovieClip Frame 1
t = 300;
Symbol 187 MovieClip Frame 2
if (this.hitTest(_root.frontwave) == true) {
t = t - 20;
if (t > 50) {
_parent.steam.play();
}
} else {
t = t + 0.5;
}
if (t > 300) {
t = 300;
}
if (t < 1) {
t = 1;
}
_parent._parent.heat = t / 300;
_parent.gotoAndStop(Math.round(t));
Symbol 187 MovieClip Frame 3
gotoAndPlay (2);
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 25
gotoAndPlay (1);
Symbol 194 MovieClip Frame 1
a = 0;
_parent.pos = "free";
Symbol 194 MovieClip Frame 2
if (_parent.rockbody.heat.hitTest(_root.frontwave) == true) {
_parent.wet = 1;
} else {
_parent.wet = 0;
}
if (_parent.rockbody.heat.hitTest(_root.depth) == true) {
eval (_parent.link).t = _parent.t - (a * _parent.t);
a = a + 0.01;
if (a > 1.2) {
a = 1.2;
}
} else {
if (a < 0) {
a = 0;
}
eval (_parent.link).t = _parent.t - (a * _parent.t);
a = a - 0.01;
if (a < 0) {
a = 0;
}
}
Symbol 194 MovieClip Frame 3
gotoAndPlay (2);
Symbol 195 MovieClip Frame 1
t = 40;
Symbol 200 MovieClip Frame 1
gotoAndPlay(random(20));
Symbol 200 MovieClip Frame 36
gotoAndPlay (2);
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 60
gotoAndPlay (10);
Symbol 211 MovieClip Frame 1
t = 100;