Frame 1
fscommand ("showmenu", false);
stop();
Frame 2
function buttonclicked() {
redbuttonclicked = true;
}
function init() {
tableDraged = false;
redbuttonclicked = false;
groundsoaped = false;
}
function ghostentry() {
ghost_mc.play();
var _local1 = new Sound();
_local1.attachSound("sound2");
_local1.start(0, 1);
block_mc.gotoAndStop(2);
}
function soundeffect() {
var _local1 = new Sound();
_local1.attachSound("sound1");
_local1.start(0, 3);
}
var mouseListener = new Object();
mouseListener.onMouseMove = function () {
if (water_ground_mc.hitTest(soap_mc._x, soap_mc._y, true)) {
water_ground_mc.nextFrame();
}
};
Mouse.addListener(mouseListener);
escape_btn._visible = false;
init();
soundeffect();
stop();
Instance of Symbol 78 MovieClip in Frame 2
on (release) {
_visible = false;
_parent.socks_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 80 MovieClip in Frame 2
on (release) {
_visible = false;
_parent.hammer_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 84 MovieClip "redbutton_mc" in Frame 2
on (release) {
_parent.buttonclicked();
this.gotoAndStop(2);
_parent.lid_mc.gotoAndStop(2);
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 87 MovieClip in Frame 2
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
on (release) {
_visible = false;
_parent.saw_mc._visible = true;
}
Instance of Symbol 94 MovieClip "carpet1_mc" in Frame 2
onClipEvent (load) {
this.useHandCursor = false;
}
Instance of Symbol 96 MovieClip "carpet2_mc" in Frame 2
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
this.swapDepths(carpet1_mc);
this.startDrag(false, 100, 400, 300, 400);
}
on (release) {
stopDrag();
if (_parent.redbuttonclicked == false) {
_parent.ghostentry();
}
}
on (releaseOutside) {
stopDrag();
if (_parent.redbuttonclicked == false) {
_parent.ghostentry();
}
}
Instance of Symbol 98 MovieClip in Frame 2
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
on (release) {
_visible = false;
_parent.key_mc._visible = true;
}
Instance of Symbol 106 MovieClip in Frame 2
on (release) {
_visible = false;
_parent.soap_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Instance of Symbol 117 MovieClip in Frame 2
onClipEvent (load) {
this.useHandCursor = false;
}
on (press) {
this.startDrag(false, 500, this._y, 763, this._y);
}
on (release) {
stopDrag();
if (_parent.groundsoaped == false) {
_parent.ghostentry();
}
if (_x < 530) {
_parent.tableDraged = true;
}
}
on (releaseOutside) {
stopDrag();
if (_parent.groundsoaped == false) {
_parent.ghostentry();
}
if (_x < 530) {
_parent.tableDraged = true;
}
}
Instance of Symbol 133 MovieClip "shutters_mc" in Frame 2
on (release) {
if (Number((glass1_mc._currentframe + glass2_mc._currentframe) + frame_mc._currentframe) == 6) {
gotoAndStop (3);
_parent.escape_btn._visible = true;
_parent.block_mc.gotoAndStop(2);
_parent.dummy_mc.swapDepths(100);
}
}
Instance of Symbol 136 MovieClip "hammer_mc" in Frame 2
onClipEvent (load) {
this.useHandCursor = false;
_visible = false;
initx = _x;
inity = _y;
}
on (press) {
this.startDrag(false, 10, 100, 700, 550);
this.swapDepths(100);
}
on (release) {
stopDrag();
if (this.hitTest(_parent.clock_mc)) {
if (this._currentframe < 2) {
_parent.ghostentry();
}
_parent.clock_mc.gotoAndStop(2);
}
_x = initx;
_y = inity;
_parent.soundeffect();
}
on (releaseOutside) {
stopDrag();
_x = initx;
_y = inity;
}
Instance of Symbol 78 MovieClip "socks_mc" in Frame 2
onClipEvent (load) {
this.useHandCursor = false;
_visible = false;
initx = _x;
inity = _y;
}
on (press) {
this.swapDepths(100);
this.startDrag(false, 10, 400, 500, 600);
}
on (release) {
stopDrag();
if (this.hitTest(_parent.hammer_mc) and (_parent.hammer_mc._visible == true)) {
this._visible = false;
_parent.hammer_mc.gotoAndStop(2);
}
_x = initx;
_y = inity;
_parent.soundeffect();
}
Instance of Symbol 87 MovieClip "saw_mc" in Frame 2
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
_visible = false;
initx = _x;
inity = _y;
}
on (press) {
this.swapDepths(100);
this.startDrag(false, 10, 100, 700, 550);
}
on (release) {
if (_parent.shutters_mc._currentframe == 1) {
if (this.hitTest(_parent.shutters_mc)) {
_parent.ghostentry();
}
}
if (this.hitTest(_parent.shutters_mc.frame_mc)) {
_parent.shutters_mc.frame_mc.gotoAndStop(2);
}
stopDrag();
_x = initx;
_y = inity;
_parent.soundeffect();
}
on (releaseOutside) {
stopDrag();
_x = initx;
_y = inity;
}
Instance of Symbol 98 MovieClip "key_mc" in Frame 2
onClipEvent (load) {
this.useHandCursor = false;
_visible = false;
initx = _x;
inity = _y;
}
on (press) {
this.swapDepths(100);
this.startDrag(false, 10, 100, 700, 550);
}
on (release) {
stopDrag();
if (this.hitTest(_parent.shutters_mc.keyhole_mc)) {
if (_parent.tableDraged == true) {
_parent.shutters_mc.gotoAndStop(2);
} else {
_parent.ghostentry();
}
}
_x = initx;
_y = inity;
_parent.soundeffect();
}
on (releaseOutside) {
stopDrag();
if (this.hitTest(_parent.shutters_mc)) {
_parent.shutters_mc.gotoAndStop(2);
}
_x = initx;
_y = inity;
}
Instance of Symbol 138 MovieClip "cutter_mc" in Frame 2
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
_visible = false;
initx = _x;
inity = _y;
}
on (press) {
this.swapDepths(100);
this.startDrag(false, 10, 100, 700, 550);
}
on (release) {
if (_parent.shutters_mc.glass1_mc.hitTest(this._x, this._y, true)) {
_parent.shutters_mc.glass1_mc.gotoAndStop(2);
}
if (_parent.shutters_mc.glass2_mc.hitTest(this._x, this._y, true)) {
_parent.shutters_mc.glass2_mc.gotoAndStop(2);
}
stopDrag();
_x = initx;
_y = inity;
}
on (releaseOutside) {
stopDrag();
_x = initx;
_y = inity;
}
Instance of Symbol 141 MovieClip "soap_mc" in Frame 2
onClipEvent (load) {
this.useHandCursor = false;
_visible = false;
initx = _x;
inity = _y;
}
on (press) {
this.swapDepths(100);
this.startDrag(false, 10, 100, 700, 550);
}
on (release) {
stopDrag();
_x = initx;
_y = inity;
}
on (releaseOutside) {
stopDrag();
_x = initx;
_y = inity;
}
Instance of Symbol 146 MovieClip "block_mc" in Frame 2
on (press) {
}
on (release) {
}
onClipEvent (load) {
this.useHandCursor = false;
}
Instance of Symbol 152 MovieClip "ghost_mc" in Frame 2
onClipEvent (load) {
stop();
}
Frame 3
gotoAndStop (2);
Symbol 30 MovieClip Frame 166
stop();
Symbol 35 Button
on (release) {
getURL ("http://www.gameshandbook.com", "_blank");
}
Symbol 39 Button
on (release) {
inst_mc.gotoAndStop(2);
}
Symbol 41 Button
on (release) {
play();
}
Symbol 43 Button
on (release) {
getURL ("http://www.gameshandbook.com", "_blank");
}
Symbol 48 MovieClip Frame 190
stop();
Symbol 63 Button
on (release) {
gotoAndStop (1);
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
stop();
Instance of Symbol 50 MovieClip in Symbol 64 MovieClip Frame 2
on (press) {
}
on (release) {
}
onClipEvent (load) {
this.useHandCursor = false;
}
Symbol 84 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 92 Button
on (release) {
gotoAndStop (2);
}
Symbol 94 MovieClip Frame 1
stop();
bent_btn.useHandCursor = false;
bent_btn.tabEnabled = false;
Symbol 104 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip in Symbol 104 MovieClip Frame 2
on (release) {
_visible = false;
_parent._parent.cutter_mc._visible = true;
}
onClipEvent (load) {
this.tabEnabled = false;
this.useHandCursor = false;
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 90
_parent.groundsoaped = true;
Symbol 124 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 151 Button
on (release) {
_parent.dummy_mc.swapDepths(100);
_parent.play();
}
Symbol 152 MovieClip Frame 40
stop();
Symbol 156 Button
on (release) {
play();
}
Symbol 158 Button
on (release) {
getURL ("http://www.gameshandbook.com/cheats/ghost-escape.php", "_blank");
}
Symbol 160 Button
on (release) {
getURL ("http://www.gameshandbook.com/cheats/ghost-escape.php", "_blank");
}