Frame 1
function init() {
var items_array = new Array();
items_array = ["gloves_mc", "stick_mc", "screwdriver_mc", "gum_mc", "key_mc", "golfbat_mc", "golfball_mc", "stone_mc"];
var i = 0;
while (i < items_array.length) {
eval (items_array[i])._visible = false;
i++;
}
if (secondTime) {
timer_mc.gotoAndStop(2);
}
clearInterval(firestart);
}
function tracemousemove() {
dx = _xmouse - oldX;
dy = _ymouse - oldY;
oldX = _xmouse;
oldY = _ymouse;
xMove = -dx;
yMove = -dy;
}
function throwstone() {
stonethrow = setInterval(tracemousemove, 100);
}
function throwed() {
clearInterval(stonethrow);
if (((xMove > 0) and (yMove > 0)) and (stone_mc._y < 300)) {
stone_mc.gotoAndPlay(2);
}
}
function pickglove() {
pickglass = setInterval(gloveglass, 100);
}
function leaveglove() {
clearInterval(pickglass);
}
function gloveglass() {
if (gloves_mc.palm_mc.hitTest(window_mc.glasspeice_mc)) {
window_mc.glasspeice_mc._visible = false;
gloves_mc.gotoAndStop(2);
}
if (gloves_mc.palm_mc.hitTest(stick_mc)) {
if ((gloves_mc._currentframe > 1) and (stick_mc._currentframe > 1)) {
stick_mc.gotoAndStop(3);
clearInterval(pickglass);
gloves_mc.gotoAndStop(1);
}
}
}
function lenspicked() {
sunrays = setInterval(floorburn, 1000);
firecount = 0;
}
function lensleft() {
clearInterval(sunrays);
}
function floorburn() {
firecount++;
if (stick_mc.hitTest(light_mc)) {
if ((fire_mc._currentframe > 1) and (fire_mc._currentframe < 5)) {
if (firecount > 5) {
fire_mc.nextFrame();
firecount = 0;
}
}
}
}
function fillCap() {
caparea_mc.play();
if (caparea_mc.hitTest(cap_mc)) {
if (cap_mc.cap_mc._currentframe < 50) {
cap_mc.cap_mc.nextFrame();
}
}
}
function firestarted() {
firestart = setInterval(throwwater, 1000);
watercount = 0;
}
function throwwater() {
watercount++;
if (watercount > 5) {
fire_mc.gotoAndPlay("blast");
clearInterval(firestart);
}
}
function waterispoured() {
clearInterval(firestart);
}
if (!inited) {
stop();
inited = true;
var itemsclicked_array = [];
var itemspushed_array = [];
init();
}
Instance of Symbol 78 MovieClip in Frame 1
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
var pushed = 0;
}
Instance of Symbol 90 MovieClip "shovel_mc" in Frame 1
on (press) {
startDrag (this);
_parent.depth_mc.swapDepths(this);
this.gotoAndStop(2);
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
this.gotoAndStop(1);
if (this.hitTest(_parent.pot_mc)) {
_parent.pot_mc.nextFrame();
} else {
_x = initx;
_y = inity;
}
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
this.gotoAndStop(1);
_x = initx;
_y = inity;
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 113 MovieClip "lighter_mc" in Frame 1
on (press) {
if (this._currentframe == 1) {
startDrag (this);
}
}
on (release) {
this.stopDrag();
if (this.hitTest(_parent.fireplace_mc)) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
}
} else {
_x = initx;
_y = inity;
}
}
on (releaseOutside) {
this.stopDrag();
if (this.hitTest(_parent.fireplace_mc)) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
}
} else {
_x = initx;
_y = inity;
}
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
initx = _x;
inity = _y;
}
Instance of Symbol 52 MovieClip "screwdriver_mc" in Frame 1
on (press) {
startDrag (this, false, 10, 10, 750, 600);
_parent.depth_mc.swapDepths(this);
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.area_mc.hitTest(_parent.wood_mc.nail4)) {
_parent.wood_mc.nail4.nextFrame();
} else if (this.area_mc.hitTest(_parent.wood_mc.nail3)) {
_parent.wood_mc.nail3.nextFrame();
} else if (this.area_mc.hitTest(_parent.wood_mc.nail2)) {
_parent.wood_mc.nail2.nextFrame();
} else if (this.area_mc.hitTest(_parent.wood_mc.nail1)) {
_parent.wood_mc.nail1.nextFrame();
} else {
_x = initx;
_y = inity;
}
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.area_mc.hitTest(_parent.wood_mc.nail4)) {
_parent.wood_mc.nail4.nextFrame();
} else if (this.area_mc.hitTest(_parent.wood_mc.nail3)) {
_parent.wood_mc.nail3.nextFrame();
} else if (this.area_mc.hitTest(_parent.wood_mc.nail2)) {
_parent.wood_mc.nail2.nextFrame();
} else if (this.area_mc.hitTest(_parent.wood_mc.nail1)) {
_parent.wood_mc.nail1.nextFrame();
} else {
_x = initx;
_y = inity;
}
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 16 MovieClip "key_mc" in Frame 1
on (press) {
startDrag (this, false, 10, 10, 750, 600);
_parent.depth_mc.swapDepths(this);
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.hitTest(_parent.drawer_mc.keyhole_mc)) {
_parent.drawer_mc.gotoAndStop(2);
_visible = false;
} else {
_x = initx;
_y = inity;
}
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.hitTest(_parent.drawer_mc.keyhole_mc)) {
_parent.drawer_mc.gotoAndStop(2);
_visible = false;
} else {
_x = initx;
_y = inity;
}
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 44 MovieClip "golfball_mc" in Frame 1
on (press) {
startDrag (this);
}
on (release) {
this.stopDrag();
}
on (releaseOutside) {
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 86 MovieClip "stone_mc" in Frame 1
on (press) {
startDrag (this, false, 10, 10, 750, 600);
_parent.depth_mc.swapDepths(this);
_parent.throwstone();
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
_parent.throwed();
if (this.hitTest(_parent.lighter_mc)) {
_parent.lighter_mc.gotoAndStop(3);
}
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
_parent.throwed();
if (this.hitTest(_parent.lighter_mc)) {
_parent.lighter_mc.gotoAndStop(3);
}
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 35 MovieClip "gloves_mc" in Frame 1
on (press) {
startDrag (this, false, 10, 10, 750, 600);
_parent.depth_mc.swapDepths(this);
_parent.throwstone();
_parent.pickglove();
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
_parent.leaveglove();
_x = initx;
_y = inity;
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
_parent.leaveglove();
_x = initx;
_y = inity;
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 75 MovieClip "stick_mc" in Frame 1
on (press) {
startDrag (this, false, 10, 10, 750, 600);
_parent.depth_mc.swapDepths(this);
_parent.lenspicked();
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.area_mc.hitTest(_parent.wood_mc.nail4)) {
} else {
_x = initx;
_y = inity;
}
_parent.lensleft();
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.area_mc.hitTest(_parent.wood_mc.nail4)) {
} else {
_x = initx;
_y = inity;
}
_parent.lensleft();
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 74 MovieClip "gum_mc" in Frame 1
on (press) {
startDrag (this);
_parent.depth_mc.swapDepths(this);
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
this.gotoAndStop(1);
if (this.hitTest(_parent.stick_mc)) {
_parent.stick_mc.gotoAndStop(2);
_visible = false;
} else {
_x = initx;
_y = inity;
}
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
this.gotoAndStop(1);
if (this.hitTest(_parent.stick_mc)) {
_parent.stick_mc.gotoAndStop(2);
_visible = false;
} else {
_x = initx;
_y = inity;
}
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 159 MovieClip "cap_mc" in Frame 1
on (press) {
startDrag (this, false, 10, 10, 750, 600);
_parent.depth_mc.swapDepths(this);
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.hitTest(_parent.caparea_mc)) {
this.gotoAndStop(2);
_x = 271;
_y = 305;
} else if (this.hitTest(_parent.fire_mc)) {
if (this.cap_mc._currentframe >= 40) {
this.gotoAndPlay(3);
if (_parent.fire_mc._currentframe == 4) {
_parent.fire_mc.gotoAndPlay(5);
_parent.lighter_mc._visible = false;
_parent.clearInterval(firestart);
_parent.waterispoured();
} else {
_parent.fire_mc.gotoAndStop(1);
}
}
} else {
_x = initx;
_y = inity;
}
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.hitTest(_parent.caparea_mc)) {
this.gotoAndStop(2);
_x = 271;
_y = 305;
} else if (this.hitTest(_parent.fire_mc)) {
if (this.cap_mc._currentframe >= 40) {
this.gotoAndPlay(3);
if (_parent.fire_mc._currentframe == 4) {
_parent.fire_mc.gotoAndPlay(5);
_parent.lighter_mc._visible = false;
_parent.waterispoured();
clearInterval(firestart);
} else {
_parent.fire_mc.gotoAndStop(1);
}
}
} else {
_x = initx;
_y = inity;
}
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 39 MovieClip "golfbat_mc" in Frame 1
on (press) {
startDrag (this, false, 10, 10, 750, 600);
_parent.depth_mc.swapDepths(this);
}
on (release) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.hitTest(_parent.golfball_mc)) {
if (_parent.golfball_mc._currentframe == 1) {
_parent.golfball_mc.gotoAndPlay(2);
this.gotoAndStop(2);
}
} else {
_x = initx;
_y = inity;
}
}
on (releaseOutside) {
this.stopDrag();
_parent.depth_mc.swapDepths(this);
if (this.hitTest(_parent.golfball_mc)) {
if (_parent.golfball_mc._currentframe == 1) {
_parent.golfball_mc.gotoAndPlay(2);
this.gotoAndStop(2);
}
} else {
_x = initx;
_y = inity;
}
}
onClipEvent (load) {
initx = _x;
inity = _y;
this.tabEnabled = false;
this.useHandCursor = false;
}
Frame 2
inited = false;
gotoAndStop (1);
Symbol 5 MovieClip Frame 1
stop();
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip Frame 2
on (press) {
_parent._parent.escape_mc.play();
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 13 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 1
stop();
Instance of Symbol 10 MovieClip in Symbol 17 MovieClip Frame 1
on (press) {
var total = 0;
var i = 1;
while (i < 5) {
var nails_mc = eval ("_parent.nail" + i);
total = total + nails_mc._currentframe;
i++;
}
if (total >= 8) {
_parent.nextFrame();
}
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 17 MovieClip Frame 2
stop();
Instance of Symbol 16 MovieClip "key_mc" in Symbol 17 MovieClip Frame 2
onClipEvent (load) {
this.useHandCursor = false;
this.tabEnabled = false;
}
on (release) {
_visible = false;
_parent._parent.key_mc._visible = true;
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop();
Instance of Symbol 20 MovieClip "keyhole_mc" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 23 MovieClip in Symbol 36 MovieClip Frame 2
on (press) {
_parent.gotoAndStop(3);
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 36 MovieClip Frame 3
if (glovetaken) {
glove_mc._visible = false;
}
Instance of Symbol 27 MovieClip in Symbol 36 MovieClip Frame 3
on (press) {
_parent.gotoAndStop(2);
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 35 MovieClip "glove_mc" in Symbol 36 MovieClip Frame 3
on (release) {
_visible = false;
_parent._parent.gloves_mc._visible = true;
_parent.glovetaken = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 39 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 12
stop();
_parent.light_mc.gotoAndStop(2);
Instance of Symbol 39 MovieClip "golfbat_mc" in Symbol 46 MovieClip Frame 1
on (release) {
_visible = false;
_parent._parent.golfbat_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 44 MovieClip "golfball_mc" in Symbol 46 MovieClip Frame 1
on (release) {
_visible = false;
_parent._parent.golfball_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 53 MovieClip Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 53 MovieClip Frame 2
on (release) {
_visible = false;
_parent._parent.screwdriver_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 11
_parent.nextFrame();
Symbol 75 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 76 MovieClip Frame 1
on (release) {
_parent.brk_mc.nextFrame();
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 75 MovieClip in Symbol 76 MovieClip Frame 2
on (release) {
_visible = false;
_parent._parent._parent.stick_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 78 MovieClip Frame 1
stop();
Instance of Symbol 56 MovieClip in Symbol 78 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
on (release) {
_parent.play();
}
Symbol 78 MovieClip Frame 3
pushed++;
if (pushed > 5) {
nextFrame();
} else {
gotoAndStop (1);
}
Symbol 78 MovieClip Frame 4
stop();
Instance of Symbol 76 MovieClip "tableleg_mc" in Symbol 78 MovieClip Frame 4
/* no clip actions */
Instance of Symbol 74 MovieClip in Symbol 78 MovieClip Frame 4
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
on (release) {
_parent._parent.gum_mc._visible = true;
_visible = false;
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
_x = (_x - ((_x - _parent.window_mc._x) * 0.2));
_y = (_y - ((_y - _parent.window_mc._y) * 0.2));
if (this.hitTest(_parent.window_mc)) {
if (_parent.window_mc._currentframe == 1) {
_parent.window_mc.play();
}
_x = 150;
_y = 420;
gotoAndStop (1);
}
Symbol 86 MovieClip Frame 3
_x = (_x - ((_x - _parent.window_mc._x) * 0.2));
_y = (_y - ((_y - _parent.window_mc._y) * 0.2));
gotoAndPlay (2);
Symbol 87 MovieClip Frame 1
stop();
Instance of Symbol 86 MovieClip "stone_mc" in Symbol 87 MovieClip Frame 10
on (release) {
_visible = false;
_parent._parent.stone_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 87 MovieClip Frame 11
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
stop();
Instance of Symbol 95 MovieClip in Symbol 98 MovieClip Frame 3
on (press) {
_parent._parent.fall.play();
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 98 MovieClip Frame 14
stop();
Symbol 104 MovieClip Frame 34
_parent.fillCap();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 13
stop();
Symbol 109 MovieClip Frame 31
stop();
Symbol 109 MovieClip Frame 42
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 3
if (_parent.light_mc._currentframe > 1) {
_parent.fire_mc.gotoAndStop(2);
}
_x = _parent.fire_mc._x;
_y = _parent.fire_mc._y;
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
_x = 500;
_y = 600;
Symbol 122 Button
on (release) {
play();
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 4
_parent.bg_mc.gotoAndStop(2);
_parent.firestarted();
Symbol 139 MovieClip Frame 11
stop();
Symbol 139 MovieClip Frame 30
_parent.gameover_mc.gotoAndStop(2);
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 21
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
function stoped() {
if ((Math.round(digit1_mc._y) == -28) or (Math.round(digit1_mc._y) == -29)) {
digit1_mc._x = 32.5;
}
if ((Math.round(digit2_mc._y) == -28) or (Math.round(digit2_mc._y) == -29)) {
digit2_mc._x = 46.5;
}
if (Math.round(digit3_mc._y) == -44) {
digit3_mc._x = 61.5;
}
var _local2 = ((digit1_mc._y + digit2_mc._y) + digit3_mc._y) * -1;
if (((_local2 >= 101) and (_local2 < 104)) and ((digit1_mc._y * -1) <= 30)) {
steel_mc.gotoAndStop(2);
_parent.toolbox_mc.gotoAndStop(2);
}
}
Instance of Symbol 161 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
var xs = _parent._xscale;
var ys = _parent._yscale;
var x = _parent._x;
var y = _parent._y;
}
on (release) {
_parent._xscale = xs;
_parent._yscale = ys;
_parent._x = x;
_parent._y = y;
}
Instance of Symbol 163 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
on (release) {
_parent._xscale = 600;
_parent._yscale = 600;
_parent._x = 100;
_parent._y = 190;
}
Instance of Symbol 169 MovieClip "digit1_mc" in Symbol 181 MovieClip Frame 1
on (press) {
startDrag (this, false, this._x, -44, this._x, 1);
}
on (release) {
this.stopDrag();
_parent.stoped();
}
on (releaseOutside) {
this.stopDrag();
_parent.stoped();
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 171 MovieClip "digit2_mc" in Symbol 181 MovieClip Frame 1
on (press) {
startDrag (this, false, this._x, -44, this._x, 1);
}
on (release) {
this.stopDrag();
_parent.stoped();
}
on (releaseOutside) {
this.stopDrag();
_parent.stoped();
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 179 MovieClip "digit3_mc" in Symbol 181 MovieClip Frame 1
on (press) {
startDrag (this, false, this._x, -44, this._x, 1);
}
on (release) {
this.stopDrag();
_parent.stoped();
}
on (releaseOutside) {
this.stopDrag();
_parent.stoped();
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 199 Button
on (release) {
_parent.play();
}
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 94
stop();
Symbol 219 Button
on (release) {
_parent.play();
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 50
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 231 Button
on (release) {
getURL ("http://www.gameshandbook.com", "_blank");
}
Symbol 232 Button
on (release) {
getURL ("http://www.gameshandbook.com/freegames.php", "_blank");
}
Symbol 241 Button
on (release) {
_visible = false;
_parent.showbubble("How am I gonna get out? Who Puts 8 locks on a door!");
}
Instance of Symbol 226 MovieClip in Symbol 242 MovieClip Frame 1
on (press) {
}
on (release) {
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 244 Button
on (release) {
getURL ("http://www.gameshandbook.com/cheats/attic-escape.php", "_blank");
}