Frame 1
_root.introLoaded = false;
_root.introPointer = 1;
_root.introDir = -1;
MovieClip.prototype.tabEnabled = false;
Button.prototype.tabEnabled = false;
Stage.showMenu = false;
_root.onEnterFrame = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.gotoAndStop("intro");
delete this.onEnterFrame;
} else {
if (_root.introPointer > 7) {
_root.introPointer = 1;
}
if (_root.introDir < 0) {
if (_root.loadingMsg[_root.introPointer]._y > -4) {
_root.loadingMsg[_root.introPointer]._y = _root.loadingMsg[_root.introPointer]._y + _root.introDir;
} else {
_root.introDir = _root.introDir * -1;
}
} else if (_root.loadingMsg[_root.introPointer]._y < 0) {
_root.loadingMsg[_root.introPointer]._y = _root.loadingMsg[_root.introPointer]._y + _root.introDir;
} else {
_root.introDir = _root.introDir * -1;
_root.introPointer++;
}
}
};
stop();
Frame 6
stop();
_root.audioStatus = "on";
_root.createEmptyMovieClip("ambient_mc", _root.getNextHighestDepth());
ambient = new Sound("ambient_mc");
ambient.attachSound("ambient_loop");
ambient.setVolume(60);
ambient.start(0, 999);
ambient.onSoundComplete = function () {
ambient.start(0, 999);
};
_root.btnMute.onRelease = function () {
if (_root.audioStatus == "on") {
_root.audiofxSoundObject.setVolume(0);
_root.ambient.setVolume(0);
_root.randomSoundObject.setVolume(0);
_root.audioStatus = "off";
} else {
_root.audiofxSoundObject.setVolume(80);
_root.ambient.setVolume(60);
_root.randomSoundObject.setVolume(80);
_root.audioStatus = "on";
}
};
_root.btnHelp.onRelease = function () {
getInstructions();
};
_root.btnSkipIntro.onRelease = function () {
_root.btnSkipIntro.removeMovieClip();
_root.gotoAndStop("narrativeIntro");
};
function getInstructions() {
_root.instructionClip.removeMovieClip();
_root.attachMovie("instructionClip", "instructionClip", _root.getNextHighestDepth());
_root.instructionClip._x = 90;
_root.instructionClip._y = 90;
_root.instructionClip.close.onRelease = function () {
_root.instructionClip.removeMovieClip();
};
}
Frame 11
stop();
_root.btnSkipIntro.onRelease = function () {
_root.gotoAndStop("wall1Dark");
};
function audioFx(snd, md) {
trace("audiofx");
audiofxSoundObject.stop();
_root.testAudio = snd;
audiofxSoundObject.attachSound(snd);
if (_root.audioStatus == "on") {
audiofxSoundObject.setVolume(80);
} else {
audiofxSoundObject.setVolume(0);
}
audiofxSoundObject.start();
audiofxSoundObject.onSoundComplete = function () {
if (md == "l") {
audiofxSoundObject.start();
} else {
delete audiofxSoundObject.onSoundComplete;
}
};
}
function randomSound() {
clearInterval(randomSoundInt);
trace("random sound");
tmpSoundRandom = soundArray[Math.floor(Math.random() * soundArray.length)];
trace("sound thing = " + tmpSoundRandom);
randomSoundObject.attachSound(tmpSoundRandom);
if (_root.audioStatus == "on") {
randomSoundObject.setVolume(80);
} else {
randomSoundObject.setVolume(0);
}
randomSoundObject.start();
randomSoundObject.onSoundComplete = function () {
trace("setting sound");
randomSoundInt = setInterval(randomSound, Math.round(Math.random() * 40000) + 3000);
delete randomSoundObject.onSoundComplete;
};
}
function ghostSound() {
clearInterval(_root.randomGhostInt);
_root[_root.ghostArray[Math.floor(Math.random() * _root.ghostArray.length)]].gotoAndPlay(2);
_root.audioFx("spooky", "s");
trace("GHOST");
}
function panAcross(frm1, frm2, end) {
var currFrame = frm1;
_root.createEmptyMovieClip("framer", _root.getNextHighestDepth());
_root.framer.onEnterFrame = function () {
_root.gotoAndStop(currFrame);
if (currFrame == frm2) {
delete this.onEnterFrame;
_root.gotoAndStop(end);
} else if (frm1 > frm2) {
currFrame--;
} else if (frm1 < frm2) {
currFrame++;
}
};
}
function callnarrative(obj, msg) {
trace("YO");
tmpcount = 0;
_root.narrativecopy = _root.detailitem[obj][msg];
_root.narrativetext.removeMovieClip();
_root.attachMovie("narrativetext", "narrativetext", _root.getNextHighestDepth());
_root.narrativetext._x = 100;
_root.narrativetext._y = 95;
_root.narrativetext.onEnterFrame = function () {
if (tmpcount < 48) {
tmpcount++;
} else {
tmpcount = 0;
delete this.onEnterFrame;
_root.narrativetext.removeMovieClip();
}
};
}
function setActive(abj) {
iwdx = 0;
while (iwdx < _root.detailitem.length) {
if (_root.detailitem[iwdx].consoleitem == abj) {
_root.theactiveObject = iwdx;
_root.theactivePanel = abj;
_root.detailitem[iwdx].active = true;
_root.theactiveObjectisset = true;
trace((("theactive is " + _root.theactiveObject) + " and the abj is ") + abj);
if (_root.theactiveObject == 1) {
if (((_root.detailitem[1].isset == true) && (_root.photosTaken < 3)) && (_root.popUpShowing == false)) {
_root.audioFx("cameraCharge", "s");
checkTakePhoto();
}
}
} else {
_root.detailitem[iwdx].active = false;
}
iwdx++;
}
}
function setUnActive(wbj) {
delete _root.btnTakePhoto.onRelease;
delete _root.btnTakePhoto.onRollOver;
delete _root.btnTakePhoto.onRollOut;
delete _root.btnTakePhoto.onPress;
_root.theactiveObjectisset = false;
_root.theactiveObject = "";
_root.theactivePanel = "";
}
function getDetailedReview(obj) {
_root.itemCloseUp.removeMovieClip();
delete _root.btnTakePhoto.onRelease;
delete _root.btnTakePhoto.onRollOver;
delete _root.btnTakePhoto.onRollOut;
delete _root.btnTakePhoto.onPress;
idx = 0;
while (idx < _root.detailitem.length) {
if (_root.detailitem[idx].consoleitem == obj) {
theobj = idx;
trace("theobj is " + theobj);
}
idx++;
}
_root.itemFrame = 1;
if (((theobj == 1) && (_root.detailitem[2].used == true)) && (_root.detailitem[0].used == true)) {
_root.reviewText = _root.detailitem[theobj].moredetail;
} else {
_root.reviewText = _root.detailitem[theobj].introdetail;
}
_root.attachMovie("itemCloseUp", "itemCloseUp", _root.getNextHighestDepth());
_root.itemCloseUp._x = 90;
_root.itemCloseUp._y = 90;
_root.itemCloseUp.itemReview.gotoAndStop(_root.detailitem[theobj].closeupframe);
_root.itemCloseUp.close.onRelease = function () {
_root.popUpShowing = false;
_root.itemCloseUp.removeMovieClip();
checkTakePhoto();
};
_root.popUpShowing = true;
if (_root.detailitem[theobj].itemframe != "") {
_root.itemCloseUp.itemReview.item.gotoAndStop(_root.detailitem[theobj].itemframe);
}
if (_root.detailitem[theobj].click == true) {
_root.itemCloseUp.itemReview.onRelease = function () {
flipItem(theobj);
};
}
if (_root.detailitem[theobj].type == "incomplete") {
trace("incomplete");
if (_root.detailitem[theobj].isset == true) {
trace("set");
_root.itemCloseUp.itemReview.item.gotoAndStop(2);
} else {
trace("not set");
_root.itemCloseUp.itemReview.onRelease = function () {
testrelationstoItem(theobj);
};
}
}
}
function flipItem(tobj) {
trace("HOIH");
if (_root.itemCloseUp.itemReview.item._currentframe == 1) {
_root.itemCloseUp.itemReview.item.gotoAndStop(2);
_root.reviewText = _root.detailitem[tobj].flipdetail;
} else {
_root.itemCloseUp.itemReview.item.gotoAndStop(1);
_root.reviewText = _root.detailitem[tobj].introdetail;
}
}
function testrelationstoItem(themast) {
trace((("themast: " + themast) + " activeobject: ") + _root.theactiveObject);
if (themast == 0) {
if (_root.theactiveObject == 1) {
_root.detailitem[themast].used = true;
_root.theactivePanel = "";
_root.detailitem[_root.theactiveObject].active = false;
_root.theactiveObjectisset = false;
_root.collectionpanel["1"].livestate = "off";
_root.collectionpanel["1"].shader.gotoAndStop(2);
_root.itemCloseUp.itemReview.gotoAndStop(3);
if (_root.detailitem[2].used == true) {
_root.detailitem[_root.theactiveObject].itemframe = 2;
_root.itemCloseUp.itemReview.item.gotoAndStop(2);
_root.reviewText = _root.detailitem[_root.theactiveObject].moredetail;
_root.collectionpanel["2"].gotoAndStop(16);
} else {
_root.detailitem[_root.theactiveObject].itemframe = 4;
_root.itemCloseUp.itemReview.item.gotoAndStop(4);
_root.reviewText = _root.detailitem[themast].moredetail;
_root.collectionpanel["2"].gotoAndStop(14);
_root.itemCloseUp.itemReview.onRelease = function () {
testrelationstoItem(1);
};
}
} else if ((_root.theactiveObject.toString().length > 0) && (_root.theactiveObject != themast)) {
_root.reviewText = "This will do nothing";
}
} else if (themast == 1) {
if (_root.detailitem[themast].isset == false) {
if (!((_root.detailitem[0].used == true) && (_root.detailitem[2].used == true))) {
if ((_root.theactiveObject == 0) || (_root.theactiveObject == 2)) {
if (_root.detailitem[themast].isset == false) {
if (_root.theactiveObject == 0) {
_root.detailitem[_root.theactiveObject].used = true;
_root.theactivePanel = "";
_root.detailitem[_root.theactiveObject].active = false;
_root.theactiveObjectisset = false;
_root.collectionpanel["1"].livestate = "off";
_root.collectionpanel["1"].shader.gotoAndStop(2);
if (_root.detailitem[2].used == true) {
_root.detailitem[themast].itemframe = 2;
_root.itemCloseUp.itemReview.item.gotoAndStop(2);
_root.reviewText = _root.detailitem[themast].moredetail;
_root.collectionpanel["2"].gotoAndStop(16);
} else {
_root.detailitem[themast].itemframe = 4;
_root.itemCloseUp.itemReview.item.gotoAndStop(4);
_root.reviewText = _root.detailitem[_root.theactiveObject].moredetail;
_root.collectionpanel["2"].gotoAndStop(14);
}
} else if (_root.theactiveObject == 2) {
_root.detailitem[_root.theactiveObject].used = true;
_root.theactivePanel = "";
_root.detailitem[_root.theactiveObject].active = false;
_root.theactiveObjectisset = false;
_root.collectionpanel["3"].livestate = "off";
_root.collectionpanel["3"].shader.gotoAndStop(2);
if (_root.detailitem[0].used == true) {
_root.detailitem[themast].itemframe = 2;
_root.itemCloseUp.itemReview.item.gotoAndStop(2);
_root.reviewText = _root.detailitem[themast].moredetail;
_root.collectionpanel["2"].gotoAndStop(16);
} else {
_root.detailitem[themast].itemframe = 3;
_root.itemCloseUp.itemReview.item.gotoAndStop(3);
_root.reviewText = _root.detailitem[_root.theactiveObject].moredetail;
_root.collectionpanel["2"].gotoAndStop(15);
}
}
}
} else if ((_root.theactiveObject.toString().length > 0) && (_root.theactiveObject != themast)) {
_root.reviewText = "This will do nothing";
}
} else if (_root.theactiveObject == 3) {
if (_root.detailitem[_root.theactiveObject].used == false) {
_root.detailitem[_root.theactiveObject].used = true;
_root.theactivePanel = "";
_root.theactiveObjectisset = false;
_root.reviewText = _root.detailitem[_root.theactiveObject].moredetail;
if ((_root.detailitem[4].used == true) && (_root.detailitem[5].used == true)) {
_root.reviewText = "The Camera is now ready to use.";
_root.detailitem[1].isset = true;
}
} else {
_root.reviewText = "This has already been used.";
}
} else if (_root.theactiveObject == 4) {
_root.detailitem[_root.theactiveObject].used = true;
_root.theactivePanel = "";
_root.detailitem[_root.theactiveObject].active = false;
_root.theactiveObjectisset = false;
_root.collectionpanel["5"].livestate = "off";
_root.collectionpanel["5"].shader.gotoAndStop(2);
_root.reviewText = _root.detailitem[_root.theactiveObject].moredetail;
if ((_root.detailitem[3].used == true) && (_root.detailitem[5].used == true)) {
_root.reviewText = "The Camera is now ready to use.";
_root.detailitem[1].isset = true;
}
} else if (_root.theactiveObject == 5) {
_root.detailitem[_root.theactiveObject].used = true;
_root.theactivePanel = "";
_root.detailitem[_root.theactiveObject].active = false;
_root.theactiveObjectisset = false;
_root.collectionpanel["6"].livestate = "off";
_root.collectionpanel["6"].shader.gotoAndStop(2);
_root.reviewText = _root.detailitem[_root.theactiveObject].moredetail;
if ((_root.detailitem[3].used == true) && (_root.detailitem[4].used == true)) {
_root.reviewText = "The Camera is now ready to use.";
_root.detailitem[1].isset = true;
}
} else if ((_root.theactiveObject.toString().length > 0) && (_root.theactiveObject != themast)) {
_root.reviewText = "This will do nothing";
}
} else if ((_root.theactiveObject.toString().length > 0) && (_root.theactiveObject != themast)) {
_root.reviewText = "This will do nothing";
}
} else if (themast == 2) {
if (_root.theactiveObject == 1) {
_root.detailitem[themast].used = true;
_root.theactivePanel = "";
_root.detailitem[_root.theactiveObject].active = false;
_root.theactiveObjectisset = false;
_root.collectionpanel["3"].livestate = "off";
_root.collectionpanel["3"].shader.gotoAndStop(2);
_root.itemCloseUp.itemReview.gotoAndStop(3);
if (_root.detailitem[0].used == true) {
_root.detailitem[_root.theactiveObject].itemframe = 2;
_root.itemCloseUp.itemReview.item.gotoAndStop(2);
_root.reviewText = _root.detailitem[_root.theactiveObject].moredetail;
_root.collectionpanel["2"].gotoAndStop(16);
} else {
_root.detailitem[_root.theactiveObject].itemframe = 3;
_root.itemCloseUp.itemReview.item.gotoAndStop(3);
_root.reviewText = _root.detailitem[themast].moredetail;
_root.collectionpanel["2"].gotoAndStop(15);
_root.itemCloseUp.itemReview.onRelease = function () {
testrelationstoItem(1);
};
}
} else if ((_root.theactiveObject.toString().length > 0) && (_root.theactiveObject != themast)) {
_root.reviewText = "This will do nothing";
}
}
}
function checkTakePhoto() {
trace((((((("checkTakePhoto call >> theactiveoject: " + _root.theactiveObject) + " detailitem[1].isset: ") + _root.detailitem[1].isset) + " photostaken: ") + _root.photosTaken) + " currentframe: ") + _root._currentframe);
_root.btnTakePhoto.removeMovieClip();
_root.attachMovie("btnTakePhoto", "btnTakePhoto", _root.getNextHighestDepth());
_root.btnTakePhoto._x = 470.8;
_root.btnTakePhoto._y = 51.4;
if (_root.theactiveObject == 1) {
if ((_root.detailitem[1].isset == true) && (_root.photosTaken < 3)) {
var _local3 = "n";
if (_root._currentframe == 128) {
if (_root.shot1 == false) {
_local3 = "y";
}
} else if (_root._currentframe == 144) {
if (_root.shot2 == false) {
_local3 = "y";
}
} else if (_root._currentframe == 155) {
if (_root.shot3 == false) {
_local3 = "y";
}
} else if (_root._currentframe == 170) {
if (_root.shot4 == false) {
_local3 = "y";
}
} else if (_root._currentframe == 184) {
if (_root.shot5 == false) {
_local3 = "y";
}
} else if (_root._currentframe == 195) {
if (_root.shot6 == false) {
_local3 = "y";
}
}
if (_local3 == "y") {
_root.btnTakePhoto.onRelease = (_root.btnTakePhoto.onReleaseOutside = function () {
takePhoto();
});
_root.btnTakePhoto.onRollOver = function () {
this.gotoAndStop(2);
};
_root.btnTakePhoto.onRollOut = function () {
this.gotoAndStop(1);
};
_root.btnTakePhoto.onPress = function () {
this.gotoAndStop(3);
};
}
}
}
}
function takePhoto() {
_root.audioFx("cameraSnap", "s");
var _local3 = "";
var _local2 = "";
if (_root._currentframe == 128) {
_root.shot1 = true;
_local2 = 11;
} else if (_root._currentframe == 144) {
_root.shot2 = true;
_local2 = 12;
} else if (_root._currentframe == 155) {
_root.shot3 = true;
_local2 = 13;
} else if (_root._currentframe == 170) {
_root.shot4 = true;
_local2 = 14;
_root.btnMirror.enabled = true;
_root.btnMirror.onRelease = function () {
_root.audioFx("reveal", "s");
panAcross(699, 708, 709);
};
} else if (_root._currentframe == 184) {
_root.shot5 = true;
_local2 = 15;
} else if (_root._currentframe == 195) {
_root.shot6 = true;
_local2 = 16;
}
if (_root.photosTaken == 0) {
_root.detailitem[9].closeupframe = _local2;
_root.detailitem[9].collected = true;
_local3 = 10;
} else if (_root.photosTaken == 1) {
_root.detailitem[10].closeupframe = _local2;
_root.detailitem[10].collected = true;
_local3 = 11;
} else if (_root.photosTaken == 2) {
_root.detailitem[11].closeupframe = _local2;
_root.detailitem[11].collected = true;
_local3 = 12;
}
_root.collectionpanel[_local3].gotoAndStop(11);
_root.photosTaken++;
delete _root.btnTakePhoto.onRelease;
delete _root.btnTakePhoto.onRollOver;
delete _root.btnTakePhoto.onRollOut;
delete _root.btnTakePhoto.onPress;
_root.btnTakePhoto.gotoAndStop(1);
trace("DELETED");
}
function safeEntry(ref) {
if ((_root.entryPoint == "") || (_root.entryPoint == undefined)) {
_root.entryPoint = 1;
}
_root.audioFx("click", "s");
if (_root.entryPoint < 6) {
_root["code" + _root.entryPoint] = ref;
_root.entryPoint++;
if (_root.entryPoint >= 6) {
var _local2 = (((_root.code1.toString() + _root.code2.toString()) + _root.code3.toString()) + _root.code4.toString()) + _root.code5.toString();
_root.entryPoint = 1;
_root.code1 = "?";
_root.code2 = "?";
_root.code3 = "?";
_root.code4 = "?";
_root.code5 = "?";
trace((("combinedKey: " + _local2) + " safecode: ") + _root.safeCode);
if (_local2 == _root.safeCode) {
_root.audioFx("metal", "s");
if (_root.detailitem[7].collected == true) {
panAcross(719, 721, 735);
} else {
panAcross(716, 718, 722);
}
} else {
_root.audioFx("siren", "s");
}
}
}
}
_root.createEmptyMovieClip("audiofx_mc", _root.getNextHighestDepth());
audiofxSoundObject = new Sound("audiofx_mc");
soundArray = new Array();
soundArray.push("heartbeat");
soundArray.push("scream1");
soundArray.push("scream2");
soundArray.push("footsteps");
soundArray.push("rattle");
_root.createEmptyMovieClip("random_mc", _root.getNextHighestDepth());
randomSoundObject = new Sound("random_mc");
randomSoundInt = setInterval(randomSound, Math.round(Math.random() * 40000) + 3000);
ghostArray = new Array();
ghostArray.push("ghostClip1");
ghostArray.push("ghostClip2");
Frame 21
stop();
if (!_root.initialVars) {
_root.safeCode = "26557";
_root.userStartTime = getTimer();
_root.upArrow._alpha = 0;
_root.rightArrow._alpha = 0;
_root.downArrow._alpha = 0;
_root.leftArrow._alpha = 0;
_root.photosTaken = 0;
_root.initialVars = true;
_root.shot1 = false;
_root.shot2 = false;
_root.shot3 = false;
_root.shot4 = false;
_root.shot5 = false;
_root.shot6 = false;
_root.popUpShowing = false;
_root.detailitem = new Array();
_root.detailitem[0] = {desc:"Camera Flash", introdetail:"It's a Camera Part", moredetail:"Youve added it to the Camera.", flipdetail:"", collected:false, used:false, type:"incomplete", click:false, outmessage:"", isset:false, active:false, consoleitem:1, closeupframe:2, iconframe:2, itemframe:""};
_root.detailitem[1] = {desc:"Camera Body", introdetail:"It's a Camera Part", moredetail:"You now have a Camera.", flipdetail:"", collected:false, used:false, type:"incomplete", click:false, outmessage:"That doesn't work.", isset:false, active:false, consoleitem:2, closeupframe:3, iconframe:3, itemframe:1};
_root.detailitem[2] = {desc:"Camera Base", introdetail:"It's a Camera Part", moredetail:"Youve added it to the Camera.", flipdetail:"", collected:false, used:false, type:"incomplete", click:false, outmessage:"This achieves nothing.", isset:false, active:false, consoleitem:3, closeupframe:4, iconframe:4, itemframe:""};
_root.detailitem[3] = {desc:"Film", introdetail:"Its a Camera Film", moredetail:"Youve added it to the Camera.", flipdetail:"There's something written underneath.", collected:false, used:false, type:"interactive", click:true, outmessage:"You can't quite reach that high.", isset:false, active:false, consoleitem:4, closeupframe:5, iconframe:5, itemframe:""};
_root.detailitem[4] = {desc:"Battery1", introdetail:"It's a battery.", moredetail:"Youve added it to the Camera.", flipdetail:"", collected:false, used:false, type:"interactive", click:false, outmessage:"That doesn't take batteries.", isset:false, active:false, consoleitem:5, closeupframe:6, iconframe:6, itemframe:""};
_root.detailitem[5] = {desc:"Battery2", introdetail:"It's a battery.", moredetail:"Youve added it to the Camera.", flipdetail:"", collected:false, used:false, type:"interactive", click:false, outmessage:"That doesn't take batteries.", isset:false, active:false, consoleitem:6, closeupframe:7, iconframe:6, itemframe:""};
_root.detailitem[6] = {desc:"Book", introdetail:"It's a Book.", moredetail:"It's got some sort of diagram.", flipdetail:"It's got some sort of diagram.", collected:false, used:false, type:"interactive", click:true, outmessage:"That doesn't need the power cable.", isset:false, active:false, consoleitem:7, closeupframe:8, iconframe:8, itemframe:""};
_root.detailitem[7] = {desc:"Key", introdetail:"It's a key.", moredetail:"You have unlocked the door.", flipdetail:"", collected:false, used:false, type:"interactive", click:false, outmessage:"The door is locked.", isset:false, active:false, consoleitem:8, closeupframe:9, iconframe:0, itemframe:""};
_root.detailitem[8] = {desc:"Jar", introdetail:"It's a jar.", moredetail:"Something fell to the floor.", flipdetail:"", collected:false, used:false, type:"interactive", click:false, outmessage:"Are you an art collector?", isset:false, active:false, consoleitem:9, closeupframe:10, iconframe:0, itemframe:""};
_root.detailitem[9] = {desc:"Picture 1", introdetail:"", moredetail:"Its a photo that youve taken.", flipdetail:"", collected:false, used:false, type:"reference", click:false, outmessage:"You can't use it for that.", isset:false, active:false, consoleitem:10, closeupframe:11, iconframe:7, itemframe:""};
_root.detailitem[10] = {desc:"Picture 2", introdetail:"", moredetail:"Its a photo that youve taken.", flipdetail:"", collected:false, used:false, type:"reference", click:false, outmessage:"You can't use it for that.", isset:false, active:false, consoleitem:11, closeupframe:12, iconframe:2, itemframe:""};
_root.detailitem[11] = {desc:"Picture 3", introdetail:"", moredetail:"Its a photo that youve taken.", flipdetail:"", collected:false, used:false, type:"reference", click:false, outmessage:"What can you plug into here?", isset:false, active:false, consoleitem:12, closeupframe:13, iconframe:0, itemframe:""};
}
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(100, 94, 86);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(28, 34, 35);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
Frame 35
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(34, 28, 21);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(43, 45, 46);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
Frame 46
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(45, 43, 35);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(54, 60, 61);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
Frame 61
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(60, 54, 46);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(68, 74, 75);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
Frame 75
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(74, 68, 61);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(83, 85, 86);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
Frame 86
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(85, 83, 75);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(94, 100, 21);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
_root.btnLight.onRelease = function () {
panAcross(101, 104, 105);
};
Frame 105
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(104, 101, 86);
};
_root.btnLightSwitch.onRelease = function () {
_root.audioFx("click", "s");
_root.gotoAndStop("lightSwitchLight");
};
Frame 116
stop();
checkTakePhoto();
_root.btnLightSwitch.onRelease = function () {
_root.audioFx("click", "s");
_root.gotoAndStop("lightSwitchDark");
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(213, 210, 195);
};
Frame 128
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(209, 203, 195);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(137, 143, 144);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
_root.btnUpArrow.onRelease = function () {
_root.upArrow._alpha = 0;
panAcross(214, 216, 217);
};
_root.btnUpArrow.onRollOver = function () {
_root.upArrow._alpha = 100;
};
_root.btnUpArrow.onRollOut = function () {
_root.upArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(227, 229, 230);
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDoor.onRelease = function () {
panAcross(264, 266, 267);
};
Frame 144
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(143, 137, 128);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(152, 154, 155);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
_root.btnPolaroid.onRelease = function () {
panAcross(411, 413, 414);
};
_root.btnDrawers.onRelease = function () {
panAcross(426, 428, 429);
};
_root.btnSideShelf.onRelease = function () {
if (_root.detailitem[3].collected == true) {
panAcross(597, 599, 612);
} else {
panAcross(597, 599, 600);
}
};
Frame 155
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(154, 152, 144);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(163, 169, 170);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
_root.btnShelves.onRelease = function () {
panAcross(646, 648, 649);
};
Frame 170
stop();
checkTakePhoto();
randomGhostInt = setInterval(ghostSound, Math.round(Math.random() * 40000) + 3000);
_root.btnLeftArrow.onRelease = function () {
clearInterval(_root.randomGhostInt);
_root.leftArrow._alpha = 0;
panAcross(169, 163, 155);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
clearInterval(_root.randomGhostInt);
_root.rightArrow._alpha = 0;
panAcross(177, 183, 184);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
_root.btnUpArrow.onRelease = function () {
clearInterval(_root.randomGhostInt);
_root.upArrow._alpha = 0;
panAcross(239, 241, 242);
};
_root.btnUpArrow.onRollOver = function () {
_root.upArrow._alpha = 100;
};
_root.btnUpArrow.onRollOut = function () {
_root.upArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
clearInterval(_root.randomGhostInt);
_root.downArrow._alpha = 0;
panAcross(252, 254, 255);
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnMirror.enabled = false;
delete _root.btnMirror.onRelease;
if ((_root.shot4 == true) || (_root.photosTaken > 2)) {
_root.btnMirror.enabled = true;
_root.btnMirror.onRelease = function () {
clearInterval(_root.randomGhostInt);
_root.audioFx("reveal", "s");
panAcross(699, 708, 709);
};
}
Frame 184
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(183, 177, 170);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(192, 194, 195);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
_root.btnSink.onRelease = function () {
panAcross(315, 317, 318);
};
_root.btnTrays.onRelease = function () {
panAcross(327, 329, 330);
};
_root.btnLargeDrawers.onRelease = function () {
panAcross(479, 481, 482);
};
Frame 195
stop();
checkTakePhoto();
_root.btnLeftArrow.onRelease = function () {
_root.leftArrow._alpha = 0;
panAcross(194, 192, 184);
};
_root.btnLeftArrow.onRollOver = function () {
_root.leftArrow._alpha = 100;
};
_root.btnLeftArrow.onRollOut = function () {
_root.leftArrow._alpha = 0;
};
_root.btnRightArrow.onRelease = function () {
_root.rightArrow._alpha = 0;
panAcross(203, 209, 128);
};
_root.btnRightArrow.onRollOver = function () {
_root.rightArrow._alpha = 100;
};
_root.btnRightArrow.onRollOut = function () {
_root.rightArrow._alpha = 0;
};
_root.btnLight.onRelease = function () {
panAcross(210, 213, 116);
};
_root.btnBin.onRelease = function () {
panAcross(274, 276, 277);
};
_root.btnPinBoard.onRelease = function () {
panAcross(584, 586, 587);
};
Frame 217
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(216, 214, 128);
};
Frame 230
stop();
checkTakePhoto();
_root.btnUpArrow.onRelease = function () {
_root.upArrow._alpha = 0;
panAcross(229, 227, 128);
};
_root.btnUpArrow.onRollOver = function () {
_root.upArrow._alpha = 100;
};
_root.btnUpArrow.onRollOut = function () {
_root.upArrow._alpha = 0;
};
Frame 242
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(241, 239, 170);
};
Frame 255
stop();
checkTakePhoto();
_root.btnUpArrow.onRelease = function () {
_root.upArrow._alpha = 0;
panAcross(254, 252, 170);
};
_root.btnUpArrow.onRollOver = function () {
_root.upArrow._alpha = 100;
};
_root.btnUpArrow.onRollOut = function () {
_root.upArrow._alpha = 0;
};
_root.btnCorner.onRelease = function () {
panAcross(371, 373, 374);
};
Frame 267
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(266, 264, 128);
};
_root.btnHandle.onRelease = function () {
if (_root.detailitem[7].used == true) {
_root.audioFx("creak", "s");
_root.narrativetext.removeMovieClip();
_root.gotoAndStop("escape");
_root.userEndTime = getTimer();
trace("you've escaped!");
} else {
_root.audioFx("rattle", "s");
_root.callnarrative(7, "outmessage");
}
};
_root.btnLock.onRelease = function () {
if (_root.detailitem[7].used == false) {
if ((_root.detailitem[7].collected == true) && (_root.theactiveObject == 7)) {
_root.audioFx("click", "s");
_root.doorstatus = "unlocked";
_root.callnarrative(7, "moredetail");
_root.detailitem[7].used = true;
_root.theactivePanel = "";
_root.detailitem[7].active = false;
_root.theactiveObjectisset = false;
_root.collectionpanel[8].livestate = "off";
_root.collectionpanel[8].shader.gotoAndStop(9);
} else {
_root.callnarrative(7, "outmessage");
}
}
};
Frame 277
stop();
checkTakePhoto();
_root.btnBin.onRelease = function () {
if (_root.detailitem[1].collected == true) {
panAcross(286, 288, 302);
} else {
panAcross(283, 285, 289);
}
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(276, 274, 195);
};
Frame 289
stop();
checkTakePhoto();
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[1].introdetail;
_root.objClose.gotoAndStop(2);
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(285, 283, 277);
};
Frame 302
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(288, 286, 277);
};
Frame 318
stop();
checkTakePhoto();
_root.audioFx("sink", "l");
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(317, 315, 184);
_root.audiofxSoundObject.stop();
};
Frame 330
stop();
checkTakePhoto();
_root.btnTray1.onRelease = function () {
_root.gotoAndStop("leftTray");
};
_root.btnTray2.onRelease = function () {
if (_root.detailitem[4].collected == true) {
_root.gotoAndStop("midTrayNoObj");
} else {
_root.gotoAndStop("midTrayObj");
}
};
_root.btnTray3.onRelease = function () {
_root.gotoAndStop("rightTray");
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(329, 327, 184);
};
Frame 338
stop();
checkTakePhoto();
_root.btnTray.onRelease = function () {
_root.audioFx("click", "s");
_root.gotoAndStop("faceTrays");
};
Frame 344
stop();
checkTakePhoto();
_root.btnTray.onRelease = function () {
_root.audioFx("click", "s");
_root.gotoAndStop("faceTrays");
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[4].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 353
stop();
checkTakePhoto();
_root.btnTray.onRelease = function () {
_root.audioFx("click", "s");
_root.gotoAndStop("faceTrays");
};
Frame 363
stop();
checkTakePhoto();
_root.btnTray.onRelease = function () {
_root.audioFx("click", "s");
_root.gotoAndStop("faceTrays");
};
Frame 374
stop();
checkTakePhoto();
_root.btnCorner.onRelease = function () {
if (_root.detailitem[0].collected == true) {
panAcross(392, 394, 626);
} else {
panAcross(392, 394, 395);
}
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(373, 371, 255);
};
Frame 395
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(394, 392, 374);
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[0].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 414
stop();
checkTakePhoto();
_root.btnDrawers.onRelease = function () {
panAcross(423, 425, 429);
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(413, 411, 144);
};
Frame 429
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(428, 426, 144);
};
_root.btnTopOpen.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("topDrawerOpen");
};
_root.btnBotOpen.onRelease = function () {
_root.audioFx("drawer", "s");
if (_root.detailitem[2].collected == true) {
_root.gotoAndStop("botDrawerOpenNoObj");
} else {
_root.gotoAndStop("botDrawerOpenObj");
}
};
Frame 438
stop();
checkTakePhoto();
_root.btnOpen.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("faceDrawers");
};
Frame 450
stop();
checkTakePhoto();
_root.btnOpen.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("faceDrawers");
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[2].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 463
stop();
checkTakePhoto();
_root.btnOpen.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("faceDrawers");
};
Frame 482
stop();
checkTakePhoto();
_root.btnTopDraw.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("topLargeDrawerOpen");
};
_root.btnBotDraw.onRelease = function () {
_root.audioFx("drawer", "s");
if (_root.detailitem[8].collected == true) {
_root.gotoAndStop("bottomLargeDrawerOpenNoObj");
} else {
_root.gotoAndStop("bottomLargeDrawerOpenObj");
}
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(481, 479, 184);
};
Frame 494
stop();
checkTakePhoto();
_root.btnTopDraw.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("faceLargeDrawers");
};
Frame 509
stop();
checkTakePhoto();
_root.btnBotDraw.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("faceLargeDrawers");
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[8].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 528
stop();
checkTakePhoto();
_root.btnBotDraw.onRelease = function () {
_root.audioFx("drawer", "s");
_root.gotoAndStop("faceLargeDrawers");
};
Frame 555
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(551, 549, 587);
};
Frame 569
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(554, 552, 587);
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[5].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 587
stop();
checkTakePhoto();
_root.btnBattery.onRelease = function () {
if (_root.detailitem[5].collected == true) {
panAcross(549, 551, 555);
} else {
panAcross(552, 554, 569);
}
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(586, 584, 195);
};
Frame 600
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(599, 597, 144);
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[3].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 612
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(599, 597, 144);
};
Frame 626
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(394, 392, 374);
};
Frame 649
stop();
checkTakePhoto();
_root.btnShelves.onRelease = function () {
panAcross(660, 662, 663);
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(648, 646, 155);
};
Frame 663
stop();
checkTakePhoto();
_root.btnObj.onRelease = function () {
if (_root.detailitem[6].collected == true) {
panAcross(675, 677, 688);
} else {
panAcross(675, 677, 678);
}
};
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(662, 660, 649);
};
Frame 678
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(677, 675, 663);
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[6].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 688
stop();
checkTakePhoto();
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(677, 675, 663);
};
Frame 709
stop();
checkTakePhoto();
_root.entryPoint = 1;
_root.code1 = "?";
_root.code2 = "?";
_root.code3 = "?";
_root.code4 = "?";
_root.code5 = "?";
var i = 1;
while (i < 10) {
_root["btnPanel" + i].handle = i;
_root["btnPanel" + i].onRelease = function () {
safeEntry(this.handle);
};
i++;
}
_root.btnDownArrow.onRollOver = function () {
_root.downArrow._alpha = 100;
};
_root.btnDownArrow.onRollOut = function () {
_root.downArrow._alpha = 0;
};
_root.btnDownArrow.onRelease = function () {
_root.downArrow._alpha = 0;
panAcross(708, 699, 170);
};
Frame 722
stop();
checkTakePhoto();
_root.btnSafeDoor.onRelease = function () {
_root.audioFx("metal", "s");
panAcross(718, 716, 709);
};
_root.btnObj.onRelease = function () {
_root.theDesc = _root.detailitem[7].introdetail;
_root.objClose.gotoAndStop(2);
};
Frame 735
stop();
checkTakePhoto();
_root.btnSafeDoor.onRelease = function () {
_root.audioFx("metal", "s");
panAcross(721, 719, 709);
};
Frame 750
stop();
checkTakePhoto();
Frame 761
function checkAddress(email) {
var _local3 = email.indexOf("@");
var _local6 = email.lastIndexOf("@");
var _local4 = email.length;
if (((_local3 != _local6) || (_local3 < 1)) || (_local3 > (_local4 - 4))) {
return(false);
}
var _local5 = email.lastIndexOf(".");
if (((_local4 - _local5) < 3) || ((_local4 - _local5) > 5)) {
return(false);
}
var _local1 = " ~!#$%^&*()+|=`[]{};:<>,?/\\\"'\r\n";
i = 0;
while (i < _local1.length) {
if (email.indexOf(_local1.substr(i, 1)) >= 0) {
return(false);
}
i++;
}
return(true);
}
stop();
clearInterval(_root.randomGhostInt);
clearInterval(_root.randomSoundInt);
stopAllSounds();
_root.thePath = "";
_root.terms = false;
_root.signedup = false;
_root.shuttersignedup = false;
_root.sender = new LoadVars();
_root.terms_but.onRelease = function () {
getURL ("javascript:open_window('terms.html',500,500);");
};
_root.check_terms.onRelease = function () {
if (_root.terms) {
this.symbol._alpha = 0;
_root.terms = false;
} else {
this.symbol._alpha = 100;
_root.terms = true;
}
};
_root.newsletter_but.onRelease = function () {
if (_root.signedup) {
this.symbol._alpha = 0;
_root.signedup = false;
} else {
this.symbol._alpha = 100;
_root.signedup = true;
}
};
_root.shutter_newsletter_but.onRelease = function () {
if (_root.shuttersignedup) {
this.symbol._alpha = 0;
_root.shuttersignedup = false;
} else {
this.symbol._alpha = 100;
_root.shuttersignedup = true;
}
};
_root.subBtn.onRelease = function () {
_root.sender.gameTime = _root.userEndTime - _root.userStartTime;
if (_root.sender.gameTime < 0) {
_root.cheat = true;
}
_root.sender.objects_string = "";
ocdx = 0;
while (ocdx < _root.detailitem.length) {
if (_root.detailitem[ocdx].collected == true) {
_root.sender.objects_string = _root.sender.objects_string + (ocdx + ",");
}
ocdx++;
}
tmp_objstr = _root.sender.objects_string;
tmp_objarr = tmp_objstr.split(",");
if (tmp_objarr.length < 8) {
_root.cheat = true;
}
if (_root.uid != undefined) {
_root.sender.uid = _root.uid;
}
_root.attachMovie("error_msg", "error_msg", 20);
_root.error_msg._x = 112;
_root.error_msg._y = 65;
_root.error_copy = "Accessing Database...";
if (_root.signedup) {
_root.sender.str_maillist = "y";
}
if (_root.shuttersignedup) {
_root.sender.str_shutter_maillist = "y";
}
if (((_root.sender.name_var.length > 0) && (checkAddress(_root.sender.email_var))) && (_root.terms)) {
if (_root.cheat == true) {
_root.gotoAndStop("cheat");
} else {
_root.sender.sendAndLoad(_root.thePath + "submit.php", _root.sender);
_root.sender.onLoad = function () {
trace("wibble=" + _root.sender.wibble);
if (_root.sender.wibble == "y") {
_root.error_msg.removeMovieClip();
_root.winmsg = _root.sender.winmsg;
_root.myid = _root.sender.myid;
if (_root.cheat == true) {
_root.gotoAndStop("cheat");
} else {
_root.gotoAndStop("score");
}
} else if (_root.sender.wibble == "n") {
_root.error_msg.removeMovieClip();
_root.error_copy = "There has been a problem with the database. Please try again.";
_root.attachMovie("error_msg", "error_msg", 20);
_root.error_msg._x = 112;
_root.error_msg._y = 65;
_root.error_msg.ok_button.onRelease = function () {
_root.error_msg.removeMovieClip();
};
}
delete this.onLoad;
};
}
} else {
_root.error_copy = "";
if (!terms) {
_root.error_copy = _root.error_copy + "You must agree to our Terms and Conditions to take part. ";
} else {
_root.error_copy = _root.error_copy + "Please make sure you have entered a user name and a valid email address.";
}
_root.error_msg.ok_button.onRelease = function () {
_root.error_msg.removeMovieClip();
};
}
};
Frame 770
stop();
_root.btn_leaderboard.onRelease = function () {
getURL ("leaderboard.php", "_BLANK");
};
_root.btn_refer.onRelease = function () {
_root.gotoAndStop("refer");
};
Frame 776
stop();
_root.thePath = "";
_root.endSubmit.onRelease = function () {
_root.gotoAndStop("endframe");
};
_root.referSubmit.onRelease = function () {
_root.attachMovie("error_msg", "error_msg", 20);
_root.error_msg._x = 112;
_root.error_msg._y = 65;
_root.error_copy = "Accessing Database...";
if (checkAddress(_root.sender.friendemail_var)) {
_root.sender.myid = _root.myid;
_root.sender.wibble == "";
_root.sender.sendAndLoad(_root.thePath + "referral.php", _root.sender);
_root.sender.onLoad = function () {
trace("hello");
if (_root.sender.wibble == "y") {
trace("move on");
_root.error_copy = "";
e_txt.text = "";
f_txt.text = "";
_root.sender.friendemail_var = "";
_root.sender.friendname_var = "";
_root.error_copy = _root.error_copy + "Thanks for entering. You can enter as many friends as you want.";
_root.error_msg.ok_button.onRelease = function () {
_root.error_msg.removeMovieClip();
};
} else if (_root.sender.wibble == "n") {
trace("error");
_root.error_copy = "";
_root.error_copy = _root.error_copy + ("There has been a problem with the database. Please try again. >" + _root.sender.traced);
_root.error_msg.ok_button.onRelease = function () {
_root.error_msg.removeMovieClip();
};
}
delete this.onLoad;
};
} else {
_root.error_copy = "";
_root.error_copy = _root.error_copy + "Please make sure you have entered a user name and a valid email address.";
_root.error_msg.ok_button.onRelease = function () {
_root.error_msg.removeMovieClip();
};
}
};
Frame 781
_root.btn_leaderboard.onRelease = function () {
getURL ("leaderboard.php", "_BLANK");
};
_root.btn_refer.onRelease = function () {
_root.gotoAndStop("refer");
};
Frame 788
_root.btn_leaderboard.onRelease = function () {
getURL ("leaderboard.php", "_BLANK");
};
stop();
Frame 794
stop();
clearInterval(_root.randomGhostInt);
clearInterval(_root.randomSoundInt);
stopAllSounds();
_root.btnPlayAgain.onRelease = function () {
getURL ("http://www.shutter-themovie.co.uk/game/ext.php", "_blank");
};
Symbol 23 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 48 MovieClip Frame 3
stop();
Symbol 48 MovieClip Frame 4
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 3
stop();
Symbol 79 MovieClip Frame 4
stop();
Symbol 79 MovieClip Frame 5
stop();
Symbol 79 MovieClip Frame 6
stop();
Symbol 79 MovieClip Frame 7
stop();
Symbol 79 MovieClip Frame 8
stop();
Symbol 79 MovieClip Frame 9
stop();
Symbol 79 MovieClip Frame 10
stop();
Symbol 79 MovieClip Frame 11
stop();
Symbol 79 MovieClip Frame 12
stop();
Symbol 79 MovieClip Frame 13
stop();
Symbol 79 MovieClip Frame 14
stop();
Symbol 79 MovieClip Frame 15
stop();
Symbol 79 MovieClip Frame 16
stop();
Symbol 89 MovieClip [btnTakePhoto] Frame 1
stop();
Symbol 89 MovieClip [btnTakePhoto] Frame 2
stop();
Symbol 89 MovieClip [btnTakePhoto] Frame 3
stop();
Symbol 195 MovieClip Frame 110
stop();
_root.btnSkipIntro.swapDepths(9999);
_root.btnSkipIntro.removeMovieClip();
btnPlay.onRelease = function () {
_root.gotoAndStop("narrativeIntro");
};
Symbol 203 MovieClip Frame 145
_root.gotoAndStop("wall1Dark");
Symbol 217 Button
on (release) {
if (_root.theactiveObjectisset == true) {
_root.getDetailedReview(_root.theactivePanel);
}
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 222 Button
on (release) {
this.tmpme = this._target;
this.tmparray = this.tmpme.split("/");
this.me = this.tmparray.pop();
trace("I am" + this.me);
if (this.livestate != "off") {
if (_root.theactivePanel == this.me) {
_root.setUnActive(this.me);
} else {
_root.setActive(this.me);
}
}
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();
Instance of Symbol 220 MovieClip "hilite" in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
this.tmpme = _parent._target;
this.tmparray = this.tmpme.split("/");
this.me = this.tmparray.pop();
if (this.me == _root.theactivePanel) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 85
gotoAndStop (1);
Symbol 378 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 85
gotoAndStop (1);
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[1].collected = true;
_root.collectionpanel["2"].gotoAndStop(3);
_root.gotoAndStop("binCloseupNoObj");
};
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[4].collected = true;
_root.collectionpanel["5"].gotoAndStop(6);
_root.gotoAndStop("midTrayNoObj");
};
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[0].collected = true;
_root.collectionpanel["1"].gotoAndStop(2);
_root.gotoAndStop("faceW3WallCornerLightNoObj");
};
Symbol 558 MovieClip Frame 1
stop();
Symbol 558 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[2].collected = true;
_root.collectionpanel["3"].gotoAndStop(4);
_root.gotoAndStop("botDrawerOpenNoObj");
};
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[8].collected = true;
_root.collectionpanel["9"].gotoAndStop(10);
_root.gotoAndStop("bottomLargeDrawerOpenNoObj");
};
Symbol 594 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[5].collected = true;
_root.collectionpanel["6"].gotoAndStop(7);
_root.gotoAndStop("faceTopBoardNoObj");
};
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[3].collected = true;
_root.collectionpanel["4"].gotoAndStop(5);
_root.gotoAndStop("faceSideShelfNoObj");
};
Symbol 642 MovieClip Frame 1
stop();
Symbol 642 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[6].collected = true;
_root.collectionpanel["7"].gotoAndStop(8);
_root.gotoAndStop("faceShelfNoObj");
};
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 2
objCollect.onRelease = function () {
_root.detailitem[7].collected = true;
_root.collectionpanel["8"].gotoAndStop(9);
_root.gotoAndStop("faceSafeOpenNoObj");
};
Symbol 733 MovieClip Frame 58
_root.gotoAndStop("standAloneScreen");