Frame 1
MochiAd.showPreGameAd({id:"f06ccfe565c713bd", res:"650x400"});
Frame 71
stop();
Frame 72
gotoAndPlay (144);
Frame 143
stop();
var infotext;
infotext = "This is kind of a strange room.";
var egglocated;
var candlelocated;
var bowlerlocated;
var applelocated;
var glasslocated;
var zippolocated;
var dreamloglocated;
var malletlocated;
var dreamloginstand;
var appleinpainting;
var rippedpage2located;
var closetkeylocated;
var doorkeylocated;
var eggkeylocated;
var egginpainting;
var boxlocked;
boxlocked = "Locked";
var closetdoorlocked;
closetdoorlocked = "Locked";
egginpainting = "Not in painting";
var shoeinpainting;
shoeinpainting = "Not in painting";
var bowlerinpainting;
bowlerinpainting = "Not in painting";
var candleinpainting;
candleinpainting = "Not in painting";
var glassinpainting;
glassinpainting = "Not in painting";
var malletinpainting;
malletinpainting = "Not in painting";
malletlocated = "Hidden";
var candleflameinpainting;
candleflameinpainting = "Not in painting";
_root.inv_mc.mallet2_mc._visible = false;
_root.inv_mc.rippedpage22_mc._visible = false;
rippedpage2located = "Hidden";
_root.inv_mc.rippedpage32_mc._visible = false;
rippedpage3located = "Hidden";
appleinpainting = "Not in painting";
_root.inv_mc.egg2_mc._visible = false;
egglocated = "Hidden";
_root.inv_mc.candle2_mc._visible = false;
candlelocated = "Hidden";
_root.inv_mc.bowler2_mc._visible = false;
bowlerlocated = "Hidden";
_root.inv_mc.apple2_mc._visible = false;
applelocated = "Hidden";
_root.inv_mc.glass2_mc._visible = false;
glasslocated = "Hidden";
_root.inv_mc.deskkey2_mc._visible = false;
deskkeylocated = "Hidden";
_root.inv_mc.zippo2_mc._visible = false;
zippolocated = "Hidden";
_root.inv_mc.dreamlog2_mc._visible = false;
dreamloglocated = "Hidden";
var dreamloginstand;
var plierslocated;
plierslocated = "Hidden";
_root.inv_mc.pliers2_mc._visible = false;
_root.inv_mc.closetkey2_mc._visible = false;
closetkeylocated = "Hidden";
_root.inv_mc.shoe2_mc._visible = false;
shoelocated = "Hidden";
_root.inv_mc.eggkey2_mc._visible = false;
eggkeylocated = "Hidden";
_root.inv_mc.doorkey2_mc._visible = false;
doorkeylocated = "Hidden";
var glassbroken;
glassbroken = "Not broken";
dreamloginstand = "Not in stand";
var candlelit;
candlelit = "Not lit";
_root.inv_mc.candleflame_mc._visible = false;
var glasscleaned;
glasscleaned = "Not cleaned";
var blindsopencount;
blindsopencount = 0;
var sculpturecode1;
var sculpturecode2;
var sculpturecode3;
sculpturecode1 = 0;
sculpturecode2 = 0;
sculpturecode3 = 0;
var eggintarget;
eggintarget = "Not in target";
var dooropened;
dooropened = "Not open";
if (dooropened == "Open") {
gotoAndPlay ("final scene");
}
var paintingrevealplayed;
paintingrevealplayed = "Not played";
Instance of Symbol 520 MovieClip "rooms_mc" in Frame 143
onClipEvent (load) {
var code1;
var code2;
var code3;
code3 = Math.floor((Math.random() * 5) + 1);
code2 = Math.floor((Math.random() * 5) + 1);
code1 = Math.floor((Math.random() * 5) + 1);
}
Frame 218
stop();
Symbol 627 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.1");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
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 _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.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 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_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 _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
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.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_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 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();
}};
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_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 = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
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) {
_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 showTimedAd(options) {
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
showPreGameAd(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 _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
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);
}
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++;
}
}
return(_local4);
}
}
Symbol 46 Button
on (release) {
gotoAndPlay (73);
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 35
stop();
Symbol 68 MovieClip Frame 1
stop();
Instance of Symbol 66 MovieClip "zippo1_mc" in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("nozippo");
_root.inv_mc.zippo2_mc._visible = true;
_root.zippolocated = "Found";
};
if (_root.zippolocated == "Found") {
gotoAndStop ("nozippo");
}
}
Symbol 68 MovieClip Frame 10
_root.infotext = "A Zippo lighter.";
Symbol 68 MovieClip Frame 45
stop();
Instance of Symbol 66 MovieClip "zippo1_mc" in Symbol 68 MovieClip Frame 45
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("nozippo");
_root.inv_mc.zippo2_mc._visible = true;
_root.zippolocated = "Found";
};
if (_root.zippolocated == "Found") {
gotoAndStop ("nozippo");
}
}
Symbol 71 MovieClip Frame 1
deskkey2_mc.onEnterFrame = function () {
if (deskkey2_mc.hitTest(deskkeyholetrigger_mc)) {
gotoAndPlay ("drawer_opens");
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
}
};
Instance of Symbol 70 MovieClip "deskkeyholetrigger_mc" in Symbol 71 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "It's locked";
};
}
Symbol 94 MovieClip Frame 1
stop();
var mouse_mc;
mouse_mc.onPress = function () {
gotoAndPlay ("mouse_move");
_root.infotext = "Maybe it's sleeping";
};
Symbol 94 MovieClip Frame 30
_root.infotext = "This computer doesn't seem to be working";
stop();
Symbol 106 MovieClip Frame 1
code1_txt = _root.rooms_mc.code1;
code2_txt = _root.rooms_mc.code2;
code3_txt = _root.rooms_mc.code3;
Symbol 129 MovieClip Frame 1
stop();
var snowtrigger_btn;
snowtrigger_btn.onPress = function () {
gotoAndPlay ("snow_move");
_root.infotext = "How pretty";
};
Symbol 129 MovieClip Frame 45
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 148 Button
on (rollOver) {
_root.infotext = "A stained glass box. There's something inside.";
}
on (press) {
_root.infotext = "It's shut tightly with wire.";
}
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 143 MovieClip "mallet1_mc" in Symbol 151 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.boxlocked == "Unlocked") {
this.onPress = function () {
gotoAndStop ("nomallet");
_root.inv_mc.mallet2_mc._visible = true;
_root.malletlocated = "Found";
};
}
if (_root.malletlocated == "Found") {
gotoAndStop ("nomallet");
}
}
Symbol 151 MovieClip Frame 2
stop();
var boxtriggerclose_btn;
boxtriggerclose_btn.onPress = function () {
gotoAndPlay ("box_close");
};
Instance of Symbol 143 MovieClip "mallet1_mc" in Symbol 151 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.boxlocked == "Unlocked") {
this.onPress = function () {
gotoAndStop ("nomallet");
_root.inv_mc.mallet2_mc._visible = true;
_root.malletlocated = "Found";
trace("mallet found");
};
}
if (_root.malletlocated == "Found") {
gotoAndStop ("nomallet");
}
}
Symbol 151 MovieClip Frame 3
stop();
Symbol 198 MovieClip Frame 1
stop();
this.onPress = function () {
gotoAndPlay ("book opens");
};
this.onRollOver = function () {
_root.infotext = "This book looks interesting";
};
Instance of Symbol 189 MovieClip in Symbol 198 MovieClip Frame 59
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A page has been torn out.";
};
}
Symbol 198 MovieClip Frame 60
stop();
Instance of Symbol 189 MovieClip "rippepage1_mc" in Symbol 198 MovieClip Frame 60
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "The page has been torn out.";
};
}
Symbol 201 Button
on (release) {
gotoAndPlay ("bottom_close");
}
Symbol 202 Button
on (release) {
gotoAndPlay ("top_close");
}
Symbol 205 MovieClip Frame 1
stop();
var bookcasetop_btn;
var bookcasebottom_btn;
var bookcasebottom2_btn;
var bookcasetop2_btn;
var room1_btn;
room1_btn.onPress = function () {
gotoAndPlay ("roomone");
trace("goto room one");
};
bookcasetop_btn.onPress = function () {
gotoAndStop ("top_close");
_root.infotext = "Let's take a closer look";
};
bookcasebottom_btn.onPress = function () {
gotoAndStop ("bottom_close");
};
Instance of Symbol 108 MovieClip "fishtank_mc" in Symbol 205 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "It's a fishtank. There's a weird object inside.";
};
}
Instance of Symbol 136 MovieClip "bookrow_mc" in Symbol 205 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "Most of these books are about art";
};
}
Instance of Symbol 155 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A small plaque. I think that's French.";
};
}
Symbol 205 MovieClip Frame 10
stop();
var bookcasetop_btn;
var bookcasebottom_btn;
var bookcasebottom2_btn;
var bookcasetop2_btn;
bookcasetop_btn.onPress = function () {
gotoAndStop ("top_close");
};
bookcasebottom2_btn.onPress = function () {
gotoAndStop ("bottom_close");
trace("bookcase bottom pressed");
};
bookcasebottom_btn.onPress = function () {
gotoAndStop ("bottom_close");
};
bookcasetop2_btn.onPress = function () {
gotoAndStop ("top_close");
};
Instance of Symbol 136 MovieClip "bookrow_mc" in Symbol 205 MovieClip Frame 10
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "Wow, even more books.";
};
}
Symbol 205 MovieClip Frame 20
stop();
var bookcasetop_btn;
var bookcasebottom_btn;
var bookcasebottom2_btn;
var bookcasetop2_btn;
var bookcasefull_btn;
var woodenbox_mc;
bookcasefull_btn.onPress = function () {
gotoAndStop ("case_full");
};
bookcasetop_btn.onPress = function () {
gotoAndStop ("top_close");
};
bookcasebottom_btn.onPress = function () {
gotoAndStop ("bottom_close");
};
bookcasebottom2_btn.onPress = function () {
gotoAndStop ("bottom_close");
};
bookcasetop2_btn.onPress = function () {
gotoAndStop ("top_close");
};
snowglobe_mc.onRollOver = function () {
_root.infotext = "A snow globe";
};
Instance of Symbol 140 MovieClip in Symbol 205 MovieClip Frame 20
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A lot of books.";
};
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 2
stop();
Symbol 217 Button
on (rollOver) {
_root.infotext = "A small plaque. It says 'l'Acacia'";
}
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
stop();
Instance of Symbol 212 MovieClip "eggkey1_mc" in Symbol 221 MovieClip Frame 2
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noeggkey");
_root.inv_mc.eggkey2_mc._visible = true;
_root.eggkeylocated = "Found";
};
if (_root.eggkeylocated == "Found") {
gotoAndStop ("noeggkey");
}
}
Instance of Symbol 212 MovieClip "eggkey1_mc" in Symbol 221 MovieClip Frame 2
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noeggkey");
_root.inv_mc.eggkey2_mc._visible = true;
_root.eggkeylocated = "Found";
};
if (_root.eggkeylocated == "Found") {
gotoAndStop ("noeggkey");
}
}
Symbol 239 Button
on (rollOver) {
_root.infotext = "There's an weird-looking clock on the wall.";
}
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 20
stop();
_root.infotext = "It melted.";
Instance of Symbol 212 MovieClip "eggkey1_mc" in Symbol 244 MovieClip Frame 20
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noeggkey");
_root.inv_mc.eggkey2_mc._visible = true;
_root.eggkeylocated = "Found";
};
if (_root.eggkeylocated == "Found") {
gotoAndStop ("noeggkey");
}
}
Symbol 246 Button
on (rollOver) {
_root.infotext = "A computer.";
}
Symbol 249 Button
on (release) {
gotoAndStop ("room2");
}
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 136 MovieClip "bookrow_mc" in Symbol 255 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "Most of these books are about art";
};
}
Instance of Symbol 108 MovieClip "fishtank_mc" in Symbol 255 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "It's a fishtank. There's a weird object inside.";
};
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 2
_root.infotext = "There's something in the painting";
stop();
Instance of Symbol 265 MovieClip "bowler1_mc" in Symbol 268 MovieClip Frame 2
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("nobowler");
_root.inv_mc.bowler2_mc._visible = true;
_root.bowlerlocated = "Found";
};
if (_root.bowlerlocated == "Found") {
gotoAndStop ("nobowler");
}
}
Symbol 268 MovieClip Frame 10
stop();
Symbol 268 MovieClip Frame 20
stop();
Symbol 273 Button
on (rollOver) {
_root.infotext = "A painting with a large hole in it.";
}
Symbol 293 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 1
stop();
Instance of Symbol 293 MovieClip "egg1_mc" in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
if (_root.glasscleaned == "Cleaned") {
this.onPress = function () {
gotoAndStop ("noegg");
_root.inv_mc.egg2_mc._visible = true;
_root.egglocated = "Found";
};
}
if (_root.egglocated == "Found") {
gotoAndStop ("noegg");
}
}
Instance of Symbol 296 MovieClip "glassboxtrigger_mc" in Symbol 331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.inv_mc.mallet2_mc)) {
_root.rooms_mc.glasstable_mc.play();
_root.inv_mc.mallet2_mc.stopDrag();
_root.inv_mc.mallet2_mc._x = -2.3;
_root.inv_mc.mallet2_mc._y = -224.4;
}
}
Symbol 331 MovieClip Frame 50
_root.glassbroken = "Broken";
_root.infotext = "There's an egg inside.";
stop();
Instance of Symbol 293 MovieClip "egg1_mc" in Symbol 331 MovieClip Frame 50
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noegg");
_root.inv_mc.egg2_mc._visible = true;
_root.egglocated = "Found";
};
if (_root.egglocated == "Found") {
gotoAndStop ("noegg");
}
}
Symbol 340 Button
on (rollOver) {
_root.infotext = "There's some kind of opening";
}
on (release) {
if (((_root.sculpturecode1 == _root.rooms_mc.code1) & (_root.sculpturecode2 == _root.rooms_mc.code2)) & (_root.sculpturecode3 == _root.rooms_mc.code3)) {
gotoAndPlay ("draweropens");
}
}
Symbol 342 Button
on (rollOver) {
_root.infotext = "I think it's a Hans Arp.";
}
on (press) {
_root.infotext = "It's attached to the base.";
}
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 2
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 5
_root.infotext = "Something's happening.";
Symbol 348 MovieClip Frame 15
_root.infotext = "A shoe.";
stop();
Instance of Symbol 347 MovieClip in Symbol 348 MovieClip Frame 15
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noshoe");
_root.inv_mc.shoe2_mc._visible = true;
_root.shoelocated = "Found";
};
if (_root.shoelocated == "Found") {
gotoAndStop ("noshoe");
}
}
Symbol 357 MovieClip Frame 1
stop();
var dustpantrigger_btn;
dustpantrigger_btn.onPress = function () {
gotoAndPlay ("clean_up");
_root.glasscleaned = "Cleaned";
_root.infotext = "All cleaned up now.";
};
Symbol 357 MovieClip Frame 30
stop();
var dustpantrigger_btn;
dustpantrigger_btn.onPress = function () {
gotoAndPlay ("clean_up");
_root.glasscleaned = "Cleaned";
};
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 2
stop();
Symbol 366 MovieClip Frame 10
_root.candlelit = "Lit";
Symbol 366 MovieClip Frame 27
stop();
Symbol 376 Button
on (rollOver) {
_root.infotext = "A closet.";
}
Symbol 379 Button
on (release) {
gotoAndStop ("room2");
}
Symbol 383 Button
on (release) {
_root.rooms_mc.keyofdreams_mc.paintegg_mc._visible = false;
_root.inv_mc.egg2_mc._visible = true;
_root.inv_mc.egg2_mc.stopDrag();
_root.inv_mc.egg2_mc._x = -30.4;
_root.inv_mc.egg2_mc._y = -167.3;
_root.egginpainting = "Not in painting";
}
Symbol 390 Button
on (release) {
_root.rooms_mc.keyofdreams_mc.paintcandle_mc._visible = false;
candleflame_mc.stopDrag();
candleflame._visible = true;
candleflame._x = -90.4;
candleflame._y = -190.3;
_root.candleflameinpainting = "Not in painting";
}
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
stop();
Symbol 405 MovieClip Frame 1
stop();
var paintegg_mc;
paintegg_mc._visible = false;
var paintshoe_mc;
paintshoe_mc._visible = false;
var paintbowler_mc;
paintbowler_mc._visible = false;
var paintcandle_mc;
paintcandle_mc._visible = false;
var paintglass_mc;
paintglass_mc._visible = false;
var paintmallet_mc;
paintmallet_mc._visible = false;
var mallet4_mc;
mallet4_mc._visible = false;
var mallet5_mc;
mallet5_mc._visible = false;
var mallet6_mc;
mallet6_mc._visible = false;
var mallet7_mc;
mallet7_mc._visible = false;
var mallet8_mc;
mallet8_mc._visible = false;
var candle4_mc;
candle4_mc._visible = false;
var candle5_mc;
candle5_mc._visible = false;
var candle6_mc;
candle6_mc._visible = false;
var candle7_mc;
candle7_mc._visible = false;
var candle8_mc;
candle8_mc._visible = false;
var candle9_mc;
candle9_mc._visible = false;
var shoe4_mc;
shoe4_mc._visible = false;
var shoe5_mc;
shoe5_mc._visible = false;
var shoe6_mc;
shoe6_mc._visible = false;
var shoe7_mc;
shoe7_mc._visible = false;
var shoe8_mc;
shoe8_mc._visible = false;
var glass4_mc;
glass4_mc._visible = false;
var glass5_mc;
glass5_mc._visible = false;
var glass6_mc;
glass6_mc._visible = false;
var glass7_mc;
glass7_mc._visible = false;
var glass8_mc;
glass8_mc._visible = false;
var egg4_mc;
egg4_mc._visible = false;
var egg5_mc;
egg5_mc._visible = false;
var egg6_mc;
egg6_mc._visible = false;
var egg7_mc;
egg7_mc._visible = false;
var egg8_mc;
egg8_mc._visible = false;
var bowler4_mc;
bowler4_mc._visible = false;
var bowler5_mc;
bowler5_mc._visible = false;
var bowler6_mc;
bowler6_mc._visible = false;
var bowler7_mc;
bowler7_mc._visible = false;
var bowler8_mc;
bowler8_mc._visible = false;
var candleflame4_mc;
candleflame4_mc._visible = false;
var candleflame5_mc;
candleflame5_mc._visible = false;
var candleflame6_mc;
candleflame6_mc._visible = false;
var candleflame7_mc;
candleflame7_mc._visible = false;
var candleflame8_mc;
candleflame8_mc._visible = false;
var apple4_mc;
apple4_mc._visible = false;
var apple5_mc;
apple5_mc._visible = false;
var apple6_mc;
apple6_mc._visible = false;
var apple7_mc;
apple7_mc._visible = false;
var apple8_mc;
apple8_mc._visible = false;
var apple9_mc;
apple9_mc._visible = false;
var deskkey4_mc;
deskkey4_mc._visible = false;
var deskkey5_mc;
deskkey5_mc._visible = false;
var deskkey6_mc;
deskkey6_mc._visible = false;
var deskkey7_mc;
deskkey7_mc._visible = false;
var deskkey8_mc;
deskkey8_mc._visible = false;
var deskkey9_mc;
deskkey9_mc._visible = false;
var doorkey4_mc;
doorkey4_mc._visible = false;
var doorkey5_mc;
doorkey5_mc._visible = false;
var doorkey6_mc;
doorkey6_mc._visible = false;
var doorkey7_mc;
doorkey7_mc._visible = false;
var doorkey8_mc;
doorkey8_mc._visible = false;
var doorkey9_mc;
doorkey9_mc._visible = false;
var pliers4_mc;
pliers4_mc._visible = false;
var pliers5_mc;
pliers5_mc._visible = false;
var pliers6_mc;
pliers6_mc._visible = false;
var pliers7_mc;
pliers7_mc._visible = false;
var pliers8_mc;
pliers8_mc._visible = false;
var pliers9_mc;
pliers9_mc._visible = false;
var eggkey4_mc;
eggkey4_mc._visible = false;
var eggkey5_mc;
eggkey5_mc._visible = false;
var eggkey6_mc;
eggkey6_mc._visible = false;
var eggkey7_mc;
eggkey7_mc._visible = false;
var eggkey8_mc;
eggkey8_mc._visible = false;
var eggkey9_mc;
eggkey9_mc._visible = false;
var closetkey4_mc;
closetkey4_mc._visible = false;
var closetkey5_mc;
closetkey5_mc._visible = false;
var closetkey6_mc;
closetkey6_mc._visible = false;
var closetkey7_mc;
closetkey7_mc._visible = false;
var closetkey8_mc;
closetkey8_mc._visible = false;
var closetkey9_mc;
closetkey9_mc._visible = false;
var zippo4_mc;
zippo4_mc._visible = false;
var zippo5_mc;
zippo5_mc._visible = false;
var zippo6_mc;
zippo6_mc._visible = false;
var zippo7_mc;
zippo7_mc._visible = false;
var zippo8_mc;
zippo8_mc._visible = false;
var zippo9_mc;
zippo9_mc._visible = false;
Instance of Symbol 384 MovieClip "paintegg_mc" in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRelease = function () {
this._visible = false;
_root.egginpainting = "Not in painting";
_root.inv_mc.egg2_mc._visible = true;
_root.inv_mc.egg2_mc._x = -30.4;
_root.inv_mc.egg2_mc._y = -167.3;
_root.inv_mc.egg2_mc.stopDrag();
};
}
Instance of Symbol 386 MovieClip "paintshoe_mc" in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRelease = function () {
this._visible = false;
_root.shoeinpainting = "Not in painting";
_root.inv_mc.shoe2_mc._visible = true;
_root.inv_mc.shoe2_mc._x = 9;
_root.inv_mc.shoe2_mc._y = -79.4;
_root.inv_mc.shoe2_mc.stopDrag();
};
}
Instance of Symbol 388 MovieClip "paintbowler_mc" in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRelease = function () {
this._visible = false;
_root.bowlerinpainting = "Not in painting";
_root.inv_mc.bowler2_mc._visible = true;
_root.inv_mc.bowler2_mc._x = 62;
_root.inv_mc.bowler2_mc._y = -108.4;
_root.inv_mc.bowler2_mc.stopDrag();
};
}
Instance of Symbol 391 MovieClip "paintcandle_mc" in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRelease = function () {
this._visible = false;
_root.candleflameinpainting = "Not in painting";
_root.inv_mc.candleflame_mc._visible = true;
_root.inv_mc.candleflame_mc._x = -24;
_root.inv_mc.candleflame_mc._y = -132.1;
_root.inv_mc.candleflame_mc.stopDrag();
};
}
Instance of Symbol 393 MovieClip "paintmallet_mc" in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRelease = function () {
this._visible = false;
_root.malletinpainting = "Not in painting";
_root.inv_mc.mallet2_mc._visible = true;
_root.inv_mc.mallet2_mc._x = -2.3;
_root.inv_mc.mallet2_mc._y = -224.4;
_root.inv_mc.mallet2_mc.stopDrag();
};
}
Instance of Symbol 395 MovieClip "paintglass_mc" in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onRelease = function () {
this._visible = false;
_root.glassinpainting = "Not in painting";
_root.inv_mc.glass2_mc._visible = true;
_root.inv_mc.glass2_mc._x = 18.6;
_root.inv_mc.glass2_mc._y = -176.6;
_root.inv_mc.glass2_mc.stopDrag();
};
}
Instance of Symbol 366 MovieClip "candle9_mc" in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onPress = function () {
candle9_mc.stopDrag();
this._visible = false;
_root.inv_mc.candle2_mc._visible = true;
_root.inv_mc.candle2_mc._x = -90.4;
_root.inv_mc.candle2_mc._y = -190.3;
_root.inv_mc.candle2_mc.stopDrag();
};
}
Instance of Symbol 404 MovieClip "doorkey_mc" in Symbol 405 MovieClip Frame 30
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("nodoorkey");
_root.inv_mc.doorkey2_mc._visible = true;
_root.doorkeylocated = "Found";
};
if (_root.doorkeylocated == "Found") {
gotoAndStop ("nodoorkey");
}
}
Symbol 405 MovieClip Frame 45
_root.infotext = "A large key.";
Symbol 405 MovieClip Frame 82
stop();
_root.paintingrevealplayed = "Played";
Symbol 408 Button
on (rollOver) {
_root.infotext = "This must be the way out.";
}
on (press) {
_root.infotext = "It's locked.";
}
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 25
stop();
Symbol 417 Button
on (rollOver) {
_root.infotext = "It's raining.";
}
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 2
stop();
Symbol 425 Button
on (rollOver) {
_root.infotext = "A small plaque. It says l'Orage.";
}
Symbol 429 Button
on (release) {
gotoAndPlay ("blinds_open");
_root.blindsopencount = _root.blindsopencount + 1;
}
Symbol 433 Button
on (release) {
gotoAndPlay ("blinds_close");
}
Symbol 435 Button
on (release) {
gotoAndPlay ("blinds_open");
_root.blindsopencount = _root.blindsopencount + 1;
}
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 10
stop();
Symbol 436 MovieClip Frame 20
stop();
Symbol 441 MovieClip Frame 1
Instance of Symbol 423 MovieClip "pliers_mc" in Symbol 441 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onPress = function () {
gotoAndStop ("nopliers");
_root.inv_mc.pliers2_mc._visible = true;
_root.plierslocated = "Found";
};
if ((_root.plierslocated == "Hidden") & (_root.blindsopencount <= 3)) {
gotoAndStop ("nopliers");
} else if ((_root.plierslocated == "Hidden") & (_root.blindsopencount > 3)) {
gotoAndStop ("pliers");
_root.infotext = "There's something there.";
} else if (_root.plierslocated == "Found") {
gotoAndStop ("nopliers");
}
}
Instance of Symbol 436 MovieClip "blinds_mc" in Symbol 441 MovieClip Frame 1
/* no clip actions */
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 2
stop();
Symbol 446 Button
on (release) {
_root.rooms_mc.doormat_mc.play();
_root.infotext = "There's something under the rug";
}
Symbol 450 MovieClip Frame 1
stop();
Instance of Symbol 443 MovieClip "closetkey1_mc" in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noclosetkey");
_root.inv_mc.closetkey2_mc._visible = true;
_root.closetkeylocated = "Found";
};
if (_root.closetkeylocated == "Found") {
gotoAndStop ("noclosetkey");
}
}
Symbol 450 MovieClip Frame 11
stop();
var rugdown_btn;
rugdown_btn.onPress = function () {
gotoAndStop ("rug_lift");
};
Symbol 454 Button
on (rollOver) {
_root.infotext = "What a strange wall decoration.";
}
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 2
stop();
Symbol 461 MovieClip Frame 1
var fanblades_mc;
fanblades_mc.onEnterFrame = function () {
this._rotation = this._rotation + 5;
};
Symbol 465 Button
on (release) {
gotoAndStop ("ceiling_dark");
}
Symbol 467 Button
on (release) {
gotoAndStop ("ceilingone");
}
Symbol 475 Button
on (rollOver) {
_root.infotext = "The door is locked";
}
Symbol 477 Button
on (release) {
gotoAndPlay ("door_opens");
}
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 2
stop();
Symbol 494 MovieClip Frame 1
stop();
var birdmanmove_btn;
birdmanmove_btn.enabled = true;
birdmanmove_btn.onPress = function () {
gotoAndPlay ("birdman_move");
};
_root.inv_mc.apple2_mc._visible = false;
apple1_mc.onPress = function () {
_root.inv_mc.apple2_mc._visible = true;
apple1_mc._visible = false;
_root.inv_mc.apple2_mc.onPress = function () {
_root.inv_mc.apple2_mc.startDrag();
};
};
Instance of Symbol 486 MovieClip "apple1_mc" in Symbol 494 MovieClip Frame 1
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noapple");
_root.inv_mc.apple2_mc._visible = true;
_root.applelocated = "Found";
};
if (_root.applelocated == "Found") {
gotoAndStop ("noapple");
}
}
Symbol 494 MovieClip Frame 10
stop();
Instance of Symbol 486 MovieClip "apple1_mc" in Symbol 494 MovieClip Frame 10
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noapple");
_root.inv_mc.apple2_mc._visible = true;
_root.applelocated = "Found";
};
if (_root.applelocated == "Found") {
gotoAndStop ("noapple");
}
}
Symbol 506 MovieClip Frame 1
stop();
var knob_btn;
var closeknob_mc;
var birdman_mc;
var room3_btn;
closeknob_mc.onPress = function () {
gotoAndStop ("door_open");
};
birdman_mc.onPress = function () {
gotoAndPlay ("birdman_move");
};
Symbol 506 MovieClip Frame 18
stop();
var knob_btn;
var closeknob_btn;
var birdman_mc;
var room3_btn;
knob_btn.onPress = function () {
gotoAndPlay ("door_open");
};
closeknob_btn.onPress = function () {
gotoAndStop ("door_open");
};
birdman_mc.onPress = function () {
gotoAndPlay ("birdman_move");
};
Symbol 510 Button
on (press) {
gotoAndStop ("bottom_close");
}
Symbol 512 Button
on (release) {
gotoAndStop ("room2");
}
Symbol 518 Button
on (rollOver) {
_root.infotext = "A small red button.";
}
Symbol 520 MovieClip Frame 1
stop();
var room4_btn;
room4_btn.enabled = true;
var room2_btn;
room2_btn.enabled = true;
var ceiling1_btn;
ceiling1_btn.enabled = true;
var bookcase_btn;
bookcase_btn.enabled = true;
bookcase_btn.onPress = function () {
gotoAndStop ("bookcase_close");
};
room2_btn.onPress = function () {
gotoAndStop ("room2");
};
room4_btn.onPress = function () {
gotoAndStop ("room4");
};
ceiling1_btn.onPress = function () {
gotoAndStop ("ceilingone");
};
var iMacclose_btn;
iMacclose_btn.onPress = function () {
gotoAndStop ("iMac_close");
_root.infotext = "It's an IMac";
};
Instance of Symbol 221 MovieClip "treestand_mc" in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
_root.infotext = "It's a Christmas tree stand.";
};
this.onPress = function () {
_root.infotext = "It won't budge.";
};
if (_root.dreamloginstand == "In stand") {
gotoAndStop ("tree_attaches");
}
}
Instance of Symbol 244 MovieClip in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
if (_root.dreamloginstand == "In stand") {
gotoAndStop ("clock_melted");
}
}
onClipEvent (enterFrame) {
var clockmelt_btn;
clockmelt_btn.enabled = false;
if (_root.dreamloginstand == "In stand") {
clockmelt_btn.enabled = true;
clockmelt_btn.onPress = function () {
gotoAndPlay ("clock_melts");
};
}
}
Instance of Symbol 251 MovieClip "glass1_mc" in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noglass");
_root.inv_mc.glass2_mc._visible = true;
_root.glasslocated = "Found";
};
if (_root.glasslocated == "Found") {
gotoAndStop ("noglass");
}
}
onClipEvent (load) {
this.onRollOver = function () {
_root.infotext = "A glass.";
};
}
Symbol 520 MovieClip Frame 10
stop();
stop();
var room3_btn;
room3_btn.enabled = true;
var room1_btn;
room1_btn.enabled = true;
var bookcase_btn;
bookcase_btn.enabled = true;
var couchclose_btn;
couhclose_btn.enabled = true;
couchclose_btn.onPress = function () {
gotoAndStop ("couch_close");
};
bookcase_btn.onPress = function () {
gotoAndStop ("bookcase_close");
};
room1_btn.onPress = function () {
gotoAndStop ("roomone");
};
room3_btn.onPress = function () {
gotoAndStop ("room3");
};
Instance of Symbol 218 MovieClip "dreamlogstatic_mc" in Symbol 520 MovieClip Frame 10
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("nodreamlog");
_root.inv_mc.dreamlog2_mc._visible = true;
_root.dreamloglocated = "Found";
};
if (_root.dreamloglocated == "Found") {
gotoAndStop ("nodreamlog");
}
}
Instance of Symbol 268 MovieClip "painting_mc" in Symbol 520 MovieClip Frame 10
onClipEvent (load) {
if (_root.appleinpainting == "In painting") {
gotoAndStop ("apple");
}
}
Instance of Symbol 270 MovieClip in Symbol 520 MovieClip Frame 10
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A funky couch.";
};
}
Symbol 520 MovieClip Frame 20
stop();
var closetview_btn;
closetview_btn.onPress = function () {
gotoAndPlay ("closetdoor");
};
stop();
var room2_btn;
room2_btn.enabled = true;
var room4_btn;
var sculptureclose_btn;
sculptureclose_btn.onPress = function () {
gotoAndStop ("sculpture_close");
};
room4_btn.enabled = true;
room4_btn.onPress = function () {
gotoAndStop ("room4");
};
room2_btn.onPress = function () {
gotoAndStop ("room2");
};
Instance of Symbol 287 MovieClip in Symbol 520 MovieClip Frame 20
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A lava lamp.";
};
}
Instance of Symbol 331 MovieClip "glasstable_mc" in Symbol 520 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.glassbroken == "Broken") {
gotoAndStop ("glass_broken");
}
}
Instance of Symbol 336 MovieClip in Symbol 520 MovieClip Frame 20
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A familiar painting.";
};
this.onPress = function () {
_root.infotext = "A small plaque. It says: le Desert.";
};
}
Instance of Symbol 348 MovieClip "sculpture_mc" in Symbol 520 MovieClip Frame 20
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "Some kind of sculpture.";
};
}
Instance of Symbol 357 MovieClip "fireplacetools_mc" in Symbol 520 MovieClip Frame 20
/* no clip actions */
Instance of Symbol 359 MovieClip "menorah_mc" in Symbol 520 MovieClip Frame 20
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A menorah.";
};
}
Instance of Symbol 366 MovieClip "candle1_mc" in Symbol 520 MovieClip Frame 20
onClipEvent (enterFrame) {
if ((_root.glasscleaned == "Cleaned") & (_root.glassbroken == "Broken")) {
this.onPress = function () {
gotoAndStop ("nocandle");
_root.inv_mc.candle2_mc._visible = true;
_root.candlelocated = "Found";
};
} else if ((_root.glasscleaned == "Not cleaned") & (_root.glassbroken == "Not Broken")) {
this.onRollOver = function () {
_root.infotext = "There's glass in the way.";
};
}
if (_root.candlelocated == "Found") {
gotoAndStop ("nocandle");
}
}
Symbol 520 MovieClip Frame 30
stop();
stop();
var room3_btn;
room3_btn.enabled = true;
var room1_btn;
room1_btn.enabled = true;
var keyofdreamsclose_btn;
keyofdreamsclose_btn.onPress = function () {
gotoAndStop ("keyofdreams_close");
};
room1_btn.onPress = function () {
gotoAndStop ("roomone");
};
room3_btn.onPress = function () {
gotoAndStop ("room3");
};
Instance of Symbol 405 MovieClip "keyofdreams_mc" in Symbol 520 MovieClip Frame 30
onClipEvent (enterFrame) {
if ((((((_root.egginpainting == "In painting") & (_root.shoeinpainting == "In painting")) & (_root.bowlerinpainting == "In painting")) & (_root.candleflameinpainting == "In painting")) & (_root.glassinpainting == "In painting")) & (_root.malletinpainting == "In painting")) {
gotoAndPlay ("painting_reveal");
trace("everything in painting");
}
}
Instance of Symbol 441 MovieClip "window_mc" in Symbol 520 MovieClip Frame 30
/* no clip actions */
Instance of Symbol 450 MovieClip "doormat_mc" in Symbol 520 MovieClip Frame 30
/* no clip actions */
Instance of Symbol 452 MovieClip "doortrigger_mc" in Symbol 520 MovieClip Frame 30
/* no clip actions */
Instance of Symbol 405 MovieClip "keyofdreams_mc" in Symbol 520 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_root.egginpainting == "In painting") {
paintegg_mc._visible = true;
}
if (_root.shoeinpainting == "In painting") {
paintshoe_mc._visible = true;
}
if (_root.bowlerinpainting == "In painting") {
paintbowler_mc._visible = true;
}
if (_root.candleinpainting == "In painting") {
paintcandle_mc._visible = true;
}
if (_root.glassinpainting == "In painting") {
paintglass_mc._visible = true;
}
if (_root.malletinpainting == "In painting") {
paintmallet_mc._visible = true;
}
}
Symbol 520 MovieClip Frame 40
stop();
var room1_btn;
room1_btn.onPress = function () {
gotoAndStop ("roomone");
};
Instance of Symbol 457 MovieClip "rippedpage3_mc" in Symbol 520 MovieClip Frame 40
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("norippedpage3");
_root.inv_mc.rippedpage32_mc._visible = true;
_root.rippedpage3located = "Found";
};
if (_root.rippedpage3located == "Found") {
gotoAndStop ("norippedpage3");
}
}
Instance of Symbol 461 MovieClip "ceilingfan_mc" in Symbol 520 MovieClip Frame 40
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A ceiling fan. There's something stuck in it.";
};
}
Instance of Symbol 463 MovieClip "ceilingplaque_mc" in Symbol 520 MovieClip Frame 40
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.infotext = "A small brass plaque.";
};
this.onPress = function () {
_root.infotext = "It's attached.";
};
}
Symbol 520 MovieClip Frame 43
_root.infotext = "Glow in the dark stars!";
Symbol 520 MovieClip Frame 50
stop();
var room3_btn;
room3_btn.onPress = function () {
gotoAndStop ("room3");
};
Symbol 520 MovieClip Frame 60
stop();
var room1_btn;
room1_btn.onPress = function () {
gotoAndStop ("roomone");
};
Instance of Symbol 251 MovieClip "glass1_mc" in Symbol 520 MovieClip Frame 60
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("noglass");
_root.inv_mc.glass2_mc._visible = true;
_root.glasslocated = "Found";
};
if (_root.glasslocated == "Found") {
gotoAndStop ("noglass");
}
}
Symbol 520 MovieClip Frame 70
stop();
var bookcasebottom_btn;
bookcasebottom_btn.onPress = function () {
bookcasefrontclose_mc._xscale = 250;
bookcasefrontclose_mc._yscale = 250;
bookcasefrontclose_mc._x = -400;
bookcasefrontclose_mc._y = -250;
};
var room1_btn;
room1_btn.enabled = true;
room1_btn.onPress = function () {
gotoAndStop ("roomone");
};
var room2_btn;
room2_btn.onPress = function () {
gotoAndStop ("room2");
};
Symbol 520 MovieClip Frame 80
var room2_btn;
room2_btn.onPress = function () {
gotoAndStop ("room2");
};
Instance of Symbol 218 MovieClip "dreamlog1_mc" in Symbol 520 MovieClip Frame 80
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("no dreamlog");
_root.inv_mc.dreamlog2_mc._visible = true;
_root.dreamloglocated = "Found";
};
if (_root.dreamloglocated == "Found") {
gotoAndStop ("no dreamlog");
}
}
Instance of Symbol 270 MovieClip in Symbol 520 MovieClip Frame 80
onClipEvent (enterFrame) {
if (_root.dreamloglocated == "Not found") {
this.onPress = function () {
_root.infotext = "There's something behind the couch.";
};
}
}
Symbol 520 MovieClip Frame 90
var room4_btn;
room4_btn.onPress = function () {
gotoAndStop ("room4");
};
Instance of Symbol 405 MovieClip "keyofdreams_mc" in Symbol 520 MovieClip Frame 90
onClipEvent (enterFrame) {
if (_root.egginpainting == "In painting") {
paintegg_mc._visible = true;
}
if (_root.shoeinpainting == "In painting") {
paintshoe_mc._visible = true;
}
if (_root.bowlerinpainting == "In painting") {
paintbowler_mc._visible = true;
}
if (_root.candleinpainting == "In painting") {
paintcandle_mc._visible = true;
}
if (_root.glassinpainting == "In painting") {
paintglass_mc._visible = true;
}
if (_root.malletinpainting == "In painting") {
paintmallet_mc._visible = true;
}
if (((((((_root.egginpainting == "In painting") & (_root.shoeinpainting == "In painting")) & (_root.bowlerinpainting == "In painting")) & (_root.candleflameinpainting == "In painting")) & (_root.glassinpainting == "In painting")) & (_root.malletinpainting == "In painting")) & (_root.paintingrevealplayed == "Not played")) {
gotoAndPlay ("16");
trace("everything in painting");
}
}
Instance of Symbol 405 MovieClip "keyofdreams_mc" in Symbol 520 MovieClip Frame 100
onClipEvent (enterFrame) {
if (_root.egginpainting == "In painting") {
paintegg_mc._visible = true;
}
if (_root.shoeinpainting == "In painting") {
paintshoe_mc._visible = true;
}
if (_root.bowlerinpainting == "In painting") {
paintbowler_mc._visible = true;
}
if (_root.candleinpainting == "In painting") {
paintcandle_mc._visible = true;
}
if (_root.glassinpainting == "In painting") {
paintglass_mc._visible = true;
}
if (_root.malletinpainting == "In painting") {
paintmallet_mc._visible = true;
}
if (_root.eggintarget == "In 4 target") {
_root.rooms_mc.keyofdreams_mc.egg4_mc._visible = true;
}
if (_root.eggintarget == "In 5 target") {
_root.rooms_mc.keyofdreams_mc.egg5_mc._visible = true;
}
if (_root.eggintarget == "In 6 target") {
_root.rooms_mc.keyofdreams_mc.egg6_mc._visible = true;
}
if (_root.eggintarget == "In 7 target") {
_root.rooms_mc.keyofdreams_mc.egg7_mc._visible = true;
}
if (_root.eggintarget == "In 8 target") {
_root.rooms_mc.keyofdreams_mc.egg8_mc._visible = true;
}
if ((((((_root.egginpainting == "In painting") & (_root.shoeinpainting == "In painting")) & (_root.bowlerinpainting == "In painting")) & (_root.candleinpainting == "In painting")) & (_root.glassinpainting == "In painting")) & (_root.malletinpainting == "In painting")) {
gotoAndPlay ("painting_reveal");
}
}
Symbol 520 MovieClip Frame 101
var number1_btn;
var number2_btn;
var number3_btn;
var buttoncode_1;
var buttoncode_2;
var buttoncode_3;
number1_btn.onPress = function () {
if (_root.sculpturecode1 < 9) {
_root.sculpturecode1 = _root.sculpturecode1 + 1;
buttoncode_1 = _root.sculpturecode1;
} else if (_root.sculpturecode1 == 9) {
_root.sculpturecode1 = 1;
buttoncode_1 = _root.sculpturecode1;
}
};
number2_btn.onPress = function () {
if (_root.sculpturecode2 < 9) {
_root.sculpturecode2 = _root.sculpturecode2 + 1;
buttoncode_2 = _root.sculpturecode2;
} else if (_root.sculpturecode2 == 9) {
_root.sculpturecode2 = 1;
buttoncode_2 = _root.sculpturecode2;
}
};
number3_btn.onPress = function () {
if (_root.sculpturecode3 < 9) {
_root.sculpturecode3 = _root.sculpturecode3 + 1;
buttoncode_3 = _root.sculpturecode3;
} else if (_root.sculpturecode3 == 9) {
_root.sculpturecode3 = 1;
buttoncode_3 = _root.sculpturecode3;
}
};
var room3_btn;
room3_btn.onPress = function () {
gotoAndStop ("room3");
};
Symbol 561 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 2
stop();
Symbol 583 MovieClip Frame 1
stop();
Instance of Symbol 561 MovieClip "deskkey1_mc" in Symbol 583 MovieClip Frame 1
onClipEvent (load) {
this.onPress = function () {
gotoAndStop ("nodeskkey");
_root.inv_mc.deskkey2_mc._visible = true;
_root.deskkeylocated = "Found";
};
if (_root.eskkeylocated == "Found") {
gotoAndStop ("nodeskkey");
}
}
Symbol 583 MovieClip Frame 10
stop();
Symbol 588 Button
on (release) {
gotoAndStop ("start");
}
Symbol 592 Button
on (release) {
gotoAndStop ("start");
if (_root.candlelit == "Lit") {
_root.inv_mc.candleflame_mc._visible = true;
_root.inv_mc.candle2_mc._visible = false;
}
}
Symbol 611 MovieClip Frame 1
stop();
var apple2_mc;
var bowler2_mc;
var check_mc;
var closetkey2_mc;
var deskkey2_mc;
var doorkey2_mc;
var dreamlog2_mc;
var egg2_mc;
var eggkey2_mc;
var glass2_mc;
var mallet2_mc;
var pliers2_mc;
var rippedpage22_mc;
var rippedpage32_mc;
var shoe2_mc;
var zippo2_mc;
var box2_btn;
box2_btn._visible = false;
var return_btn;
return_btn.enabled = true;
var flamecandle_mc;
flamecandle_mc._visible = false;
var zippotarget_mc;
var eggtarget_mc;
var shoetarget_mc;
var bowlertarget_mc;
var mallettarget_mc;
var candletarget_mc;
var glasstarget_mc;
var appletarget_mc;
var deskkeytarget_mc;
var rippedpage2target_mc;
var rippedpage3target_mc;
var eggkeytarget_mc;
var doorkeytarget_mc;
var dreamlogtarget_mc;
candleflame_mc.onPress = function () {
candleflame_mc.startDrag();
};
rippedpage22_mc.onPress = function () {
rippedpage22_mc.startDrag();
};
rippedpage32_mc.onPress = function () {
rippedpage32_mc.startDrag();
};
rippedpage42_mc.onPress = function () {
rippedpage42_mc.startDrag();
};
rippedpage52_mc.onPress = function () {
rippedpage52_mc.startDrag();
};
dreamlog2_mc.onPress = function () {
dreamlog2_mc.startDrag();
};
zippo2_mc.onPress = function () {
zippo2_mc.startDrag();
};
deskkey2_mc.onPress = function () {
deskkey2_mc.startDrag();
};
glass2_mc.onPress = function () {
glass2_mc.startDrag();
};
apple2_mc.onPress = function () {
apple2_mc.startDrag();
};
bowler2_mc.onPress = function () {
bowler2_mc.startDrag();
};
mallet2_mc.onPress = function () {
mallet2_mc.startDrag();
};
egg2_mc.onPress = function () {
egg2_mc.startDrag();
};
candle2_mc.onPress = function () {
candle2_mc.startDrag();
};
apple2_mc.onEnterFrame = function () {
if (apple2_mc.hitTest(check_mc)) {
gotoAndPlay ("appleclose");
apple2_mc.stopDrag();
apple2_mc._x = -28.4;
apple2_mc._y = -17.6;
} else if (apple2_mc.hitTest(_root.rooms_mc.painting_mc.appletarget_mc)) {
_root.rooms_mc.painting_mc.play();
apple2_mc.stopDrag();
apple2_mc._visible = false;
_root.appleinpainting = "In painting";
}
};
bowler2_mc.onEnterFrame = function () {
if (bowler2_mc.hitTest(check_mc)) {
gotoAndPlay ("bowlerclose");
bowler2_mc.stopDrag();
bowler2_mc._x = 62;
bowler2_mc._y = -108.4;
} else if (bowler2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.bowlertarget_mc)) {
_root.rooms_mc.keyofdreams_mc.paintbowler_mc._visible = true;
bowler2_mc.stopDrag();
bowler2_mc._x = 62;
bowler2_mc._y = -108.4;
bowler2_mc._visible = false;
_root.bowlerinpainting = "In painting";
}
};
bowler2_mc.onRelease = function () {
if (bowler2_mc.hitTest(bowlertarget_mc)) {
bowler2_mc.stopDrag();
bowler2_mc._x = 62;
bowler2_mc._y = -108.4;
}
};
candle2_mc.onEnterFrame = function () {
if (candle2_mc.hitTest(check_mc)) {
gotoAndPlay ("candleclose");
candle2_mc.stopDrag();
candle2_mc._x = -90.4;
candle2_mc._y = -190.3;
} else if (candle2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.candletarget_mc)) {
_root.rooms_mc.keyofdreams_mc.candle9_mc._visible = true;
candle2_mc.stopDrag();
candle2_mc._x = -90.4;
candle2_mc._y = -190.3;
candle2_mc._visible = false;
candle9_mc.onPress = function () {
candle9_mc.startDrag();
candle9_mc.onRelease = function () {
if (candle9_mc.hitTest(candletarget_mc)) {
candle9_mc.stopDrag();
candle9_mc._visible = false;
candle2_mc._visible = true;
candle2_mc._x = -90.4;
candle2_mc._y = -190.3;
}
};
};
candle2_mc.onRelease = function () {
if (candle2_mc.hitTest(candletarget_mc)) {
candle2_mc.stopDrag();
candle2_mc._x = -24;
candle2_mc._y = -132.1;
}
};
}
};
candleflame_mc.onRelease = function () {
if (candleflame_mc.hitTest(candletarget_mc)) {
candleflame_mc.stopDrag();
candleflame_mc._x = -24;
candleflame_mc._y = -132.1;
}
};
candleflame_mc.onEnterFrame = function () {
if (candleflame_mc.hitTest(check_mc)) {
gotoAndPlay ("candleflameclose");
candleflame_mc.stopDrag();
candleflame_mc._x = -24;
candleflame_mc._y = -132.1;
} else if (candleflame_mc.hitTest(_root.rooms_mc.keyofdreams_mc.candletarget_mc)) {
_root.rooms_mc.keyofdreams_mc.paintcandle_mc._visible = true;
candleflame_mc.stopDrag();
candleflame_mc._x = -24;
candleflame_mc._y = -132.1;
candleflame_mc._visible = false;
_root.candleflameinpainting = "In painting";
}
};
closetkey2_mc.onPress = function () {
closetkey2_mc.startDrag();
};
closetkey2_mc.onRelease = function () {
if (closetkey2_mc.hitTest(closetkeytarget_mc)) {
closetkey2_mc.stopDrag();
closetkey2_mc._x = 27.4;
closetkey2_mc._y = 135.3;
}
};
closetkey2_mc.onEnterFrame = function () {
if (closetkey2_mc.hitTest(check_mc)) {
gotoAndPlay ("closetkeyclose");
closetkey2_mc.stopDrag();
closetkey2_mc._x = 27.4;
closetkey2_mc._y = 135.3;
} else if (_root.inv_mc.closetkey2_mc.hitTest(_root.rooms_mc.closetdoorbig_mc.knob_btn)) {
_root.rooms_mc.closetdoorbig_mc.play();
_root.closetdoorlocked = "Unlocked";
}
};
deskkey2_mc.onEnterFrame = function () {
if (deskkey2_mc.hitTest(check_mc)) {
gotoAndPlay ("deskkeyclose");
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
} else if (deskkey2_mc.hitTest(_root.rooms_mc.desk_mc.deskkeyholetrigger_mc)) {
_root.rooms_mc.desk_mc.draweropen_mc.play();
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
}
};
deskkey2_mc.onRelease = function () {
if (deskkey2_mc.hitTest(deskkeytarget_mc)) {
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
} else if (deskkey2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.eggtarget_mc)) {
_root.rooms_mc.keyofdreams_mc.deskkey4_mc._visible = true;
deskkey2_mc._visible = false;
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
_root.rooms_mc.keyofdreams_mc.deskkey4_mc.onPress = function () {
_root.rooms_mc.keyofdreams_mc.deskkey4_mc._visible = false;
deskkey2_mc._visible = true;
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
};
} else if (deskkey2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.shoetarget_mc)) {
_root.rooms_mc.keyofdreams_mc.deskkey5_mc._visible = true;
deskkey2_mc._visible = false;
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
_root.rooms_mc.keyofdreams_mc.deskkey5_mc.onPress = function () {
_root.rooms_mc.keyofdreams_mc.deskkey5_mc._visible = false;
deskkey2_mc._visible = true;
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
};
} else if (deskkey2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.bowlertarget_mc)) {
_root.rooms_mc.keyofdreams_mc.deskkey6_mc._visible = true;
deskkey2_mc._visible = false;
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
_root.rooms_mc.keyofdreams_mc.deskkey6_mc.onPress = function () {
_root.rooms_mc.keyofdreams_mc.deskkey6_mc._visible = false;
deskkey2_mc._visible = true;
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
};
} else if (deskkey2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.candletarget_mc)) {
_root.rooms_mc.keyofdreams_mc.deskkey7_mc._visible = true;
deskkey2_mc._visible = false;
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
_root.rooms_mc.keyofdreams_mc.deskkey7_mc.onPress = function () {
_root.rooms_mc.keyofdreams_mc.deskkey7_mc._visible = false;
deskkey2_mc._visible = true;
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
};
} else if (deskkey2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.glasstarget_mc)) {
_root.rooms_mc.keyofdreams_mc.deskkey8_mc._visible = true;
deskkey2_mc._visible = false;
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
_root.rooms_mc.keyofdreams_mc.deskkey8_mc.onPress = function () {
_root.rooms_mc.keyofdreams_mc.deskkey8_mc._visible = false;
deskkey2_mc._visible = true;
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
};
} else if (deskkey2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.mallettarget_mc)) {
_root.rooms_mc.keyofdreams_mc.deskkey9_mc._visible = true;
deskkey2_mc._visible = false;
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
_root.rooms_mc.keyofdreams_mc.deskkey9_mc.onPress = function () {
_root.rooms_mc.keyofdreams_mc.deskkey9_mc._visible = false;
deskkey2_mc._visible = true;
deskkey2_mc.stopDrag();
deskkey2_mc._x = 21;
deskkey2_mc._y = -38.9;
};
}
};
doorkey2_mc.onPress = function () {
doorkey2_mc.startDrag();
};
doorkey2_mc.onRelease = function () {
if (doorkey2_mc.hitTest(doorkeytarget_mc)) {
doorkey2_mc.stopDrag();
doorkey2_mc._x = 25.9;
doorkey2_mc._y = 44.1;
}
};
doorkey2_mc.onEnterFrame = function () {
if (doorkey2_mc.hitTest(check_mc)) {
gotoAndPlay ("doorkeyclose");
doorkey2_mc.stopDrag();
doorkey2_mc._x = 25.9;
doorkey2_mc._y = 44.1;
} else if (doorkey2_mc.hitTest(_root.rooms_mc.doortrigger_mc)) {
_parent.gotoAndPlay(72);
trace("key hit door");
}
};
dreamlog2_mc.onRelease = function () {
if (dreamlog2_mc.hitTest(dreamlogtarget_mc)) {
dreamlog2_mc.stopDrag();
dreamlog2_mc._x = 71;
dreamlog2_mc._y = 128.6;
}
};
dreamlog2_mc.onEnterFrame = function () {
if (dreamlog2_mc.hitTest(check_mc)) {
gotoAndPlay ("dreamlog close");
dreamlog2_mc.stopDrag();
dreamlog2_mc._x = 71;
dreamlog2_mc._y = 128.6;
} else if (dreamlog2_mc.hitTest(_root.rooms_mc.treestand_mc.treestandstrigger_btn)) {
_root.rooms_mc.treestand_mc.play();
dreamlog2_mc._visible = false;
dreamlog2_mc._x = 71;
dreamlog2_mc._y = 128.6;
_root.dreamloginstand = "In stand";
}
};
egg2_mc.onEnterFrame = function () {
if (egg2_mc.hitTest(check_mc)) {
gotoAndPlay ("egg close");
egg2_mc.stopDrag();
egg2_mc._x = -30.4;
egg2_mc._y = -167.3;
} else if (egg2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.eggtarget_mc)) {
_root.rooms_mc.keyofdreams_mc.paintegg_mc._visible = true;
egg2_mc.stopDrag();
egg2_mc._x = -30.4;
egg2_mc._y = -167.3;
egg2_mc._visible = false;
_root.egginpainting = "In painting";
}
};
egg2_mc.onRelease = function () {
if (egg2_mc.hitTest(eggtarget_mc)) {
egg2_mc.stopDrag();
egg2_mc._x = -30.4;
egg2_mc._y = -167.3;
}
};
eggkey2_mc.onPress = function () {
eggkey2_mc.startDrag();
};
eggkey2_mc.onRelease = function () {
if (eggkey2_mc.hitTest(eggkeytarget_mc)) {
eggkey2_mc.stopDrag();
eggkey2_mc._x = -15.7;
eggkey2_mc._y = 49;
}
};
eggkey2_mc.onEnterFrame = function () {
if (eggkey2_mc.hitTest(check_mc)) {
gotoAndPlay ("eggkeyclose");
eggkey2_mc.stopDrag();
eggkey2_mc._x = -15.7;
eggkey2_mc._y = 49;
} else if (eggkey2_mc.hitTest(_root.inv_mc.egg3_mc.eggunlock_mc.eggkeytrigger_btn)) {
_root.inv_mc.egg3_mc.eggunlock_mc.play();
eggkey2_mc.stopDrag();
eggkey2_mc._x = -15.7;
eggkey2_mc._y = 49;
}
};
glass2_mc.onEnterFrame = function () {
if (glass2_mc.hitTest(check_mc)) {
gotoAndPlay ("glassclose");
glass2_mc.stopDrag();
glass2_mc._x = 18.6;
glass2_mc._y = -176.6;
} else if (glass2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.glasstarget_mc)) {
_root.rooms_mc.keyofdreams_mc.paintglass_mc._visible = true;
glass2_mc.stopDrag();
glass2_mc._x = 18.6;
glass2_mc._y = -176.6;
glass2_mc._visible = false;
_root.glassinpainting = "In painting";
}
};
glass2_mc.onRelease = function () {
if (glass2_mc.hitTest(glasstarget_mc)) {
glass2_mc.stopDrag();
glass2_mc._x = 18.6;
glass2_mc._y = -176.6;
}
};
mallet2_mc.onEnterFrame = function () {
if (mallet2_mc.hitTest(check_mc)) {
gotoAndPlay ("malletclose");
mallet2_mc.stopDrag();
mallet2_mc._x = -2.3;
mallet2_mc._y = -224.4;
} else if (mallet2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.mallettarget_mc)) {
_root.rooms_mc.keyofdreams_mc.paintmallet_mc._visible = true;
mallet2_mc.stopDrag();
mallet2_mc._x = -2.3;
mallet2_mc._y = -224.4;
mallet2_mc._visible = false;
_root.malletinpainting = "In painting";
}
};
mallet2_mc.onRelease = function () {
if (mallet2_mc.hitTest(mallettarget_mc)) {
mallet2_mc.stopDrag();
mallet2_mc._x = -2.3;
mallet2_mc._y = -224.4;
}
};
pliers2_mc.onPress = function () {
pliers2_mc.startDrag();
};
pliers2_mc.onRelease = function () {
if (pliers2_mc.hitTest(plierstarget_mc)) {
pliers2_mc.stopDrag();
pliers2_mc._x = -24.5;
pliers2_mc._y = 135.7;
}
};
pliers2_mc.onEnterFrame = function () {
if (pliers2_mc.hitTest(check_mc)) {
gotoAndPlay ("pliersclose");
pliers2_mc.stopDrag();
pliers2_mc._x = -24.5;
pliers2_mc._y = 135.7;
} else if (_root.inv_mc.pliers2_mc.hitTest(_root.rooms_mc.bookcasefrontclose_mc.woodenbox_mc.boxtrigger_btn)) {
_root.rooms_mc.bookcasefrontclose_mc.woodenbox_mc.play();
_root.boxlocked = "Unlocked";
}
};
rippedpage32_mc.onEnterFrame = function () {
if (rippedpage32_mc.hitTest(check_mc)) {
gotoAndPlay ("rippedpage3_close");
rippedpage32_mc.stopDrag();
rippedpage32_mc._x = -25;
rippedpage32_mc._y = 92.3;
}
};
rippedpage32_mc.onRelease = function () {
if (rippedpage32_mc.hitTest(rippedpage3target_mc)) {
rippedpage32_mc.stopDrag();
rippedpage32_mc._x = -25;
rippedpage32_mc._y = 92.3;
}
};
shoe2_mc.onPress = function () {
shoe2_mc.startDrag();
};
shoe2_mc.onRelease = function () {
if (shoe2_mc.hitTest(shoetarget_mc)) {
shoe2_mc.stopDrag();
shoe2_mc._x = 9;
shoe2_mc._y = -79.4;
}
};
shoe2_mc.onEnterFrame = function () {
if (shoe2_mc.hitTest(check_mc)) {
gotoAndPlay ("shoeclose");
shoe2_mc.stopDrag();
shoe2_mc._x = 9;
shoe2_mc._y = -79.4;
} else if (shoe2_mc.hitTest(_root.rooms_mc.keyofdreams_mc.shoetarget_mc)) {
_root.rooms_mc.keyofdreams_mc.paintshoe_mc._visible = true;
shoe2_mc.stopDrag();
shoe2_mc._x = 9;
shoe2_mc._y = -79.4;
shoe2_mc._visible = false;
_root.shoeinpainting = "In painting";
}
};
zippo2_mc.onEnterFrame = function () {
if (zippo2_mc.hitTest(check_mc)) {
gotoAndPlay ("zippoclose");
zippo2_mc.stopDrag();
zippo2_mc._x = -28.6;
zippo2_mc._y = 15.9;
}
};
zippo2_mc.onRelease = function () {
if (zippo2_mc.hitTest(zippotarget_mc)) {
zippo2_mc.stopDrag();
zippo2_mc._x = -28.6;
zippo2_mc._y = 15.9;
}
};
return_btn.onPress = function () {
gotoAndStop ("start");
trace("return");
};
Instance of Symbol 366 MovieClip "candle2_mc" in Symbol 611 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.candlelit == "Lit") {
this.visible = false;
} else if ((_root.candlelit == "Not lit") & (_root.candlelocated == "Found")) {
this._visible = true;
trace("candlefound");
}
}
Instance of Symbol 400 MovieClip "candleflame_mc" in Symbol 611 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.candlelit == "Lit") {
gotoAndStop ("candleflame");
this.onPress = function () {
this.startDrag();
};
} else if (_root.candlelit == "Not lit") {
gotoAndStop ("nocandleflame");
}
}
Symbol 611 MovieClip Frame 5
stop();
Symbol 611 MovieClip Frame 10
stop();
Symbol 611 MovieClip Frame 15
stop();
Symbol 611 MovieClip Frame 20
stop();
Instance of Symbol 366 MovieClip "candle3_mc" in Symbol 611 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.inv_mc.zippo2_mc.hitTest(this)) {
gotoAndStop ("candleflame");
_root.candlelit = "Lit";
}
}
Symbol 611 MovieClip Frame 25
stop();
Symbol 611 MovieClip Frame 30
stop();
Symbol 611 MovieClip Frame 35
stop();
Symbol 611 MovieClip Frame 40
stop();
Instance of Symbol 66 MovieClip "zippo3_mc" in Symbol 611 MovieClip Frame 40
onClipEvent (enterFrame) {
this.onPress = function () {
gotoAndPlay ("lighter_opens");
};
}
Symbol 611 MovieClip Frame 45
stop();
Symbol 611 MovieClip Frame 50
stop();
Symbol 611 MovieClip Frame 55
stop();
Symbol 611 MovieClip Frame 60
stop();
Symbol 611 MovieClip Frame 65
stop();
Symbol 611 MovieClip Frame 70
stop();
Instance of Symbol 400 MovieClip "flamecandle_mc" in Symbol 611 MovieClip Frame 70
onClipEvent (enterFrame) {
if (_root.candlelit == "Lit") {
this._visible = true;
_root.inv_mc.candle2_mc._visible = false;
this.onPress = function () {
this.startDrag();
};
}
}
Symbol 611 MovieClip Frame 75
stop();
Symbol 611 MovieClip Frame 80
stop();
Symbol 611 MovieClip Frame 85
stop();
Symbol 611 MovieClip Frame 90
stop();
Symbol 611 MovieClip Frame 95
stop();
Symbol 626 Button
on (release) {
gotoAndPlay (1);
}