Frame 1
MochiAd.showPreGameAd({id:"c16bb23c7ff31018", res:"640x480"});
var _mochiads_game_id = "c16bb23c7ff31018";
Frame 2
function itemHandler1(obj, item) {
getURL ("http://highwitamic.com", "_blank");
}
function itemHandler1(obj, item) {
getURL ("http://highwitamic.com");
}
function itemHandler2(obj, item) {
getURL ("http://highwitamic.com/index.php?option=com_content&view=article&id=69:heist2-walkthrough&catid=31:general&Itemid=41", "_blank");
}
function itemHandler2(obj, item) {
getURL ("http://highwitamic.com/index.php?option=com_content&view=article&id=69:heist2-walkthrough&catid=31:general&Itemid=41", "_blank");
}
stopAllSounds();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("Highwitamic.com", itemHandler1);
myMenu.customItems.push(item1);
myMenu.customItems.push(new ContextMenuItem("Highwitamic.com", itemHandler1));
item2 = new ContextMenuItem("Highwitamic.com", itemHandler2);
myMenu.customItems.push(item2);
myMenu.customItems.push(new ContextMenuItem("Download Walkthrough", itemHandler2));
_root.menu = myMenu;
Frame 11
function preloadSite() {
var _local3 = _root.getBytesLoaded();
var _local2 = _root.getBytesTotal();
var _local4 = Math.round((_local3 / _local2) * 100);
loadingBar._xscale = _local4;
percentClip.percentDisplay.text = _local4 + "%";
percentClip._x = loadingBar._x + loadingBar._width;
bytesDisplay.text = ((("loaded " + _local3) + " of ") + _local2) + " bytes";
if (_local3 >= _local2) {
clearInterval(loadingCall);
gotoAndPlay (11);
}
}
_global.playedonce = false;
stop();
loadingBar._xscale = 1;
var loadingCall = setInterval(preloadSite, 50);
Instance of Symbol 67 MovieClip "armorlogo" in Frame 11
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Frame 12
_quality = "HIGH";
Frame 76
_root.armorlogo.play();
Frame 101
_root.money = 0;
gotoAndPlay (127);
Instance of Symbol 84 MovieClip in Frame 102
on (rollOver) {
_root.usingbox.text = "Turn dial";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
this.play();
}
Instance of Symbol 87 MovieClip in Frame 102
on (rollOver) {
_root.usingbox.text = "Turn dial";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
this.play();
}
Instance of Symbol 90 MovieClip in Frame 102
on (rollOver) {
_root.usingbox.text = "Turn dial";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
this.play();
}
Instance of Symbol 92 MovieClip in Frame 102
on (rollOver) {
_root.usingbox.text = "Pull safe handle";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (((_root.pad1 == _root.c1number) && (_root.pad2 == _root.c2number)) && (_root.pad3 == _root.c3number)) {
safesound = new Sound();
safesound.attachSound("opensafe");
safesound.start();
_global.safeopened = true;
_root.gotoAndStop("hallway1");
} else {
_root.usingbox.text = "Wrong combination!";
}
}
Frame 126
stop();
Instance of Symbol 84 MovieClip in Frame 126
on (rollOver) {
_root.usingbox.text = "Turn left dial";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
this.play();
}
Instance of Symbol 87 MovieClip in Frame 126
on (rollOver) {
_root.usingbox.text = "Turn middle dial";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
this.play();
}
Instance of Symbol 90 MovieClip in Frame 126
on (rollOver) {
_root.usingbox.text = "Turn right dial";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
this.play();
}
Frame 266
gotoAndPlay (442);
Frame 267
_global.keypressed = false;
Frame 327
onEnterFrame();
if (_global.keypressed == false) {
_root.gotoAndPlay("globbed");
}
Frame 328
_global.keypressed = false;
Frame 376
gotoAndStop (570);
Frame 441
_root.lives = _root.lives - 1;
gotoAndPlay (783);
Frame 442
_root.money = 0;
_root.nvision = 0;
_root.menubars.bottombar.cashbox = _root.money;
_global.autotoggle = true;
_global.skipintro = false;
_global.nightvision = false;
_global.nightvisionOn = false;
_quality = "MEDIUM";
Frame 481
_root.greedishell.play();
Frame 490
menubars.bottombar.nightvisionbot.onRollOver = function () {
captionFN(true, "Nightvision Goggles", this);
this.onRollOut = function () {
captionFN(false);
};
};
key2.onRollOver = function () {
captionFN(true, "Bedroom Key", this);
this.onRollOut = function () {
captionFN(false);
};
};
invMatches.onRollOver = function () {
captionFN(true, "Matches", this);
this.onRollOut = function () {
captionFN(false);
};
};
invfloppymeat.onRollOver = function () {
captionFN(true, "Floppy meat", this);
this.onRollOut = function () {
captionFN(false);
};
};
invcrowbar.onRollOver = function () {
captionFN(true, "Crowbar", this);
this.onRollOut = function () {
captionFN(false);
};
};
key3.onRollOver = function () {
captionFN(true, "Bathroom key", this);
this.onRollOut = function () {
captionFN(false);
};
};
clockb.onRollOver = function () {
captionFN(true, "Save Game", this);
this.onRollOut = function () {
captionFN(false);
};
};
captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7 * cap.desc.text.length;
cap._alpha = 75;
if (((bName._width + bName._x) + cap._width) > Stage.width) {
xo = -2 - cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function () {
cap._x = _root._xmouse + xo;
cap._y = _root._ymouse + yo;
cap._visible = true;
};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};
_root.skipintro._visible = false;
_root.menubars.play();
stop();
Frame 491
_global.gamestarted = false;
Frame 500
_root.cashbox = _root.money;
_root.lives = 3;
_global.havepackage = false;
_global.corpsestab = false;
_global.dogdead = false;
_global.peekhole = false;
_global.phonerang = false;
_global.nail1 = false;
_global.nail2 = false;
_global.nail3 = false;
_global.nail4 = false;
_global.havepaper1 = false;
_global.havepaper2 = false;
_global.havepaper3 = false;
_global.spideroomentered = false;
_global.towelsoak = false;
_global.towelfire = false;
_global.venton = false;
_global.bearopen = false;
_global.haveknife = false;
_global.safeopened = false;
_global.glasslock1 = true;
_global.glasslock2 = false;
_global.paintingpulled = false;
_global.middleofnowhere = true;
_global.corpseattack = false;
_global.scared = false;
_global.doorshadow = false;
_global.walkedpass = false;
_global.money1 = true;
_global.money2 = true;
_global.money3 = true;
_global.money4 = true;
_global.money5 = true;
_global.money6 = true;
_global.money7 = true;
_global.money8 = true;
_global.moneytaken = false;
_global.scared = true;
_global.goingup = false;
_global.goingdown = false;
_global.keyhasfallen = false;
_global.lightsoff = true;
_global.haveKey1 = false;
_global.haveKey2 = false;
_global.haveKey3 = false;
_global.haveKey4 = false;
_global.haveKey5 = false;
_global.havegascan = false;
_global.havefloppymeat = false;
_global.haveMatches = false;
_global.havecrowbar = false;
_global.havebottle = false;
_global.readpaper = false;
_global.ceilingdropped = true;
_global.nightvision1 = false;
_global.scarydisc = false;
onEnterFrame();
if (_global.skipintro == true) {
bgmusic = new Sound(menubars);
bgmusic.attachSound("bkground");
bgmusic.start(0, 999);
} else {
bgmusic = new Sound(menubars);
bgmusic.attachSound("theapocalypse");
bgmusic.start(0, 999);
}
Frame 561
cbplace = new Array(1, 2, 3);
_root.cbplace = cbplace[random(3)];
c1number = new Array(1, 2, 3, 4, 5, 6, 7, 8);
_root.c1number = c1number[random(8)];
c2number = new Array(1, 2, 3, 4, 5, 6, 7, 8);
_root.c2number = c2number[random(8)];
c3number = new Array(1, 2, 3, 4, 5, 6, 7, 8);
_root.c3number = c3number[random(8)];
_global.usecrowbar = false;
_global.usematches = false;
_global.useknife = false;
_global.usefloppymeat = false;
onEnterFrame();
if (_global.skipintro == true) {
gotoAndStop (562);
} else {
gotoAndPlay (2523);
}
Frame 562
key1.onRollOver = function () {
captionFN(true, "Hallway Key", this);
this.onRollOut = function () {
captionFN(false);
};
};
key2.onRollOver = function () {
captionFN(true, "Bedroom Key", this);
this.onRollOut = function () {
captionFN(false);
};
};
invMatches.onRollOver = function () {
captionFN(true, "Matches", this);
this.onRollOut = function () {
captionFN(false);
};
};
invfloppymeat.onRollOver = function () {
captionFN(true, "Floppy meat", this);
this.onRollOut = function () {
captionFN(false);
};
};
invcrowbar.onRollOver = function () {
captionFN(true, "Crowbar", this);
this.onRollOut = function () {
captionFN(false);
};
};
key3.onRollOver = function () {
captionFN(true, "Storage room key", this);
this.onRollOut = function () {
captionFN(false);
};
};
clockb.onRollOver = function () {
captionFN(true, "Save Game", this);
this.onRollOut = function () {
captionFN(false);
};
};
key4.onRollOver = function () {
captionFN(true, "Bathroom key", this);
this.onRollOut = function () {
captionFN(false);
};
};
invknife.onRollOver = function () {
captionFN(true, "Knife", this);
this.onRollOut = function () {
captionFN(false);
};
};
invpaper1.onRollOver = function () {
captionFN(true, "Folded paper", this);
this.onRollOut = function () {
captionFN(false);
};
};
invpaper2.onRollOver = function () {
captionFN(true, "Folded paper", this);
this.onRollOut = function () {
captionFN(false);
};
};
invpaper3.onRollOver = function () {
captionFN(true, "Folded paper", this);
this.onRollOut = function () {
captionFN(false);
};
};
invgascan.onRollOver = function () {
captionFN(true, "Gas can", this);
this.onRollOut = function () {
captionFN(false);
};
};
invbottle.onRollOver = function () {
captionFN(true, "Bottle of pills", this);
this.onRollOut = function () {
captionFN(false);
};
};
captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7 * cap.desc.text.length;
cap._alpha = 75;
if (((bName._width + bName._x) + cap._width) > Stage.width) {
xo = -2 - cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function () {
cap._x = _root._xmouse + xo;
cap._y = _root._ymouse + yo;
cap._visible = true;
};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};
clock.onEnterFrame = function () {
var _local3 = new Date();
var _local6 = _local3.getSeconds();
var _local4 = _local3.getMinutes();
var _local5 = _local3.getHours();
this.secondHand._rotation = _local6 * 6;
this.minuteHand._rotation = _local4 * 6;
this.hourHand._rotation = (_local5 * 30) + (_local4 / 2);
if ((_local5 == 12) && (_local4 == 45)) {
_root.charView._visible = false;
} else {
_root.charView._visible = true;
}
};
_root.clock._visible = false;
onEnterFrame();
_root.scorebox = _root.lives;
onEnterFrame();
if (_global.ceilingdropped == false) {
_root.livingroom1.ceilingpiece.gotoAndStop(25);
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.livingroom1._x = mX * 0.1;
_root.livingroom1._y = mY * 0.1;
_root.livingroom1._x = _default_x - mX;
_root.livingroom1._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Instance of Symbol 352 MovieClip "nightvisionOn" in Frame 562
onClipEvent (load) {
if ((_global.nightvisionOn == true) && (_global.nightvision1 == true)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 358 MovieClip "lockmechanism" in Frame 562
on (rollOver) {
_root.usingbox.text = "Lock Status Symbol";
}
Instance of Symbol 365 MovieClip "invMatches" in Frame 562
on (rollOver) {
bgsound = new Sound();
bgsound.attachSound("itemroll");
bgsound.start();
_root.usingbox.text = "Use Matches...";
_root.invMatches.gotoAndStop(16);
}
on (rollOut) {
if (_global.usematches == true) {
_root.usingbox.text = "Use Matches with...";
} else {
_root.usingbox.text = "";
_root.invMatches.play();
}
}
onClipEvent (load) {
if (_global.haveMatches == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (_global.usematches == true) {
_global.usematches = false;
} else {
_global.usebottle = false;
_root.invbottle.gotoAndStop(15);
_global.usegascan = false;
_root.invgascan.gotoAndStop(15);
_global.useknife = false;
_root.invknife.gotoAndStop(15);
_global.usecrowbar = false;
_root.invcrowbar.gotoAndStop(15);
_global.usefloppymeat = false;
_root.invfloppymeat.gotoAndStop(15);
itsound = new Sound();
itsound.attachSound("crowbar");
itsound.start();
_global.usematches = true;
}
}
Instance of Symbol 369 MovieClip "invfloppymeat" in Frame 562
on (rollOver) {
bgsound = new Sound();
bgsound.attachSound("itemroll");
bgsound.start();
_root.usingbox.text = "Use floppy mysterious meat...";
_root.invfloppymeat.gotoAndStop(16);
}
on (rollOut) {
if (_global.usefloppymeat == true) {
_root.usingbox.text = "Use floppy mysterious meat with...";
} else {
_root.usingbox.text = "";
_root.invfloppymeat.play();
}
}
onClipEvent (load) {
if (_global.havefloppymeat == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (_global.usefloppymeat == true) {
_global.usefloppymeat = false;
} else {
_global.usebottle = false;
_root.invbottle.gotoAndStop(15);
_global.usegascan = false;
_root.invgascan.gotoAndStop(15);
_global.useknife = false;
_root.invknife.gotoAndStop(15);
_global.usematches = false;
_root.invMatches.gotoAndStop(15);
_global.usecrowbar = false;
_root.invcrowbar.gotoAndStop(15);
itsound = new Sound();
itsound.attachSound("crowbar");
itsound.start();
_global.usefloppymeat = true;
}
}
Instance of Symbol 373 MovieClip "invcrowbar" in Frame 562
on (rollOver) {
bgsound = new Sound();
bgsound.attachSound("itemroll");
bgsound.start();
_root.usingbox.text = "Use crowbar...";
_root.invcrowbar.gotoAndStop(16);
}
on (rollOut) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with...";
} else {
_root.usingbox.text = "";
_root.invcrowbar.play();
}
}
onClipEvent (load) {
if (_global.havecrowbar == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (_global.usecrowbar == true) {
_global.usecrowbar = false;
} else {
_global.usebottle = false;
_root.invbottle.gotoAndStop(15);
_global.usegascan = false;
_root.invgascan.gotoAndStop(15);
_global.useknife = false;
_root.invknife.gotoAndStop(15);
_global.usematches = false;
_root.invMatches.gotoAndStop(15);
_global.usefloppymeat = false;
_root.invfloppymeat.gotoAndStop(15);
itsound = new Sound();
itsound.attachSound("crowbar");
itsound.start();
_global.usecrowbar = true;
}
}
Instance of Symbol 377 MovieClip "invknife" in Frame 562
on (rollOver) {
bgsound = new Sound();
bgsound.attachSound("itemroll");
bgsound.start();
_root.usingbox.text = "Use knife...";
_root.invknife.gotoAndStop(16);
}
on (rollOut) {
if (_global.useknife == true) {
_root.usingbox.text = "Use knife with...";
} else {
_root.usingbox.text = "";
_root.invknife.play();
}
}
onClipEvent (load) {
if (_global.haveknife == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (_global.useknife == true) {
_global.useknife = false;
} else {
_global.usebottle = false;
_root.invbottle.gotoAndStop(15);
_global.usegascan = false;
_root.invgascan.gotoAndStop(15);
_global.usecrowbar = false;
_root.invcrowbar.gotoAndStop(15);
_global.usematches = false;
_root.invMatches.gotoAndStop(15);
_global.usefloppymeat = false;
_root.invfloppymeat.gotoAndStop(15);
itsound = new Sound();
itsound.attachSound("crowbar");
itsound.start();
_global.useknife = true;
}
}
Instance of Symbol 381 MovieClip "invgascan" in Frame 562
on (rollOver) {
bgsound = new Sound();
bgsound.attachSound("itemroll");
bgsound.start();
_root.usingbox.text = "Use gas can...";
_root.invgascan.gotoAndStop(16);
}
on (rollOut) {
if (_global.usegascan == true) {
_root.usingbox.text = "Use gas can with...";
} else {
_root.usingbox.text = "";
_root.invgascan.play();
}
}
onClipEvent (load) {
if (_global.havegascan == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (_global.usegascan == true) {
_global.usegascan = false;
} else {
_global.usebottle = false;
_root.invbottle.gotoAndStop(15);
_global.useknife = false;
_root.invknife.gotoAndStop(15);
_global.usecrowbar = false;
_root.invcrowbar.gotoAndStop(15);
_global.usematches = false;
_root.invMatches.gotoAndStop(15);
_global.usefloppymeat = false;
_root.invfloppymeat.gotoAndStop(15);
itsound = new Sound();
itsound.attachSound("crowbar");
itsound.start();
_global.usegascan = true;
}
}
Instance of Symbol 383 MovieClip "invpaper1" in Frame 562
onClipEvent (load) {
if (_global.havepaper1 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
papersound = new Sound();
papersound.attachSound("papercrackle");
papersound.start();
_root.paper1.gotoAndPlay(2);
_root.paper1._visible = true;
}
Instance of Symbol 383 MovieClip "invpaper2" in Frame 562
onClipEvent (load) {
if (_global.havepaper2 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
papersound = new Sound();
papersound.attachSound("papercrackle");
papersound.start();
_root.paper2.gotoAndPlay(2);
_root.paper2._visible = true;
}
Instance of Symbol 383 MovieClip "invpaper3" in Frame 562
onClipEvent (load) {
if (_global.havepaper3 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
papersound = new Sound();
papersound.attachSound("papercrackle");
papersound.start();
_root.paper3.gotoAndPlay(2);
_root.paper3._visible = true;
}
Instance of Symbol 387 MovieClip "invbottle" in Frame 562
on (rollOver) {
bgsound = new Sound();
bgsound.attachSound("itemroll");
bgsound.start();
_root.usingbox.text = "Use bottle of pills...";
_root.invbottle.gotoAndStop(16);
}
on (rollOut) {
if (_global.usebottle == true) {
_root.usingbox.text = "Use bottle of pills with...";
} else {
_root.usingbox.text = "";
_root.invbottle.play();
}
}
onClipEvent (load) {
if (_global.havebottle == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (_global.usebottle == true) {
_global.usebottle = false;
} else {
_global.usegascan = false;
_root.invgascan.gotoAndStop(15);
_global.useknife = false;
_root.invknife.gotoAndStop(15);
_global.usecrowbar = false;
_root.invcrowbar.gotoAndStop(15);
_global.usematches = false;
_root.invMatches.gotoAndStop(15);
_global.usefloppymeat = false;
_root.invfloppymeat.gotoAndStop(15);
itsound = new Sound();
itsound.attachSound("crowbar");
itsound.start();
_global.usebottle = true;
}
}
Instance of Symbol 397 MovieClip "paper1" in Frame 562
onClipEvent (load) {
this._visible = false;
}
on (release) {
papersound = new Sound();
papersound.attachSound("papercrackle");
papersound.start();
_root.paper1._visible = false;
}
Instance of Symbol 407 MovieClip "paper2" in Frame 562
onClipEvent (load) {
this._visible = false;
}
on (release) {
papersound = new Sound();
papersound.attachSound("papercrackle");
papersound.start();
_root.paper2._visible = false;
}
Instance of Symbol 417 MovieClip "paper3" in Frame 562
onClipEvent (load) {
this._visible = false;
}
on (release) {
papersound = new Sound();
papersound.attachSound("papercrackle");
papersound.start();
_root.paper3._visible = false;
}
Instance of Symbol 497 MovieClip "nightvision" in Frame 562
onClipEvent (load) {
if (_global.nightvision && (_global.nightvision1 == true)) {
_root.nightvision._visible = true;
} else {
_root.nightvision._visible = false;
}
}
on (release) {
this._visible = false;
_root.nightvisionOn._visible = false;
_root.nightvisionicon._visible = true;
_global.nightvision1 = false;
_root.room1.trapdoorglow._visible = false;
cashsound = new Sound();
cashsound.attachSound("turnoffnv");
cashsound.start();
}
Instance of Symbol 497 MovieClip "nightvisionicon" in Frame 562
onClipEvent (load) {
if ((_global.nightvision == true) && (_global.nightvision1 == false)) {
_root.nightvisionicon._visible = true;
} else {
_root.nightvisionicon._visible = false;
}
}
on (release) {
this._visible = false;
_root.nightvisionOn._visible = false;
_root.nightvision._visible = true;
_root.nightvisionOn._visible = true;
_root.room1.trapdoorglow._visible = true;
_global.nightvision1 = true;
cashsound = new Sound();
cashsound.attachSound("nightvisionsound");
cashsound.start();
}
Instance of Symbol 500 MovieClip "key1" in Frame 562
onClipEvent (load) {
if (_global.haveKey1 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 500 MovieClip "key2" in Frame 562
onClipEvent (load) {
if (_global.haveKey2 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 500 MovieClip "key3" in Frame 562
onClipEvent (load) {
if (_global.haveKey3 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 500 MovieClip "key4" in Frame 562
onClipEvent (load) {
if (_global.haveKey4 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 510 MovieClip in Frame 562
onClipEvent (load) {
if (_global.gamestarted == true) {
this._visible = false;
this.stop();
}
}
Frame 563
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "HIGH";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.livingroom3._x = mX * 0.1;
_root.livingroom3._y = mY * 0.1;
_root.livingroom3._x = _default_x - mX;
_root.livingroom3._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Instance of Symbol 520 MovieClip "gamecloser" in Frame 563
onClipEvent (load) {
this._visible = false;
}
Frame 564
_root.wallpaper._visible = false;
onEnterFrame();
if ((_global.keyhasfallen == true) && (_global.haveKey1 == false)) {
_root.livingroom2.fallingkey.gotoAndStop(17);
}
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.livingroom2._x = mX * 0.1;
_root.livingroom2._y = mY * 0.1;
_root.livingroom2._x = _default_x - mX;
_root.livingroom2._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 565
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.outsideview3._x = mX * 0.1;
_root.outsideview3._y = mY * 0.1;
_root.outsideview3._x = _default_x - mX;
_root.outsideview3._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 566
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.livingroom4._x = mX * 0.1;
_root.livingroom4._y = mY * 0.1;
_root.livingroom4._x = _default_x - mX;
_root.livingroom4._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
_global.youroutside = false;
Frame 567
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.livingroom5._x = mX * 0.1;
_root.livingroom5._y = mY * 0.1;
_root.livingroom5._x = _default_x - mX;
_root.livingroom5._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 568
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "LOW";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.outsideview4._x = mX * 0.1;
_root.outsideview4._y = mY * 0.1;
_root.outsideview4._x = _default_x - mX;
_root.outsideview4._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 569
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.outsideview2._x = mX * 0.1;
_root.outsideview2._y = mY * 0.1;
_root.outsideview2._x = _default_x - mX;
_root.outsideview2._y = _default_y - mY;
};
Frame 570
onEnterFrame();
if (_global.goingdown == true) {
_global.goingdown = false;
_root.upstairs2.play();
} else {
_root.upstairs2._visible = false;
}
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.room1._x = mX * 0.1;
_root.room1._y = mY * 0.1;
_root.room1._x = _default_x - mX;
_root.room1._y = _default_y - mY;
};
Frame 571
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.glassview._x = mX * 0.1;
_root.glassview._y = mY * 0.1;
_root.glassview._x = _default_x - mX;
_root.glassview._y = _default_y - mY;
};
Frame 572
key1.onRollOver = function () {
captionFN(true, "Hallway Key", this);
this.onRollOut = function () {
captionFN(false);
};
};
key2.onRollOver = function () {
captionFN(true, "Bedroom Key", this);
this.onRollOut = function () {
captionFN(false);
};
};
invMatches.onRollOver = function () {
captionFN(true, "Matches", this);
this.onRollOut = function () {
captionFN(false);
};
};
invfloppymeat.onRollOver = function () {
captionFN(true, "Floppy meat", this);
this.onRollOut = function () {
captionFN(false);
};
};
invcrowbar.onRollOver = function () {
captionFN(true, "Crowbar", this);
this.onRollOut = function () {
captionFN(false);
};
};
key3.onRollOver = function () {
captionFN(true, "Storage room key", this);
this.onRollOut = function () {
captionFN(false);
};
};
clockb.onRollOver = function () {
captionFN(true, "Save Game", this);
this.onRollOut = function () {
captionFN(false);
};
};
key4.onRollOver = function () {
captionFN(true, "Bathroom key", this);
this.onRollOut = function () {
captionFN(false);
};
};
invknife.onRollOver = function () {
captionFN(true, "Knife", this);
this.onRollOut = function () {
captionFN(false);
};
};
invpaper1.onRollOver = function () {
captionFN(true, "Folded paper", this);
this.onRollOut = function () {
captionFN(false);
};
};
invpaper2.onRollOver = function () {
captionFN(true, "Folded paper", this);
this.onRollOut = function () {
captionFN(false);
};
};
invpaper3.onRollOver = function () {
captionFN(true, "Folded paper", this);
this.onRollOut = function () {
captionFN(false);
};
};
invgascan.onRollOver = function () {
captionFN(true, "Gas can", this);
this.onRollOut = function () {
captionFN(false);
};
};
invbottle.onRollOver = function () {
captionFN(true, "Bottle of pills", this);
this.onRollOut = function () {
captionFN(false);
};
};
captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7 * cap.desc.text.length;
cap._alpha = 75;
if (((bName._width + bName._x) + cap._width) > Stage.width) {
xo = -2 - cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function () {
cap._x = _root._xmouse + xo;
cap._y = _root._ymouse + yo;
cap._visible = true;
};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "HIGH";
}
if (_global.hightoggle == true) {
_quality = "HIGH";
}
if (_global.mediumtoggle == true) {
_quality = "MEDIUM";
}
if (_global.lowtoggle == true) {
_quality = "LOW";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.room3._x = mX * 0.1;
_root.room3._y = mY * 0.1;
_root.room3._x = _default_x - mX;
_root.room3._y = _default_y - mY;
};
Frame 573
_root.checkcrevice._visible = false;
var totalBlur = 8;
var noBlur = 0;
var blur = (new flash.filters.BlurFilter(totalBlur, totalBlur, 3));
checkcrevice.blurcheck.filters = new Array(blur);
var blurTween;
checkcrevice.blurcheck.onRollOut = function () {
blurTween = new mx.transitions.Tween(blur, "blurX", mx.transitions.easing.Strong.easeOut, blur.blurX, noBlur, 1, true);
blurTween.onMotionChanged = function () {
blur.blurY = blur.blurX;
room2.filters = new Array(blur);
};
};
checkcrevice.blurcheck.onRollOver = function () {
blurTween = new mx.transitions.Tween(blur, "blurX", mx.transitions.easing.Strong.easeOut, blur.blurX, totalBlur, 1, true);
blurTween.onMotionChanged = function () {
blur.blurY = blur.blurX;
room2.filters = new Array(blur);
};
};
checkcrevice.matches.onRollOver = function () {
blurTween = new mx.transitions.Tween(blur, "blurX", mx.transitions.easing.Strong.easeOut, blur.blurX, totalBlur, 1, true);
blurTween.onMotionChanged = function () {
blur.blurY = blur.blurX;
room2.filters = new Array(blur);
};
};
_quality = "MEDIUM";
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.room2._x = mX * 0.1;
_root.room2._y = mY * 0.1;
_root.room2._x = _default_x - mX;
_root.room2._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 574
onEnterFrame();
if (_global.goingup == true) {
_global.goingup = false;
_root.upstairs2.play();
} else {
_root.upstairs2._visible = false;
}
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.USroom7._x = mX * 0.1;
_root.USroom7._y = mY * 0.1;
_root.USroom7._x = _default_x - mX;
_root.USroom7._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 575
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.USroom2._x = mX * 0.1;
_root.USroom2._y = mY * 0.1;
_root.USroom2._x = _default_x - mX;
_root.USroom2._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 576
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.USroom3._x = mX * 0.1;
_root.USroom3._y = mY * 0.1;
_root.USroom3._x = _default_x - mX;
_root.USroom3._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 577
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.USroom1._x = mX * 0.1;
_root.USroom1._y = mY * 0.1;
_root.USroom1._x = _default_x - mX;
_root.USroom1._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 578
onEnterFrame();
if (_global.scared == false) {
_root.USroom6.birdtowindow.gotoAndStop(16);
}
if (_global.autotoggle == true) {
_quality = "HIGH";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.USroom6._x = mX * 0.1;
_root.USroom6._y = mY * 0.1;
_root.USroom6._x = _default_x - mX;
_root.USroom6._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
_root.USroom6.reflectshine._y = mY * 0.1;
_root.USroom6.reflectshine._y = _default_y - mY;
};
Frame 579
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.bathroom._x = mX * 0.1;
_root.bathroom._y = mY * 0.1;
_root.bathroom._x = _default_x - mX;
_root.bathroom._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 580
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.keyview._x = mX * 0.1;
_root.keyview._y = mY * 0.1;
_root.keyview._x = _default_x - mX;
_root.keyview._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 581
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
var MID_X = (Stage.width / 2);
var MID_Y = (Stage.height / 2);
var mX;
var mY;
onEnterFrame = function () {
mX = MID_X - _xmouse;
mY = MID_Y - _ymouse;
_root.spideroom._x = mX * 0.1;
_root.spideroom._y = mY * 0.1;
_root.spideroom._x = _default_x - mX;
_root.spideroom._y = _default_y - mY;
_root.forestbg._x = mX * 0.2;
_root.forestbg._x = _default_x - mX;
};
Frame 711
stop();
Frame 712
savefile.data.nightvision = _root.nvision;
savefile.data.money = _root.money;
savefile.flush();
_quality = "LOW";
Frame 782
gotoAndPlay (1573);
Frame 783
onEnterFrame();
if (_root.lives == 0) {
gotoAndPlay (896);
}
stopAllSounds();
Frame 823
stop();
Frame 834
_global.gamestarted = false;
bgmusic = new Sound();
bgmusic.attachSound("bkground");
bgmusic.start(0, 999);
Frame 895
gotoAndStop (562);
Frame 996
_global.gamestarted = false;
Frame 1057
gotoAndPlay (11);
Frame 1058
_global.keypressed = false;
Frame 1281
onEnterFrame();
_root.goon.gotoAndPlay(15);
Frame 1286
onEnterFrame();
if (_global.keypressed == false) {
_root.gotoAndPlay("died");
}
Frame 1287
_global.keypressed = false;
Frame 1319
onEnterFrame();
if (_global.keypressed == false) {
_root.lives = _root.lives - 1;
_root.gotoAndPlay("died");
}
Frame 1320
_global.keypressed = false;
Frame 1340
onEnterFrame();
if (_global.keypressed == false) {
_root.lives = _root.lives - 1;
_root.gotoAndPlay("died");
}
Frame 1341
_global.keypressed = false;
_root.tapratio = 0;
Frame 1456
onEnterFrame();
if (_root.tapratio >= 125) {
_root.gotoAndStop("Main Game", 1);
} else {
_root.lives = _root.lives - 1;
_root.gotoAndPlay("died");
}
Frame 1457
_global.keypressed = false;
Frame 1572
bgsound = new Sound();
bgsound.attachSound("Bkground");
bgsound.start(0, 999);
_global.corpsestab = true;
_global.corpseattack = false;
gotoAndStop (566);
Frame 1573
credmusic = new Sound();
credmusic.attachSound("title");
credmusic.start();
Frame 2451
_quality = "LOW";
Frame 2521
gotoAndPlay (11);
Instance of Symbol 1299 MovieClip in Frame 2523
onClipEvent (load) {
if (_global.gamestarted == true) {
this._visible = false;
this.stop();
}
}
Frame 2562
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
Frame 2766
_global.middleofnowhere = false;
Frame 2817
stop();
Frame 2818
stop();
Frame 2819
_root.driving.gotoAndPlay(233);
stop();
Instance of Symbol 1303 MovieClip "camFrame" in Frame 2820
onClipEvent (load) {
if (_global.middleofnowhere == false) {
_root.camFrame.middleofnowhere._visible = false;
} else {
_root.camFrame.middleofnowhere._visible = false;
}
}
Frame 2997
stop();
Frame 3067
_global.playedonce = true;
gotoAndStop (562);
Symbol 1488 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.6");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 1489 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 1490 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 1491 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 1492 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 67 MovieClip Frame 28
stop();
Symbol 67 MovieClip Frame 38
stop();
Symbol 84 MovieClip Frame 1
_root.pad1 = 1;
stop();
Symbol 84 MovieClip Frame 10
_root.pad1 = 2;
stop();
Symbol 84 MovieClip Frame 20
_root.pad1 = 3;
stop();
Symbol 84 MovieClip Frame 30
_root.pad1 = 4;
stop();
Symbol 84 MovieClip Frame 40
_root.pad1 = 5;
stop();
Symbol 84 MovieClip Frame 50
_root.pad1 = 6;
stop();
Symbol 84 MovieClip Frame 60
_root.pad1 = 7;
stop();
Symbol 84 MovieClip Frame 70
_root.pad1 = 8;
stop();
Symbol 87 MovieClip Frame 1
_root.pad2 = 1;
stop();
Symbol 87 MovieClip Frame 10
_root.pad2 = 2;
stop();
Symbol 87 MovieClip Frame 20
_root.pad2 = 3;
stop();
Symbol 87 MovieClip Frame 30
_root.pad2 = 4;
stop();
Symbol 87 MovieClip Frame 40
_root.pad2 = 5;
stop();
Symbol 87 MovieClip Frame 50
_root.pad2 = 6;
stop();
Symbol 87 MovieClip Frame 60
_root.pad2 = 7;
stop();
Symbol 87 MovieClip Frame 70
_root.pad2 = 8;
stop();
Symbol 90 MovieClip Frame 1
_root.pad3 = 1;
stop();
Symbol 90 MovieClip Frame 10
_root.pad3 = 2;
stop();
Symbol 90 MovieClip Frame 20
_root.pad3 = 3;
stop();
Symbol 90 MovieClip Frame 30
_root.pad3 = 4;
stop();
Symbol 90 MovieClip Frame 40
_root.pad3 = 5;
stop();
Symbol 90 MovieClip Frame 50
_root.pad3 = 6;
stop();
Symbol 90 MovieClip Frame 60
_root.pad3 = 7;
stop();
Symbol 90 MovieClip Frame 70
_root.pad3 = 8;
stop();
Symbol 96 Button
on (rollOver) {
_root.usingbox.text = "Back to hallway";
_root.doorsign20.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (572);
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 131 Button
on (press, keyPress "<Up>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Left>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Right>") {
_global.keypressed = true;
}
on (press, keyPress "<Down>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
Symbol 133 MovieClip Frame 16
stop();
Symbol 199 MovieClip Frame 495
gotoAndPlay (30);
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 5
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 5
stop();
Instance of Symbol 210 MovieClip "options" in Symbol 218 MovieClip Frame 1
on (rollOver) {
proceedsound = new Sound(store);
proceedsound.attachSound("itemroll");
proceedsound.start();
_root.menubars.bottombar.options.gotoAndPlay(2);
}
on (rollOut) {
_root.menubars.bottombar.options.gotoAndPlay(6);
}
on (release) {
_root.optionscreen.play();
}
Instance of Symbol 213 MovieClip "store" in Symbol 218 MovieClip Frame 1
on (rollOver) {
proceedsound = new Sound(store);
proceedsound.attachSound("itemroll");
proceedsound.start();
_root.menubars.bottombar.store.gotoAndPlay(2);
}
on (rollOut) {
_root.menubars.bottombar.store.gotoAndPlay(6);
}
on (release) {
_root.storescreen.play();
}
Instance of Symbol 217 MovieClip "nightvisionbot" in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 5
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 5
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 5
stop();
Instance of Symbol 224 MovieClip "proceed" in Symbol 233 MovieClip Frame 1
on (rollOver) {
proceedsound = new Sound(proceed);
proceedsound.attachSound("itemroll");
proceedsound.start();
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(6);
}
on (release) {
_root.skipintro._visible = true;
_global.skipintro = false;
}
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 20
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 50
stop();
Instance of Symbol 245 MovieClip in Symbol 250 MovieClip Frame 1
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 5
on (release) {
getURL ("http://just2play.com", "_blank");
}
Symbol 250 MovieClip Frame 35
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 22
_root.money = 0;
_root.menubars.bottombar.cashbox = _root.money;
Symbol 258 Button
on (release) {
_quality = "MEDIUM";
_global.hightoggle = false;
_global.mediumtoggle = true;
_global.lowtoggle = false;
_global.autotoggle = false;
}
Symbol 261 Button
on (release) {
_quality = "LOW";
_global.hightoggle = false;
_global.mediumtoggle = false;
_global.lowtoggle = true;
_global.autotoggle = false;
}
Symbol 263 Button
on (release) {
_root.optionscreen.play();
}
Symbol 265 Button
on (release) {
_quality = "HIGH";
_global.hightoggle = true;
_global.mediumtoggle = false;
_global.lowtoggle = false;
_global.autotoggle = false;
}
Symbol 267 Button
on (release) {
_quality = "HIGH";
_global.hightoggle = false;
_global.mediumtoggle = false;
_global.lowtoggle = false;
_global.autotoggle = true;
}
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 12
stop();
Symbol 270 Button
on (release) {
_root.storescreen.play();
}
Symbol 280 MovieClip Frame 1
_root.itemtext.text = "";
stop();
Symbol 280 MovieClip Frame 2
_global.storeopen = true;
Symbol 280 MovieClip Frame 12
stop();
Instance of Symbol 217 MovieClip "nightvisionbuy" in Symbol 280 MovieClip Frame 12
on (rollOver) {
_root.storescreen.descript.text = "Nightvision Goggles allow the user to explore darker areas.";
_root.storescreen.itemtext.text = "Nightvision Goggles";
_root.storescreen.itemcost.text = "$250";
}
on (rollOut) {
_root.storescreen.descript.text = "";
_root.storescreen.itemtext.text = "";
_root.storescreen.itemcost.text = "";
}
onClipEvent (load) {
if (_global.nightvision == false) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (_root.money >= 50) {
_root.money = _root.money - 50;
_root.menubars.bottombar.cashbox = _root.money;
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
savefile.data.nightvision = _root.nvision;
this._visible = false;
_global.nightvision = true;
_global.nightvisionOn = true;
_root.nvision = 1;
_root.menubars.bottombar.nightvisionbot._visible = true;
} else {
cashsound = new Sound();
cashsound.attachSound("nomoney");
cashsound.start();
_root.notenoughmoney.play();
}
}
Symbol 280 MovieClip Frame 17
_root.nightvision._visible = false;
_global.storeopen = false;
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 22
_root.menubars.bottombar.cashbox = _root.money;
Symbol 284 MovieClip Frame 1
stop();
Symbol 285 Button
on (rollOver) {
proceedsound = new Sound(menubars);
proceedsound.attachSound("itemroll");
proceedsound.start();
_root.menubars.menubar.loadbutton.gotoAndPlay(2);
}
on (rollOut) {
_root.menubars.menubar.loadbutton.gotoAndPlay(6);
}
on (press) {
var savefile = SharedObject.getLocal("heist2");
if (savefile.data.money == undefined) {
_root.money = 0;
_root.cashbox = _root.money;
_root.noloadingdata.gotoAndPlay(2);
_root.noloadingdata.datashine.gotoAndPlay(2);
} else {
_root.money = savefile.data.money;
_root.cashbox = root.money;
_global.playedonce = true;
_root.gameloaded.gotoAndPlay(2);
_root.gameloaded.datashine.play(2);
}
if (savefile.data.nightvision == 1) {
_global.nightvisionOn = true;
_global.nightvision = true;
_root.menubars.bottombar.nightvisionbot._visible = true;
} else {
_global.nightvisionOn = false;
_global.nightvision = false;
_root.menubars.bottombar.nightvisionbot._visible = false;
}
}
Symbol 286 Button
on (rollOver) {
proceedsound = new Sound(menubars);
proceedsound.attachSound("itemroll");
proceedsound.start();
_root.menubars.menubar.cleardata.gotoAndPlay(2);
}
on (rollOut) {
_root.menubars.menubar.cleardata.gotoAndPlay(6);
}
on (release) {
_root.datacleared.play();
savefile.clear();
savefile.flush();
_global.nightvision = false;
_global.nightvisionOn = false;
_root.menubars.bottombar.nightvisionbot._visible = false;
}
Symbol 288 Button
on (release) {
_global.skipintro = true;
_root.skipintro._visible = false;
_root.play();
}
Symbol 290 Button
on (release) {
_global.skipintro = false;
_root.skipintro._visible = false;
_root.play();
}
Symbol 329 MovieClip Frame 140
onEnterFrame();
_root.livingroom3.moonglows3.gotoAndPlay(2);
_root.livingroom4.moonglows2.gotoAndPlay(2);
_root.livingroom1.moonglows1.gotoAndPlay(2);
Symbol 329 MovieClip Frame 142
onEnterFrame();
_root.livingroom4.moonglows2.gotoAndPlay(2);
_root.livingroom1.moonglows1.gotoAndPlay(2);
onEnterFrame();
if (_global.youroutside == false) {
outside2sound = new Sound();
outside2sound.attachSound("insidestorm");
outside2sound.start();
}
Symbol 329 MovieClip Frame 223
onEnterFrame();
_root.livingroom3.moonglows3.gotoAndPlay(2);
_root.livingroom4.moonglows2.gotoAndPlay(2);
_root.livingroom1.moonglows1.gotoAndPlay(2);
Symbol 329 MovieClip Frame 225
onEnterFrame();
_root.livingroom4.moonglows2.gotoAndPlay(2);
_root.livingroom1.moonglows1.gotoAndPlay(2);
Symbol 329 MovieClip Frame 321
_root.livingroom3.moonglows3.gotoAndPlay(6);
_root.livingroom4.moonglows2.gotoAndPlay(2);
_root.livingroom1.moonglows1.gotoAndPlay(2);
onEnterFrame();
if (_global.youroutside == true) {
outsidesound = new Sound();
outsidesound.attachSound("storm");
outsidesound.start();
}
Symbol 329 MovieClip Frame 323
onEnterFrame();
_root.livingroom4.moonglows2.gotoAndPlay(4);
_root.livingroom1.moonglows1.gotoAndPlay(4);
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 3
gotoAndStop (1);
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 10
_global.ceilingdropped = false;
Symbol 344 MovieClip Frame 25
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 346 Button
on (rollOver) {
_root.usingbox.text = "Go to kitchen";
_root.doorsign.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.havecrowbar && (_global.ceilingdropped == true)) {
_root.livingroom1.ceilingpiece.play();
_root.livingroom1.play();
_root.charView.gotoAndPlay(264);
} else {
_root.usingbox.text = "";
gotoAndStop (564);
}
}
Symbol 347 Button
on (rollOver) {
_root.usingbox.text = "Turn right";
_root.doorsign3.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (563);
}
Symbol 348 Button
on (rollOver) {
_root.usingbox.text = "Turn left";
_root.doorsign2.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if ((_global.corpseattack == true) && (_global.spideroomentered == true)) {
bgsound = new Sound();
bgsound.attachSound("Bkground");
bgsound.stop("Bkground");
gotoAndPlay (1058);
} else {
_root.usingbox.text = "";
gotoAndStop (566);
}
}
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 22
gotoAndStop (1);
Symbol 358 MovieClip Frame 57
gotoAndStop (1);
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 15
stop();
Symbol 365 MovieClip Frame 16
stop();
Symbol 365 MovieClip Frame 30
_global.usematches = false;
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 15
stop();
Symbol 369 MovieClip Frame 16
stop();
Symbol 369 MovieClip Frame 30
_global.usefloppymeat = false;
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 15
stop();
Symbol 373 MovieClip Frame 16
stop();
Symbol 373 MovieClip Frame 30
_global.usecrowbar = false;
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 15
stop();
Symbol 377 MovieClip Frame 16
stop();
Symbol 377 MovieClip Frame 30
_global.useknife = false;
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 15
stop();
Symbol 381 MovieClip Frame 16
stop();
Symbol 381 MovieClip Frame 30
_global.usegascan = false;
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 15
stop();
Symbol 387 MovieClip Frame 16
stop();
Symbol 387 MovieClip Frame 30
_global.usebottle = false;
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 4
_root.paper1.c1n = _root.c1number;
Symbol 397 MovieClip Frame 13
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 4
_root.paper2.c2n = _root.c2number;
Symbol 407 MovieClip Frame 13
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 4
_root.paper3.c3n = _root.c3number;
Symbol 417 MovieClip Frame 13
stop();
Symbol 494 MovieClip Frame 230
gotoAndPlay (1);
Symbol 494 MovieClip Frame 263
gotoAndPlay (1);
Symbol 494 MovieClip Frame 295
_root.charView.gotoAndPlay(1);
Symbol 494 MovieClip Frame 319
if (_global.scared == true) {
_root.charView.gotoAndPlay(296);
} else {
_root.charView.gotoAndPlay(1);
}
Symbol 500 MovieClip Frame 1
stop();
Symbol 504 Button
on (rollOver) {
bgsound = new Sound();
bgsound.attachSound("itemroll");
bgsound.start();
_root.usingbox.text = "This will save money & items bought. Does NOT include game progress.";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
savefile.data.nightvision = _root.nvision;
savefile.data.money = _root.money;
savefile.flush();
_root.usingbox.text = "Data Saved";
}
Symbol 509 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 5
_quality = "LOW";
Symbol 510 MovieClip Frame 15
_global.gamestarted = true;
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "HIGH";
}
if (_global.hightoggle == true) {
_quality = "HIGH";
}
if (_global.mediumtoggle == true) {
_quality = "MEDIUM";
}
if (_global.lowtoggle == true) {
_quality = "LOW";
}
stop();
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 5
gotoAndStop (1);
Instance of Symbol 515 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
if (_global.safeopened == true) {
this._visible = true;
} else {
this._visible = false;
}
}
on (rollOver) {
_root.usingbox.text = "Get the hell out of here!";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.broom._visible = false;
_root.lroom._visible = false;
_root.hway._visible = false;
_root.usingbox.text = "";
lockedopensound = new Sound();
lockedopensound.attachSound("opened door");
lockedopensound.start();
_root.gamecloser._visible = true;
_root.gamecloser.play();
}
Symbol 517 Button
on (rollOver) {
_root.usingbox.text = "Turn left";
_root.doorsign4.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (562);
}
Symbol 518 Button
on (rollOver) {
if (_global.haveKey1 == true) {
_root.usingbox.text = "Use hallway key";
_root.doorsign5.play();
} else {
_root.usingbox.text = "Go to hallway";
_root.doorsign5.play();
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.haveKey1 == true) {
_root.usingbox.text = "";
_root.lockmechanism.gotoAndPlay(2);
lockedopensound = new Sound();
lockedopensound.attachSound("opened door");
lockedopensound.start();
gotoAndStop (572);
} else {
_root.usingbox.text = "It's Locked";
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
}
}
Symbol 519 Button
on (rollOver) {
if (_global.haveKey4 == true) {
_root.usingbox.text = "Use bathroom key";
_root.doorsignX.play();
} else {
_root.usingbox.text = "Open bathroom door";
_root.doorsignX.play();
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.haveKey4 == true) {
_root.usingbox.text = "";
_root.lockmechanism.gotoAndPlay(2);
lockedopensound = new Sound();
lockedopensound.attachSound("opened door");
lockedopensound.start();
gotoAndStop (579);
} else {
_root.usingbox.text = "It's Locked";
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
}
}
Symbol 520 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 2
_quality = "LOW";
Symbol 520 MovieClip Frame 10
bgsound = new Sound();
bgsound.attachSound("Bkground");
bgsound.stop("Bkground");
Symbol 520 MovieClip Frame 40
_quality = "HIGH";
_root.gotoAndPlay("endgame");
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 3
if (_global.haveKey2 == true) {
_global.usecrowbar = false;
_root.invcrowbar.play();
} else {
mysound = new Sound();
mysound.attachSound("keypickup");
mysound.start();
_root.usingbox.text = "You found a key";
_root.invcrowbar.play();
_global.usecrowbar = false;
_root.key2.play();
_root.key2._visible = true;
_global.haveKey2 = true;
_root.charView.gotoAndPlay(142);
}
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 55
stop();
Symbol 542 MovieClip Frame 65
_global.glasslock1 = false;
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 2
_global.keyhasfallen = true;
Instance of Symbol 546 MovieClip "Key3" in Symbol 547 MovieClip Frame 2
on (rollOver) {
_root.usingbox.text = "Pickup key";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.haveKey1 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("keypickup");
mysound.start();
this._visible = false;
_root.key1._visible = true;
_root.key1.play();
_global.haveKey1 = true;
_root.charView.gotoAndPlay(142);
}
Symbol 547 MovieClip Frame 17
stop();
Symbol 553 MovieClip Frame 2
_root.tothelivingroom._visible = false;
_root.tothebalcony._visible = false;
Symbol 553 MovieClip Frame 50
_root.tothelivingroom._visible = true;
_root.tothebalcony._visible = true;
Symbol 553 MovieClip Frame 65
stop();
Symbol 554 MovieClip Frame 1
onEnterFrame();
_global.youroutside = false;
Instance of Symbol 534 MovieClip in Symbol 554 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Read paper";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
mysound = new Sound();
mysound.attachSound("papercrackle");
mysound.start();
_root.wallpaper._visible = true;
}
Instance of Symbol 542 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
if (_global.glasslock2 == true) {
this.gotoAndStop(55);
}
}
on (rollOver) {
if (_global.glasslock2 == true) {
_root.usingbox.text = "Lock glass doors";
} else {
_root.usingbox.text = "Unlock glass doors";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.glasslock2 == true) {
_global.glasslock2 = false;
this.play();
} else {
_global.glasslock2 = true;
this.play();
}
}
Instance of Symbol 544 MovieClip "microwave" in Symbol 554 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Look inside microwave";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "It's empty...";
}
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
if (_global.doorshadow == true) {
_global.doorshadow = false;
this.play();
} else {
this.stop();
}
}
Symbol 555 Button
on (rollOver) {
_root.usingbox.text = "Go to balcony";
_root.doorsign9.play();
}
on (rollOut) {
_root.usingbox.text = "";
_root.doorsign9.play();
}
on (release) {
if (_global.glasslock2 == true) {
mysound = new Sound();
mysound.attachSound("doorclosed1");
mysound.start();
bgsound = new Sound();
bgsound.attachSound("rain");
bgsound.start(0, 99);
_root.usingbox.text = "";
gotoAndStop (568);
} else {
_root.usingbox.text = "It's Locked";
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
}
}
Symbol 556 Button
on (rollOver) {
_root.usingbox.text = "Go to livingroom";
_root.doorsign10.play();
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (562);
}
Symbol 557 Button
on (rollOver) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with drawer";
} else {
_root.usingbox.text = "Open drawer";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usecrowbar == true) {
mysound = new Sound();
mysound.attachSound("opendrawer");
mysound.start();
_root.livingroom2.drawer.play();
_root.usingbox.text = "";
} else {
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
_root.charView.gotoAndPlay(231);
_root.usingbox.text = "It's stuck...";
}
if (_global.money1 && (_global.usecrowbar == true)) {
_global.money1 = false;
framenum = new Array(10, 25, 15, 5, 5, 10, 185, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
}
}
Symbol 558 Button
on (rollOver) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with drawer";
} else {
_root.usingbox.text = "Open drawer";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usecrowbar == true) {
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
_root.invcrowbar.play();
_global.usecrowbar = false;
_root.usingbox.text = "It won't budge...";
} else {
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
_root.charView.gotoAndPlay(231);
_root.usingbox.text = "It's stuck...";
}
}
Instance of Symbol 563 MovieClip in Symbol 564 MovieClip Frame 1
on (release) {
if (_global.readpaper == true) {
_root.wallpaper._visible = false;
} else {
_root.wallpaper._visible = false;
_root.livingroom2.fallingkey.play();
_global.readpaper = true;
}
}
Symbol 567 Button
on (rollOver) {
_root.usingbox.text = "Go to edge of balcony";
_root.doorsign11.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (569);
}
Symbol 568 Button
on (rollOver) {
_root.usingbox.text = "Look through door window";
_root.doorsign12.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (571);
}
Symbol 573 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 3
gotoAndStop (1);
Symbol 678 MovieClip Frame 2
_global.scared = true;
_global.corpseattack = true;
_root.walkwayleft._visible = false;
_root.walkwayright._visible = false;
_root.livingroom4.tothebalcony1._visible = false;
_root.livingroom4.tothebalcony2._visible = false;
_root.charView.gotoAndPlay(296);
Symbol 678 MovieClip Frame 6
_global.walkedpass = false;
Symbol 678 MovieClip Frame 256
onEnterFrame();
if (_global.glasslock1 == true) {
_global.scared = false;
_root.walkwayleft._visible = true;
_root.walkwayright._visible = true;
_root.unlockdeathani.play();
this._visible = false;
this.stop();
}
Symbol 678 MovieClip Frame 308
phonesound = new Sound();
phonesound.attachSound("ringingphone");
phonesound.stop("ringingphone");
_global.phonerang = false;
_global.scared = false;
Symbol 678 MovieClip Frame 322
_root.walkwayleft._visible = true;
_root.walkwayright._visible = true;
_root.livingroom4.tothebalcony1._visible = true;
_root.livingroom4.tothebalcony2._visible = true;
stop();
Symbol 684 Button
on (rollOver) {
_root.usingbox.text = "Go to balcony";
_root.doorsign9.play();
}
on (rollOut) {
_root.usingbox.text = "";
_root.doorsign9.play();
}
on (release) {
if (_global.glasslock1 == true) {
doorsound = new Sound();
doorsound.attachSound("doorclosed1");
doorsound.start();
bgsound = new Sound();
bgsound.attachSound("rain");
bgsound.start(0, 99);
_root.usingbox.text = "";
_root.gotoAndStop("outsideview4");
} else {
_root.usingbox.text = "It's Locked";
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
}
}
Instance of Symbol 383 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
if (_global.havepaper3 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_global.havepaper3 = true;
_root.invpaper3._visible = true;
}
Instance of Symbol 542 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
if (_global.glasslock1 == true) {
this.gotoAndStop(55);
}
}
on (rollOver) {
if (_global.glasslock1 == true) {
_root.usingbox.text = "Lock glass doors";
} else {
_root.usingbox.text = "Unlock glass doors";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_global.glasslock1 = true;
this.play();
}
Instance of Symbol 576 MovieClip in Symbol 687 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Unplug phone";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "Why? Thats not necessary...";
}
Instance of Symbol 678 MovieClip "corpsewalker" in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
if ((_global.moneytaken == true) && (_global.walkedpass == true)) {
_global.doorshadow = true;
this.play();
} else {
this.stop();
}
}
Instance of Symbol 681 MovieClip in Symbol 687 MovieClip Frame 1
on (rollOver) {
if (_global.phonerang == true) {
_root.usingbox.text = "Answer phone";
} else {
_root.usingbox.text = "Use phone";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.phonerang == true) {
_root.usingbox.text = "Nothing but static...and it's still ringing?!?";
} else {
_root.usingbox.text = "I don't need to call anybody...";
}
}
Instance of Symbol 683 MovieClip in Symbol 687 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Unplug phone";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "Why? Thats not necessary...";
}
Instance of Symbol 686 MovieClip in Symbol 687 MovieClip Frame 1
onClipEvent (load) {
if (_global.corpsestab == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 688 Button
on (rollOver) {
_root.usingbox.text = "Turn right";
_root.doorsign7.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if ((_global.corpseattack == true) && (_global.spideroomentered == true)) {
bgsound = new Sound();
bgsound.attachSound("Bkground");
bgsound.stop("Bkground");
gotoAndPlay (1058);
} else {
_root.usingbox.text = "";
gotoAndStop (562);
}
}
Symbol 689 Button
on (rollOver) {
_root.usingbox.text = "Turn left";
_root.doorsign6.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (567);
}
Symbol 703 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 40
_root.lives = _root.lives - 1;
_root.gotoAndPlay("died");
Symbol 706 Button
on (rollOver) {
_root.usingbox.text = "Turn right";
_root.doorsign8.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (566);
}
Symbol 708 MovieClip Frame 1
onEnterFrame();
_global.youroutside = true;
Symbol 709 Button
on (rollOver) {
_root.usingbox.text = "Go inside";
_root.doorsign13.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.glasslock2 == true) {
_root.usingbox.text = "";
doorsound = new Sound();
doorsound.attachSound("doorclosed1");
doorsound.start();
bgsound.stop("rain");
gotoAndStop (564);
} else {
_root.usingbox.text = "It's Locked";
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
}
}
Symbol 710 Button
on (rollOver) {
_root.usingbox.text = "Go to edge of balcony";
_root.doorsign22.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (569);
}
Symbol 711 Button
on (rollOver) {
_root.usingbox.text = "Go inside";
_root.doorsign00.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.glasslock1 == true) {
_root.usingbox.text = "";
_root.lockmechanism.gotoAndPlay(2);
doorsound = new Sound();
doorsound.attachSound("doorclosed1");
doorsound.start();
bgsound.stop("rain");
gotoAndStop (566);
} else {
_root.usingbox.text = "It's Locked";
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
}
}
Symbol 714 Button
on (rollOver) {
_root.usingbox.text = "Go left";
_root.doorsign14.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (568);
}
Symbol 715 Button
on (rollOver) {
_root.usingbox.text = "Go right";
_root.doorsign15.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (565);
}
Symbol 723 MovieClip Frame 1
stop();
Symbol 723 MovieClip Frame 17
stop();
Symbol 725 Button
on (rollOver) {
if (_global.safeopened == true) {
_root.usingbox.text = "An open safe...";
} else {
_root.usingbox.text = "Operate safe";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.safeopened == true) {
_root.usingbox.text = "It's opened...";
} else {
_root.gotoAndPlay("safeclose");
}
}
Symbol 726 Button
on (release) {
if (((_root.pad1 == 3) && (_root.pad2 == 7)) && (_root.pad3 == 4)) {
gotoAndStop (1);
} else {
_root.wrongcode.play();
}
}
Symbol 730 MovieClip Frame 1
stop();
Symbol 730 MovieClip Frame 2
stop();
Instance of Symbol 729 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
if (_global.havepackage == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (rollOver) {
_root.usingbox.text = "Take package";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.havepackage == false) {
_global.havepackage = true;
framenum = new Array(500, 1000, 500, 500, 2500, 500, 500, 725);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
this._visible = false;
_root.escapehouse.gotoAndPlay(2);
_root.usingbox.text = "";
}
}
Symbol 733 Button
on (rollOver) {
_root.usingbox.text = "Look behind stairs";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.money5 == true) {
_global.money5 = false;
framenum = new Array(10, 25, 10, 5, 5, 50, 5, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
_root.usingbox.text = "";
} else {
_root.usingbox.text = "Nothing...";
}
}
Instance of Symbol 723 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 730 MovieClip "safe" in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = true;
} else {
this._visible = false;
}
if (_global.safeopened == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 723 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 732 MovieClip in Symbol 736 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup crowbar";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if ((_root.cbplace == 1) && (_global.havecrowbar == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_root.invcrowbar._visible = true;
_root.invcrowbar.gotoAndPlay(2);
_global.havecrowbar = true;
_global.ceilingdropped = true;
_root.charView.gotoAndPlay(142);
}
Instance of Symbol 735 MovieClip "trapdoorglow" in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
if (_global.nightvision && (_global.nightvision1 == true)) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 737 Button
on (rollOver) {
_root.usingbox.text = "Go to hallway";
_root.doorsign16.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_root.deathtrap == 26) {
gotoAndPlay (267);
}
_root.usingbox.text = "";
gotoAndStop (572);
}
Symbol 738 Button
on (rollOver) {
_root.usingbox.text = "Ascend staircase";
_root.doorsign17.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
bgsound = new Sound();
bgsound.attachSound("Bkground");
bgsound.stop("Bkground");
walksound = new Sound();
walksound.attachSound("walking");
walksound.start();
newsound = new Sound();
newsound.attachSound("scaryloop");
newsound.start(0, 999);
_global.goingup = true;
gotoAndStop (574);
}
Symbol 741 MovieClip Frame 15
this._visible = false;
stop();
Symbol 743 Button
on (rollOver) {
_root.usingbox.text = "Inspect glass door";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.money7 == true) {
_global.money7 = false;
framenum = new Array(10, 25, 10, 5, 5, 50, 5, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
_root.usingbox.text = "";
} else {
_root.usingbox.text = "Nothing...";
}
}
Symbol 746 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 2
stop();
Instance of Symbol 546 MovieClip "Key4" in Symbol 746 MovieClip Frame 2
on (rollOver) {
_root.usingbox.text = "Pickup key";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.haveKey4 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("keypickup");
mysound.start();
this._visible = false;
_root.key4._visible = true;
_root.key4.play();
_global.haveKey4 = true;
_root.charView.gotoAndPlay(142);
}
Instance of Symbol 723 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 746 MovieClip "safe" in Symbol 747 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = true;
} else {
this._visible = false;
}
if (_global.safeopened == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 723 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 748 Button
on (rollOver) {
_root.doorsign17.play();
}
on (release) {
gotoAndStop (565);
}
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 15
stop();
Instance of Symbol 730 MovieClip "safe" in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = true;
} else {
this._visible = false;
}
if (_global.safeopened == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 723 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
if (_global.paintingpulled == true) {
this._visible = false;
} else {
_root.safe._visible = true;
}
}
on (rollOver) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with painting";
} else {
_root.usingbox.text = "Look at painting";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (((((_global.usecrowbar == true) && (_global.nail1 == true)) && (_global.nail2 == true)) && (_global.nail3 == true)) && (_global.nail4 == true)) {
this.play();
_root.invcrowbar.play();
_root.room3.safe._visible = true;
_global.paintingpulled = true;
_root.usingbox.text = "Interesting...";
}
if (_global.usecrowbar == true) {
_root.usingbox.text = "I have to remove the nails first...";
}
}
Instance of Symbol 751 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
if (_global.nail1 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (rollOver) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with nail";
} else {
_root.usingbox.text = "A Nail";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usecrowbar == true) {
this.play();
bitsound = new Sound();
bitsound.attachSound("lightclick");
bitsound.start();
_global.nail1 = true;
_root.usingbox.text = "Removed...";
} else {
_root.usingbox.text = "It's a nail...";
}
}
Instance of Symbol 751 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
if (_global.nail2 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (rollOver) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with nail";
} else {
_root.usingbox.text = "A Nail";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usecrowbar == true) {
this.play();
bitsound = new Sound();
bitsound.attachSound("lightclick");
bitsound.start();
_global.nail2 = true;
_root.usingbox.text = "It's outta here...";
} else {
_root.usingbox.text = "It's a nail...";
}
}
Instance of Symbol 751 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
if (_global.nail3 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (rollOver) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with nail";
} else {
_root.usingbox.text = "A Nail";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usecrowbar == true) {
this.play();
bitsound = new Sound();
bitsound.attachSound("lightclick");
bitsound.start();
_global.nail3 = true;
_root.usingbox.text = "Pulled...";
} else {
_root.usingbox.text = "It's a nail...";
}
}
Instance of Symbol 751 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
if (_global.nail4 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (rollOver) {
if (_global.usecrowbar == true) {
_root.usingbox.text = "Use crowbar with nail";
} else {
_root.usingbox.text = "A Nail";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usecrowbar == true) {
this.play();
bitsound = new Sound();
bitsound.attachSound("lightclick");
bitsound.start();
_global.nail4 = true;
_root.usingbox.text = "Pop...";
} else {
_root.usingbox.text = "It's a nail...";
}
}
Symbol 753 Button
on (rollOver) {
_root.usingbox.text = "Go to utility room";
_root.doorsign19.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (573);
}
Symbol 754 Button
on (rollOver) {
_root.usingbox.text = "Go to livingroom";
_root.doorsign18.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (563);
}
Symbol 755 Button
on (rollOver) {
_root.usingbox.text = "Go to bedroom";
_root.doorsign20.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
deathtrap = new Array(3, 3, 3, 3, 3, 3, 26, 3);
_root.deathtrap = deathtrap[random(8)];
if (_root.deathtrap == 26) {
gotoAndPlay (267);
} else {
_root.usingbox.text = "";
gotoAndStop (570);
}
}
Symbol 759 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 2
_root.usingbox.text = "It moved a little...";
stop();
Symbol 769 MovieClip Frame 3
_root.usingbox.text = "It's still a little stuck...";
stop();
Symbol 769 MovieClip Frame 4
_root.usingbox.text = "Almost...";
stop();
Symbol 769 MovieClip Frame 5
_root.invcrowbar.play();
openedsound = new Sound();
openedsound.attachSound("openedw");
openedsound.start();
_root.usingbox.text = "And I'm in...";
_root.room2.dryerb._visible = false;
Symbol 769 MovieClip Frame 16
onEnterFrame();
if (_global.haveKey4 == false) {
mysound = new Sound();
mysound.attachSound("keypickup");
mysound.start();
_root.usingbox.text = "You found a key";
_root.key4.play();
_root.key4._visible = true;
_global.haveKey4 = true;
_root.charView.gotoAndPlay(142);
} else {
_root.usingbox.text = "It's empty...";
}
stop();
Instance of Symbol 769 MovieClip "washerdryer" in Symbol 771 MovieClip Frame 1
onClipEvent (load) {
if (_global.haveKey4 == true) {
this.gotoAndStop(16);
_root.room2.dryerb._visible = false;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 732 MovieClip in Symbol 771 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup crowbar";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if ((_root.cbplace == 3) && (_global.havecrowbar == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_root.invcrowbar._visible = true;
_root.invcrowbar.gotoAndPlay(2);
_global.havecrowbar = true;
_global.ceilingdropped = true;
_root.charView.gotoAndPlay(142);
}
Instance of Symbol 770 MovieClip in Symbol 771 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Open dryer door";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "Who puts a lock on a dryer door...?!?";
_root.charView.gotoAndPlay(231);
gotoAndStop (11);
}
Instance of Symbol 770 MovieClip "dryerb" in Symbol 771 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Open washer lid";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usecrowbar == true) {
prysound = new Sound();
prysound.attachSound("metalhit");
prysound.start();
_root.room2.washerdryer.play();
} else {
_root.usingbox.text = "It feels like its welded shut...?";
_root.charView.gotoAndPlay(231);
}
}
Instance of Symbol 770 MovieClip in Symbol 771 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Look in crevice";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_global.creviceopen = true;
_root.checkcrevice._visible = true;
_root.matches._visible = true;
}
Symbol 772 Button
on (rollOver) {
_root.usingbox.text = "Go to hallway";
_root.doorsign21.play();
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
gotoAndStop (572);
}
Symbol 776 MovieClip Frame 1
stop();
Symbol 776 MovieClip Frame 15
stop();
Symbol 776 MovieClip Frame 16
stop();
Symbol 776 MovieClip Frame 30
_global.usematches = false;
Symbol 776 MovieClip Frame 31
stop();
Symbol 781 Button
on (rollOver) {
_root.usingbox.text = "Close window";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.checkcrevice._visible = false;
}
Instance of Symbol 776 MovieClip "matchesd" in Symbol 782 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup matches";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.haveMatches == true) {
_root.checkcrevice.matchesd._visible = false;
} else {
_root.checkcrevice.matchesd._visible = true;
}
}
on (release) {
blurTween = new Tween(blur, "blurX", Strong.easeOut, blur.blurX, totalBlur, 1, true);
blurTween.onMotionChanged = function () {
blur.blurY = blur.blurX;
room2.filters = new Array(blur);
};
_root.checkcrevice._visible = false;
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
_root.checkcrevice.matchesd._visible = false;
_root.invMatches._visible = true;
_root.invMatches.gotoAndPlay(2);
_global.haveMatches = true;
_root.charView.gotoAndPlay(142);
}
Symbol 784 Button
on (rollOver) {
_root.usingbox.text = "Look behind sofa";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.money2 == true) {
_global.money2 = false;
framenum = new Array(10, 25, 10, 5, 5, 50, 5, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
_root.usingbox.text = "";
} else {
_root.usingbox.text = "Nothing...";
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
if (_global.moneytaken == true) {
this._visible = false;
}
}
on (rollOver) {
_root.usingbox.text = "Check the mysterious dark corpse...";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.money3 == true) {
_global.money3 = false;
_global.moneytaken = true;
_global.walkedpass = true;
framenum = new Array(10, 25, 275, 5, 5, 10, 5, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
phonesound = new Sound();
phonesound.attachSound("ringingphone");
phonesound.setVolume = 20;
phonesound.start(0, 999);
_global.phonerang = true;
_root.usingbox.text = "Is that a phone ringing?... It's coming from downstairs...";
} else {
_root.usingbox.text = "He's empty, I cleaned em' out!";
}
}
Instance of Symbol 732 MovieClip in Symbol 791 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup crowbar";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if ((_root.cbplace == 2) && (_global.havecrowbar == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_root.invcrowbar._visible = true;
_root.invcrowbar.gotoAndPlay(2);
_global.havecrowbar = true;
_global.ceilingdropped = true;
_root.charView.gotoAndPlay(142);
}
Symbol 792 Button
on (rollOver) {
_root.doorsign20.play();
_root.usingbox.text = "Go downstairs";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
newsound = new Sound();
newsound.attachSound("scaryloop");
newsound.stop("scaryloop");
walksound = new Sound();
walksound.attachSound("walking");
walksound.start();
bgsound = new Sound();
bgsound.attachSound("Bkground");
bgsound.start(0, 999);
_global.goingdown = true;
gotoAndStop (570);
}
Symbol 793 Button
on (rollOver) {
_root.doorsign16.play();
_root.usingbox.text = "Open hallway door";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.haveKey2 == true) {
unlockedopensound = new Sound();
unlockedopensound.attachSound("opened door");
unlockedopensound.start();
gotoAndStop (575);
_root.usingbox.text = "";
} else {
_root.usingbox.text = "Its locked...";
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
}
}
Symbol 796 Button
on (rollOver) {
_root.usingbox.text = "Peek through keyhole";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.towelfire == true) {
_root.usingbox.text = "Looks like the coast is clear...";
_global.peekhole = true;
_root.gotoAndStop("keyview");
} else {
root.usingbox.text = "";
_root.gotoAndStop("keyview");
}
}
Symbol 797 Button
on (rollOver) {
_root.usingbox.text = "Go into bedroom";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.peekhole == true) {
doorsound = new Sound();
doorsound.attachSound("doorclosed1");
doorsound.start();
_global.spideroomentered = true;
_root.usingbox.text = "";
_root.gotoAndStop("spideroom");
} else {
_root.usingbox.text = "I'm not going in there until it's safe...";
}
}
Symbol 799 Button
on (rollOver) {
_root.doorsign14.play();
_root.usingbox.text = "Go to main room";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (576);
}
Symbol 800 Button
on (rollOver) {
_root.doorsign22.play();
_root.usingbox.text = "Go back to staircase";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (574);
}
Symbol 801 Button
on (rollOver) {
_root.doorsign15.play();
_root.usingbox.text = "Go to bedroom";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (578);
}
Symbol 805 MovieClip Frame 2
_global.bearopen = true;
Symbol 888 MovieClip Frame 370
gotoAndPlay (1);
Symbol 888 MovieClip Frame 371
_root.gostorage._visible = false;
_root.gohall._visible = false;
Symbol 888 MovieClip Frame 492
_root.USroom3.dogbowl.gotoAndStop(4);
Symbol 888 MovieClip Frame 530
_root.gostorage._visible = true;
_root.gohall._visible = true;
_global.dogdead = true;
stop();
Symbol 888 MovieClip Frame 550
gotoAndPlay (1);
Symbol 893 MovieClip Frame 1
stop();
Instance of Symbol 890 MovieClip in Symbol 893 MovieClip Frame 1
on (rollOver) {
if (_global.usebottle == true) {
_root.usingbox.text = "Use bottle of pills with dog's bowl";
} else {
_root.usingbox.text = "Dog's bowl";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usebottle == true) {
_global.usebottle = false;
_root.invbottle.play();
_root.usingbox.text = "He's not going to eat those pills willingly...";
_root.USroom3.dogbowl.gotoAndStop(2);
} else {
_root.usingbox.text = "It's his bowl, I'm not taking it...";
}
}
Symbol 893 MovieClip Frame 2
stop();
Instance of Symbol 890 MovieClip in Symbol 893 MovieClip Frame 2
on (rollOver) {
if (_global.usefloppymeat == true) {
_root.usingbox.text = "Use floppy mysterious meat with dog's bowl";
} else {
_root.usingbox.text = "Dog's bowl";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usefloppymeat == true) {
_root.invfloppymeat.play();
_root.USroom3.dog.gotoAndPlay(371);
_root.usingbox.text = "There we go...";
_root.USroom3.dogbowl.gotoAndStop(3);
} else {
_root.usingbox.text = "It's his bowl, I'm not taking it...";
}
}
Symbol 893 MovieClip Frame 3
stop();
Instance of Symbol 890 MovieClip in Symbol 893 MovieClip Frame 3
on (rollOver) {
_root.usingbox.text = "Dog's bowl";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "It's his bowl, I'm not taking it...";
}
Symbol 893 MovieClip Frame 4
stop();
Instance of Symbol 805 MovieClip in Symbol 895 MovieClip Frame 1
onClipEvent (load) {
if (_global.bearopen == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
_root.usingbox.text = "A cute lil' teddy bear...";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if ((_global.useknife == true) && (_global.bearopen == false)) {
tearsound = new Sound();
tearsound.attachSound("knifecut");
tearsound.start();
_root.USroom3.Key3._visible = true;
_root.usingbox.text = "Hmmm...?";
_global.useknife = false;
_root.invknife.play();
this.gotoAndStop(2);
} else {
_root.usingbox.text = "Well... At least he has both eyes...";
}
}
Instance of Symbol 807 MovieClip in Symbol 895 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Look inside dusty box of junk";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "Useless crap...";
}
Instance of Symbol 807 MovieClip in Symbol 895 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Look inside small dusty box of junk";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "Nothing of interest...";
}
Instance of Symbol 807 MovieClip in Symbol 895 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Look inside dusty box of junk";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.money4 == true) {
_global.money4 = false;
framenum = new Array(10, 25, 10, 5, 5, 50, 5, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
_root.usingbox.text = "";
} else {
_root.usingbox.text = "Nothing I would want...";
}
}
Instance of Symbol 810 MovieClip "Key3" in Symbol 895 MovieClip Frame 1
onClipEvent (load) {
if ((_global.haveKey3 == false) && (_global.bearopen == true)) {
this._visible = true;
} else {
this._visible = false;
}
}
on (rollOver) {
_root.usingbox.text = "Pickup key";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
mysound = new Sound();
mysound.attachSound("keypickup");
mysound.start();
this._visible = false;
_root.key3._visible = true;
_root.key3.play();
_global.haveKey3 = true;
_root.charView.gotoAndPlay(142);
}
Instance of Symbol 888 MovieClip "dog" in Symbol 895 MovieClip Frame 1
on (rollOver) {
if (_global.dogdead == true) {
_root.usingbox.text = "He...didn't make it...hehe.";
} else {
_root.usingbox.text = "Large hungry-looking dog";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.dogdead == true) {
this.gotoAndStop(530);
}
}
Instance of Symbol 893 MovieClip "dogbowl" in Symbol 895 MovieClip Frame 1
onClipEvent (load) {
if (_global.dogdead == true) {
_root.USroom3.dogbowl.gotoAndStop(4);
}
}
Symbol 896 Button
on (rollOver) {
_root.doorsign17.play();
_root.usingbox.text = "Go to hallway";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (575);
}
Symbol 897 Button
on (rollOver) {
_root.doorsign18.play();
_root.usingbox.text = "Go to storage room";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if ((_global.haveKey3 == true) && (_global.dogdead == true)) {
unlockedopensound = new Sound();
unlockedopensound.attachSound("opened door");
unlockedopensound.start();
gotoAndStop (577);
_root.usingbox.text = "";
}
if (_global.dogdead == false) {
_root.USroom3.dog.gotoAndPlay(531);
_root.usingbox.text = "There is a big dog in the way...He looks hungry.";
}
if ((_global.haveKey3 == false) && (_global.dogdead == true)) {
_root.lockmechanism.gotoAndPlay(23);
lockedsound = new Sound();
lockedsound.attachSound("locked");
lockedsound.start();
_root.usingbox.text = "It's locked";
}
}
Symbol 901 Button
on (rollOver) {
_root.usingbox.text = "Look under table";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.money6 == true) {
_global.money6 = false;
framenum = new Array(10, 25, 10, 5, 5, 50, 5, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
_root.usingbox.text = "";
} else {
_root.usingbox.text = "Nothing...";
}
}
Instance of Symbol 900 MovieClip in Symbol 902 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup gas can";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.havegascan == false) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_root.invgascan._visible = true;
_root.invgascan.gotoAndPlay(2);
_global.havegascan = true;
_global.ceilingdropped = true;
_root.charView.gotoAndPlay(142);
}
Symbol 903 Button
on (rollOver) {
_root.doorsign21.play();
_root.usingbox.text = "Go to main room";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (576);
}
Symbol 920 MovieClip Frame 1
stop();
Symbol 920 MovieClip Frame 16
stop();
Symbol 932 Button
on (rollOver) {
if (_global.scared == true) {
_root.USroom6.birdtowindow.play();
_global.scared = false;
_root.usingbox.text = "Bloody, broken window...";
} else {
_root.usingbox.text = "Bloody, broken window...";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
gotoAndStop (14);
}
Instance of Symbol 923 MovieClip in Symbol 933 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Use light switch";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.lightsoff == true) {
_root.USroom6.lightsoff._visible = false;
_global.lightsoff = false;
bgsound = new Sound();
bgsound.attachSound("lightclick");
bgsound.start();
} else {
_root.USroom6.lightsoff._visible = true;
_global.lightsoff = true;
bgsound = new Sound();
bgsound.attachSound("lightclick");
bgsound.start();
}
if (_global.scarydisc == false) {
bgsound = new Sound();
bgsound.attachSound("scarydisc");
bgsound.start();
dgsound = new Sound();
dgsound.attachSound("screamecho");
dgsound.start();
_global.scarydisc = true;
}
}
Instance of Symbol 929 MovieClip "floppymeat" in Symbol 933 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup floppy chunk of mysterious meat";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.havefloppymeat == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_root.invfloppymeat._visible = true;
_root.invfloppymeat.gotoAndPlay(2);
_global.havefloppymeat = true;
_root.charView.gotoAndPlay(142);
}
Instance of Symbol 931 MovieClip "lightsoff" in Symbol 933 MovieClip Frame 1
onClipEvent (load) {
if (_global.lightsoff == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 934 Button
on (rollOver) {
_root.doorsign20.play();
_root.usingbox.text = "Go to hallway";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (575);
}
Instance of Symbol 938 MovieClip in Symbol 941 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Toilet paper";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "I don't think I could shit here if I had to...";
}
Instance of Symbol 940 MovieClip in Symbol 941 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup knife";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.haveknife == false) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_root.invknife._visible = true;
_root.invknife.gotoAndPlay(2);
_global.haveknife = true;
_root.charView.gotoAndPlay(142);
}
Instance of Symbol 944 MovieClip in Symbol 945 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Pickup bottle of pills";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.havebottle == false) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_root.invbottle._visible = true;
_root.invbottle.gotoAndPlay(2);
_global.havebottle = true;
_root.charView.gotoAndPlay(142);
}
Symbol 949 MovieClip Frame 1
stop();
Symbol 963 MovieClip Frame 1
firesound = new Sound();
firesound.attachSound("fire");
firesound.stop("fire");
stop();
Instance of Symbol 949 MovieClip in Symbol 963 MovieClip Frame 1
onClipEvent (load) {
if (_global.towelsoak == true) {
_root.bathroom.bathshelf.gotoAndStop(2);
} else {
_root.bathroom.bathshelf.gotoAndStop(1);
}
}
on (rollOver) {
if (_global.usegascan == true) {
_root.usingbox.text = "Use gas can with stack of towels";
} else {
_root.usingbox.text = "Stack of towels";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.usegascan == true) {
_root.invgascan.play();
_global.towelsoak = true;
_root.bathroom.bathshelf.gotoAndStop(2);
_root.usingbox.text = "Ready to cook, hehe...";
} else {
_root.usingbox.text = "I'm already dry...?";
}
}
Symbol 963 MovieClip Frame 2
onEnterFrame();
if (_global.towelfire == true) {
_root.bathroom.bathshelf.gotoAndStop(3);
}
stop();
Instance of Symbol 949 MovieClip in Symbol 963 MovieClip Frame 2
on (rollOver) {
if (_global.usematches == true) {
_root.usingbox.text = "Use matches with gas-soaked stack of towels";
} else {
_root.usingbox.text = "Gas-soaked stack of towels...";
}
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if ((_global.usematches == true) && (_global.venton == true)) {
_root.invMatches.play();
_global.towelfire = true;
_root.bathroom.bathshelf.gotoAndStop(3);
_root.usingbox.text = "Towels a' blazin'...That should smoke out any vermin upstairs.";
} else {
_root.usingbox.text = "They're soaked...In gas...I should turn on the vent...";
}
}
Symbol 963 MovieClip Frame 3
onEnterFrame();
if (_global.spideroomentered == true) {
_root.bathroom.bathshelf.gotoAndStop(4);
} else {
firesound = new Sound();
firesound.attachSound("fire");
firesound.start(0, 999);
stop();
}
Instance of Symbol 949 MovieClip in Symbol 963 MovieClip Frame 3
on (rollOver) {
_root.usingbox.text = "Burning towels...";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "It's a stack of burning towels...";
}
Symbol 963 MovieClip Frame 4
stop();
Instance of Symbol 383 MovieClip in Symbol 963 MovieClip Frame 4
onClipEvent (load) {
if (_global.havepaper1 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_global.havepaper1 = true;
_root.invpaper1._visible = true;
}
Symbol 969 MovieClip Frame 1
fansound.stop("fanloop");
_root.bathroom.vent.stop();
stop();
Symbol 969 MovieClip Frame 2
fansound = new Sound();
fansound.attachSound("fanloop");
fansound.start(0, 9999);
_root.bathroom.vent.play();
stop();
Instance of Symbol 966 MovieClip "vent" in Symbol 970 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Ceiling vent";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.venton == true) {
this.play();
} else {
fansound.stop("fanloop");
this.stop();
}
}
on (release) {
_root.usingbox.text = "Looks like it leads upstairs...";
}
Instance of Symbol 969 MovieClip "ventswitch" in Symbol 970 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Turn vent on/off";
}
on (rollOut) {
_root.usingbox.text = "";
}
onClipEvent (load) {
if (_global.venton == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_global.venton == false) {
_global.venton = true;
this.play();
} else {
_global.venton = false;
this.play();
}
}
Symbol 971 Button
on (rollOver) {
_root.doorsign19.play();
_root.usingbox.text = "Go to hallway";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
fansound = new Sound();
fansound.attachSound("fanloop");
fansound.stop("fanloop");
firesound = new Sound();
firesound.attachSound("fire");
firesound.stop("fire");
mysound = new Sound();
mysound.attachSound("doorclosed1");
mysound.start();
_root.usingbox.text = "";
gotoAndStop (563);
}
Symbol 997 MovieClip Frame 140
gotoAndPlay (1);
Symbol 997 MovieClip Frame 270
gotoAndPlay (141);
Instance of Symbol 980 MovieClip in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
if (_global.towelfire == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 997 MovieClip in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
if (_global.towelfire == true) {
this.gotoAndPlay(141);
}
}
Symbol 1001 Button
on (rollOver) {
_root.doorsign20.play();
_root.usingbox.text = "Back to hallway";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
_root.usingbox.text = "";
gotoAndStop (575);
}
Symbol 1015 Button
on (rollOver) {
_root.usingbox.text = "Inspect spider web";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
if (_global.money8 == true) {
_global.money8 = false;
framenum = new Array(10, 25, 10, 5, 5, 50, 5, 25);
_root.money = _root.money + framenum[random(8)];
_root.cashbox = _root.money;
_root.moneyglow.play();
cashsound = new Sound();
cashsound.attachSound("chaching");
cashsound.start();
_root.usingbox.text = "";
} else {
_root.usingbox.text = "Nothing...";
}
}
Instance of Symbol 1006 MovieClip in Symbol 1016 MovieClip Frame 1
on (rollOver) {
_root.usingbox.text = "Dead spider victim...";
}
on (rollOut) {
_root.usingbox.text = "";
}
Instance of Symbol 383 MovieClip in Symbol 1016 MovieClip Frame 1
onClipEvent (load) {
if (_global.havepaper2 == true) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
mysound = new Sound();
mysound.attachSound("bellsgliss");
mysound.start();
this._visible = false;
_global.havepaper2 = true;
_root.invpaper2._visible = true;
}
Instance of Symbol 1012 MovieClip in Symbol 1016 MovieClip Frame 1
onClipEvent (load) {
if (_global.towelfire == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1017 Button
on (rollOver) {
_root.doorsign20.play();
_root.usingbox.text = "Back to hallway";
}
on (rollOut) {
_root.usingbox.text = "";
}
on (release) {
doorsound = new Sound();
doorsound.attachSound("doorclosed1");
doorsound.start();
_root.usingbox.text = "";
gotoAndStop (575);
}
Symbol 1019 MovieClip Frame 16
stop();
Symbol 1022 Button
on (release) {
_root.gotoAndPlay(101);
}
Symbol 1023 Button
on (release) {
_root.gotoAndPlay("closend");
}
Symbol 1024 MovieClip Frame 1
_root.moneyfound = 0;
_root.paperfound = 0;
Symbol 1024 MovieClip Frame 10
onEnterFrame();
if (_global.money1 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.money2 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.money3 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.money4 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.money5 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.money6 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.money7 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.money8 == false) {
_root.moneyfound = _root.moneyfound + 1;
}
if (_global.havepaper1 == true) {
_root.paperfound = _root.paperfound + 1;
}
if (_global.havepaper2 == true) {
_root.paperfound = _root.paperfound + 1;
}
if (_global.havepaper3 == true) {
_root.paperfound = _root.paperfound + 1;
}
if ((((((_global.havegascan == true) && (_global.havefloppymeat == true)) && (_global.haveMatches == true)) && (_global.havecrowbar == true)) && (_global.havebottle == true)) && (_global.haveknife == true)) {
_root.allitems = true;
}
_root.moneyfound = _root.moneyfound;
_root.paperfound = _root.paperfound;
_root.itemsfound = _root.itemsfound;
Symbol 1024 MovieClip Frame 31
stop();
Symbol 1039 Button
on (release) {
gotoAndPlay (824);
}
Symbol 1040 Button
on (release) {
gotoAndStop (825);
}
Symbol 1113 MovieClip Frame 14
stop();
Symbol 1113 MovieClip Frame 30
stop();
Symbol 1117 Button
on (press, keyPress "<Up>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Left>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Right>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Down>") {
_global.keypressed = true;
}
Symbol 1146 Button
on (press, keyPress "<Up>") {
_global.keypressed = true;
}
on (press, keyPress "<Left>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Right>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Down>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
Symbol 1205 Button
on (press, keyPress "<Space>") {
_root.tapratio = _root.tapratio + 5;
_global.keypressed = true;
}
on (press, keyPress "<Up>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Left>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Right>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
on (press, keyPress "<Down>") {
wsound = new Sound();
wsound.attachSound("wrong");
wsound.start();
_global.keypressed = false;
}
Symbol 1298 Button
on (release) {
credmusic = new Sound();
credmusic.attachSound("title");
credmusic.stop("title");
gotoAndPlay (2452);
}
Symbol 1299 MovieClip Frame 5
_quality = "LOW";
Symbol 1299 MovieClip Frame 15
onEnterFrame();
if (_global.autotoggle == true) {
_quality = "MEDIUM";
}
if (_global.hightoggle == true) {
_quality = "HIGH";
}
if (_global.mediumtoggle == true) {
_quality = "MEDIUM";
}
if (_global.lowtoggle == true) {
_quality = "LOW";
}
stop();
Symbol 1302 MovieClip Frame 131
stop();
Symbol 1303 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1327 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 1392 MovieClip Frame 232
_root.play();
Symbol 1392 MovieClip Frame 255
_root.play();
Symbol 1424 MovieClip Frame 240
_root.play();
Instance of Symbol 1303 MovieClip in Symbol 1424 MovieClip Frame 240
onClipEvent (load) {
if (_global.middleofnowhere == false) {
this.middleofnowhere._visible = false;
} else {
this.middleofnowhere._visible = true;
}
}
Symbol 1461 MovieClip Frame 1
stop();
Symbol 1461 MovieClip Frame 60
_root.enteringhouse.play();
stop();
Symbol 1473 MovieClip Frame 10
stopAllSounds();
Symbol 1473 MovieClip Frame 40
_root.pickinglock.play();
stop();
Symbol 1484 MovieClip Frame 1
stop();
Symbol 1484 MovieClip Frame 110
_root.play();
stop();