Section 1
//ACStinger_432 (FindersSeekers_Sept14_1b_fla.ACStinger_432)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class ACStinger_432 extends MovieClip {
public var shakeNum:int;
public var repeatFlap:int;
public function ACStinger_432(){
addFrameScript(0, frame1, 21, frame22, 33, frame34, 49, frame50, 99, frame100, 188, frame189, 299, frame300);
}
function frame1(){
shakeNum = 4;
}
function frame189(){
repeatFlap = 0;
}
function frame300(){
stop();
MovieClip(root).introDone = true;
}
function frame50(){
shakeNum--;
if (shakeNum > 0){
gotoAndPlay("shake2");
} else {
shakeNum = 4;
};
}
function frame100(){
shakeNum--;
if (shakeNum > 0){
gotoAndPlay("hit2");
} else {
shakeNum = 4;
};
}
function frame22(){
shakeNum--;
if (shakeNum > 0){
gotoAndPlay("shake1");
} else {
shakeNum = 4;
};
}
function frame34(){
shakeNum--;
if (shakeNum > 0){
gotoAndPlay("hit1");
} else {
shakeNum = 4;
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 2
//BackBUTMenu_509 (FindersSeekers_Sept14_1b_fla.BackBUTMenu_509)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class BackBUTMenu_509 extends MovieClip {
public function BackBUTMenu_509(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 3
//BellSound_BellCHime_528 (FindersSeekers_Sept14_1b_fla.BellSound_BellCHime_528)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.media.*;
public dynamic class BellSound_BellCHime_528 extends MovieClip {
public var track1:BellSound;
public var someChannel:SoundChannel;
public var startSound:Boolean;
public var someTransform:SoundTransform;
public function BellSound_BellCHime_528(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame1(){
stop();
track1 = new BellSound();
someTransform = new SoundTransform(1);
someChannel = new SoundChannel();
startSound = true;
}
function frame2(){
someTransform.volume = 0.25;
someChannel = track1.play(0, 1, someTransform);
gotoAndStop("stopper");
}
function frame3(){
someTransform.volume = 0.5;
someChannel = track1.play(0, 1, someTransform);
gotoAndStop("stopper");
}
function frame4(){
someTransform.volume = 0.75;
someChannel = track1.play(0, 1, someTransform);
gotoAndStop("stopper");
}
function frame5(){
someTransform.volume = 1;
someChannel = track1.play(0, 1, someTransform);
gotoAndStop("stopper");
}
function frame6(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 4
//BG_5 (FindersSeekers_Sept14_1b_fla.BG_5)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class BG_5 extends MovieClip {
public function BG_5(){
addFrameScript(10, frame11);
}
function frame11(){
MovieClip(parent).gotoAndStop(2);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 5
//bonusContentBUT_505 (FindersSeekers_Sept14_1b_fla.bonusContentBUT_505)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class bonusContentBUT_505 extends MovieClip {
public function bonusContentBUT_505(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 6
//boomSound_516 (FindersSeekers_Sept14_1b_fla.boomSound_516)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class boomSound_516 extends MovieClip {
public function boomSound_516(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 7
//Catacombs_Main_Closed_258 (FindersSeekers_Sept14_1b_fla.Catacombs_Main_Closed_258)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Main_Closed_258 extends MovieClip {
public var glow:MovieClip;
public function Catacombs_Main_Closed_258(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 8
//Catacombs_Main_Keys_257 (FindersSeekers_Sept14_1b_fla.Catacombs_Main_Keys_257)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Main_Keys_257 extends MovieClip {
public function Catacombs_Main_Keys_257(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 9
//Catacombs_Main_Open_254 (FindersSeekers_Sept14_1b_fla.Catacombs_Main_Open_254)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Main_Open_254 extends MovieClip {
public var glow:MovieClip;
public function Catacombs_Main_Open_254(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 10
//Catacombs_Main_ToCam1_262 (FindersSeekers_Sept14_1b_fla.Catacombs_Main_ToCam1_262)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Main_ToCam1_262 extends MovieClip {
public function Catacombs_Main_ToCam1_262(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 11
//Catacombs_Main_ToCam3_263 (FindersSeekers_Sept14_1b_fla.Catacombs_Main_ToCam3_263)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Main_ToCam3_263 extends MovieClip {
public function Catacombs_Main_ToCam3_263(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 12
//Catacombs_Puzzle_Closed_270 (FindersSeekers_Sept14_1b_fla.Catacombs_Puzzle_Closed_270)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Puzzle_Closed_270 extends MovieClip {
public var glow:MovieClip;
public function Catacombs_Puzzle_Closed_270(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 13
//Catacombs_Puzzle_Keys_269 (FindersSeekers_Sept14_1b_fla.Catacombs_Puzzle_Keys_269)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Puzzle_Keys_269 extends MovieClip {
public function Catacombs_Puzzle_Keys_269(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 14
//Catacombs_Puzzle_Open_266 (FindersSeekers_Sept14_1b_fla.Catacombs_Puzzle_Open_266)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Puzzle_Open_266 extends MovieClip {
public var glow:MovieClip;
public function Catacombs_Puzzle_Open_266(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 15
//Catacombs_Puzzle_ToCam2_273 (FindersSeekers_Sept14_1b_fla.Catacombs_Puzzle_ToCam2_273)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Puzzle_ToCam2_273 extends MovieClip {
public function Catacombs_Puzzle_ToCam2_273(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 16
//Catacombs_Stairs_BG_245 (FindersSeekers_Sept14_1b_fla.Catacombs_Stairs_BG_245)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Stairs_BG_245 extends MovieClip {
public var glow:MovieClip;
public function Catacombs_Stairs_BG_245(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 17
//Catacombs_Stairs_Flames_247 (FindersSeekers_Sept14_1b_fla.Catacombs_Stairs_Flames_247)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Stairs_Flames_247 extends MovieClip {
public function Catacombs_Stairs_Flames_247(){
addFrameScript(0, frame1, 2, frame3, 4, frame5, 6, frame7, 8, frame9, 10, frame11);
}
function frame1(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame3(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame5(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame7(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame9(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame11(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 18
//Catacombs_Stairs_Lid_248 (FindersSeekers_Sept14_1b_fla.Catacombs_Stairs_Lid_248)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Stairs_Lid_248 extends MovieClip {
public function Catacombs_Stairs_Lid_248(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 19
//Catacombs_Stairs_ToCam2_249 (FindersSeekers_Sept14_1b_fla.Catacombs_Stairs_ToCam2_249)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Stairs_ToCam2_249 extends MovieClip {
public function Catacombs_Stairs_ToCam2_249(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 20
//Catacombs_stairs_ToCam3_250 (FindersSeekers_Sept14_1b_fla.Catacombs_stairs_ToCam3_250)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_stairs_ToCam3_250 extends MovieClip {
public function Catacombs_stairs_ToCam3_250(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 21
//Catacombs_Stairs_ToPulpit_252 (FindersSeekers_Sept14_1b_fla.Catacombs_Stairs_ToPulpit_252)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Catacombs_Stairs_ToPulpit_252 extends MovieClip {
public function Catacombs_Stairs_ToPulpit_252(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 22
//Cemetery_Hall_Candle_176 (FindersSeekers_Sept14_1b_fla.Cemetery_Hall_Candle_176)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Hall_Candle_176 extends MovieClip {
public function Cemetery_Hall_Candle_176(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 23
//Cemetery_Hall_CandleGLOW_177 (FindersSeekers_Sept14_1b_fla.Cemetery_Hall_CandleGLOW_177)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Hall_CandleGLOW_177 extends MovieClip {
public var glow:MovieClip;
public function Cemetery_Hall_CandleGLOW_177(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 24
//Cemetery_Hall_FarCandle_173 (FindersSeekers_Sept14_1b_fla.Cemetery_Hall_FarCandle_173)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Hall_FarCandle_173 extends MovieClip {
public var glow:MovieClip;
public function Cemetery_Hall_FarCandle_173(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 25
//Cemetery_Hall_fireGlow_171 (FindersSeekers_Sept14_1b_fla.Cemetery_Hall_fireGlow_171)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Hall_fireGlow_171 extends MovieClip {
public var glow:MovieClip;
public function Cemetery_Hall_fireGlow_171(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 26
//Cemetery_Hall_toCam2_179 (FindersSeekers_Sept14_1b_fla.Cemetery_Hall_toCam2_179)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Hall_toCam2_179 extends MovieClip {
public function Cemetery_Hall_toCam2_179(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 27
//Cemetery_Hall_ToLibrary_180 (FindersSeekers_Sept14_1b_fla.Cemetery_Hall_ToLibrary_180)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Hall_ToLibrary_180 extends MovieClip {
public function Cemetery_Hall_ToLibrary_180(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 28
//Cemetery_HallEnd_CandleGlow_182 (FindersSeekers_Sept14_1b_fla.Cemetery_HallEnd_CandleGlow_182)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_HallEnd_CandleGlow_182 extends MovieClip {
public var glow:MovieClip;
public function Cemetery_HallEnd_CandleGlow_182(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 29
//Cemetery_HallEnd_ToCam3_185 (FindersSeekers_Sept14_1b_fla.Cemetery_HallEnd_ToCam3_185)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_HallEnd_ToCam3_185 extends MovieClip {
public function Cemetery_HallEnd_ToCam3_185(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 30
//Cemetery_Main_CandleGlow_190 (FindersSeekers_Sept14_1b_fla.Cemetery_Main_CandleGlow_190)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Main_CandleGlow_190 extends MovieClip {
public var glow:MovieClip;
public function Cemetery_Main_CandleGlow_190(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 31
//Cemetery_Main_PupUp_228 (FindersSeekers_Sept14_1b_fla.Cemetery_Main_PupUp_228)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Cemetery_Main_PupUp_228 extends MovieClip {
public var closeBUT:MovieClip;
public var eastBUT:MovieClip;
public var mC:MovieClip;
public var westBUT:MovieClip;
public var takeBUT:MovieClip;
public var southBUT:MovieClip;
public var northBUT:MovieClip;
public function Cemetery_Main_PupUp_228(){
addFrameScript(0, frame1);
}
public function closeFunc(e:MouseEvent):void{
this.visible = false;
}
public function takeFunc(e:MouseEvent):void{
this.visible = false;
mC.curLevel.setLantern(0, true);
}
public function northFunc(dir:int):void{
mC.curLevel.setLantern(dir, false);
}
function frame1(){
mC = MovieClip(root);
closeBUT.addEventListener(MouseEvent.CLICK, closeFunc);
takeBUT.addEventListener(MouseEvent.CLICK, takeFunc);
northBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(0);
});
eastBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(1);
});
southBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(2);
});
westBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(3);
});
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 32
//Cemetery_Main_ToCam2_223 (FindersSeekers_Sept14_1b_fla.Cemetery_Main_ToCam2_223)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Main_ToCam2_223 extends MovieClip {
public function Cemetery_Main_ToCam2_223(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 33
//Cemetery_Main_ToCam4_224 (FindersSeekers_Sept14_1b_fla.Cemetery_Main_ToCam4_224)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Main_ToCam4_224 extends MovieClip {
public function Cemetery_Main_ToCam4_224(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 34
//Cemetery_Spring_Mud_236 (FindersSeekers_Sept14_1b_fla.Cemetery_Spring_Mud_236)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Spring_Mud_236 extends MovieClip {
public var glow2:MovieClip;
public var glow1:MovieClip;
public function Cemetery_Spring_Mud_236(){
addFrameScript(0, frame1);
}
function frame1(){
glow1.alpha = (glow1.alpha + ((Rand.getRandom(2) == 1)) ? 0.1 : -0.1);
glow1.alpha = ((glow1.alpha > 1)) ? 1 : ((glow1.alpha < 0)) ? 0 : glow1.alpha;
glow2.alpha = (glow2.alpha + ((Rand.getRandom(2) == 1)) ? 0.1 : -0.1);
glow2.alpha = ((glow2.alpha > 1)) ? 1 : ((glow2.alpha < 0)) ? 0 : glow2.alpha;
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 35
//Cemetery_Spring_ToCam3_242 (FindersSeekers_Sept14_1b_fla.Cemetery_Spring_ToCam3_242)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Spring_ToCam3_242 extends MovieClip {
public function Cemetery_Spring_ToCam3_242(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 36
//Cemetery_Spring_Waterfall_233 (FindersSeekers_Sept14_1b_fla.Cemetery_Spring_Waterfall_233)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Spring_Waterfall_233 extends MovieClip {
public var w2a:MovieClip;
public var w1a:MovieClip;
public function Cemetery_Spring_Waterfall_233(){
addFrameScript(0, frame1);
}
function frame1(){
w1a.alpha = (w1a.alpha + ((Rand.getRandom(2) == 1)) ? 0.1 : -0.1);
w1a.alpha = ((w1a.alpha > 1)) ? 1 : ((w1a.alpha < 0)) ? 0 : w1a.alpha;
w2a.alpha = (w2a.alpha + ((Rand.getRandom(2) == 1)) ? 0.1 : -0.1);
w2a.alpha = ((w2a.alpha > 1)) ? 1 : ((w2a.alpha < 0)) ? 0 : w2a.alpha;
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 37
//Cemetery_Spring_WaterOuter_231 (FindersSeekers_Sept14_1b_fla.Cemetery_Spring_WaterOuter_231)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Cemetery_Spring_WaterOuter_231 extends MovieClip {
public function Cemetery_Spring_WaterOuter_231(){
addFrameScript(30, frame31);
}
function frame31(){
gotoAndPlay((Rand.getRandom(70) + 31));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 38
//Chapel_Ceiling_Rope_102 (FindersSeekers_Sept14_1b_fla.Chapel_Ceiling_Rope_102)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_Ceiling_Rope_102 extends MovieClip {
public function Chapel_Ceiling_Rope_102(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 39
//Chapel_Ceiling_RopeCLICK_104 (FindersSeekers_Sept14_1b_fla.Chapel_Ceiling_RopeCLICK_104)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_Ceiling_RopeCLICK_104 extends MovieClip {
public function Chapel_Ceiling_RopeCLICK_104(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 40
//Chapel_Ceiling_ToCam1_103 (FindersSeekers_Sept14_1b_fla.Chapel_Ceiling_ToCam1_103)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_Ceiling_ToCam1_103 extends MovieClip {
public function Chapel_Ceiling_ToCam1_103(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 41
//Chapel_EastWall_ChandCLICK_144 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_ChandCLICK_144)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_ChandCLICK_144 extends MovieClip {
public function Chapel_EastWall_ChandCLICK_144(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 42
//Chapel_EastWall_ChandDownON_137 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_ChandDownON_137)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_ChandDownON_137 extends MovieClip {
public var glow:MovieClip;
public function Chapel_EastWall_ChandDownON_137(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 43
//Chapel_EastWall_Chandelier_136 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_Chandelier_136)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_Chandelier_136 extends MovieClip {
public function Chapel_EastWall_Chandelier_136(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame1(){
stop();
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 44
//Chapel_EastWall_ChandUPON_139 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_ChandUPON_139)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_ChandUPON_139 extends MovieClip {
public var glow:MovieClip;
public function Chapel_EastWall_ChandUPON_139(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 45
//Chapel_EastWall_RopeCLICK_146 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_RopeCLICK_146)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_RopeCLICK_146 extends MovieClip {
public function Chapel_EastWall_RopeCLICK_146(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 46
//Chapel_EastWall_ToCam1_142 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_ToCam1_142)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_ToCam1_142 extends MovieClip {
public function Chapel_EastWall_ToCam1_142(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 47
//Chapel_EastWall_ToCam4_143 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_ToCam4_143)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_ToCam4_143 extends MovieClip {
public function Chapel_EastWall_ToCam4_143(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 48
//Chapel_EastWall_ToCam7_141 (FindersSeekers_Sept14_1b_fla.Chapel_EastWall_ToCam7_141)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_EastWall_ToCam7_141 extends MovieClip {
public function Chapel_EastWall_ToCam7_141(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 49
//Chapel_Floor_LodeStone_99 (FindersSeekers_Sept14_1b_fla.Chapel_Floor_LodeStone_99)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_Floor_LodeStone_99 extends MovieClip {
public function Chapel_Floor_LodeStone_99(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 50
//Chapel_Floor_ToCam1_97 (FindersSeekers_Sept14_1b_fla.Chapel_Floor_ToCam1_97)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_Floor_ToCam1_97 extends MovieClip {
public function Chapel_Floor_ToCam1_97(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 51
//Chapel_MainShot_CandleFlame_84 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_CandleFlame_84)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_CandleFlame_84 extends MovieClip {
public function Chapel_MainShot_CandleFlame_84(){
addFrameScript(0, frame1, 2, frame3, 4, frame5, 6, frame7, 8, frame9, 10, frame11, 12, frame13, 14, frame15);
}
function frame15(){
changeFrame();
}
function frame1(){
changeFrame();
}
function frame11(){
changeFrame();
}
function frame3(){
changeFrame();
}
function frame5(){
changeFrame();
}
function frame7(){
changeFrame();
}
function frame9(){
changeFrame();
}
public function changeFrame():void{
gotoAndPlay((((Rand.getRandom(8) + 1) * 2) - 1));
}
function frame13(){
changeFrame();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 52
//Chapel_MainShot_ChandDAnim_82 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_ChandDAnim_82)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_ChandDAnim_82 extends MovieClip {
public var glow:MovieClip;
public function Chapel_MainShot_ChandDAnim_82(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
glowMe();
}
public function glowMe():void{
glow.alpha = (Rand.getRandom(11) / 10);
}
function frame2(){
glowMe();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 53
//Chapel_MainShot_Chandelier_81 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_Chandelier_81)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_Chandelier_81 extends MovieClip {
public function Chapel_MainShot_Chandelier_81(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame1(){
stop();
stop();
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 54
//Chapel_MainShot_ChandUAnim_85 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_ChandUAnim_85)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_ChandUAnim_85 extends MovieClip {
public var glow:MovieClip;
public function Chapel_MainShot_ChandUAnim_85(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
glowMe();
}
public function glowMe():void{
glow.alpha = (Rand.getRandom(11) / 10);
}
function frame2(){
glowMe();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 55
//Chapel_MainShot_LodeStone_88 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_LodeStone_88)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_LodeStone_88 extends MovieClip {
public function Chapel_MainShot_LodeStone_88(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 56
//Chapel_MainShot_RopeFar_87 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_RopeFar_87)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_RopeFar_87 extends MovieClip {
public function Chapel_MainShot_RopeFar_87(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 57
//Chapel_MainShot_ToCam2_93 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_ToCam2_93)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_ToCam2_93 extends MovieClip {
public function Chapel_MainShot_ToCam2_93(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 58
//Chapel_MainShot_ToCam3_95 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_ToCam3_95)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_ToCam3_95 extends MovieClip {
public function Chapel_MainShot_ToCam3_95(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 59
//Chapel_mainShot_ToCam4_92 (FindersSeekers_Sept14_1b_fla.Chapel_mainShot_ToCam4_92)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_mainShot_ToCam4_92 extends MovieClip {
public function Chapel_mainShot_ToCam4_92(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 60
//Chapel_MainShot_ToSideCams_91 (FindersSeekers_Sept14_1b_fla.Chapel_MainShot_ToSideCams_91)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_MainShot_ToSideCams_91 extends MovieClip {
public function Chapel_MainShot_ToSideCams_91(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 61
//Chapel_mainShot_ToUnderPulpit_94 (FindersSeekers_Sept14_1b_fla.Chapel_mainShot_ToUnderPulpit_94)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_mainShot_ToUnderPulpit_94 extends MovieClip {
public function Chapel_mainShot_ToUnderPulpit_94(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 62
//Chapel_PulpitLEFT_ToCam1_126 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitLEFT_ToCam1_126)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitLEFT_ToCam1_126 extends MovieClip {
public function Chapel_PulpitLEFT_ToCam1_126(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 63
//Chapel_PulpitLEFT_ToCam5_124 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitLEFT_ToCam5_124)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitLEFT_ToCam5_124 extends MovieClip {
public function Chapel_PulpitLEFT_ToCam5_124(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 64
//Chapel_PulpitLEFT_ToCam7_125 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitLEFT_ToCam7_125)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitLEFT_ToCam7_125 extends MovieClip {
public function Chapel_PulpitLEFT_ToCam7_125(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 65
//Chapel_PulpitLEFT_ToTower_127 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitLEFT_ToTower_127)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitLEFT_ToTower_127 extends MovieClip {
public function Chapel_PulpitLEFT_ToTower_127(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 66
//Chapel_PulpitRIGHT_SwitchTimer_131 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitRIGHT_SwitchTimer_131)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Chapel_PulpitRIGHT_SwitchTimer_131 extends MovieClip {
public function Chapel_PulpitRIGHT_SwitchTimer_131(){
addFrameScript(0, frame1, 29, frame30);
}
function frame30(){
MovieClip(root).switchClick = 0;
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 67
//Chapel_PulpitRIGHT_ToCam1_132 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitRIGHT_ToCam1_132)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitRIGHT_ToCam1_132 extends MovieClip {
public function Chapel_PulpitRIGHT_ToCam1_132(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 68
//Chapel_PulpitRIGHT_ToCam6_133 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitRIGHT_ToCam6_133)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitRIGHT_ToCam6_133 extends MovieClip {
public function Chapel_PulpitRIGHT_ToCam6_133(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 69
//Chapel_PulpitRIGHT_ToCam8_134 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitRIGHT_ToCam8_134)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitRIGHT_ToCam8_134 extends MovieClip {
public function Chapel_PulpitRIGHT_ToCam8_134(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 70
//Chapel_PulpitRIGHT_ToTower_129 (FindersSeekers_Sept14_1b_fla.Chapel_PulpitRIGHT_ToTower_129)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_PulpitRIGHT_ToTower_129 extends MovieClip {
public function Chapel_PulpitRIGHT_ToTower_129(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 71
//Chapel_SouthWall_FireRoom_109 (FindersSeekers_Sept14_1b_fla.Chapel_SouthWall_FireRoom_109)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_SouthWall_FireRoom_109 extends MovieClip {
public var glow:MovieClip;
public function Chapel_SouthWall_FireRoom_109(){
addFrameScript(0, frame1, 1, frame2);
}
public function glowFire():void{
glow.alpha = (Rand.getRandom(11) / 10);
}
function frame1(){
glowFire();
}
function frame2(){
glowFire();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 72
//Chapel_SouthWall_LodeStone_107 (FindersSeekers_Sept14_1b_fla.Chapel_SouthWall_LodeStone_107)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_SouthWall_LodeStone_107 extends MovieClip {
public function Chapel_SouthWall_LodeStone_107(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 73
//Chapel_SouthWall_ToCam5_113 (FindersSeekers_Sept14_1b_fla.Chapel_SouthWall_ToCam5_113)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_SouthWall_ToCam5_113 extends MovieClip {
public function Chapel_SouthWall_ToCam5_113(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 74
//Chapel_SouthWall_ToCam8_111 (FindersSeekers_Sept14_1b_fla.Chapel_SouthWall_ToCam8_111)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_SouthWall_ToCam8_111 extends MovieClip {
public function Chapel_SouthWall_ToCam8_111(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 75
//Chapel_SouthWall_ToLibrary_112 (FindersSeekers_Sept14_1b_fla.Chapel_SouthWall_ToLibrary_112)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_SouthWall_ToLibrary_112 extends MovieClip {
public function Chapel_SouthWall_ToLibrary_112(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 76
//Chapel_WestWall_StarBlocker_120 (FindersSeekers_Sept14_1b_fla.Chapel_WestWall_StarBlocker_120)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_WestWall_StarBlocker_120 extends MovieClip {
public var glow:MovieClip;
public function Chapel_WestWall_StarBlocker_120(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
glowMe();
}
public function glowMe():void{
glow.alpha = (Rand.getRandom(11) / 10);
}
function frame2(){
glowMe();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 77
//Chapel_WestWall_Stars_118 (FindersSeekers_Sept14_1b_fla.Chapel_WestWall_Stars_118)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_WestWall_Stars_118 extends MovieClip {
public var glow:MovieClip;
public function Chapel_WestWall_Stars_118(){
addFrameScript(0, frame1);
}
function frame1(){
glowMe();
}
public function glowMe():void{
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 78
//Chapel_WestWall_ToCam1_115 (FindersSeekers_Sept14_1b_fla.Chapel_WestWall_ToCam1_115)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_WestWall_ToCam1_115 extends MovieClip {
public function Chapel_WestWall_ToCam1_115(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 79
//Chapel_WestWall_ToCam4_117 (FindersSeekers_Sept14_1b_fla.Chapel_WestWall_ToCam4_117)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_WestWall_ToCam4_117 extends MovieClip {
public function Chapel_WestWall_ToCam4_117(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 80
//Chapel_WestWall_ToCam6_116 (FindersSeekers_Sept14_1b_fla.Chapel_WestWall_ToCam6_116)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Chapel_WestWall_ToCam6_116 extends MovieClip {
public function Chapel_WestWall_ToCam6_116(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 81
//CompassArms_53 (FindersSeekers_Sept14_1b_fla.CompassArms_53)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class CompassArms_53 extends MovieClip {
public var compass:MovieClip;
public function CompassArms_53(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
aimCompass();
}
function frame2(){
aimCompass();
}
public function aimCompass(){
var point1:Point;
var newPoint:Point;
var cAngle:*;
var mC:MovieClip = MovieClip(root);
if (mC){
if (mC.invAr[mC.invObj.lodeStone] != 1){
mC.curLevel.setCompass(mC.itemsAr[1]);
};
point1 = new Point(mC.compassX, mC.compassY);
newPoint = this.globalToLocal(point1);
cAngle = (Math.atan2(newPoint.y, newPoint.x) * 57.3);
compass.rotation = cAngle;
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 82
//continueBUT_513 (FindersSeekers_Sept14_1b_fla.continueBUT_513)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class continueBUT_513 extends MovieClip {
public function continueBUT_513(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 83
//continueOnLevelBUT_515 (FindersSeekers_Sept14_1b_fla.continueOnLevelBUT_515)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class continueOnLevelBUT_515 extends MovieClip {
public var levelNum:Number;
public var dispNum:String;
public var dispText:TextField;
public function continueOnLevelBUT_515(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame1(){
}
function frame2(){
stop();
dispNum = ((levelNum < 10)) ? ("0" + levelNum) : ("" + levelNum);
if (levelNum <= MovieClip(root).maxLevelNum){
this.onPressFunc = function (){
if (MovieClip(root).canClickMenu == true){
trace(levelNum);
MovieClip(root).levelNum = levelNum;
MovieClip(root).gameMode = 1;
MovieClip(root).canClickMenu = false;
MovieClip(root).loadLevelTimer = 0;
gotoAndStop("clicked");
MovieClip(root).mainMenu.gotoAndPlay("mainMenuOut");
};
};
this.addEventListener(MouseEvent.CLICK, this.onPressFunc);
this.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
this.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
gotoAndStop("mouseOUT");
} else {
gotoAndStop("noBUT");
};
}
function frame3(){
dispText.text = dispNum;
}
function frame4(){
dispText.text = dispNum;
}
function frame5(){
dispText.text = dispNum;
}
function frame6(){
dispText.text = dispNum;
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 84
//creditsBUT_502 (FindersSeekers_Sept14_1b_fla.creditsBUT_502)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class creditsBUT_502 extends MovieClip {
public function creditsBUT_502(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 85
//fanDroneCLIP_525 (FindersSeekers_Sept14_1b_fla.fanDroneCLIP_525)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class fanDroneCLIP_525 extends MovieClip {
public var track1:fan;
public var someChannel:SoundChannel;
public var startSound:Boolean;
public var someTransform:SoundTransform;
public function fanDroneCLIP_525(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame1(){
stop();
track1 = new fan();
someTransform = new SoundTransform(1);
someChannel = new SoundChannel();
startSound = true;
}
function frame2(){
someTransform.volume = MovieClip(root).fanVolume;
someChannel = track1.play(0, 1000, someTransform);
stop();
}
function frame3(){
someChannel.stop();
stop();
}
function frame4(){
someTransform.volume = (someTransform.volume - 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
};
}
function frame5(){
someTransform.volume = (someTransform.volume - 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
} else {
gotoAndPlay(4);
};
}
function frame6(){
someTransform.volume = MovieClip(root).fanVolume;
someChannel.soundTransform = someTransform;
trace(("here " + someTransform.volume));
}
function frame7(){
stop();
}
function frame8(){
someTransform.volume = 0;
someChannel = track1.play(0, 1000, someTransform);
}
function frame9(){
someTransform.volume = (someTransform.volume + 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume >= MovieClip(root).fanVolume){
stop();
};
}
function frame10(){
someTransform.volume = (someTransform.volume + 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume >= MovieClip(root).fireVolume){
stop();
} else {
gotoAndPlay(9);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 86
//firstLevelMessage_490 (FindersSeekers_Sept14_1b_fla.firstLevelMessage_490)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public dynamic class firstLevelMessage_490 extends MovieClip {
public var closer:MovieClip;
public var levMessage:TextField;
public function firstLevelMessage_490(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
closer.addEventListener(MouseEvent.CLICK, closerClick);
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
public function closerClick(e:MouseEvent):void{
gotoAndStop(1);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 87
//gameWonMenu_484 (FindersSeekers_Sept14_1b_fla.gameWonMenu_484)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class gameWonMenu_484 extends MovieClip {
public var homeBUT:MovieClip;
public var sponsorBUT:MovieClip;
public var cFrame:int;
public var saveBUT:MovieClip;
public var currentTimeText:TextField;
public var nextBUT:MovieClip;
public var mC:MovieClip;
public var bestTimeText:TextField;
public function gameWonMenu_484(){
addFrameScript(0, frame1, 9, frame10);
}
public function sponsorBUTClick(e:MouseEvent):void{
mC.openSponsorLink(e);
}
public function homeBUTClick(e:MouseEvent):void{
if (mC.canClickWon == true){
mC.gameMode = 0;
mC.mouseCursor.gotoAndStop("hand");
mC.heldItem = "hand";
mC.levelMessage.gotoAndStop(1);
mC.gameMenus.gotoAndPlay("gameWonOut");
};
}
public function saveBUTClick(e:MouseEvent):void{
if (mC.canClickHUD == true){
mC.levelMessage.levMessage.text = "game data saved";
mC.levelMessage.gotoAndPlay(2);
mC.saveGameData();
};
}
public function nextFunc(e:MouseEvent):void{
cFrame++;
gotoAndStop(cFrame);
}
function frame10(){
stop();
mC.gameBeaten = 1;
homeBUT.addEventListener(MouseEvent.CLICK, homeBUTClick);
homeBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
homeBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
if (MovieClip(root).bestTime == 0){
MovieClip(root).bestTime = MovieClip(root).curGameTimer;
} else {
if (MovieClip(root).curGameTimer > MovieClip(root).bestTime){
MovieClip(root).bestTime = MovieClip(root).curGameTimer;
};
};
if (MovieClip(root).curGameTimer < 284000){
MovieClip(root).devDuel();
};
if (MovieClip(root).curGameTimer < 900000){
MovieClip(root).fifteenMins();
};
currentTimeText.text = MovieClip(root).returnTime(MovieClip(root).curGameTimer);
bestTimeText.text = MovieClip(root).returnTime(MovieClip(root).bestTime);
saveBUT.addEventListener(MouseEvent.CLICK, saveBUTClick);
saveBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
saveBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
sponsorBUT.addEventListener(MouseEvent.MOUSE_OUT, mC.BUTRollOut);
sponsorBUT.addEventListener(MouseEvent.MOUSE_OVER, mC.BUTRollOver);
sponsorBUT.addEventListener(MouseEvent.MOUSE_UP, sponsorBUTClick);
}
function frame1(){
cFrame = 1;
mC = MovieClip(root);
nextBUT.addEventListener(MouseEvent.CLICK, nextFunc);
nextBUT.addEventListener(MouseEvent.MOUSE_OUT, mC.BUTRollOut);
nextBUT.addEventListener(MouseEvent.MOUSE_OVER, mC.BUTRollOver);
MovieClip(root).curStage.visible = false;
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 88
//highscoresBUT_504 (FindersSeekers_Sept14_1b_fla.highscoresBUT_504)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class highscoresBUT_504 extends MovieClip {
public function highscoresBUT_504(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 89
//HUD_CompassArms_58 (FindersSeekers_Sept14_1b_fla.HUD_CompassArms_58)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class HUD_CompassArms_58 extends MovieClip {
public var compass:MovieClip;
public var mC:MovieClip;
public function HUD_CompassArms_58(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
mC = MovieClip(root);
aimCompass();
}
function frame2(){
aimCompass();
}
public function aimCompass(){
var point1:Point = new Point(mC.compassX, mC.compassY);
var newPoint:Point = this.globalToLocal(point1);
var cAngle:* = (Math.atan2(newPoint.y, newPoint.x) * 57.3);
compass.rotation = cAngle;
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 90
//HUD_LighterFlame_50 (FindersSeekers_Sept14_1b_fla.HUD_LighterFlame_50)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUD_LighterFlame_50 extends MovieClip {
public function HUD_LighterFlame_50(){
addFrameScript(0, frame1, 2, frame3, 4, frame5, 6, frame7, 8, frame9, 10, frame11);
}
function frame1(){
gotoAndPlay((Rand.getRandom(11) + 1));
}
function frame3(){
gotoAndPlay((Rand.getRandom(11) + 1));
}
function frame5(){
gotoAndPlay((Rand.getRandom(11) + 1));
}
function frame7(){
gotoAndPlay((Rand.getRandom(11) + 1));
}
function frame9(){
gotoAndPlay((Rand.getRandom(11) + 1));
}
function frame11(){
gotoAndPlay((Rand.getRandom(11) + 1));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 91
//HUD_MoFo_BUT_467 (FindersSeekers_Sept14_1b_fla.HUD_MoFo_BUT_467)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUD_MoFo_BUT_467 extends MovieClip {
public function HUD_MoFo_BUT_467(){
addFrameScript(5, frame6, 14, frame15);
}
function frame15(){
stop();
}
function frame6(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 92
//HUD_Polaroids_452 (FindersSeekers_Sept14_1b_fla.HUD_Polaroids_452)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class HUD_Polaroids_452 extends MovieClip {
public var churchShot:MovieClip;
public var secretButton:MovieClip;
public var pyramidMural:MovieClip;
public var handMural:MovieClip;
public var sunMural:MovieClip;
public var lightningMural:MovieClip;
public var ladderScroll:MovieClip;
public var storyPlaque:MovieClip;
public var eyeMural:MovieClip;
public var visiblePolaroids:Array;
public var polaroids:MovieClip;
public var closeBUT2:MovieClip;
public var scrollVis:int;
public var closeBUT:MovieClip;
public var scrollRight:MovieClip;
public var moonMural:MovieClip;
public var mC:MovieClip;
public var polaroidList:Array;
public var i:int;
public var scrollLeft:MovieClip;
public function HUD_Polaroids_452(){
addFrameScript(0, frame1, 1, frame2);
}
public function leftScroll(e:MouseEvent):void{
var snum:int = (mC.polaroidIndex - 1);
snum = ((snum < 0)) ? (visiblePolaroids.length - 1) : snum;
while (visiblePolaroids[snum] == 0) {
snum--;
snum = ((snum < 0)) ? (visiblePolaroids.length - 1) : snum;
};
setChildIndex(polaroidList[snum], (numChildren - 1));
setChildIndex(closeBUT, (numChildren - 1));
setChildIndex(scrollRight, (numChildren - 1));
setChildIndex(scrollLeft, (numChildren - 1));
mC.polaroidIndex = (snum + 0);
}
public function rightScroll(e:MouseEvent):void{
var snum:int = (mC.polaroidIndex + 1);
snum = ((snum >= visiblePolaroids.length)) ? 0 : snum;
while (visiblePolaroids[snum] == 0) {
snum++;
snum = ((snum >= visiblePolaroids.length)) ? 0 : snum;
};
setChildIndex(polaroidList[snum], (numChildren - 1));
setChildIndex(closeBUT, (numChildren - 1));
setChildIndex(scrollRight, (numChildren - 1));
setChildIndex(scrollLeft, (numChildren - 1));
mC.polaroidIndex = (snum + 0);
}
public function closeWindow(e:MouseEvent):void{
secretButton.visible = false;
moonMural.visible = false;
sunMural.visible = false;
handMural.visible = false;
lightningMural.visible = false;
pyramidMural.visible = false;
eyeMural.visible = false;
storyPlaque.visible = false;
ladderScroll.visible = false;
churchShot.visible = false;
closeBUT.visible = false;
scrollRight.visible = false;
scrollLeft.visible = false;
gotoAndStop(1);
}
function frame1(){
mC = MovieClip(root);
stop();
polaroids.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
gotoAndStop(2);
});
}
function frame2(){
polaroidList = new Array();
polaroidList[0] = secretButton;
polaroidList[1] = moonMural;
polaroidList[2] = sunMural;
polaroidList[3] = handMural;
polaroidList[4] = lightningMural;
polaroidList[5] = pyramidMural;
polaroidList[6] = eyeMural;
polaroidList[7] = storyPlaque;
polaroidList[8] = ladderScroll;
polaroidList[9] = churchShot;
visiblePolaroids = new Array();
visiblePolaroids[0] = ((mC.itemsAr[mC.itemsObj.polaroidSecretButton] == 1)) ? 1 : 0;
visiblePolaroids[1] = ((mC.itemsAr[mC.itemsObj.polaroidMoonMural] == 1)) ? 1 : 0;
visiblePolaroids[2] = ((mC.itemsAr[mC.itemsObj.polaroidSunMural] == 1)) ? 1 : 0;
visiblePolaroids[3] = ((mC.itemsAr[mC.itemsObj.polaroidHandMural] == 1)) ? 1 : 0;
visiblePolaroids[4] = ((mC.itemsAr[mC.itemsObj.polaroidLightningMural] == 1)) ? 1 : 0;
visiblePolaroids[5] = ((mC.itemsAr[mC.itemsObj.polaroidPyramidMural] == 1)) ? 1 : 0;
visiblePolaroids[6] = ((mC.itemsAr[mC.itemsObj.polaroidEyeMural] == 1)) ? 1 : 0;
visiblePolaroids[7] = ((mC.itemsAr[mC.itemsObj.polaroidStoryPlaque] == 1)) ? 1 : 0;
visiblePolaroids[8] = ((mC.itemsAr[mC.itemsObj.ladderScroll] == 1)) ? 1 : 0;
visiblePolaroids[9] = ((mC.itemsAr[mC.itemsObj.churchShot] == 1)) ? 1 : 0;
secretButton.visible = ((mC.itemsAr[mC.itemsObj.polaroidSecretButton] == 1)) ? true : false;
moonMural.visible = ((mC.itemsAr[mC.itemsObj.polaroidMoonMural] == 1)) ? true : false;
sunMural.visible = ((mC.itemsAr[mC.itemsObj.polaroidSunMural] == 1)) ? true : false;
handMural.visible = ((mC.itemsAr[mC.itemsObj.polaroidHandMural] == 1)) ? true : false;
lightningMural.visible = ((mC.itemsAr[mC.itemsObj.polaroidLightningMural] == 1)) ? true : false;
pyramidMural.visible = ((mC.itemsAr[mC.itemsObj.polaroidPyramidMural] == 1)) ? true : false;
eyeMural.visible = ((mC.itemsAr[mC.itemsObj.polaroidEyeMural] == 1)) ? true : false;
storyPlaque.visible = ((mC.itemsAr[mC.itemsObj.polaroidStoryPlaque] == 1)) ? true : false;
ladderScroll.visible = ((mC.itemsAr[mC.itemsObj.ladderScroll] == 1)) ? true : false;
churchShot.visible = ((mC.itemsAr[mC.itemsObj.churchShot] == 1)) ? true : false;
setChildIndex(polaroidList[mC.polaroidIndex], (numChildren - 1));
setChildIndex(closeBUT, (numChildren - 1));
setChildIndex(scrollRight, (numChildren - 1));
setChildIndex(scrollLeft, (numChildren - 1));
closeBUT.visible = true;
scrollRight.visible = true;
scrollLeft.visible = true;
scrollVis = 0;
i = 0;
while (i < visiblePolaroids.length) {
scrollVis = (scrollVis + visiblePolaroids[i]);
i++;
};
scrollRight.visible = (scrollLeft.visible = ((scrollVis <= 1)) ? false : true);
scrollRight.addEventListener(MouseEvent.CLICK, rightScroll);
scrollLeft.addEventListener(MouseEvent.CLICK, leftScroll);
closeBUT.addEventListener(MouseEvent.CLICK, closeWindow);
closeBUT2.addEventListener(MouseEvent.CLICK, closeWindow);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 93
//HUD_PolaroidScrollBUT_464 (FindersSeekers_Sept14_1b_fla.HUD_PolaroidScrollBUT_464)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUD_PolaroidScrollBUT_464 extends MovieClip {
public function HUD_PolaroidScrollBUT_464(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 94
//HUDHomeBUT_475 (FindersSeekers_Sept14_1b_fla.HUDHomeBUT_475)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUDHomeBUT_475 extends MovieClip {
public function HUDHomeBUT_475(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 95
//HUDInner_450 (FindersSeekers_Sept14_1b_fla.HUDInner_450)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class HUDInner_450 extends MovieClip {
public var sponsorBUT:MovieClip;
public var rightScroll:MovieClip;
public var inventoryNum:int;
public var saveBUT:MovieClip;
public var quitWIND:MovieClip;
public var listScroll:Number;
public var homeBUT:MovieClip;
public var polaroids:MovieClip;
public var muteBUT:MovieClip;
public var achieveBUT:MovieClip;
public var moreGamesBUT:MovieClip;
public var mC:MovieClip;
public var walkBUT:MovieClip;
public var HUDinv:MovieClip;
public var leftScroll:MovieClip;
public var bMC:MovieClip;
public function HUDInner_450(){
addFrameScript(0, frame1);
}
public function muteBUTClick(e:MouseEvent):void{
if (MovieClip(root).soundOn == true){
MovieClip(root).soundOn = false;
e.currentTarget.slash.visible = true;
MovieClip(root).mainAmbience.gotoAndPlay("OUT");
MovieClip(root).curLevel.stopSounds();
SoundMixer.stopAll();
} else {
SoundMixer.stopAll();
MovieClip(root).soundOn = true;
e.currentTarget.slash.visible = false;
MovieClip(root).mainAmbience.gotoAndPlay("IN");
MovieClip(root).curLevel.startSounds();
};
}
public function homeBUTClick(e:MouseEvent):void{
if (mC.canClickHUD == true){
quitWIND.visible = true;
};
}
public function moreGamesBUTClick(e:MouseEvent):void{
mC.openSponsorLink(e);
}
public function refreshList():void{
HUDinv.removeChild(bMC);
bMC = null;
buildList();
bMC.x = ((bMC.x > 0)) ? 0 : ((bMC.x < -(((20 + (inventoryNum * 55)) - 600)))) ? -(((20 + (inventoryNum * 55)) - 600)) : bMC.x;
listScroll = bMC.x;
}
public function invClick(e:MouseEvent):void{
if (MovieClip(root).checkCombine(MovieClip(root).heldNum, e.currentTarget.invNum) != true){
MovieClip(root).heldItem = e.currentTarget.invName;
MovieClip(root).heldNum = e.currentTarget.invNum;
MovieClip(root).mouseCursor.gotoAndStop(e.currentTarget.invName);
trace(("now holding: " + e.currentTarget.invName));
MovieClip(root).itemMessage.itMessage.text = ("" + e.currentTarget.writName);
MovieClip(root).itemMessage.gotoAndPlay(2);
};
}
public function invOut(e:MouseEvent):void{
if (this.mouseY < 355){
leftScroll.visible = false;
rightScroll.visible = false;
};
}
public function saveBUTClick(e:MouseEvent):void{
if (mC.canClickHUD == true){
mC.levelMessage.levMessage.text = "game data saved";
mC.levelMessage.gotoAndPlay(2);
mC.saveGameData();
};
}
public function invOver(e:MouseEvent):void{
if (inventoryNum > 10){
leftScroll.visible = true;
rightScroll.visible = true;
};
}
public function hudListScroll():void{
var scrollInc:Number;
var mX:Number = mC.mouseX;
var mY:Number = HUDinv.mouseY;
if (inventoryNum < 11){
bMC.x = 0;
} else {
if (mY > 0){
if (mX < 300){
scrollInc = ((300 - mX) / 30);
} else {
scrollInc = (-((mX - 300)) / 30);
};
bMC.x = (bMC.x + scrollInc);
bMC.x = ((bMC.x > 0)) ? 0 : ((bMC.x < -(((20 + (inventoryNum * 55)) - 600)))) ? -(((20 + (inventoryNum * 55)) - 600)) : bMC.x;
listScroll = bMC.x;
};
};
}
function frame1(){
quitWIND.visible = false;
mC = MovieClip(root);
homeBUT.addEventListener(MouseEvent.CLICK, homeBUTClick);
homeBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
homeBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
saveBUT.addEventListener(MouseEvent.CLICK, saveBUTClick);
saveBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
saveBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
walkBUT.addEventListener(MouseEvent.CLICK, MovieClip(root).walkBUTClick);
walkBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
walkBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
muteBUT.addEventListener(MouseEvent.CLICK, muteBUTClick);
muteBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
muteBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
moreGamesBUT.addEventListener(MouseEvent.CLICK, moreGamesBUTClick);
moreGamesBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
moreGamesBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
sponsorBUT.addEventListener(MouseEvent.MOUSE_OUT, mC.BUTRollOut);
sponsorBUT.addEventListener(MouseEvent.MOUSE_OVER, mC.BUTRollOver);
sponsorBUT.addEventListener(MouseEvent.MOUSE_UP, moreGamesBUTClick);
achieveBUT.addEventListener(MouseEvent.MOUSE_OUT, mC.BUTRollOut);
achieveBUT.addEventListener(MouseEvent.MOUSE_OVER, mC.BUTRollOver);
achieveBUT.addEventListener(MouseEvent.MOUSE_UP, moreGamesBUTClick);
if ((mC.useMoFo == true)){
achieveBUT.visible = false;
} else {
sponsorBUT.visible = false;
};
leftScroll.visible = false;
rightScroll.visible = false;
leftScroll.addEventListener(MouseEvent.MOUSE_OUT, invOut);
rightScroll.addEventListener(MouseEvent.MOUSE_OUT, invOut);
inventoryNum = 0;
listScroll = 0;
buildList();
HUDinv.addEventListener(MouseEvent.MOUSE_OUT, invOut);
}
public function buildList():void{
var invItem:HUDList;
inventoryNum = 0;
bMC = new MovieClip();
var i:int;
while (i < mC.invAr.length) {
if (mC.invAr[i] == true){
invItem = new HUDList();
invItem.x = (10 + (inventoryNum * 55));
invItem.invName = mC.invNames[i];
invItem.writName = mC.writNames[i];
invItem.invNum = i;
invItem.gotoAndStop(invItem.invName);
invItem.addEventListener(MouseEvent.CLICK, invClick);
invItem.addEventListener(MouseEvent.MOUSE_OVER, invOver);
invItem.addEventListener(MouseEvent.MOUSE_OUT, invOut);
bMC.addChild(invItem);
inventoryNum++;
};
i++;
};
HUDinv.addChild(bMC);
bMC.x = listScroll;
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 96
//HUDMuteBUT_77 (FindersSeekers_Sept14_1b_fla.HUDMuteBUT_77)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUDMuteBUT_77 extends MovieClip {
public var slash:MovieClip;
public function HUDMuteBUT_77(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 97
//HUDQuitWind_479 (FindersSeekers_Sept14_1b_fla.HUDQuitWind_479)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class HUDQuitWind_479 extends MovieClip {
public var homeBUT:MovieClip;
public var cancelBUT:MovieClip;
public var mC:MovieClip;
public var saveBUT:MovieClip;
public function HUDQuitWind_479(){
addFrameScript(0, frame1);
}
public function cancelBUTClick(e:MouseEvent):void{
if (mC.canClickHUD == true){
this.visible = false;
};
}
public function saveBUTClick(e:MouseEvent):void{
if (mC.canClickHUD == true){
mC.levelMessage.levMessage.text = "game data saved";
mC.levelMessage.gotoAndPlay(2);
mC.saveGameData();
homeBUTClick(e);
this.visible = false;
};
}
public function homeBUTClick(e:MouseEvent):void{
if (mC.canClickHUD == true){
mC.gameMode = 0;
mC.mouseCursor.gotoAndStop("hand");
mC.heldItem = "hand";
mC.levelMessage.gotoAndStop(1);
mC.HUD.gotoAndPlay("HUDOut");
MovieClip(root).curLevel.stopSounds();
};
}
function frame1(){
mC = MovieClip(root);
homeBUT.addEventListener(MouseEvent.CLICK, homeBUTClick);
homeBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
homeBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
saveBUT.addEventListener(MouseEvent.CLICK, saveBUTClick);
saveBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
saveBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
cancelBUT.addEventListener(MouseEvent.CLICK, cancelBUTClick);
cancelBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
cancelBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 98
//HUDQuitWINDCancelBUT_482 (FindersSeekers_Sept14_1b_fla.HUDQuitWINDCancelBUT_482)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUDQuitWINDCancelBUT_482 extends MovieClip {
public function HUDQuitWINDCancelBUT_482(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 99
//HUDQuitWindHomeBUT_480 (FindersSeekers_Sept14_1b_fla.HUDQuitWindHomeBUT_480)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUDQuitWindHomeBUT_480 extends MovieClip {
public function HUDQuitWindHomeBUT_480(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 100
//HUDQuitWINDSaveBUT_481 (FindersSeekers_Sept14_1b_fla.HUDQuitWINDSaveBUT_481)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUDQuitWINDSaveBUT_481 extends MovieClip {
public function HUDQuitWINDSaveBUT_481(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 101
//HUDSaveBUT_473 (FindersSeekers_Sept14_1b_fla.HUDSaveBUT_473)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class HUDSaveBUT_473 extends MovieClip {
public function HUDSaveBUT_473(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 102
//inGameMenus_483 (FindersSeekers_Sept14_1b_fla.inGameMenus_483)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class inGameMenus_483 extends MovieClip {
public var gameWonMenu:MovieClip;
public function inGameMenus_483(){
addFrameScript(0, frame1, 14, frame15, 33, frame34, 90, frame91, 110, frame111);
}
function frame15(){
stop();
}
function frame1(){
stop();
}
function frame91(){
stop();
}
function frame111(){
gotoAndStop(1);
}
function frame34(){
gotoAndStop(1);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 103
//itemMessage_492 (FindersSeekers_Sept14_1b_fla.itemMessage_492)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public dynamic class itemMessage_492 extends MovieClip {
public var closer:MovieClip;
public var itMessage:TextField;
public function itemMessage_492(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
closer.addEventListener(MouseEvent.CLICK, closerClick);
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
public function closerClick(e:MouseEvent):void{
gotoAndStop(1);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 104
//Lantern_FarLeft_Lights_194 (FindersSeekers_Sept14_1b_fla.Lantern_FarLeft_Lights_194)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_FarLeft_Lights_194 extends MovieClip {
public function Lantern_FarLeft_Lights_194(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 105
//Lantern_FarLeft_NSEW_193 (FindersSeekers_Sept14_1b_fla.Lantern_FarLeft_NSEW_193)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_FarLeft_NSEW_193 extends MovieClip {
public function Lantern_FarLeft_NSEW_193(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 106
//Lantern_FarLeft_Symbols_195 (FindersSeekers_Sept14_1b_fla.Lantern_FarLeft_Symbols_195)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_FarLeft_Symbols_195 extends MovieClip {
public function Lantern_FarLeft_Symbols_195(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 107
//Lantern_FarRight_Lights_198 (FindersSeekers_Sept14_1b_fla.Lantern_FarRight_Lights_198)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_FarRight_Lights_198 extends MovieClip {
public function Lantern_FarRight_Lights_198(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 108
//Lantern_FarRight_NSEW_197 (FindersSeekers_Sept14_1b_fla.Lantern_FarRight_NSEW_197)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_FarRight_NSEW_197 extends MovieClip {
public function Lantern_FarRight_NSEW_197(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 109
//Lantern_FarRight_Symbols_199 (FindersSeekers_Sept14_1b_fla.Lantern_FarRight_Symbols_199)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_FarRight_Symbols_199 extends MovieClip {
public function Lantern_FarRight_Symbols_199(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 110
//Lantern_MidLeft_Lights_202 (FindersSeekers_Sept14_1b_fla.Lantern_MidLeft_Lights_202)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_MidLeft_Lights_202 extends MovieClip {
public function Lantern_MidLeft_Lights_202(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 111
//Lantern_MidLeft_NSEW_201 (FindersSeekers_Sept14_1b_fla.Lantern_MidLeft_NSEW_201)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_MidLeft_NSEW_201 extends MovieClip {
public function Lantern_MidLeft_NSEW_201(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 112
//Lantern_MidLeft_Symbols_203 (FindersSeekers_Sept14_1b_fla.Lantern_MidLeft_Symbols_203)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_MidLeft_Symbols_203 extends MovieClip {
public function Lantern_MidLeft_Symbols_203(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 113
//Lantern_MidRight_Lights_206 (FindersSeekers_Sept14_1b_fla.Lantern_MidRight_Lights_206)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_MidRight_Lights_206 extends MovieClip {
public function Lantern_MidRight_Lights_206(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 114
//Lantern_MidRight_NSEW_205 (FindersSeekers_Sept14_1b_fla.Lantern_MidRight_NSEW_205)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_MidRight_NSEW_205 extends MovieClip {
public function Lantern_MidRight_NSEW_205(){
addFrameScript(2, frame3);
}
function frame3(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 115
//Lantern_MidRight_Symbols_207 (FindersSeekers_Sept14_1b_fla.Lantern_MidRight_Symbols_207)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_MidRight_Symbols_207 extends MovieClip {
public function Lantern_MidRight_Symbols_207(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 116
//Lantern_NearLeft_Lights_210 (FindersSeekers_Sept14_1b_fla.Lantern_NearLeft_Lights_210)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_NearLeft_Lights_210 extends MovieClip {
public function Lantern_NearLeft_Lights_210(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 117
//Lantern_NearLeft_NSEW_209 (FindersSeekers_Sept14_1b_fla.Lantern_NearLeft_NSEW_209)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_NearLeft_NSEW_209 extends MovieClip {
public function Lantern_NearLeft_NSEW_209(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 118
//Lantern_NearLeft_Symbols_211 (FindersSeekers_Sept14_1b_fla.Lantern_NearLeft_Symbols_211)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_NearLeft_Symbols_211 extends MovieClip {
public function Lantern_NearLeft_Symbols_211(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 119
//Lantern_NearRight_Lights_214 (FindersSeekers_Sept14_1b_fla.Lantern_NearRight_Lights_214)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_NearRight_Lights_214 extends MovieClip {
public function Lantern_NearRight_Lights_214(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 120
//Lantern_NearRight_NSEW_213 (FindersSeekers_Sept14_1b_fla.Lantern_NearRight_NSEW_213)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_NearRight_NSEW_213 extends MovieClip {
public function Lantern_NearRight_NSEW_213(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 121
//Lantern_NearRight_Symbols_215 (FindersSeekers_Sept14_1b_fla.Lantern_NearRight_Symbols_215)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Lantern_NearRight_Symbols_215 extends MovieClip {
public function Lantern_NearRight_Symbols_215(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 122
//levelSelectBUT_503 (FindersSeekers_Sept14_1b_fla.levelSelectBUT_503)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class levelSelectBUT_503 extends MovieClip {
public function levelSelectBUT_503(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 123
//levelSelectContent_514 (FindersSeekers_Sept14_1b_fla.levelSelectContent_514)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class levelSelectContent_514 extends MovieClip {
public var BUT33:MovieClip;
public var BUT35:MovieClip;
public var BUT30:MovieClip;
public var BUT32:MovieClip;
public var BUT34:MovieClip;
public var BUT8:MovieClip;
public var BUT10:MovieClip;
public var BUT11:MovieClip;
public var BUT12:MovieClip;
public var BUT13:MovieClip;
public var BUT15:MovieClip;
public var BUT19:MovieClip;
public var BUT14:MovieClip;
public var BUT16:MovieClip;
public var BUT18:MovieClip;
public var BUT17:MovieClip;
public var BUT20:MovieClip;
public var BUT22:MovieClip;
public var BUT24:MovieClip;
public var BUT26:MovieClip;
public var BUT28:MovieClip;
public var BUT29:MovieClip;
public var BUT23:MovieClip;
public var BUT25:MovieClip;
public var BUT27:MovieClip;
public var BUT21:MovieClip;
public var BUT1:MovieClip;
public var BUT2:MovieClip;
public var BUT3:MovieClip;
public var BUT4:MovieClip;
public var BUT5:MovieClip;
public var BUT6:MovieClip;
public var BUT7:MovieClip;
public var BUT9:MovieClip;
public var BUT31:MovieClip;
public function levelSelectContent_514(){
addFrameScript(0, frame1);
}
function frame1(){
BUT1.levelNum = 1;
BUT2.levelNum = 2;
BUT3.levelNum = 3;
BUT4.levelNum = 4;
BUT5.levelNum = 5;
BUT6.levelNum = 6;
BUT7.levelNum = 7;
BUT8.levelNum = 8;
BUT9.levelNum = 9;
BUT10.levelNum = 10;
BUT11.levelNum = 11;
BUT12.levelNum = 12;
BUT13.levelNum = 13;
BUT14.levelNum = 14;
BUT15.levelNum = 15;
BUT16.levelNum = 16;
BUT17.levelNum = 17;
BUT18.levelNum = 18;
BUT19.levelNum = 19;
BUT20.levelNum = 20;
BUT21.levelNum = 21;
BUT22.levelNum = 22;
BUT23.levelNum = 23;
BUT24.levelNum = 24;
BUT25.levelNum = 25;
BUT26.levelNum = 26;
BUT27.levelNum = 27;
BUT28.levelNum = 28;
BUT29.levelNum = 29;
BUT30.levelNum = 30;
BUT31.levelNum = 31;
BUT32.levelNum = 32;
BUT33.levelNum = 33;
BUT34.levelNum = 34;
BUT35.levelNum = 35;
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 124
//Library_East_doorWOOD_164 (FindersSeekers_Sept14_1b_fla.Library_East_doorWOOD_164)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_East_doorWOOD_164 extends MovieClip {
public function Library_East_doorWOOD_164(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 125
//Library_East_Fire_165 (FindersSeekers_Sept14_1b_fla.Library_East_Fire_165)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_East_Fire_165 extends MovieClip {
public var glow:MovieClip;
public function Library_East_Fire_165(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 126
//Library_East_ToCam1_168 (FindersSeekers_Sept14_1b_fla.Library_East_ToCam1_168)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_East_ToCam1_168 extends MovieClip {
public function Library_East_ToCam1_168(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 127
//Library_East_ToCam9_167 (FindersSeekers_Sept14_1b_fla.Library_East_ToCam9_167)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_East_ToCam9_167 extends MovieClip {
public function Library_East_ToCam9_167(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 128
//Library_East_toCemetery_160 (FindersSeekers_Sept14_1b_fla.Library_East_toCemetery_160)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_East_toCemetery_160 extends MovieClip {
public function Library_East_toCemetery_160(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 129
//Library_West_fireGlow_149 (FindersSeekers_Sept14_1b_fla.Library_West_fireGlow_149)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_West_fireGlow_149 extends MovieClip {
public var glow:MovieClip;
public function Library_West_fireGlow_149(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 130
//Library_West_FireGlowFIRE_151 (FindersSeekers_Sept14_1b_fla.Library_West_FireGlowFIRE_151)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_West_FireGlowFIRE_151 extends MovieClip {
public function Library_West_FireGlowFIRE_151(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame1(){
gotoAndPlay((Rand.getRandom(3) + 1));
}
function frame2(){
gotoAndPlay((Rand.getRandom(3) + 1));
}
function frame3(){
gotoAndPlay((Rand.getRandom(3) + 1));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 131
//Library_West_FloorWood_148 (FindersSeekers_Sept14_1b_fla.Library_West_FloorWood_148)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_West_FloorWood_148 extends MovieClip {
public function Library_West_FloorWood_148(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 132
//Library_West_MantleHole_153 (FindersSeekers_Sept14_1b_fla.Library_West_MantleHole_153)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_West_MantleHole_153 extends MovieClip {
public function Library_West_MantleHole_153(){
addFrameScript(0, frame1, 2, frame3, 59, frame60);
}
function frame1(){
stop();
}
function frame3(){
play();
}
function frame60(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 133
//Library_West_ToCam1_157 (FindersSeekers_Sept14_1b_fla.Library_West_ToCam1_157)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_West_ToCam1_157 extends MovieClip {
public function Library_West_ToCam1_157(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 134
//Library_West_ToCam10_156 (FindersSeekers_Sept14_1b_fla.Library_West_ToCam10_156)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_West_ToCam10_156 extends MovieClip {
public function Library_West_ToCam10_156(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 135
//Library_West_Wood_155 (FindersSeekers_Sept14_1b_fla.Library_West_Wood_155)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Library_West_Wood_155 extends MovieClip {
public function Library_West_Wood_155(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 136
//lockedDoorSound_518 (FindersSeekers_Sept14_1b_fla.lockedDoorSound_518)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class lockedDoorSound_518 extends MovieClip {
public function lockedDoorSound_518(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 137
//LodeStone_HELD_55 (FindersSeekers_Sept14_1b_fla.LodeStone_HELD_55)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LodeStone_HELD_55 extends MovieClip {
public var mC:MovieClip;
public function LodeStone_HELD_55(){
addFrameScript(0, frame1, 1, frame2);
}
public function setCompass():void{
var nPoint:Point;
var gPoint:Point;
if (mC.heldItem == "lodeStone"){
nPoint = new Point(this.x, this.y);
gPoint = localToGlobal(nPoint);
mC.compassX = (gPoint.x - 27);
mC.compassY = (gPoint.y - 22);
};
}
function frame1(){
mC = MovieClip(root);
setCompass();
}
function frame2(){
setCompass();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 138
//LodeStone_HUD_60 (FindersSeekers_Sept14_1b_fla.LodeStone_HUD_60)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LodeStone_HUD_60 extends MovieClip {
public function LodeStone_HUD_60(){
addFrameScript(0, frame1, 1, frame2);
}
public function setCompass():void{
var nPoint:Point;
var gPoint:Point;
var mC:MovieClip = MovieClip(root);
if (((mC) && (!((mC.heldItem == "lodeStone"))))){
nPoint = new Point((this.x - 27), (this.y - 22));
gPoint = localToGlobal(nPoint);
mC.compassX = gPoint.x;
mC.compassY = gPoint.y;
};
}
function frame1(){
setCompass();
}
function frame2(){
setCompass();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 139
//LOGOEND_46 (FindersSeekers_Sept14_1b_fla.LOGOEND_46)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class LOGOEND_46 extends MovieClip {
public function LOGOEND_46(){
addFrameScript(132, frame133);
}
function frame133(){
MovieClip(root).play();
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 140
//LOGOPRELOAD_0_26 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_0_26)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_0_26 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_0_26(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 141
//LOGOPRELOAD_1_30 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_1_30)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_1_30 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_1_30(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 142
//LOGOPRELOAD_2_33 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_2_33)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_2_33 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_2_33(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 143
//LOGOPRELOAD_3_35 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_3_35)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_3_35 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_3_35(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 144
//LOGOPRELOAD_4_37 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_4_37)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_4_37 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_4_37(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 145
//LOGOPRELOAD_5_39 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_5_39)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_5_39 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_5_39(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 146
//LOGOPRELOAD_6_41 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_6_41)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_6_41 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_6_41(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 147
//LOGOPRELOAD_7_43 (FindersSeekers_Sept14_1b_fla.LOGOPRELOAD_7_43)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class LOGOPRELOAD_7_43 extends MovieClip {
public var thenextframe;
public function LOGOPRELOAD_7_43(){
addFrameScript(0, frame1, 89, frame90);
}
function frame90(){
if (MovieClip(parent).isloaded){
MovieClip(parent).gotoAndStop(10);
} else {
thenextframe = (Math.ceil((Math.random() * 8)) + 1);
if (thenextframe == MovieClip(parent).currentFrame){
MovieClip(parent).nextFrame();
} else {
MovieClip(parent).gotoAndStop(thenextframe);
};
};
}
function frame1(){
if (Math.random() > 0.5){
scaleX = -(scaleX);
x = (x - MovieClip(parent).shiftamt);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 148
//longLevelMessage_487 (FindersSeekers_Sept14_1b_fla.longLevelMessage_487)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public dynamic class longLevelMessage_487 extends MovieClip {
public var closer:MovieClip;
public var levMessage:TextField;
public function longLevelMessage_487(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
closer.addEventListener(MouseEvent.CLICK, closerClick);
stop();
this.visible = false;
}
function frame2(){
this.visible = true;
}
public function closerClick(e:MouseEvent):void{
gotoAndStop(1);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 149
//mainHUD_449 (FindersSeekers_Sept14_1b_fla.mainHUD_449)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class mainHUD_449 extends MovieClip {
public var HUDInner:MovieClip;
public function mainHUD_449(){
addFrameScript(0, frame1, 12, frame13);
}
function frame13(){
stop();
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 150
//mainMenuInner_496 (FindersSeekers_Sept14_1b_fla.mainMenuInner_496)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mainMenuInner_496 extends MovieClip {
public var sponsorBUT:MovieClip;
public var creditsBUT:MovieClip;
public var backBUT:MovieClip;
public var theScore:MovieClip;
public var muteBUT:MovieClip;
public var playBUT:MovieClip;
public var highscoresBUT:MovieClip;
public var levelSelectBUT:MovieClip;
public var bonusContentBUT:MovieClip;
public var playMoreGamesBUT:MovieClip;
public var manualBUT:MovieClip;
public var achieveBUT:MovieClip;
public var moreGamesBUT:MovieClip;
public var mC:MovieClip;
public var canBackClick:Boolean;
public var walkBUT:MovieClip;
public function mainMenuInner_496(){
addFrameScript(0, frame1, 1, frame2, 9, frame10, 10, frame11, 16, frame17, 17, frame18, 25, frame26, 26, frame27, 32, frame33, 33, frame34, 41, frame42, 42, frame43, 48, frame49, 49, frame50, 57, frame58, 58, frame59, 64, frame65);
}
public function makeBUTSVis():void{
canBackClick = false;
playBUT.visible = true;
manualBUT.visible = true;
creditsBUT.visible = true;
levelSelectBUT.visible = true;
highscoresBUT.visible = true;
bonusContentBUT.visible = true;
playMoreGamesBUT.visible = true;
walkBUT.visible = true;
}
function frame33(){
gotoAndStop("menuFunctioning");
}
public function achieveBUTClick(e:MouseEvent):void{
mC.openAchieveLink(e);
}
public function moreGamesBUTClick(e:MouseEvent):void{
mC.openSponsorLink(e);
}
public function backBUTClick(e:MouseEvent):void{
if (canBackClick == true){
nextFrame();
e.currentTarget.gotoAndStop("Clicked");
if (MovieClip(root).soundOn == true){
MovieClip(root).boomSound.gotoAndPlay(2);
};
};
}
function frame42(){
stop();
canBackClick = true;
}
function frame43(){
makeBUTSVis();
play();
}
function frame34(){
makeBUTSInvis();
}
function frame49(){
gotoAndStop("menuFunctioning");
}
public function makeBUTSInvis():void{
playBUT.visible = false;
manualBUT.visible = false;
creditsBUT.visible = false;
levelSelectBUT.visible = false;
highscoresBUT.visible = false;
bonusContentBUT.visible = false;
playMoreGamesBUT.visible = false;
walkBUT.visible = false;
}
public function muteBUTClick(e:MouseEvent):void{
if (MovieClip(root).soundOn == true){
MovieClip(root).soundOn = false;
e.currentTarget.slash.visible = true;
MovieClip(root).menuMusic.gotoAndPlay("OUT");
MovieClip(root).mainAmbience.gotoAndPlay("OUT");
e.currentTarget.gotoAndStop("musicOFF");
SoundMixer.stopAll();
} else {
SoundMixer.stopAll();
MovieClip(root).soundOn = true;
e.currentTarget.slash.visible = false;
MovieClip(root).menuMusic.gotoAndPlay("IN");
e.currentTarget.gotoAndStop("musicON");
};
}
public function creditsBUTClick(e:MouseEvent):void{
if (MovieClip(root).canClickMenu == true){
e.currentTarget.gotoAndStop("clicked");
gotoAndPlay("creditsIn");
if (MovieClip(root).soundOn == true){
MovieClip(root).boomSound.gotoAndPlay(2);
};
};
}
function frame10(){
stop();
canBackClick = true;
}
function frame11(){
makeBUTSVis();
play();
}
public function levelSelectBUTClick(e:MouseEvent):void{
if (MovieClip(root).canClickMenu == true){
e.currentTarget.gotoAndStop("clicked");
MovieClip(root).canClickMenu = false;
if (MovieClip(root).soundOn == true){
MovieClip(root).boomSound.gotoAndPlay(2);
};
MovieClip(root).useSaveData = true;
MovieClip(root).initGameData();
MovieClip(root).loadLevelTimer = 0;
MovieClip(root).levelMessage.levMessage.text = "I have to solve this and save my Uncle...";
MovieClip(root).levelMessage.gotoAndPlay(2);
MovieClip(root).hideLogin();
MovieClip(root).mainMenu.gotoAndPlay("mainMenuOut");
};
}
function frame50(){
makeBUTSInvis();
}
function frame59(){
makeBUTSVis();
play();
}
function frame17(){
gotoAndStop("menuFunctioning");
}
function frame18(){
makeBUTSInvis();
}
function frame58(){
stop();
canBackClick = true;
}
public function sponsorBUTClick(e:MouseEvent):void{
mC.openSponsorLink(e);
}
function frame1(){
stop();
MovieClip(root).canClickMenu = true;
canBackClick = false;
backBUT.addEventListener(MouseEvent.CLICK, backBUTClick);
backBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
backBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
playBUT.addEventListener(MouseEvent.CLICK, playBUTClick);
playBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
playBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
moreGamesBUT.addEventListener(MouseEvent.CLICK, moreGamesBUTClick);
moreGamesBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
moreGamesBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
manualBUT.addEventListener(MouseEvent.CLICK, manualBUTClick);
manualBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
manualBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
MovieClip(root).saveData = SharedObject.getLocal("ROOMESCAPE_CookieAC");
if (MovieClip(root).saveData.data.gameInfo){
MovieClip(root).isSaveData = true;
MovieClip(root).extractSaveData();
levelSelectBUT.addEventListener(MouseEvent.CLICK, levelSelectBUTClick);
levelSelectBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
levelSelectBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
} else {
levelSelectBUT.gotoAndStop("butOFF");
};
if (MovieClip(root).bestTime != 0){
theScore.disp.text = MovieClip(root).returnTime(MovieClip(root).bestTime);
} else {
theScore.visible = false;
};
creditsBUT.addEventListener(MouseEvent.CLICK, creditsBUTClick);
creditsBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
creditsBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
muteBUT.addEventListener(MouseEvent.CLICK, muteBUTClick);
muteBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
muteBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
walkBUT.addEventListener(MouseEvent.CLICK, MovieClip(root).walkBUTClick);
walkBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
walkBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
mC = MovieClip(root);
mC.hideLogin();
sponsorBUT.addEventListener(MouseEvent.MOUSE_OUT, mC.BUTRollOut);
sponsorBUT.addEventListener(MouseEvent.MOUSE_OVER, mC.BUTRollOver);
sponsorBUT.addEventListener(MouseEvent.MOUSE_UP, sponsorBUTClick);
achieveBUT.addEventListener(MouseEvent.MOUSE_OUT, mC.BUTRollOut);
achieveBUT.addEventListener(MouseEvent.MOUSE_OVER, mC.BUTRollOver);
achieveBUT.addEventListener(MouseEvent.MOUSE_UP, achieveBUTClick);
if ((mC.useMoFo == true)){
achieveBUT.visible = false;
} else {
moreGamesBUT.visible = false;
};
}
function frame2(){
makeBUTSInvis();
}
public function manualBUTClick(e:MouseEvent):void{
if (MovieClip(root).canClickMenu == true){
e.currentTarget.gotoAndStop("clicked");
gotoAndPlay("manualIn");
if (MovieClip(root).soundOn == true){
MovieClip(root).boomSound.gotoAndPlay(2);
};
};
}
function frame26(){
stop();
canBackClick = true;
}
function frame27(){
makeBUTSVis();
play();
}
public function playBUTClick(e:MouseEvent):void{
if (MovieClip(root).canClickMenu == true){
e.currentTarget.gotoAndStop("clicked");
MovieClip(root).canClickMenu = false;
if (MovieClip(root).soundOn == true){
MovieClip(root).boomSound.gotoAndPlay(2);
};
MovieClip(root).useSaveData = false;
MovieClip(root).initGameData();
MovieClip(root).loadLevelTimer = 0;
MovieClip(root).curGameTimer = 0;
MovieClip(root).hideLogin();
MovieClip(root).mainMenu.gotoAndPlay("mainMenuOut");
};
}
function frame65(){
gotoAndStop("menuFunctioning");
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 151
//mainMenuScene_494 (FindersSeekers_Sept14_1b_fla.mainMenuScene_494)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mainMenuScene_494 extends MovieClip {
public var innerMenu:MovieClip;
public function mainMenuScene_494(){
addFrameScript(0, frame1, 51, frame52, 111, frame112, 131, frame132, 159, frame160);
}
function frame132(){
MovieClip(root).levelTitle.visible = true;
MovieClip(root).levelTitle.levTitle.text = MovieClip(root).roomNames[MovieClip(root).itemsAr[0]];
}
function frame1(){
stop();
}
function frame52(){
if (MovieClip(root).soundOn){
MovieClip(root).menuMusic.gotoAndPlay("fadeIN");
MovieClip(root).mainAmbience.gotoAndPlay("fadeOUT");
};
}
function frame112(){
stop();
}
function frame160(){
MovieClip(root).gameMode = 1;
if (MovieClip(root).soundOn){
if (MovieClip(root).itemsAr[0] != 10){
trace("fade out BOND music");
MovieClip(root).menuMusic.gotoAndPlay("fadeOUT");
};
MovieClip(root).mainAmbience.gotoAndPlay("fadeIN");
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 152
//MainTimeline (FindersSeekers_Sept14_1b_fla.MainTimeline)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var invAr:Array;
public var startTimer:Number;
public var fireInfo:Object;
public var menuMusic:MovieClip;
public var fanVolume:Number;
public var introDone:Boolean;
public var heldNum:Number;
public var isSaveData:Boolean;
public var itemsAr:Array;
public var gameMenus:MovieClip;
public var myURL:String;
public var lockedSound:MovieClip;
public var roomInfo:Array;
public var unlockSound:MovieClip;
public var skipIntro:Boolean;
public var fromMenu:Boolean;
public var useMoFo:Boolean;
public var curGameTimer:Number;
public var switchSound:MovieClip;
public var canClickHUD:Boolean;
public var saveItems:Array;
public var winchSound:MovieClip;
public var mouseCursor:handCursor;
public var polaroidIndex:int;
public var ambVolume:Number;
public var gameTimer:Number;
public var preBar:MovieClip;
public var fireSound:MovieClip;
public var skipBUT:MovieClip;
public var gameWonTimer:Number;
public var levelCover:MovieClip;
public var clickUndo:Boolean;
public var curStage:MovieClip;
public var polaroidSound:MovieClip;
public var switchClick:int;
public var restartLevel:Boolean;
public var mainMenu:MovieClip;
public var elevatorInfo:Object;
public var gameMode:Number;
public var mainStage:MovieClip;
public var canPullRope:Boolean;
public var ACLoaded:Boolean;
public var ropeGood:Boolean;
public var bestTime:Number;
public var windInfo:Object;
public var HUD:MovieClip;
public var saveData:SharedObject;
public var canClickLost:Boolean;
public var boomSound:MovieClip;
public var lightInfo:Object;
public var fireVolume:Number;
public var disable_check:Boolean;
public var chladniNum:int;
public var canClickMenu:Boolean;
public var timeInfo:Object;
public var itemsObj:Object;
public var curLevel:MovieClip;
public var b_preload:SimpleButton;
public var roomNames:Array;
public var animDone:Boolean;
public var levelTitle:MovieClip;
public var b_preloadRelease;
public var swapSound:MovieClip;
public var menuTimer:Number;
public var saveInv:Array;
public var invObj:Object;
public var soundOn:Boolean;
public var sandInfo:Object;
public var menuVolume:Number;
public var levelLostTimer:Number;
public var ACStart:Boolean;
public var undoFlash:MovieClip;
public var useSaveData:Boolean;
public var gameBeaten:Number;
public var itemMessage:MovieClip;
public var compassX:Number;
public var compassY:Number;
public var introLoaded:Boolean;
public var mainAmbience:MovieClip;
public var MFZEasyAPI:MovieClip;
public var officeInfo:Object;
public var loadLevelTimer:Number;
public var writNames:Array;
public var fanSound:MovieClip;
public var okDomain:String;
public var sponsorDone:Boolean;
public var bellSound:MovieClip;
public var roomPositions:Array;
public var pickUpSound:MovieClip;
public var iceInfo:Object;
public var floorNum:int;
public var invNames:Array;
public var levelMessage:MovieClip;
public var canClickWon:Boolean;
public var longMessage:MovieClip;
public var heldItem:String;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 7, frame8, 11, frame12, 19, frame20);
}
public function dispMessage(mess:String, pos:int=1):void{
levelMessage.levMessage.text = mess;
levelMessage.gotoAndPlay(2);
longMessage.gotoAndStop(1);
levelMessage.y = ((pos == 1)) ? 63 : 242;
}
public function deleteStage():void{
if (curStage){
mainStage.removeChild(curStage);
curStage = null;
};
}
public function returnTime(inputTime:Number):String{
trace(("saving with a curGameTimer of : " + inputTime));
var theSeconds:Number = Math.floor((inputTime / 1000));
var theMinutes:Number = Math.floor((theSeconds / 60));
theSeconds = (theSeconds - (theMinutes * 60));
var theSeconds2:String = ((theSeconds < 10)) ? "0" : "";
var theHours:Number = Math.floor((theMinutes / 60));
theMinutes = (theMinutes - (theHours * 60));
var theMinutes2:String = ((theMinutes < 10)) ? "0" : "";
var theHours2:String = ((theHours < 10)) ? "0" : "";
var theReturn:String = (((((((theHours2 + theHours) + " : ") + theMinutes2) + theMinutes) + " : ") + theSeconds2) + theSeconds);
return (theReturn);
}
public function mainEF(e:Event):void{
switch (gameMode){
case 0:
mainMenuEF();
break;
case 1:
loadLevelEF();
break;
case 2:
mainEngineEF();
break;
case 3:
break;
case 4:
break;
case 5:
levelLostEF();
break;
case 6:
gameWonEF();
break;
default:
gameMode = 0;
};
}
public function scrollSleuth():void{
if ((useMoFo == true)){
MFZEasyAPI.success("scroll_sleuth");
//unresolved jump
};
}
public function getURL(url:String, method:String){
var url = url;
var method = method;
var web:String = url;
var request:URLRequest = new URLRequest(web);
navigateToURL(request, method);
//unresolved jump
var _slot1 = e;
}
public function playSound(whichSound:String):void{
if (soundOn == true){
switch (whichSound){
case "pickUp":
pickUpSound.gotoAndPlay(2);
break;
case "boom":
boomSound.gotoAndPlay(2);
break;
case "placeItem":
pickUpSound.gotoAndPlay(2);
break;
case "swap":
swapSound.gotoAndPlay(2);
break;
case "polaroid":
polaroidSound.gotoAndPlay(2);
break;
case "winchSound":
winchSound.gotoAndPlay(2);
break;
case "switch":
switchSound.gotoAndPlay(2);
break;
case "locked":
lockedSound.gotoAndPlay(2);
break;
case "unlock":
unlockSound.gotoAndPlay(2);
break;
case "bell1":
bellSound.gotoAndStop("bell1");
break;
case "bell2":
bellSound.gotoAndStop("bell2");
break;
case "bell3":
bellSound.gotoAndStop("bell3");
break;
case "bell4":
bellSound.gotoAndStop("bell4");
break;
case "":
break;
default:
trace(("playSound trying to play unrecognised sound: " + whichSound));
break;
};
};
}
public function showMessage(mess:String):void{
}
public function mouseMoveHandler(evt:MouseEvent):void{
mouseCursor.x = evt.stageX;
mouseCursor.y = evt.stageY;
mouseCursor.visible = true;
}
function frame12(){
stop();
}
function frame2(){
soundOn = true;
animDone = false;
skipIntro = false;
if (skipIntro == true){
gotoAndStop("mainMenu");
} else {
disable_check = true;
myURL = stage.loaderInfo.url;
okDomain = "mofunzone.com";
if (((((!((myURL.indexOf(okDomain) == -1))) || (disable_check))) && ((framesLoaded >= 3)))){
gotoAndStop("preloader");
} else {
gotoAndPlay(1);
};
};
}
function frame4(){
b_preloadRelease = function (){
getURL("http://www.mofunzone.com/", "_blank");
};
b_preload.addEventListener("mouseUp", b_preloadRelease);
}
function frame1(){
}
public function BUTRollOver(e:MouseEvent):void{
e.currentTarget.gotoAndStop("mouseIN");
}
function frame3(){
stop();
sponsorDone = false;
ACStart = true;
introDone = false;
introLoaded = false;
ACLoaded = false;
this.addEventListener(Event.ENTER_FRAME, preEF);
skipBUT.visible = false;
skipBUT.addEventListener(MouseEvent.CLICK, skipIntro2);
preBar.visible = false;
}
function frame8(){
trace("for some reason this is tracing from frame 8 assets layer");
}
public function unlockItem(e:MouseEvent, itemNumber:Number, invNumber:Number, displayFail:String="Its locked", displaySuccess:String="You unlocked it", failSize:int=1, sucSize:int=1, sucSound:String="unlock", failSound:String="locked"):void{
if (heldNum == invNumber){
e.currentTarget.visible = false;
itemsAr[itemNumber] = 0;
callMessage(displaySuccess, sucSize);
playSound(sucSound);
} else {
callMessage(displayFail, failSize);
playSound(failSound);
};
}
public function walkBUTClick(e:MouseEvent):void{
trace("open walkthrough");
navigateToURL(new URLRequest("http://www.mofunzone.com/game_cheats/pc_cheats/finders_seekers.shtml"), "_blank");
}
public function extractSaveData():void{
gameBeaten = Number(saveData.data.gameBeaten);
trace(saveData.data.gameBeaten);
if ((gameBeaten == 1)){
trace("game beaten saved true");
} else {
trace(" game Beaten saved false");
};
var saveString:String = saveData.data.gameInfo;
var saveArs:Array = saveString.split("!");
saveItems = saveArs[0].split(",");
saveInv = saveArs[1].split(",");
bestTime = int(saveArs[2]);
curGameTimer = int(saveArs[3]);
}
public function preEF(e:Event):void{
var lBytes:Number = stage.loaderInfo.bytesLoaded;
var tBytes:Number = stage.loaderInfo.bytesTotal;
var percentLoadeder:Number = Math.floor(((lBytes / tBytes) * 100));
preBar.preBarInner.width = percentLoadeder;
if ((((framesLoaded >= 4)) && ((introLoaded == false)))){
trace("4th frame loaded");
introLoaded = true;
gotoAndStop(4);
};
if (sponsorDone == true){
gotoAndStop("AC_logo");
trace("goto AC_logo");
sponsorDone = false;
};
if (framesLoaded >= 12){
ACLoaded = true;
};
if (framesLoaded >= 20){
preBar.visible = false;
skipBUT.visible = false;
if (introDone == true){
sponsorDone = false;
trace("anim done");
this.removeEventListener(Event.ENTER_FRAME, preEF);
gotoAndPlay("introOut");
};
};
}
public function toElevator():void{
itemsAr[itemsObj.episodeNum] = 1;
itemsAr[itemsObj.camNum] = 1;
gameMode = 1;
canClickWon = true;
gameWonTimer = 1;
playSound("elevatorDoor");
longMessage.gotoAndStop(1);
levelMessage.gotoAndStop(1);
curLevel.fadeSounds();
}
function frame20(){
useMoFo = false;
MFZEasyAPI = new MovieClip();
if (useMoFo == true){
MFZEasyAPI.displayConfig.workspaceWidth = 640;
MFZEasyAPI.displayConfig.workspaceHeight = 400;
MFZEasyAPI.displayConfig.autoPosition = "tc";
MFZEasyAPI.displayConfig.dialogScale = 1;
MFZEasyAPI.userInfoEnabled = true;
MFZEasyAPI.achievementEnabled = true;
MFZEasyAPI.achievementConfig.gameID = "finders_seekers";
MFZEasyAPI.achievementConfig.testMode = false;
MFZEasyAPI.readyCallBack(readyallsystem);
MFZEasyAPI.downloadAPI(stage);
};
stop();
menuVolume = 0;
ambVolume = 0;
fireVolume = 0;
fanVolume = 0;
roomPositions = new Array();
floorNum = 0;
roomInfo = new Array();
elevatorInfo = new Object();
roomInfo[1] = elevatorInfo;
officeInfo = new Object();
roomInfo[2] = officeInfo;
fireInfo = new Object();
roomInfo[3] = fireInfo;
lightInfo = new Object();
roomInfo[4] = lightInfo;
iceInfo = new Object();
roomInfo[5] = iceInfo;
windInfo = new Object();
roomInfo[6] = windInfo;
timeInfo = new Object();
roomInfo[7] = timeInfo;
sandInfo = new Object();
roomInfo[8] = sandInfo;
canClickMenu = false;
Mouse.hide();
mouseCursor = new handCursor();
mouseCursor.mouseEnabled = false;
mouseCursor.mouseChildren = false;
mouseCursor.visible = false;
this.addChild(mouseCursor);
stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
stage.addEventListener(Event.MOUSE_LEAVE, mouseLeaveHandler);
levelTitle.visible = false;
levelMessage.visible = false;
longMessage.visible = false;
stop();
canClickHUD = false;
heldItem = "hand";
heldNum = 0;
polaroidIndex = 9;
switchClick = 0;
compassX = 0;
compassY = 0;
levelCover.alpha = 0;
levelCover.visible = false;
isSaveData = false;
gameBeaten = 0;
saveData = SharedObject.getLocal("ChurchEscape_CookieAC");
if (saveData.data.gameInfo){
isSaveData = true;
};
saveItems = new Array();
saveInv = new Array();
gameTimer = 0;
bestTime = 0;
curGameTimer = 0;
useSaveData = false;
itemsAr = new Array();
itemsObj = new Object();
invAr = new Array();
invObj = new Object();
invNames = new Array();
writNames = new Array();
roomNames = [0, "THE CHAPEL", "THE TOWER", "THE CEMETERY", "THE CATACOMBS", "THE PIT", "WIND ROOM", "TIME ROOM", "SAND ROOM", "", "SOMEWHERE IN ENGLAND..."];
chladniNum = 1;
canPullRope = true;
ropeGood = false;
if (soundOn == true){
};
menuTimer = 0;
restartLevel = false;
fromMenu = false;
loadLevelTimer = 0;
startTimer = 0;
Key.initialize(stage);
clickUndo = false;
canClickLost = false;
levelLostTimer = 0;
canClickWon = false;
gameWonTimer = 0;
gameMode = 0;
this.addEventListener(Event.ENTER_FRAME, mainEF);
}
public function loadVariablesNum(url:String){
var web:* = new URLRequest(url);
var ld:* = new URLLoader();
ld.load(web);
}
public function devDuel():void{
if ((useMoFo == true)){
MFZEasyAPI.success("developer_duel");
//unresolved jump
};
}
public function changeRoom(fromRoom:int, toRoom:int, toCam:int, changeSound:String=""):void{
if (toRoom != 0){
itemsAr[itemsObj.episodeNum] = toRoom;
itemsAr[itemsObj.camNum] = toCam;
gameMode = 1;
canClickWon = true;
gameWonTimer = 1;
playSound(changeSound);
longMessage.gotoAndStop(1);
levelMessage.gotoAndStop(1);
curLevel.fadeSounds();
};
}
public function readyallsystem(success:Boolean){
}
public function gameWonEF():void{
if (gameWonTimer < 50){
if (gameWonTimer == 1){
levelCover.alpha = 0;
levelCover.visible = true;
};
gameWonTimer++;
if (gameWonTimer == 25){
gameMenus.gotoAndPlay("gameWonIn");
canClickWon = true;
};
} else {
if (gameWonTimer == 50){
levelCover.alpha = 1;
gameWonTimer = 51;
};
};
}
public function dispLongMessage(mess:String, pos:int=2):void{
longMessage.levMessage.text = mess;
longMessage.gotoAndPlay(2);
levelMessage.gotoAndStop(1);
longMessage.y = ((pos == 2)) ? 63 : 242;
}
public function checkPolaroidPro():Boolean{
var retVar:Boolean;
retVar = ((itemsAr[itemsObj.polaroidMoonMural])!=1) ? false : retVar;
retVar = ((itemsAr[itemsObj.polaroidSecretButton])!=1) ? false : retVar;
retVar = ((itemsAr[itemsObj.polaroidHandMural])!=1) ? false : retVar;
retVar = ((itemsAr[itemsObj.polaroidLightningMural])!=1) ? false : retVar;
retVar = ((itemsAr[itemsObj.polaroidSunMural])!=1) ? false : retVar;
retVar = ((itemsAr[itemsObj.polaroidEyeMural])!=1) ? false : retVar;
retVar = ((itemsAr[itemsObj.polaroidPyramidMural])!=1) ? false : retVar;
retVar = ((itemsAr[itemsObj.polaroidStoryPlaque])!=1) ? false : retVar;
return (retVar);
}
public function checkCombine(item1:Number, item2:Number):Boolean{
var keyItem:Number;
var isCombine:Boolean;
var i:int;
var doesCombine:* = false;
switch (invNames[item1]){
case "EPOXY":
case "epoxyHardener":
if ((((((invNames[item1] == "epoxyHardener")) && ((invNames[item2] == "EPOXY")))) || ((((invNames[item1] == "EPOXY")) && ((invNames[item2] == "epoxyHardener")))))){
invAr[invObj.EPOXY] = 0;
invAr[invObj.epoxyHardener] = 0;
invAr[invObj.waterProofEPOXY] = 1;
HUD.HUDInner.refreshList();
mouseCursor.gotoAndStop("waterProofEPOXY");
heldItem = "waterProofEPOXY";
heldNum = (invObj.waterProofEPOXY + 0);
levelMessage.levMessage.text = "you combined the EPOXY and the EPOXY HARDENER";
levelMessage.gotoAndPlay(2);
itemMessage.itMessage.text = "WATER PROOF EPOXY";
itemMessage.gotoAndPlay(2);
doesCombine = true;
};
break;
case "goldKey":
case "copperKey":
case "platinumKey":
case "fireKey":
case "timeKey":
case "keyChain":
if ((((invNames[item1] == "keyChain")) || ((invNames[item2] == "keyChain")))){
keyItem = ((invNames[item1] == "keyChain")) ? item2 : item1;
isCombine = true;
switch (invNames[keyItem]){
case "goldKey":
itemsAr[itemsObj.goldKeyInkeychain] = 1;
invAr[invObj.goldKey] = 0;
callMessage("You combined the KEY CHAIN and the GOLD KEY");
break;
case "copperKey":
itemsAr[itemsObj.copperKeyInkeychain] = 1;
invAr[invObj.copperKey] = 0;
callMessage("You combined the KEY CHAIN and the COPPER KEY");
break;
case "platinumKey":
itemsAr[itemsObj.platinumKeyInkeychain] = 1;
invAr[invObj.platinumKey] = 0;
callMessage("You combined the KEY CHAIN and the PLATINUM KEY");
break;
case "fireKey":
itemsAr[itemsObj.fireKeyInkeychain] = 1;
invAr[invObj.fireKey] = 0;
callMessage("You combined the KEY CHAIN and the FIRE KEY");
break;
case "timeKey":
itemsAr[itemsObj.timeKeyInkeychain] = 1;
invAr[invObj.timeKey] = 0;
callMessage("You combined the KEY CHAIN and the TIME KEY");
break;
default:
isCombine = false;
break;
};
if (isCombine == true){
mouseCursor.gotoAndStop("keyChain");
heldItem = "keyChain";
heldNum = invObj.keyChain;
HUD.HUDInner.refreshList();
doesCombine = true;
};
};
break;
case "curtainRod":
case "fishingHook":
if ((((((invNames[item1] == "curtainRod")) && ((invNames[item2] == "fishingHook")))) || ((((invNames[item1] == "fishingHook")) && ((invNames[item2] == "curtainRod")))))){
invAr[invObj.curtainRod] = 0;
invAr[invObj.fishingHook] = 0;
invAr[invObj.hookAndRod] = 1;
HUD.HUDInner.refreshList();
mouseCursor.gotoAndStop("hookAndRod");
heldItem = "hookAndRod";
heldNum = (0 + invObj.hookAndRod);
levelMessage.levMessage.text = "you combined the Hook and the Rod";
levelMessage.gotoAndPlay(2);
itemMessage.itMessage.text = "Rod And Hook";
itemMessage.gotoAndPlay(2);
doesCombine = true;
};
break;
case "_1Curtain":
case "_2Curtains":
case "_3Curtains":
if ((((((invNames[item1] == "_1Curtain")) && ((invNames[item2] == "_1Curtain")))) && (!((item1 == item2))))){
i = 0;
while (i < 2) {
if ((invAr[invObj.curtain1] == 1)){
invAr[invObj.curtain1] = 0;
} else {
if ((invAr[invObj.curtain2] == 1)){
invAr[invObj.curtain2] = 0;
} else {
if ((invAr[invObj.curtain3] == 1)){
invAr[invObj.curtain3] = 0;
} else {
invAr[invObj.curtain4] = 0;
};
};
};
i++;
};
if (invAr[invObj._2curtains1] == 1){
invAr[invObj._2curtains2] = 1;
} else {
invAr[invObj._2curtains1] = 1;
};
HUD.HUDInner.refreshList();
mouseCursor.gotoAndStop("hand");
heldItem = "hand";
heldNum = invObj.hand;
levelMessage.levMessage.text = "you tied some sheets together";
levelMessage.gotoAndPlay(2);
doesCombine = true;
} else {
if ((((((invNames[item1] == "_2Curtains")) && ((invNames[item2] == "_1Curtain")))) || ((((invNames[item1] == "_1Curtain")) && ((invNames[item2] == "_2Curtains")))))){
if ((invAr[invObj.curtain1] == 1)){
invAr[invObj.curtain1] = 0;
} else {
if ((invAr[invObj.curtain2] == 1)){
invAr[invObj.curtain2] = 0;
} else {
if ((invAr[invObj.curtain3] == 1)){
invAr[invObj.curtain3] = 0;
} else {
invAr[invObj.curtain4] = 0;
};
};
};
invAr[invObj._2curtains1] = 0;
invAr[invObj._2curtains2] = 0;
invAr[invObj._3curtains] = 1;
HUD.HUDInner.refreshList();
mouseCursor.gotoAndStop("hand");
heldItem = "hand";
heldNum = (0 + invObj.hand);
levelMessage.levMessage.text = "you tied some sheets together";
levelMessage.gotoAndPlay(2);
doesCombine = true;
} else {
if (((((((!((item1 == item2))) && ((invNames[item1] == "_2Curtains")))) && ((invNames[item2] == "_2Curtains")))) || ((((((invNames[item1] == "_3Curtains")) && ((invNames[item2] == "_1Curtain")))) || ((((invNames[item1] == "_1Curtain")) && ((invNames[item2] == "_3Curtains")))))))){
invAr[invObj.curtain1] = 0;
invAr[invObj.curtain2] = 0;
invAr[invObj.curtain3] = 0;
invAr[invObj.curtain4] = 0;
invAr[invObj._2curtains1] = 0;
invAr[invObj._2curtains2] = 0;
invAr[invObj._3curtains] = 0;
invAr[invObj._4curtains] = 1;
HUD.HUDInner.refreshList();
mouseCursor.gotoAndStop("_4Curtains");
heldItem = "_4Curtains";
heldNum = (0 + invObj._4Curtains);
levelMessage.levMessage.text = "you tied some sheets together";
levelMessage.gotoAndPlay(2);
itemMessage.itMessage.text = "4 Tied Blankets";
itemMessage.gotoAndPlay(2);
doesCombine = true;
};
};
};
};
return (doesCombine);
}
public function polaroidPro():void{
if ((useMoFo == true)){
MFZEasyAPI.success("polaroid_pro");
//unresolved jump
};
}
public function hideLogin():void{
if ((useMoFo == true)){
MFZEasyAPI.hideLoginStatus();
//unresolved jump
};
}
public function openAchieveLink(e:MouseEvent):void{
navigateToURL(new URLRequest("http://www.mofunzone.com/online_games/horizon_gemini.shtml"), "_blank");
}
public function mainEngineEF(){
var tTimer:Number;
if (itemsAr[0] != 10){
HUD.HUDInner.hudListScroll();
tTimer = getTimer();
curGameTimer = (curGameTimer + (tTimer - startTimer));
startTimer = tTimer;
};
}
public function fifteenMins():void{
if ((useMoFo == true)){
MFZEasyAPI.success("15_minutes_of_game");
//unresolved jump
};
}
public function loadLevelEF():void{
loadLevelTimer++;
if (loadLevelTimer == 1){
menuTimer = 0;
loadLevelTimer = 30;
} else {
if (loadLevelTimer < 41){
levelCover.alpha = (levelCover.alpha + 0.1);
} else {
if (loadLevelTimer == 41){
levelTitle.visible = false;
if (((!((HUD.currentFrame == 40))) && (!((itemsAr[0] == 10))))){
HUD.visible = true;
HUD.gotoAndPlay("HUDIn");
};
deleteStage();
} else {
if (loadLevelTimer == 42){
createLevel();
levelCover.alpha = 1;
levelCover.visible = true;
loadLevelTimer = 89;
} else {
if (loadLevelTimer < 82){
levelCover.alpha = (levelCover.alpha - 0.1);
} else {
if (loadLevelTimer == 100){
levelCover.alpha = 0;
levelCover.visible = false;
loadLevelTimer = 0;
gameMode = 2;
canClickHUD = true;
startTimer = getTimer();
trace("loadLevelEF trace end");
trace(gameTimer);
trace(curGameTimer);
};
};
};
};
};
};
}
public function createStage():void{
curStage = new MovieClip();
mainStage.addChild(curStage);
}
public function levelLostEF():void{
if (levelLostTimer < 50){
if (levelLostTimer == 1){
levelCover.alpha = 0;
levelCover.visible = true;
};
levelCover.alpha = (levelCover.alpha + 0.03);
levelLostTimer++;
if (levelLostTimer == 25){
gameMenus.gotoAndPlay("levelLostIn");
canClickLost = true;
};
} else {
if (levelLostTimer == 50){
levelCover.alpha = 1;
levelLostTimer = 51;
};
};
}
public function saveGameData():void{
var itemsSave:String = new String();
var invSave:String = new String();
itemsSave = itemsAr.join(",");
invSave = invAr.join(",");
trace(("curgametimer from saveGameData function: " + returnTime(curGameTimer)));
saveData.data.gameInfo = ((((((itemsSave + "!") + invSave) + "!") + bestTime) + "!") + curGameTimer);
saveData.data.gameBeaten = gameBeaten;
saveData.flush();
}
public function mainMenuEF():void{
if (menuTimer < 50){
if ((((menuTimer == 1)) && (!((levelCover.alpha == 1))))){
levelCover.alpha = 0;
levelCover.visible = true;
};
levelCover.alpha = (levelCover.alpha + 0.03);
menuTimer++;
} else {
if (menuTimer == 50){
menuTimer = 51;
levelCover.alpha = 1;
mainMenu.gotoAndPlay("mainMenuIn");
canClickMenu = true;
deleteStage();
};
};
}
public function openSponsorLink(e:MouseEvent):void{
e.currentTarget.gotoAndStop("clicked");
navigateToURL(new URLRequest("http://www.mofunzone.com/"), "_blank");
}
public function skipIntro2(e:MouseEvent):void{
this.removeEventListener(Event.ENTER_FRAME, preEF);
gotoAndPlay("introOut");
}
public function uselessKeys():void{
if ((useMoFo == true)){
MFZEasyAPI.success("in_the_key_of_useless");
//unresolved jump
};
}
public function getRoomState(roomNum:int):void{
var roomPos:int;
var roomFloor:int;
var i:int;
while (i < 4) {
if (roomPositions[0][i] == roomNum){
roomFloor = 0;
roomPos = i;
roomInfo[roomNum].elevDoor = ((((i == 0)) || ((i == 2)))) ? 1 : 0;
} else {
if (roomPositions[1][i] == roomNum){
roomFloor = 1;
roomPos = i;
roomInfo[roomNum].elevDoor = ((((i == 1)) || ((i == 3)))) ? 1 : 0;
};
};
i++;
};
var roomRight:int = (((roomPos + 1) < 4)) ? (roomPos + 1) : 0;
var roomLeft:int = (((roomPos - 1) >= 0)) ? (roomPos - 1) : 3;
roomInfo[roomNum].roomLeft = (roomPositions[roomFloor][roomLeft] + 0);
roomInfo[roomNum].roomRight = (roomPositions[roomFloor][roomRight] + 0);
if (roomNum == 5){
roomInfo[roomNum].roomState = ((roomInfo[roomNum].roomLeft == 3)) ? 2 : ((((roomFloor == 1)) && ((roomPositions[0][roomPos] == 3)))) ? 3 : 1;
};
}
public function callMessage(mess:String, messSize:int=1):void{
if ((((messSize == 1)) || ((messSize == 3)))){
dispMessage(mess, messSize);
} else {
if ((((messSize == 2)) || ((messSize == 4)))){
dispLongMessage(mess, messSize);
} else {
trace("wrong messSize param passed to callMessage function - must be 1 or 2 or 3 or 4");
};
};
}
public function ringRangRung():void{
if ((useMoFo == true)){
MFZEasyAPI.success("ring_rang_rung");
//unresolved jump
};
}
public function mouseLeaveHandler(evt:Event):void{
mouseCursor.visible = false;
}
public function pickUpItem(e:MouseEvent, itemNumber:Number, invNumber:Number, displayMessage:String, dispSize:int=1, itemSound:String="pickUp"):void{
if (itemsAr[itemNumber] != 0){
e.currentTarget.visible = false;
itemsAr[itemNumber] = 0;
invAr[invNumber] = 1;
HUD.HUDInner.refreshList();
callMessage(displayMessage, dispSize);
playSound(itemSound);
} else {
trace(itemNumber);
trace(itemsAr[itemNumber]);
};
}
public function createLevel():void{
createStage();
trace("creating a level");
switch (itemsAr[0]){
case 1:
curLevel = new MainChapel(1);
break;
case 2:
curLevel = new Tower(2);
break;
case 3:
curLevel = new Cemetery(3);
break;
case 4:
curLevel = new Catacombs(4);
break;
case 5:
curLevel = new Pit(5);
break;
case 6:
curLevel = new MainChapel(6);
break;
case 7:
curLevel = new MainChapel(7);
break;
case 8:
curLevel = new MainChapel(8);
break;
case 10:
curLevel = new Opening(10);
break;
default:
curLevel = new MainChapel(1);
};
curLevel.initLevel(this);
curStage.addChild(curLevel);
}
public function initGameData():void{
var itemsInc:int;
polaroidIndex = 9;
switchClick = 0;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 10;
itemsObj.episodeNum = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.camNum = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidSecretButton = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidMoonMural = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidHandMural = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidLightningMural = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidSunMural = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidEyeMural = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidPyramidMural = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.polaroidStoryPlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.ladderScroll = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.churchShot = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.chandelierDOWN = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.chandelierCandles = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.constPlateInChapel = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.paintingOpen = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.ropeState = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.ropePulls = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.northKeyInChapel = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.lodeStoneInChapel = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.lodeStoneInTower = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.libraryFireOn = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.woodStateLibrary = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.floorWoodStateLibrary = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.plaqueStateLibrary = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.polaroidInLibrary = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.northSecretDoorOpen = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.candleEndSecretPassage = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.candleMiddleSecretPassage = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.scrollInStarHole = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.westKeyInRopeHole = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 2;
itemsObj.lodeStoneInPulpit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.chainInWestPulpit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.lightningLanternInPulpit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 2;
itemsObj.moonLanternInPulpit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.sunLanternInTower = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.eastKeyInPulpit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.stringInPulpit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.westSecretDoorOpen = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.hookInCemetery = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveFarLeftLantern = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveFarLeftDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveFarRightLantern = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveFarRightDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveMidLeftLantern = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveMidLeftDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveMidRightLantern = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveMidRightDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveNearLeftLantern = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveNearLeftDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveNearRightLantern = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.graveNearRightDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.cemeteryWallHoleOpen = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.cemeteryPlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.cemeteryClay = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.ropeInBasement = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.compassInBasement = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.flameInCatacombs = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.lidOnInCatacombs = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.plaqueInCatacombs = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.lanternInCatacombs = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey1 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey2 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 3;
itemsObj.catacombsKey3 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey4 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey5 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey6 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey7 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey8 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey9 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey10 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey11 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey12 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey13 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey14 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey15 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.catacombsKey16 = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.southDoorLocked = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.eastDoorLocked = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.candleOnInPit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.pitHoleInWallOpen = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pyramidLanternInPit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.eyeLanternInPit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.plaqueInPit = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.plaqueInRafters = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.pitMoonPlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.pitSunPlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.pitPyramidPlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.pitLightningPlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.pitEyePlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 0;
itemsObj.pitHandPlaque = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pitMoonPlaqueDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pitSunPlaqueDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pitPyramidPlaqueDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pitLightningPlaqueDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pitEyePlaqueDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pitHandPlaqueDir = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 7;
itemsObj.pitMoonCog = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 1;
itemsObj.pitSunCog = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 3;
itemsObj.pitPyramidCog = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 11;
itemsObj.pitLightningCog = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 4;
itemsObj.pitEyeCog = (itemsInc + 0);
itemsInc++;
itemsAr[itemsInc] = ((useSaveData == true)) ? int(saveItems[itemsInc]) : 7;
itemsObj.pitHandCog = (itemsInc + 0);
itemsInc++;
var invInc = 1;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 1;
invObj.hand = (invInc + 0);
invNames[invInc] = "hand";
writNames[invInc] = "HAND";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 1;
invObj.lighter = (invInc + 0);
invNames[invInc] = "lighter";
writNames[invInc] = "LIGHTER";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.compass = (invInc + 0);
invNames[invInc] = "compass";
writNames[invInc] = "COMPASS";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.candle = (invInc + 0);
invNames[invInc] = "candle";
writNames[invInc] = "CANDLE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.candleLit = (invInc + 0);
invNames[invInc] = "candleLit";
writNames[invInc] = "LIT CANDLE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.string = (invInc + 0);
invNames[invInc] = "string";
writNames[invInc] = "A BIT OF STRING";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.rope = (invInc + 0);
invNames[invInc] = "rope";
writNames[invInc] = "A LENGTH OF ROPE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.hook = (invInc + 0);
invNames[invInc] = "hook";
writNames[invInc] = "HOOK";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.northKey = (invInc + 0);
invNames[invInc] = "northKey";
writNames[invInc] = "NORTH KEY";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.westKey = (invInc + 0);
invNames[invInc] = "westKey";
writNames[invInc] = "WEST KEY";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.eastKey = (invInc + 0);
invNames[invInc] = "eastKey";
writNames[invInc] = "EAST KEY";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.southKey = (invInc + 0);
invNames[invInc] = "southKey";
writNames[invInc] = "SOUTH KEY";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.lodeStone = (invInc + 0);
invNames[invInc] = "lodeStone";
writNames[invInc] = "MAGNETIC LODE STONE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.lightningLantern = (invInc + 0);
invNames[invInc] = "lightningLantern";
writNames[invInc] = "LIGHTNING LANTERN";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.eyeLantern = (invInc + 0);
invNames[invInc] = "eyeLantern";
writNames[invInc] = "EYE LANTERN";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.handLantern = (invInc + 0);
invNames[invInc] = "handLantern";
writNames[invInc] = "HAND LANTERN";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.pyramidLantern = (invInc + 0);
invNames[invInc] = "pyramidLantern";
writNames[invInc] = "PYRAMID LANTERN";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.sunLantern = (invInc + 0);
invNames[invInc] = "sunLantern";
writNames[invInc] = "SUN LANTERN";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.moonLantern = (invInc + 0);
invNames[invInc] = "moonLantern";
writNames[invInc] = "MOON LANTERN";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.moonPlaque = (invInc + 0);
invNames[invInc] = "moonPlaque";
writNames[invInc] = "CONSTELLATION PLAQUE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.sunPlaque = (invInc + 0);
invNames[invInc] = "sunPlaque";
writNames[invInc] = "CONSTELLATION PLAQUE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.clay = (invInc + 0);
invNames[invInc] = "clay";
writNames[invInc] = "SOME CLAY";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.handPlaque = (invInc + 0);
invNames[invInc] = "handPlaque";
writNames[invInc] = "CONSTELLATION PLAQUE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.lightningPlaque = (invInc + 0);
invNames[invInc] = "lightningPlaque";
writNames[invInc] = "CONSTELLATION PLAQUE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.eyePlaque = (invInc + 0);
invNames[invInc] = "eyePlaque";
writNames[invInc] = "CONSTELLATION PLAQUE";
invInc++;
invAr[invInc] = ((useSaveData == true)) ? int(saveInv[invInc]) : 0;
invObj.pyramidPlaque = (invInc + 0);
invNames[invInc] = "pyramidPlaque";
writNames[invInc] = "CONSTELLATION PLAQUE";
invInc++;
}
public function BUTRollOut(e:MouseEvent):void{
e.currentTarget.gotoAndStop("mouseOUT");
}
public function setHand():void{
mouseCursor.gotoAndStop("hand");
heldItem = "hand";
heldNum = (0 + invObj.hand);
HUD.HUDInner.refreshList();
}
public function trackBeatenTime():void{
if ((useMoFo == true)){
MFZEasyAPI.success("track_won_with_best_time");
//unresolved jump
};
}
public function changeCam(turnOff:MovieClip, turnOn:MovieClip, newNum:int):void{
turnOff.visible = false;
turnOn.visible = true;
itemsAr[itemsObj.camNum] = newNum;
levelMessage.gotoAndStop(1);
longMessage.gotoAndStop(1);
itemMessage.gotoAndStop(1);
curLevel.setCompass(newNum);
curLevel.setSoundVol(newNum);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 153
//manualBUT_500 (FindersSeekers_Sept14_1b_fla.manualBUT_500)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class manualBUT_500 extends MovieClip {
public function manualBUT_500(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 154
//manualContent_511 (FindersSeekers_Sept14_1b_fla.manualContent_511)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class manualContent_511 extends MovieClip {
public var continueBUT:MovieClip;
public function manualContent_511(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
continueBUT.addEventListener(MouseEvent.CLICK, continueBUTClick);
continueBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
continueBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
}
public function continueBUTClick(e:MouseEvent):void{
var theFrame:Number = this.currentFrame;
if (theFrame < 6){
theFrame = (theFrame + 1);
} else {
theFrame = 1;
};
gotoAndStop(theFrame);
e.currentTarget.gotoAndStop("Clicked");
if (MovieClip(root).soundOn == true){
MovieClip(root).butPressSound.gotoAndPlay(2);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 155
//MENU_Achieve_BUT_477 (FindersSeekers_Sept14_1b_fla.MENU_Achieve_BUT_477)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class MENU_Achieve_BUT_477 extends MovieClip {
public function MENU_Achieve_BUT_477(){
addFrameScript(5, frame6, 14, frame15);
}
function frame15(){
stop();
}
function frame6(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 156
//Menu_Cloud_497 (FindersSeekers_Sept14_1b_fla.Menu_Cloud_497)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Menu_Cloud_497 extends MovieClip {
public var cloud:MovieClip;
public function Menu_Cloud_497(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
moveCloud();
}
public function moveCloud():void{
cloud.x = (cloud.x + 0.5);
if (cloud.x > 640){
cloud.x = -1200;
};
}
function frame2(){
moveCloud();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 157
//MENU_Sponsor_BUT_485 (FindersSeekers_Sept14_1b_fla.MENU_Sponsor_BUT_485)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class MENU_Sponsor_BUT_485 extends MovieClip {
public function MENU_Sponsor_BUT_485(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 158
//MoreGamesBUT_507 (FindersSeekers_Sept14_1b_fla.MoreGamesBUT_507)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class MoreGamesBUT_507 extends MovieClip {
public function MoreGamesBUT_507(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 159
//MoreGamesBUTMOCLIP_470 (FindersSeekers_Sept14_1b_fla.MoreGamesBUTMOCLIP_470)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class MoreGamesBUTMOCLIP_470 extends MovieClip {
public function MoreGamesBUTMOCLIP_470(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 160
//MoreGamesHUDBUT_469 (FindersSeekers_Sept14_1b_fla.MoreGamesHUDBUT_469)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class MoreGamesHUDBUT_469 extends MovieClip {
public function MoreGamesHUDBUT_469(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 161
//muteButtonSlash_78 (FindersSeekers_Sept14_1b_fla.muteButtonSlash_78)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class muteButtonSlash_78 extends MovieClip {
public function muteButtonSlash_78(){
addFrameScript(0, frame1);
}
function frame1(){
if (MovieClip(root).soundOn == true){
this.visible = false;
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 162
//Opening_Next_BUT_74 (FindersSeekers_Sept14_1b_fla.Opening_Next_BUT_74)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Opening_Next_BUT_74 extends MovieClip {
public function Opening_Next_BUT_74(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 163
//Opening_Prev_BUT_75 (FindersSeekers_Sept14_1b_fla.Opening_Prev_BUT_75)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Opening_Prev_BUT_75 extends MovieClip {
public function Opening_Prev_BUT_75(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 164
//Opening_Skip_BUT_76 (FindersSeekers_Sept14_1b_fla.Opening_Skip_BUT_76)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Opening_Skip_BUT_76 extends MovieClip {
public function Opening_Skip_BUT_76(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 165
//pickingUpItemSound_520 (FindersSeekers_Sept14_1b_fla.pickingUpItemSound_520)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class pickingUpItemSound_520 extends MovieClip {
public function pickingUpItemSound_520(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 166
//Pit_CandleCLIP_391 (FindersSeekers_Sept14_1b_fla.Pit_CandleCLIP_391)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_CandleCLIP_391 extends MovieClip {
public function Pit_CandleCLIP_391(){
addFrameScript(0, frame1, 2, frame3, 4, frame5, 6, frame7, 8, frame9, 10, frame11);
}
function frame1(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame3(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame5(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame7(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame9(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
function frame11(){
gotoAndPlay((Rand.getRandom(12) + 1));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 167
//Pit_Door_Glow_406 (FindersSeekers_Sept14_1b_fla.Pit_Door_Glow_406)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Door_Glow_406 extends MovieClip {
public var glow:MovieClip;
public function Pit_Door_Glow_406(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 168
//Pit_Door_ToCam5_415 (FindersSeekers_Sept14_1b_fla.Pit_Door_ToCam5_415)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Door_ToCam5_415 extends MovieClip {
public function Pit_Door_ToCam5_415(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 169
//Pit_Door_ToCam7_408 (FindersSeekers_Sept14_1b_fla.Pit_Door_ToCam7_408)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Door_ToCam7_408 extends MovieClip {
public function Pit_Door_ToCam7_408(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 170
//Pit_Door_WaterLine_409 (FindersSeekers_Sept14_1b_fla.Pit_Door_WaterLine_409)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Door_WaterLine_409 extends MovieClip {
public function Pit_Door_WaterLine_409(){
addFrameScript(29, frame30);
}
function frame30(){
gotoAndPlay((31 + Rand.getRandom(60)));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 171
//Pit_LadderBot_Glow_395 (FindersSeekers_Sept14_1b_fla.Pit_LadderBot_Glow_395)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderBot_Glow_395 extends MovieClip {
public var glow:MovieClip;
public function Pit_LadderBot_Glow_395(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 172
//Pit_LadderBot_ToCam4_403 (FindersSeekers_Sept14_1b_fla.Pit_LadderBot_ToCam4_403)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderBot_ToCam4_403 extends MovieClip {
public function Pit_LadderBot_ToCam4_403(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 173
//Pit_LadderBot_ToCam6_404 (FindersSeekers_Sept14_1b_fla.Pit_LadderBot_ToCam6_404)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderBot_ToCam6_404 extends MovieClip {
public function Pit_LadderBot_ToCam6_404(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 174
//Pit_LadderBot_Water1_397 (FindersSeekers_Sept14_1b_fla.Pit_LadderBot_Water1_397)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderBot_Water1_397 extends MovieClip {
public function Pit_LadderBot_Water1_397(){
addFrameScript(29, frame30);
}
function frame30(){
gotoAndPlay((31 + Rand.getRandom(60)));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 175
//Pit_LadderBot_Water2_399 (FindersSeekers_Sept14_1b_fla.Pit_LadderBot_Water2_399)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderBot_Water2_399 extends MovieClip {
public function Pit_LadderBot_Water2_399(){
addFrameScript(29, frame30);
}
function frame30(){
gotoAndPlay((31 + Rand.getRandom(60)));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 176
//Pit_LadderBot_Water3_401 (FindersSeekers_Sept14_1b_fla.Pit_LadderBot_Water3_401)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderBot_Water3_401 extends MovieClip {
public function Pit_LadderBot_Water3_401(){
addFrameScript(29, frame30);
}
function frame30(){
gotoAndPlay((31 + Rand.getRandom(60)));
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 177
//Pit_LadderDown_381 (FindersSeekers_Sept14_1b_fla.Pit_LadderDown_381)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderDown_381 extends MovieClip {
public function Pit_LadderDown_381(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 178
//Pit_LadderMid2_Glow_386 (FindersSeekers_Sept14_1b_fla.Pit_LadderMid2_Glow_386)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderMid2_Glow_386 extends MovieClip {
public var glow:MovieClip;
public function Pit_LadderMid2_Glow_386(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 179
//Pit_LadderMid3_Glow_389 (FindersSeekers_Sept14_1b_fla.Pit_LadderMid3_Glow_389)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderMid3_Glow_389 extends MovieClip {
public var glow:MovieClip;
public function Pit_LadderMid3_Glow_389(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 180
//Pit_LadderMid3_HoleInWall_392 (FindersSeekers_Sept14_1b_fla.Pit_LadderMid3_HoleInWall_392)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderMid3_HoleInWall_392 extends MovieClip {
public function Pit_LadderMid3_HoleInWall_392(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 181
//Pit_LadderTop_ToCam8_379 (FindersSeekers_Sept14_1b_fla.Pit_LadderTop_ToCam8_379)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderTop_ToCam8_379 extends MovieClip {
public function Pit_LadderTop_ToCam8_379(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 182
//Pit_LadderTop_ToTower_380 (FindersSeekers_Sept14_1b_fla.Pit_LadderTop_ToTower_380)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderTop_ToTower_380 extends MovieClip {
public function Pit_LadderTop_ToTower_380(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 183
//Pit_LadderUp_384 (FindersSeekers_Sept14_1b_fla.Pit_LadderUp_384)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_LadderUp_384 extends MovieClip {
public function Pit_LadderUp_384(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 184
//Pit_Puzzle_CogPopUp_421 (FindersSeekers_Sept14_1b_fla.Pit_Puzzle_CogPopUp_421)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Pit_Puzzle_CogPopUp_421 extends MovieClip {
public var wBUT:MovieClip;
public var uBUT:MovieClip;
public var mBUT:MovieClip;
public var oBUT:MovieClip;
public var eBUT:MovieClip;
public var cBUT:MovieClip;
public var iBUT:MovieClip;
public var aBUT:MovieClip;
public var zBUT:MovieClip;
public var closeBUT:MovieClip;
public var vBUT:MovieClip;
public var nBUT:MovieClip;
public var mC:MovieClip;
public var hBUT:MovieClip;
public function Pit_Puzzle_CogPopUp_421(){
addFrameScript(0, frame1);
}
function frame1(){
mC = MovieClip(root);
closeBUT.addEventListener(MouseEvent.CLICK, closeFunc);
aBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(1);
});
cBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(2);
});
eBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(3);
});
hBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(4);
});
iBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(5);
});
mBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(6);
});
nBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(7);
});
oBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(8);
});
uBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(9);
});
vBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(10);
});
wBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(11);
});
zBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
cogFunc(12);
});
}
public function closeFunc(e:MouseEvent):void{
this.visible = false;
}
public function cogFunc(cNum:int):void{
mC.curLevel.setCog(cNum);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 185
//Pit_Puzzle_PlaquePopUp_422 (FindersSeekers_Sept14_1b_fla.Pit_Puzzle_PlaquePopUp_422)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Pit_Puzzle_PlaquePopUp_422 extends MovieClip {
public var closeBUT:MovieClip;
public var eastBUT:MovieClip;
public var mC:MovieClip;
public var westBUT:MovieClip;
public var takeBUT:MovieClip;
public var southBUT:MovieClip;
public var northBUT:MovieClip;
public function Pit_Puzzle_PlaquePopUp_422(){
addFrameScript(0, frame1);
}
public function closeFunc(e:MouseEvent):void{
this.visible = false;
}
public function takeFunc(e:MouseEvent):void{
this.visible = false;
mC.curLevel.setPlaque(0, true);
}
public function northFunc(dir:int):void{
mC.curLevel.setPlaque(dir, false);
}
function frame1(){
mC = MovieClip(root);
closeBUT.addEventListener(MouseEvent.CLICK, closeFunc);
takeBUT.addEventListener(MouseEvent.CLICK, takeFunc);
northBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(1);
});
eastBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(2);
});
southBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(3);
});
westBUT.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
northFunc(4);
});
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 186
//Pit_Puzzle_PlaquesCLIP_420 (FindersSeekers_Sept14_1b_fla.Pit_Puzzle_PlaquesCLIP_420)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Puzzle_PlaquesCLIP_420 extends MovieClip {
public function Pit_Puzzle_PlaquesCLIP_420(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 187
//Pit_Puzzle_RollerLEFT_418 (FindersSeekers_Sept14_1b_fla.Pit_Puzzle_RollerLEFT_418)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Puzzle_RollerLEFT_418 extends MovieClip {
public function Pit_Puzzle_RollerLEFT_418(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 188
//Pit_Puzzle_ToCam6_417 (FindersSeekers_Sept14_1b_fla.Pit_Puzzle_ToCam6_417)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Puzzle_ToCam6_417 extends MovieClip {
public function Pit_Puzzle_ToCam6_417(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 189
//Pit_Rafters1_ToCam1_426 (FindersSeekers_Sept14_1b_fla.Pit_Rafters1_ToCam1_426)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Rafters1_ToCam1_426 extends MovieClip {
public function Pit_Rafters1_ToCam1_426(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 190
//Pit_Rafters1_ToCam9_427 (FindersSeekers_Sept14_1b_fla.Pit_Rafters1_ToCam9_427)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Rafters1_ToCam9_427 extends MovieClip {
public function Pit_Rafters1_ToCam9_427(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 191
//Pit_Rafters2_Glow_429 (FindersSeekers_Sept14_1b_fla.Pit_Rafters2_Glow_429)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Rafters2_Glow_429 extends MovieClip {
public var glow:MovieClip;
public function Pit_Rafters2_Glow_429(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 192
//Pit_Rafters2_ToCam8_431 (FindersSeekers_Sept14_1b_fla.Pit_Rafters2_ToCam8_431)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pit_Rafters2_ToCam8_431 extends MovieClip {
public function Pit_Rafters2_ToCam8_431(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 193
//playBUT_499 (FindersSeekers_Sept14_1b_fla.playBUT_499)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class playBUT_499 extends MovieClip {
public function playBUT_499(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 194
//playMoreGamesBUT_506 (FindersSeekers_Sept14_1b_fla.playMoreGamesBUT_506)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class playMoreGamesBUT_506 extends MovieClip {
public function playMoreGamesBUT_506(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 195
//Polaroid_StoryPlaque_462 (FindersSeekers_Sept14_1b_fla.Polaroid_StoryPlaque_462)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Polaroid_StoryPlaque_462 extends MovieClip {
public var sunCLICK:MovieClip;
public var moonCLICK:MovieClip;
public var mC:MovieClip;
public var eyeCLICK:MovieClip;
public var pyramidCLICK:MovieClip;
public var handCLICK:MovieClip;
public var lightningCLICK:MovieClip;
public function Polaroid_StoryPlaque_462(){
addFrameScript(0, frame1);
}
function frame1(){
mC = MovieClip(root);
moonCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
mC.callMessage("The FIRST Patriarchal father to our order, meditating far NORTH, beheld Majesty in the MOON and established our Church in her honor and embrace", 4);
});
sunCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
mC.callMessage("The 2ND Patriarch beheld the rising SUN, at once understanding the duality between moon and sun, the two faces of our loving and fearsome god", 4);
});
pyramidCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
mC.callMessage("From SOUTHERN lands of pharaoh and PYRAMID, The 3RD Patriarch brought the precise cut of the stone, the knowledge to bend nature to our command", 4);
});
lightningCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
mC.callMessage("To the SOUTH, from the vast libraries of Romulus and of Remus, the 4th Patriarch shared us the gift of knowledge and the LIGHTNING stroke of understanding", 2);
});
eyeCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
mC.callMessage("The 5th Patriarch, Wandering far EASTERN Orient, mastered Wisdom of the inner EYE, the ability to look deep into the self", 2);
});
handCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
mC.callMessage("The HAND. The will and strength to endure new WESTERN worlds, read in the lines on the work worn palms of the 6th Patriarch", 2);
});
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 196
//Polaroids_CloseBUT_465 (FindersSeekers_Sept14_1b_fla.Polaroids_CloseBUT_465)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Polaroids_CloseBUT_465 extends MovieClip {
public function Polaroids_CloseBUT_465(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 197
//PolaroidSoundCLIP_517 (FindersSeekers_Sept14_1b_fla.PolaroidSoundCLIP_517)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class PolaroidSoundCLIP_517 extends MovieClip {
public function PolaroidSoundCLIP_517(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 198
//Pulpit_Chapel_Chandelier_292 (FindersSeekers_Sept14_1b_fla.Pulpit_Chapel_Chandelier_292)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Chapel_Chandelier_292 extends MovieClip {
public function Pulpit_Chapel_Chandelier_292(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 199
//Pulpit_Chapel_FireRoom_295 (FindersSeekers_Sept14_1b_fla.Pulpit_Chapel_FireRoom_295)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Chapel_FireRoom_295 extends MovieClip {
public var glow:MovieClip;
public function Pulpit_Chapel_FireRoom_295(){
addFrameScript(0, frame1);
}
function frame1(){
glow.alpha = (Rand.getRandom(11) / 10);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 200
//Pulpit_Chapel_NearRope_297 (FindersSeekers_Sept14_1b_fla.Pulpit_Chapel_NearRope_297)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Chapel_NearRope_297 extends MovieClip {
public function Pulpit_Chapel_NearRope_297(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 201
//Pulpit_Chapel_RopeCLICK_298 (FindersSeekers_Sept14_1b_fla.Pulpit_Chapel_RopeCLICK_298)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Chapel_RopeCLICK_298 extends MovieClip {
public function Pulpit_Chapel_RopeCLICK_298(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 202
//Pulpit_Chapel_ToCam2_299 (FindersSeekers_Sept14_1b_fla.Pulpit_Chapel_ToCam2_299)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Chapel_ToCam2_299 extends MovieClip {
public function Pulpit_Chapel_ToCam2_299(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 203
//Pulpit_KeyShot_Strings2_330 (FindersSeekers_Sept14_1b_fla.Pulpit_KeyShot_Strings2_330)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_KeyShot_Strings2_330 extends MovieClip {
public function Pulpit_KeyShot_Strings2_330(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 204
//Pulpit_KeyShot_ToCam8_328 (FindersSeekers_Sept14_1b_fla.Pulpit_KeyShot_ToCam8_328)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_KeyShot_ToCam8_328 extends MovieClip {
public function Pulpit_KeyShot_ToCam8_328(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 205
//Pulpit_Main_RopeCLICK_285 (FindersSeekers_Sept14_1b_fla.Pulpit_Main_RopeCLICK_285)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Main_RopeCLICK_285 extends MovieClip {
public function Pulpit_Main_RopeCLICK_285(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 206
//Pulpit_Main_Ropes_280 (FindersSeekers_Sept14_1b_fla.Pulpit_Main_Ropes_280)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Main_Ropes_280 extends MovieClip {
public function Pulpit_Main_Ropes_280(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 207
//Pulpit_Main_ToCam1_281 (FindersSeekers_Sept14_1b_fla.Pulpit_Main_ToCam1_281)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Main_ToCam1_281 extends MovieClip {
public function Pulpit_Main_ToCam1_281(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 208
//Pulpit_Main_ToCam3_282 (FindersSeekers_Sept14_1b_fla.Pulpit_Main_ToCam3_282)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Main_ToCam3_282 extends MovieClip {
public function Pulpit_Main_ToCam3_282(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 209
//Pulpit_Main_ToCam6_283 (FindersSeekers_Sept14_1b_fla.Pulpit_Main_ToCam6_283)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Main_ToCam6_283 extends MovieClip {
public function Pulpit_Main_ToCam6_283(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 210
//Pulpit_Main_ToCam7_284 (FindersSeekers_Sept14_1b_fla.Pulpit_Main_ToCam7_284)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Main_ToCam7_284 extends MovieClip {
public function Pulpit_Main_ToCam7_284(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 211
//Pulpit_North_Strings_322 (FindersSeekers_Sept14_1b_fla.Pulpit_North_Strings_322)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_North_Strings_322 extends MovieClip {
public function Pulpit_North_Strings_322(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 212
//Pulpit_North_ToBasement_319 (FindersSeekers_Sept14_1b_fla.Pulpit_North_ToBasement_319)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_North_ToBasement_319 extends MovieClip {
public function Pulpit_North_ToBasement_319(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 213
//Pulpit_North_ToCam1_326 (FindersSeekers_Sept14_1b_fla.Pulpit_North_ToCam1_326)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_North_ToCam1_326 extends MovieClip {
public function Pulpit_North_ToCam1_326(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 214
//Pulpit_PlaqueBot_ToCam5_313 (FindersSeekers_Sept14_1b_fla.Pulpit_PlaqueBot_ToCam5_313)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_PlaqueBot_ToCam5_313 extends MovieClip {
public function Pulpit_PlaqueBot_ToCam5_313(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 215
//Pulpit_PlaqueTop_ToCam2_311 (FindersSeekers_Sept14_1b_fla.Pulpit_PlaqueTop_ToCam2_311)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_PlaqueTop_ToCam2_311 extends MovieClip {
public function Pulpit_PlaqueTop_ToCam2_311(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 216
//Pulpit_PlaqueTop_ToCam6_310 (FindersSeekers_Sept14_1b_fla.Pulpit_PlaqueTop_ToCam6_310)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_PlaqueTop_ToCam6_310 extends MovieClip {
public function Pulpit_PlaqueTop_ToCam6_310(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 217
//Pulpit_Rope_pullRope_302 (FindersSeekers_Sept14_1b_fla.Pulpit_Rope_pullRope_302)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Pulpit_Rope_pullRope_302 extends MovieClip {
public var gg:Object;
public var ropeINNER:MovieClip;
public var g:Array;
public var mC:MovieClip;
public function Pulpit_Rope_pullRope_302(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 40, frame41, 60, frame61, 80, frame81, 119, frame120, 139, frame140, 159, frame160, 199, frame200, 219, frame220, 239, frame240, 279, frame280, 299, frame300, 319, frame320);
}
function frame240(){
if ((mC.canPullRope == true)){
gotoAndStop(2);
//unresolved jump
};
}
function frame120(){
mC.playSound("bell2");
}
function frame220(){
mC.canPullRope = true;
}
function frame2(){
if ((g[gg.westKeyInRopeHole] == 1)){
mC.callMessage("ARGHH!! I lost all of the momentum I'd built up... I have to pull it again just as the rope is rising back up AND slowing down", 2);
//unresolved jump
};
g[gg.ropePulls] = 1;
gotoAndStop(1);
}
function frame3(){
mC.canPullRope = false;
mC.ropeGood = true;
}
function frame41(){
mC.playSound("bell1");
}
function frame1(){
stop();
mC = MovieClip(root);
g = mC.itemsAr;
gg = mC.itemsObj;
mC.canPullRope = true;
mC.ropeGood = false;
}
function frame81(){
if ((mC.canPullRope == true)){
gotoAndStop(2);
//unresolved jump
};
}
function frame320(){
if ((mC.canPullRope == true)){
gotoAndStop(2);
} else {
gotoAndPlay("pull4");
};
}
function frame200(){
mC.playSound("bell3");
}
function frame300(){
mC.canPullRope = true;
}
function frame61(){
mC.canPullRope = true;
}
function frame140(){
mC.canPullRope = true;
}
function frame280(){
mC.playSound("bell4");
}
function frame160(){
if ((mC.canPullRope == true)){
gotoAndStop(2);
//unresolved jump
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 218
//Pulpit_Rope_PullRopeINNER_303 (FindersSeekers_Sept14_1b_fla.Pulpit_Rope_PullRopeINNER_303)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Pulpit_Rope_PullRopeINNER_303 extends MovieClip {
public var ii:Object;
public var g:Array;
public var gg:Object;
public var westKey:MovieClip;
public var mC:MovieClip;
public function Pulpit_Rope_PullRopeINNER_303(){
addFrameScript(0, frame1);
}
function frame1(){
mC = MovieClip(root);
g = mC.itemsAr;
gg = mC.itemsObj;
ii = mC.invObj;
westKey.visible = ((g[gg.westKeyInRopeHole] == 1)) ? true : false;
westKey.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
mC.pickUpItem(e, gg.westKeyInRopeHole, ii.westKey, "You picked up the WEST KEY", 1);
if ((g[gg.ropePulls] == 0)){
mC.ringRangRung();
//unresolved jump
};
});
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 219
//Pulpit_Rope_Ropes_301 (FindersSeekers_Sept14_1b_fla.Pulpit_Rope_Ropes_301)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Rope_Ropes_301 extends MovieClip {
public var rope:MovieClip;
public function Pulpit_Rope_Ropes_301(){
addFrameScript(0, frame1, 4, frame5, 5, frame6);
}
function frame1(){
stop();
}
function frame5(){
rope.visible = false;
}
function frame6(){
rope.visible = false;
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 220
//Pulpit_Rope_ToCam1_308 (FindersSeekers_Sept14_1b_fla.Pulpit_Rope_ToCam1_308)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Rope_ToCam1_308 extends MovieClip {
public function Pulpit_Rope_ToCam1_308(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 221
//Pulpit_Rope_ToCam8_307 (FindersSeekers_Sept14_1b_fla.Pulpit_Rope_ToCam8_307)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Rope_ToCam8_307 extends MovieClip {
public function Pulpit_Rope_ToCam8_307(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 222
//Pulpit_Ropes_RoepsCLICK_305 (FindersSeekers_Sept14_1b_fla.Pulpit_Ropes_RoepsCLICK_305)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Ropes_RoepsCLICK_305 extends MovieClip {
public function Pulpit_Ropes_RoepsCLICK_305(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 223
//Pulpit_Ropes_ToCam2_306 (FindersSeekers_Sept14_1b_fla.Pulpit_Ropes_ToCam2_306)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Ropes_ToCam2_306 extends MovieClip {
public function Pulpit_Ropes_ToCam2_306(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 224
//Pulpit_Stairs_ToCam2_278 (FindersSeekers_Sept14_1b_fla.Pulpit_Stairs_ToCam2_278)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Stairs_ToCam2_278 extends MovieClip {
public function Pulpit_Stairs_ToCam2_278(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 225
//Pulpit_Stairs_ToChapel_277 (FindersSeekers_Sept14_1b_fla.Pulpit_Stairs_ToChapel_277)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Stairs_ToChapel_277 extends MovieClip {
public function Pulpit_Stairs_ToChapel_277(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 226
//Pulpit_Stairs_ToUpStairs_276 (FindersSeekers_Sept14_1b_fla.Pulpit_Stairs_ToUpStairs_276)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_Stairs_ToUpStairs_276 extends MovieClip {
public function Pulpit_Stairs_ToUpStairs_276(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 227
//Pulpit_StairsKey_Strings_333 (FindersSeekers_Sept14_1b_fla.Pulpit_StairsKey_Strings_333)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_StairsKey_Strings_333 extends MovieClip {
public function Pulpit_StairsKey_Strings_333(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 228
//Pulpit_StairsKey_ToCam1_335 (FindersSeekers_Sept14_1b_fla.Pulpit_StairsKey_ToCam1_335)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_StairsKey_ToCam1_335 extends MovieClip {
public function Pulpit_StairsKey_ToCam1_335(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 229
//Pulpit_StairsKey_ToCam11_336 (FindersSeekers_Sept14_1b_fla.Pulpit_StairsKey_ToCam11_336)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_StairsKey_ToCam11_336 extends MovieClip {
public function Pulpit_StairsKey_ToCam11_336(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 230
//Pulpit_West_ToCam2_316 (FindersSeekers_Sept14_1b_fla.Pulpit_West_ToCam2_316)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Pulpit_West_ToCam2_316 extends MovieClip {
public function Pulpit_West_ToCam2_316(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 231
//QuitBUTMO_476 (FindersSeekers_Sept14_1b_fla.QuitBUTMO_476)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class QuitBUTMO_476 extends MovieClip {
public function QuitBUTMO_476(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 232
//roaringFire_524 (FindersSeekers_Sept14_1b_fla.roaringFire_524)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class roaringFire_524 extends MovieClip {
public var track1:fire;
public var someChannel:SoundChannel;
public var startSound:Boolean;
public var someTransform:SoundTransform;
public function roaringFire_524(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame1(){
stop();
track1 = new fire();
someTransform = new SoundTransform(1);
someChannel = new SoundChannel();
startSound = true;
}
function frame2(){
someTransform.volume = MovieClip(root).fireVolume;
someChannel = track1.play(0, 1000, someTransform);
stop();
}
function frame3(){
someChannel.stop();
stop();
}
function frame4(){
someTransform.volume = (someTransform.volume - 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
};
}
function frame5(){
someTransform.volume = (someTransform.volume - 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
} else {
gotoAndPlay(4);
};
}
function frame6(){
someTransform.volume = MovieClip(root).fireVolume;
someChannel.soundTransform = someTransform;
trace(("here " + someTransform.volume));
}
function frame7(){
stop();
}
function frame8(){
someTransform.volume = 0;
someChannel = track1.play(0, 1000, someTransform);
}
function frame9(){
someTransform.volume = (someTransform.volume + 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume >= MovieClip(root).fireVolume){
stop();
};
}
function frame10(){
someTransform.volume = (someTransform.volume + 0.03);
someChannel.soundTransform = someTransform;
if (someTransform.volume >= MovieClip(root).fireVolume){
stop();
} else {
gotoAndPlay(9);
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 233
//ropeDrag_286 (FindersSeekers_Sept14_1b_fla.ropeDrag_286)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class ropeDrag_286 extends MovieClip {
public var hitSquare:MovieClip;
public var rope:MovieClip;
public function ropeDrag_286(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame1(){
stop();
}
public function setRope():void{
var rX:Number = this.x;
var rY:Number = this.y;
var tX:Number = 538;
var tY:Number = 232;
var rAng:Number = (Math.atan2((tY - rY), (tX - rX)) * 57.3);
rope.rotation = rAng;
var rLen:Number = Math.sqrt((Math.pow((tY - rY), 2) + Math.pow((tX - rX), 2)));
rope.rope.width = rLen;
}
function frame2(){
setRope();
}
function frame3(){
setRope();
gotoAndPlay(2);
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 234
//SaveBUTMO_474 (FindersSeekers_Sept14_1b_fla.SaveBUTMO_474)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class SaveBUTMO_474 extends MovieClip {
public function SaveBUTMO_474(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 235
//SOUND_Ambience_526 (FindersSeekers_Sept14_1b_fla.SOUND_Ambience_526)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class SOUND_Ambience_526 extends MovieClip {
public var track1:ambience;
public var someChannel:SoundChannel;
public var mC:MovieClip;
public var modInc:Number;
public var someTransform:SoundTransform;
public function SOUND_Ambience_526(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 6, frame7, 7, frame8, 8, frame9, 29, frame30);
}
function frame1(){
stop();
mC = MovieClip(root);
track1 = new ambience();
someTransform = new SoundTransform(1);
someChannel = new SoundChannel();
modInc = 0.002;
}
function frame2(){
someTransform.volume = mC.ambVolume;
someChannel.stop();
someChannel = track1.play(0, 1000, someTransform);
trace("starting BOND");
}
function frame4(){
mC.ambVolume = (mC.ambVolume + modInc);
someTransform.volume = mC.ambVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume >= 1){
stop();
} else {
gotoAndPlay("repeatFadeIN");
};
}
function frame5(){
mC.ambVolume = 1;
someTransform.volume = mC.ambVolume;
someChannel.soundTransform = someTransform;
someChannel.stop();
someChannel = track1.play(0, 1000, someTransform);
stop();
}
function frame7(){
mC.ambVolume = (mC.ambVolume - modInc);
someTransform.volume = mC.ambVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
};
}
function frame8(){
mC.ambVolume = (mC.ambVolume - modInc);
someTransform.volume = mC.ambVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
} else {
gotoAndPlay("repeatFadeOUT");
};
}
function frame3(){
mC.ambVolume = (mC.ambVolume + modInc);
someTransform.volume = mC.ambVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume >= 1){
stop();
};
}
function frame30(){
stop();
}
function frame9(){
mC.ambVolume = 0;
someTransform.volume = mC.ambVolume;
someChannel.soundTransform = someTransform;
someChannel.stop();
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 236
//SOUND_MainMenu_MUSIC_523 (FindersSeekers_Sept14_1b_fla.SOUND_MainMenu_MUSIC_523)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class SOUND_MainMenu_MUSIC_523 extends MovieClip {
public var track1:menuMusic;
public var someChannel:SoundChannel;
public var mC:MovieClip;
public var modInc:Number;
public var someTransform:SoundTransform;
public function SOUND_MainMenu_MUSIC_523(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 6, frame7, 7, frame8, 8, frame9, 29, frame30);
}
function frame1(){
stop();
mC = MovieClip(root);
track1 = new menuMusic();
someTransform = new SoundTransform(1);
someChannel = new SoundChannel();
modInc = 0.002;
}
function frame2(){
someTransform.volume = mC.menuVolume;
someChannel.stop();
someChannel = track1.play(0, 1000, someTransform);
trace("starting BOND");
}
function frame4(){
mC.menuVolume = (mC.menuVolume + modInc);
someTransform.volume = mC.menuVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume >= 1){
stop();
} else {
gotoAndPlay("repeatFadeIN");
};
}
function frame5(){
mC.menuVolume = 1;
someTransform.volume = mC.menuVolume;
someChannel.soundTransform = someTransform;
someChannel.stop();
someChannel = track1.play(0, 1000, someTransform);
stop();
}
function frame7(){
mC.menuVolume = (mC.menuVolume - modInc);
someTransform.volume = mC.menuVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
};
}
function frame8(){
mC.menuVolume = (mC.menuVolume - modInc);
someTransform.volume = mC.menuVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume <= 0){
someChannel.stop();
stop();
} else {
gotoAndPlay("repeatFadeOUT");
};
}
function frame3(){
mC.menuVolume = (mC.menuVolume + modInc);
someTransform.volume = mC.menuVolume;
someChannel.soundTransform = someTransform;
if (someTransform.volume >= 1){
stop();
};
}
function frame30(){
stop();
}
function frame9(){
mC.menuVolume = 0;
someTransform.volume = mC.menuVolume;
someChannel.soundTransform = someTransform;
someChannel.stop();
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 237
//SwapSound_527 (FindersSeekers_Sept14_1b_fla.SwapSound_527)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class SwapSound_527 extends MovieClip {
public function SwapSound_527(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 238
//SWITCH_SOUND_522 (FindersSeekers_Sept14_1b_fla.SWITCH_SOUND_522)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class SWITCH_SOUND_522 extends MovieClip {
public function SWITCH_SOUND_522(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 239
//THEPRELOADER_4 (FindersSeekers_Sept14_1b_fla.THEPRELOADER_4)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
import flash.events.*;
public dynamic class THEPRELOADER_4 extends MovieClip {
public var shiftamt;
public var onRelease;
public var isloaded;
public var bar:MovieClip;
public function THEPRELOADER_4(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
MovieClip(root).stop();
shiftamt = 17;
isloaded = false;
parent.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
onRelease = function (){
};
stage.addEventListener(MouseEvent.CLICK, onRelease);
if (parent.loaderInfo.bytesLoaded >= parent.loaderInfo.bytesTotal){
parent.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, PL_LOADING);
gotoAndStop(10);
};
}
function frame10(){
stage.removeEventListener(MouseEvent.CLICK, onRelease);
}
public function PL_LOADING(event:ProgressEvent):void{
var bytesloaded:*;
bytesloaded = Math.round(event.bytesLoaded);
var bytestotal:* = Math.round(event.bytesTotal);
var percent:* = (bytesloaded / bytestotal);
MovieClip(MovieClip(getChildByName("bar")).getChildByName("barmask")).scaleX = percent;
if (bytesloaded == bytestotal){
isloaded = true;
};
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 240
//Tower_Bell_Strings_362 (FindersSeekers_Sept14_1b_fla.Tower_Bell_Strings_362)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_Bell_Strings_362 extends MovieClip {
public function Tower_Bell_Strings_362(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 241
//Tower_Bell_ToCam10_369 (FindersSeekers_Sept14_1b_fla.Tower_Bell_ToCam10_369)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_Bell_ToCam10_369 extends MovieClip {
public function Tower_Bell_ToCam10_369(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 242
//Tower_Bell_ToCam11_367 (FindersSeekers_Sept14_1b_fla.Tower_Bell_ToCam11_367)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_Bell_ToCam11_367 extends MovieClip {
public function Tower_Bell_ToCam11_367(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 243
//Tower_Bell_ToCam14_368 (FindersSeekers_Sept14_1b_fla.Tower_Bell_ToCam14_368)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_Bell_ToCam14_368 extends MovieClip {
public function Tower_Bell_ToCam14_368(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 244
//Tower_Bell_ToLadder_360 (FindersSeekers_Sept14_1b_fla.Tower_Bell_ToLadder_360)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_Bell_ToLadder_360 extends MovieClip {
public function Tower_Bell_ToLadder_360(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 245
//Tower_UpLeft_Bell_339 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_Bell_339)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_Bell_339 extends MovieClip {
public function Tower_UpLeft_Bell_339(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 246
//Tower_UpLeft_BellCLICK_347 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_BellCLICK_347)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_BellCLICK_347 extends MovieClip {
public function Tower_UpLeft_BellCLICK_347(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 247
//Tower_UpLeft_RopeCLICK_348 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_RopeCLICK_348)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_RopeCLICK_348 extends MovieClip {
public function Tower_UpLeft_RopeCLICK_348(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 248
//Tower_UpLeft_String_342 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_String_342)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_String_342 extends MovieClip {
public function Tower_UpLeft_String_342(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 249
//Tower_UpLeft_ToCam10_344 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_ToCam10_344)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_ToCam10_344 extends MovieClip {
public function Tower_UpLeft_ToCam10_344(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 250
//Tower_UpLeft_ToCam12_343 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_ToCam12_343)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_ToCam12_343 extends MovieClip {
public function Tower_UpLeft_ToCam12_343(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 251
//Tower_UpLeft_ToCam13_345 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_ToCam13_345)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_ToCam13_345 extends MovieClip {
public function Tower_UpLeft_ToCam13_345(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 252
//Tower_UpLeft_ToCam14_346 (FindersSeekers_Sept14_1b_fla.Tower_UpLeft_ToCam14_346)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpLeft_ToCam14_346 extends MovieClip {
public function Tower_UpLeft_ToCam14_346(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 253
//Tower_UpRight_Bell_351 (FindersSeekers_Sept14_1b_fla.Tower_UpRight_Bell_351)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpRight_Bell_351 extends MovieClip {
public function Tower_UpRight_Bell_351(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 254
//Tower_UpRight_BellCLICK_358 (FindersSeekers_Sept14_1b_fla.Tower_UpRight_BellCLICK_358)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpRight_BellCLICK_358 extends MovieClip {
public function Tower_UpRight_BellCLICK_358(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 255
//Tower_UpRight_Strings_352 (FindersSeekers_Sept14_1b_fla.Tower_UpRight_Strings_352)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpRight_Strings_352 extends MovieClip {
public function Tower_UpRight_Strings_352(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 256
//Tower_UpRight_ToCam10_356 (FindersSeekers_Sept14_1b_fla.Tower_UpRight_ToCam10_356)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpRight_ToCam10_356 extends MovieClip {
public function Tower_UpRight_ToCam10_356(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 257
//Tower_UpRight_ToCam14_357 (FindersSeekers_Sept14_1b_fla.Tower_UpRight_ToCam14_357)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpRight_ToCam14_357 extends MovieClip {
public function Tower_UpRight_ToCam14_357(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 258
//Tower_UpRight_ToLadder_350 (FindersSeekers_Sept14_1b_fla.Tower_UpRight_ToLadder_350)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_UpRight_ToLadder_350 extends MovieClip {
public function Tower_UpRight_ToLadder_350(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 259
//Tower_Window_Strings_375 (FindersSeekers_Sept14_1b_fla.Tower_Window_Strings_375)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_Window_Strings_375 extends MovieClip {
public function Tower_Window_Strings_375(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 260
//Tower_Window_ToCam13_371 (FindersSeekers_Sept14_1b_fla.Tower_Window_ToCam13_371)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class Tower_Window_ToCam13_371 extends MovieClip {
public function Tower_Window_ToCam13_371(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 261
//undoFlash_447 (FindersSeekers_Sept14_1b_fla.undoFlash_447)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class undoFlash_447 extends MovieClip {
public function undoFlash_447(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
play();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 262
//unlockingSound_519 (FindersSeekers_Sept14_1b_fla.unlockingSound_519)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class unlockingSound_519 extends MovieClip {
public function unlockingSound_519(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 263
//WalkThroughBUT_471 (FindersSeekers_Sept14_1b_fla.WalkThroughBUT_471)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class WalkThroughBUT_471 extends MovieClip {
public function WalkThroughBUT_471(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 264
//WalkthroughBUTMO_472 (FindersSeekers_Sept14_1b_fla.WalkthroughBUTMO_472)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class WalkthroughBUTMO_472 extends MovieClip {
public function WalkthroughBUTMO_472(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 265
//WinchSound_521 (FindersSeekers_Sept14_1b_fla.WinchSound_521)
package FindersSeekers_Sept14_1b_fla {
import flash.display.*;
public dynamic class WinchSound_521 extends MovieClip {
public function WinchSound_521(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FindersSeekers_Sept14_1b_fla
Section 266
//ambience (ambience)
package {
import flash.media.*;
public dynamic class ambience extends Sound {
}
}//package
Section 267
//BellSound (BellSound)
package {
import flash.media.*;
public dynamic class BellSound extends Sound {
}
}//package
Section 268
//Catacombs (Catacombs)
package {
import flash.display.*;
import flash.events.*;
public class Catacombs extends MovieClip {
public var cam1:MovieClip;
public var cam2:MovieClip;
public var cam3:MovieClip;
public var roomNumber:int;
public var gg:Object;
public var g:Array;
public var i:Array;
private var doOnce:Boolean;// = false
public var ii:Object;
private var switchClick:int;// = 0
public var rootObj:Object;
private var oldHeldItem:String;// = "hand"
public var rState:Object;
public function Catacombs(rNum:int):void{
super();
roomNumber = rNum;
}
public function setSoundVol(camNum:int):void{
}
private function clickCamera(thePicture:int, theIndex:int, theMessage:String, thePlacement:int){
if (g[thePicture] == 0){
g[thePicture] = 1;
rootObj.polaroidIndex = theIndex;
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
rootObj.HUD.HUDInner.polaroids.gotoAndStop(2);
rootObj.playSound("polaroid");
if ((rootObj.checkPolaroidPro() == true)){
rootObj.polaroidPro();
//unresolved jump
};
} else {
rootObj.callMessage(theMessage, thePlacement);
};
}
public function setCompass(cam:int):void{
switch (cam){
case 1:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? 10640 : -10000;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -4500 : 300;
break;
case 2:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? 10640 : 45;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -4500 : 325;
break;
case 3:
rootObj.compassX = 320;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -10000 : 500;
break;
};
}
public function initLevel(rObj):void{
var rObj = rObj;
rootObj = rObj;
g = rootObj.itemsAr;
gg = rootObj.itemsObj;
i = rootObj.invAr;
ii = rootObj.invObj;
cam1.visible = ((g[gg.camNum] == 1)) ? true : false;
cam2.visible = ((g[gg.camNum] == 2)) ? true : false;
cam3.visible = ((g[gg.camNum] == 3)) ? true : false;
cam1.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam2, 2);
});
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam3, 3);
});
cam1.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toPulpit.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(4, 2, 8);
});
cam1.toPulpit.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toPulpit.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.dark.visible = ((g[gg.flameInCatacombs] == 1)) ? false : true;
cam1.dark.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its too dark to see anything down here", 3);
});
cam1.torch.addEventListener(MouseEvent.CLICK, torchFunc);
cam1.skeletons.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There are a few SKELETONS laid to rest in alcoves about the room... there is nothing of interest amongst the bones", 2);
});
cam1.lid.gotoAndStop(((g[gg.lidOnInCatacombs] == 1)) ? 1 : 2);
cam2.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam1, 1);
});
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam3, 3);
});
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.lid.visible = ((g[gg.lidOnInCatacombs] == 1)) ? true : false;
setKeys();
cam2.lantern.visible = ((g[gg.lanternInCatacombs] == 1)) ? true : false;
cam2.lantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.lanternInCatacombs, ii.handLantern, "You picked up the HAND LANTERN", 1);
});
cam2.compass.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a large COMPASS set into the floor, just like in the MAIN CHAPEL... the MAIN CHAPEL is directly above here...", 2);
});
cam2.lodeStone.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage(((g[gg.lodeStoneInChapel] == 3)) ? "Directly above here is where I placed the LODE STONE into the centre of the COMPASS on the CHAPEL FLOOR... its affecting the direction of MY COMPASS" : "Directly above here is the STAR SHAPED hole in the centre of the COMPASS set into the CHAPEL FLOOR", 2);
});
cam2.rope.visible = ((g[gg.ropeInBasement] == 1)) ? true : false;
cam2.rope.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.ropeInBasement, ii.rope, "You picked up some ROPE", 1);
});
cam2.plaque.visible = ((g[gg.plaqueInCatacombs] == 1)) ? true : false;
cam2.compassObj.visible = ((g[gg.compassInBasement] == 1)) ? true : false;
cam2.skeletons.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There are a few SKELETONS laid to rest in alcoves about the room... there is nothing of interest amongst the bones", 2);
});
cam3.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam3, cam2, 2);
});
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam3.inscription.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.lidOnInCatacombs] == 1)){
rootObj.callMessage("true north is a lie, the MAGNETIC LODE STONE is your guide, the COMPASS has the eyes to see, when its in the Lode Stone's vicinity", 2);
//unresolved jump
};
});
cam3.compassObj.visible = ((g[gg.compassInBasement] == 1)) ? true : false;
cam3.compassObj.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.compassInBasement, ii.compass, "You picked up the COMPASS", 1);
cam2.compassObj.visible = false;
});
cam3.lidCLICK.visible = ((g[gg.lidOnInCatacombs] == 1)) ? true : false;
cam3.lidCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if (g[gg.lodeStoneInChapel] != 0){
rootObj.callMessage("The Hole where I placed the Magnetic Lode Stone is above this chamber.... hmmm... it's Magnetism is changing the Compass Directions...", 2);
} else {
rootObj.callMessage("There is a raised platform with a METAL LID on it... around the outside of the LID are 16 KEYHOLES... each Keyhole has an arrow pointing in different directions", 2);
};
});
cam3.lid.visible = ((g[gg.lidOnInCatacombs] == 1)) ? true : false;
cam3.plaque.visible = ((g[gg.plaqueInCatacombs] == 1)) ? true : false;
cam3.plaque.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.plaqueInCatacombs, ii.lightningPlaque, "You picked up a CONSTELLATION PLAQUE", 1);
cam2.plaque.visible = false;
});
cam3.key1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key1, gg.catacombsKey1);
});
cam3.key2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key2, gg.catacombsKey2);
});
cam3.key3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key3, gg.catacombsKey3);
});
cam3.key4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key4, gg.catacombsKey4);
});
cam3.key5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key5, gg.catacombsKey5);
});
cam3.key6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key6, gg.catacombsKey6);
});
cam3.key7.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key7, gg.catacombsKey7);
});
cam3.key8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key8, gg.catacombsKey8);
});
cam3.key9.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key9, gg.catacombsKey9);
});
cam3.key10.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key10, gg.catacombsKey10);
});
cam3.key11.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key11, gg.catacombsKey11);
});
cam3.key12.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key12, gg.catacombsKey12);
});
cam3.key13.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key13, gg.catacombsKey13);
});
cam3.key14.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key14, gg.catacombsKey14);
});
cam3.key15.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key15, gg.catacombsKey15);
});
cam3.key16.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickKeys(cam3.key16, gg.catacombsKey16);
});
cam3.northKey.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.catacombsKey13, ii.northKey, "You picked up the NORTH KEY", 1);
setKeys();
});
cam3.southKey.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.catacombsKey3, ii.southKey, "You picked up the SOUTH KEY", 1);
setKeys();
});
cam3.eastKey.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.catacombsKey6, ii.eastKey, "You picked up the EAST KEY", 1);
setKeys();
});
cam3.westKey.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.catacombsKey10, ii.westKey, "You picked up the WEST KEY", 1);
setKeys();
});
startSounds();
setCompass(g[gg.camNum]);
doOnce = true;
}
public function startSounds():void{
}
public function fadeSounds():void{
}
private function checkKeys():void{
if ((((((((g[gg.catacombsKey3] == 3)) && ((g[gg.catacombsKey6] == 2)))) && ((g[gg.catacombsKey10] == 4)))) && ((g[gg.catacombsKey13] == 1)))){
cam1.lid.gotoAndStop(2);
cam2.lid.visible = false;
cam3.lid.visible = false;
cam3.lidCLICK.visible = false;
cam3.inscription.visible = false;
g[gg.lidOnInCatacombs] = 0;
if (doOnce == true){
doOnce = false;
rootObj.playSound("boom");
rootObj.callMessage("You put the KEYS in the right KEYHOLES... the heavy metal LID swung off the dais and crashed to the floor!", 2);
if ((((((((g[gg.northSecretDoorOpen] == 1)) && ((g[gg.westSecretDoorOpen] == 1)))) && ((g[gg.southDoorLocked] == 0)))) && ((g[gg.eastDoorLocked] == 0)))){
rootObj.uselessKeys();
};
};
};
setKeys();
}
private function clickKeys(theKey:MovieClip, theInfo:int):void{
var wKey:String;
if (g[theInfo] != 0){
wKey = "";
if (g[theInfo] == 1){
wKey = "NORTH";
i[ii.northKey] = 1;
} else {
if (g[theInfo] == 2){
wKey = "EAST";
i[ii.eastKey] = 1;
} else {
if (g[theInfo] == 3){
wKey = "SOUTH";
i[ii.southKey] = 1;
} else {
wKey = "WEST";
i[ii.westKey] = 1;
};
};
};
theKey.gotoAndStop(1);
g[theInfo] = 0;
rootObj.callMessage((("You picked up the " + wKey) + " KEY"), 1);
rootObj.HUD.HUDInner.refreshList();
setKeys();
} else {
if (rootObj.heldItem == "northKey"){
g[theInfo] = 1;
i[ii.northKey] = 0;
rootObj.setHand();
rootObj.callMessage("You placed the NORTH KEY into one of the KEYHOLES", 1);
} else {
if (rootObj.heldItem == "eastKey"){
g[theInfo] = 2;
i[ii.eastKey] = 0;
rootObj.setHand();
rootObj.callMessage("You placed the EAST KEY into one of the KEYHOLES", 1);
} else {
if (rootObj.heldItem == "southKey"){
g[theInfo] = 3;
i[ii.southKey] = 0;
rootObj.setHand();
rootObj.callMessage("You placed the SOUTH KEY into one of the KEYHOLES", 1);
} else {
if (rootObj.heldItem == "westKey"){
g[theInfo] = 4;
i[ii.westKey] = 0;
rootObj.setHand();
rootObj.callMessage("You placed the WEST KEY into one of the KEYHOLES", 1);
} else {
rootObj.callMessage("Its a KEYHOLE... there are lots of them... under each of the KEYHOLES are ARROWS pointing in various directions...", 2);
};
};
};
};
checkKeys();
};
}
public function fadeInSounds():void{
}
public function stopSounds():void{
}
private function torchFunc(e:MouseEvent):void{
if (g[gg.flameInCatacombs] == 1){
rootObj.callMessage("The torch illuminates the CATACOMBS", 3);
} else {
if (rootObj.heldItem == "lighter"){
g[gg.flameInCatacombs] = 1;
cam1.dark.visible = false;
rootObj.callMessage("You used the LIGHTER to set the TORCH aflame", 3);
} else {
rootObj.callMessage("its an unlit TORCH", 3);
};
};
}
private function setKeys():void{
cam2.key1.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey1] + 1));
cam3.key1.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey1] + 1));
cam2.key2.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey2] + 1));
cam3.key2.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey2] + 1));
cam2.key3.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey3] + 1));
cam3.key3.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey3] + 1));
cam2.key4.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey4] + 1));
cam3.key4.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey4] + 1));
cam2.key5.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey5] + 1));
cam3.key5.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey5] + 1));
cam2.key6.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey6] + 1));
cam3.key6.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey6] + 1));
cam2.key7.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey7] + 1));
cam3.key7.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey7] + 1));
cam2.key8.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey8] + 1));
cam3.key8.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey8] + 1));
cam2.key9.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey9] + 1));
cam3.key9.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey9] + 1));
cam2.key10.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey10] + 1));
cam3.key10.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey10] + 1));
cam2.key11.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey11] + 1));
cam3.key11.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey11] + 1));
cam2.key12.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey12] + 1));
cam3.key12.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey12] + 1));
cam2.key13.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey13] + 1));
cam3.key13.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey13] + 1));
cam2.key14.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey14] + 1));
cam3.key14.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey14] + 1));
cam2.key15.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey15] + 1));
cam3.key15.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey15] + 1));
cam2.key16.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey16] + 1));
cam3.key16.gotoAndStop(((g[gg.lidOnInCatacombs] == 0)) ? 6 : (g[gg.catacombsKey16] + 1));
cam2.northKey.gotoAndStop((g[gg.catacombsKey13] + 1));
cam3.northKey.gotoAndStop((g[gg.catacombsKey13] + 1));
cam2.southKey.gotoAndStop((g[gg.catacombsKey3] + 1));
cam3.southKey.gotoAndStop((g[gg.catacombsKey3] + 1));
cam2.eastKey.gotoAndStop((g[gg.catacombsKey6] + 1));
cam3.eastKey.gotoAndStop((g[gg.catacombsKey6] + 1));
cam2.westKey.gotoAndStop((g[gg.catacombsKey10] + 1));
cam3.westKey.gotoAndStop((g[gg.catacombsKey10] + 1));
}
}
}//package
Section 269
//Cemetery (Cemetery)
package {
import flash.display.*;
import flash.events.*;
public class Cemetery extends MovieClip {
private var constDone:Boolean;// = false
public var roomNumber:int;
private var tDir:int;
private var tLanternInv:int;
public var ii:Object;
private var oldHeldItem:String;// = "hand"
private var switchClick:int;// = 0
public var rootObj:Object;
private var firstLoad:Boolean;// = true
private var tLanternCLICK:MovieClip;
public var rState:Object;
public var cam1:MovieClip;
public var cam2:MovieClip;
public var cam3:MovieClip;
public var cam4:MovieClip;
private var tLanternInfo:int;
private var lanternOffsets:Array;
public var gg:Object;
private var lanternNames:Array;
public var g:Array;
public var i:Array;
private var tLantern:MovieClip;
public function Cemetery(rNum:int):void{
lanternOffsets = [0, 9, -2, -3, -1, 0, 5];
lanternNames = [0, "MOON", "SUN", "PYRAMID", "LIGHTNING", "EYE", "HAND"];
super();
roomNumber = rNum;
}
private function holeFunc(e:MouseEvent):void{
g[gg.cemeteryWallHoleOpen] = 1;
cam3.holeInWall.visible = ((g[gg.cemeteryWallHoleOpen] == 1)) ? true : false;
cam3.plaque.visible = true;
rootObj.callMessage("You used the CONSTELLATION shinning on the wall to find a LOOSE BRICK and remove it from the WALL!", 4);
}
private function endCandleFunc(e:MouseEvent):void{
if (g[gg.candleEndSecretPassage] == 1){
if (rootObj.heldItem == "lighter"){
g[gg.candleEndSecretPassage] = 2;
cam2.candle.gotoAndStop((g[gg.candleEndSecretPassage] + 1));
cam2.candleGlow.visible = true;
cam1.farCandleGlow.visible = true;
rootObj.callMessage("You used the LIGHTER to light the CANDLE", 3);
} else {
rootObj.pickUpItem(e, gg.candleEndSecretPassage, ii.candle, "You picked up a CANDLE", 3);
cam2.candleGlow.visible = false;
cam1.farCandleGlow.visible = false;
};
} else {
if (g[gg.candleEndSecretPassage] == 2){
rootObj.pickUpItem(e, gg.candleEndSecretPassage, ii.candleLit, "You picked up a LIT CANDLE", 3);
cam2.candleGlow.visible = false;
cam1.farCandleGlow.visible = false;
};
};
}
private function scrollFunc(e:MouseEvent):void{
cam1.wallScroll.visible = false;
g[gg.scrollInStarHole] = 0;
g[gg.ladderScroll] = 1;
rootObj.polaroidIndex = 8;
rootObj.HUD.HUDInner.polaroids.gotoAndStop(2);
rootObj.callMessage("Its an OLD SCROLL... I'll keep it with my PHOTOS", 3);
}
private function middleCandleHolderFunc(e:MouseEvent):void{
if (rootObj.heldItem == "candle"){
g[gg.candleMiddleSecretPassage] = 1;
i[ii.candle] = 0;
cam1.candle.gotoAndStop((g[gg.candleMiddleSecretPassage] + 1));
rootObj.setHand();
rootObj.callMessage("You placed the CANDLE in the CANDLE HOLDER", 3);
} else {
if (rootObj.heldItem == "candleLit"){
g[gg.candleMiddleSecretPassage] = 2;
i[ii.candleLit] = 0;
cam1.candle.gotoAndStop((g[gg.candleMiddleSecretPassage] + 1));
cam1.candleGlow.visible = true;
rootObj.setHand();
rootObj.callMessage("You placed the LIT CANDLE in the CANDLE HOLDER", 3);
} else {
rootObj.callMessage("hmmm... its a CANDLE HOLDER mounted on the wall... I wonder if it has any significance?", 4);
};
};
}
public function startSounds():void{
}
private function clickCamera(thePicture:int, theIndex:int, theMessage:String, thePlacement:int){
if (g[thePicture] == 0){
g[thePicture] = 1;
rootObj.polaroidIndex = theIndex;
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
rootObj.HUD.HUDInner.polaroids.gotoAndStop(2);
if ((rootObj.checkPolaroidPro() == true)){
rootObj.polaroidPro();
//unresolved jump
};
} else {
rootObj.callMessage(theMessage, thePlacement);
};
}
public function setCompass(cam:int):void{
switch (cam){
case 1:
rootObj.compassX = 150;
rootObj.compassY = -3000;
break;
case 2:
rootObj.compassX = 300;
rootObj.compassY = -10000;
break;
case 3:
rootObj.compassX = -10000;
rootObj.compassY = 200;
break;
case 4:
rootObj.compassX = 200;
rootObj.compassY = 10000;
break;
};
}
public function setLantern(whichDir:int, pickUp:Boolean=false):void{
var lightDir:Number;
if (pickUp == false){
g[tDir] = (whichDir + 0);
tLantern.ldirection.gotoAndStop((whichDir + 1));
lightDir = (((whichDir * 4) + 1) + lanternOffsets[g[tLanternInfo]]);
lightDir = (lightDir + ((lightDir > 16)) ? -16 : ((lightDir < 1)) ? 16 : 0);
tLantern.lights.gotoAndStop(lightDir);
tLantern.lsymbol.gotoAndStop(g[tLanternInfo]);
g[tDir] = (whichDir + 0);
showConst();
} else {
tLantern.visible = false;
tLanternCLICK.visible = false;
rootObj.callMessage((("You picked up the " + lanternNames[g[tLanternInfo]]) + " LANTERN"), 1);
i[tLanternInv] = 1;
g[tLanternInfo] = 0;
rootObj.HUD.HUDInner.refreshList();
};
}
public function initLevel(rObj):void{
var rObj = rObj;
rootObj = rObj;
g = rootObj.itemsAr;
gg = rootObj.itemsObj;
i = rootObj.invAr;
ii = rootObj.invObj;
cam1.visible = ((g[gg.camNum] == 1)) ? true : false;
cam2.visible = ((g[gg.camNum] == 2)) ? true : false;
cam3.visible = ((g[gg.camNum] == 3)) ? true : false;
cam4.visible = ((g[gg.camNum] == 4)) ? true : false;
cam1.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam2, 2);
});
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toLibrary.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(3, 1, 10);
});
cam1.toLibrary.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toLibrary.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.candleGlow.visible = ((g[gg.candleMiddleSecretPassage] == 2)) ? true : false;
cam1.farCandleGlow.visible = ((g[gg.candleEndSecretPassage] == 2)) ? true : false;
cam1.wallHoles.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("hmmm... these HOLES in the WALL seem to go right through the wall to the other side", 4);
});
cam1.candleHolder.addEventListener(MouseEvent.CLICK, middleCandleHolderFunc);
cam1.candle.gotoAndStop((g[gg.candleMiddleSecretPassage] + 1));
cam1.candle.addEventListener(MouseEvent.CLICK, middleCandleFunc);
cam1.wallScroll.visible = ((g[gg.scrollInStarHole] == 2)) ? true : false;
cam1.wallScroll.addEventListener(MouseEvent.CLICK, scrollFunc);
cam2.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam1, 1);
});
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam3, 3);
});
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.candleGlow.visible = ((g[gg.candleEndSecretPassage] == 2)) ? true : false;
if ((g[gg.candleEndSecretPassage] == 0)){
cam2.candle.visible = false;
} else {
cam2.candle.gotoAndStop((g[gg.candleEndSecretPassage] + 1));
};
cam2.candle.addEventListener(MouseEvent.CLICK, endCandleFunc);
cam2.lantern.visible = ((g[gg.graveFarLeftLantern])!=0) ? true : false;
cam3.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam3, cam2, 2);
});
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam3.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam3, cam4, 4);
});
cam3.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam3.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
showConst();
firstLoad = false;
cam3.candleGlow.visible = ((g[gg.candleEndSecretPassage] == 2)) ? true : false;
cam3.nightSky.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("The Sky has really cleared up... the stars and the moon have come out and illuminating the valley far below", 4);
});
cam3.ground.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("This small CEMETERY sits on a little outcropping of the CLIFF face that is ONLY accessible from the secret passage I came through", 2);
});
cam3.fountain.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("A fountain sits between the GRAVES. There is a COMPASS showing NORTH and a RAISED SILVER CONSTELLATION of CASSIOPEIA... one of its stars is circled", 2);
});
cam3.towerWindow.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its the WEST WINDOW of the TOWER in the CHURCH", 3);
});
cam3.windowLantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a LANTERN hanging out of the WEST WINDOW of the TOWER in the CHURCH... its too hight to reach it from out here", 4);
});
cam3.windowLantern.visible = ((g[gg.chainInWestPulpit] == 0)) ? true : false;
cam3.hook.visible = ((g[gg.hookInCemetery] == 1)) ? true : false;
cam3.hook.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.hookInCemetery, ii.hook, "You picked up a HOOK", 1);
});
cam3.graveFarLeft.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickGrave(e, gg.graveFarLeftLantern, gg.graveFarLeftDir, cam3.lantern_FarLeft, cam3.lantern_FarLeftCLICK, "Its a GRAVESTONE... it reads '687 - JOHN'... there's a SQUARE slot on top where SOMETHING fits that is perfectly ALIGNED North South East and West", 4);
});
cam3.graveFarRight.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickGrave(e, gg.graveFarRightLantern, gg.graveFarRightDir, cam3.lantern_FarRight, cam3.lantern_FarRightCLICK, "Its a GRAVESTONE... it reads '705 - MARK'... there's a SQUARE slot on top where SOMETHING fits that is perfectly ALIGNED North South East and West", 4);
});
cam3.graveMidLeft.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickGrave(e, gg.graveMidLeftLantern, gg.graveMidLeftDir, cam3.lantern_MidLeft, cam3.lantern_MidLeftCLICK, "Its a GRAVESTONE... it reads '1154 - LUTHOS'... there's a SQUARE slot on top where SOMETHING fits that is perfectly ALIGNED North South East and West", 4);
});
cam3.graveMidRight.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickGrave(e, gg.graveMidRightLantern, gg.graveMidRightDir, cam3.lantern_MidRight, cam3.lantern_MidRightCLICK, "Its a GRAVESTONE... it reads '1291 - THOMAS'... there's a SQUARE slot on top where SOMETHING fits that is perfectly ALIGNED North South East and West", 4);
});
cam3.graveNearLeft.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickGrave(e, gg.graveNearLeftLantern, gg.graveNearLeftDir, cam3.lantern_NearLeft, cam3.lantern_NearLeftCLICK, "Its a GRAVESTONE... it reads '927 - AL'SAPHEED'... there's a SQUARE slot on top where SOMETHING fits that is perfectly ALIGNED North South East and West", 2);
});
cam3.graveNearRight.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickGrave(e, gg.graveNearRightLantern, gg.graveNearRightDir, cam3.lantern_NearRight, cam3.lantern_NearRightCLICK, "Its a GRAVESTONE... it reads '1237 - RAPHAEL'... there's a SQUARE slot on top where SOMETHING fits that is perfectly ALIGNED North South East and West", 2);
});
cam3.popUp.visible = false;
cam3.lantern_FarLeft.visible = ((g[gg.graveFarLeftLantern])!=0) ? true : false;
tLantern = cam3.lantern_FarLeft;
tLanternInfo = gg.graveFarLeftLantern;
tDir = gg.graveFarLeftDir;
setLantern(g[gg.graveFarLeftDir]);
cam3.lantern_FarLeftCLICK.visible = ((g[gg.graveFarLeftLantern])!=0) ? true : false;
cam3.lantern_FarLeftCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickLantern(cam3.lantern_FarLeft, cam3.lantern_FarLeftCLICK, gg.graveFarLeftLantern, gg.graveFarLeftDir);
});
cam3.lantern_FarRight.visible = ((g[gg.graveFarRightLantern])!=0) ? true : false;
tLantern = cam3.lantern_FarRight;
tLanternInfo = gg.graveFarRightLantern;
tDir = gg.graveFarRightDir;
setLantern(g[gg.graveFarRightDir]);
cam3.lantern_FarRightCLICK.visible = ((g[gg.graveFarRightLantern])!=0) ? true : false;
cam3.lantern_FarRightCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickLantern(cam3.lantern_FarRight, cam3.lantern_FarRightCLICK, gg.graveFarRightLantern, gg.graveFarRightDir);
});
cam3.lantern_MidLeft.visible = ((g[gg.graveMidLeftLantern])!=0) ? true : false;
tLantern = cam3.lantern_MidLeft;
tLanternInfo = gg.graveMidLeftLantern;
tDir = gg.graveMidLeftDir;
setLantern(g[gg.graveMidLeftDir]);
cam3.lantern_MidLeftCLICK.visible = ((g[gg.graveMidLeftLantern])!=0) ? true : false;
cam3.lantern_MidLeftCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickLantern(cam3.lantern_MidLeft, cam3.lantern_MidLeftCLICK, gg.graveMidLeftLantern, gg.graveMidLeftDir);
});
cam3.lantern_MidRight.visible = ((g[gg.graveMidRightLantern])!=0) ? true : false;
tLantern = cam3.lantern_MidRight;
tLanternInfo = gg.graveMidRightLantern;
tDir = gg.graveMidRightDir;
setLantern(g[gg.graveMidRightDir]);
cam3.lantern_MidRightCLICK.visible = ((g[gg.graveMidRightLantern])!=0) ? true : false;
cam3.lantern_MidRightCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickLantern(cam3.lantern_MidRight, cam3.lantern_MidRightCLICK, gg.graveMidRightLantern, gg.graveMidRightDir);
});
cam3.lantern_NearLeft.visible = ((g[gg.graveNearLeftLantern])!=0) ? true : false;
tLantern = cam3.lantern_NearLeft;
tLanternInfo = gg.graveNearLeftLantern;
tDir = gg.graveNearLeftDir;
setLantern(g[gg.graveNearLeftDir]);
cam3.lantern_NearLeftCLICK.visible = ((g[gg.graveNearLeftLantern])!=0) ? true : false;
cam3.lantern_NearLeftCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickLantern(cam3.lantern_NearLeft, cam3.lantern_NearLeftCLICK, gg.graveNearLeftLantern, gg.graveNearLeftDir);
});
cam3.lantern_NearRight.visible = ((g[gg.graveNearRightLantern])!=0) ? true : false;
tLantern = cam3.lantern_NearRight;
tLanternInfo = gg.graveNearRightLantern;
tDir = gg.graveNearRightDir;
setLantern(g[gg.graveNearRightDir]);
cam3.lantern_NearRightCLICK.visible = ((g[gg.graveNearRightLantern])!=0) ? true : false;
cam3.lantern_NearRightCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickLantern(cam3.lantern_NearRight, cam3.lantern_NearRightCLICK, gg.graveNearRightLantern, gg.graveNearRightDir);
});
cam3.holeInWall.visible = ((g[gg.cemeteryWallHoleOpen] == 1)) ? true : false;
cam3.holeCLICK.addEventListener(MouseEvent.CLICK, holeFunc);
cam3.plaque.visible = ((((g[gg.cemeteryWallHoleOpen] == 1)) && ((g[gg.cemeteryPlaque] == 1)))) ? true : false;
cam3.plaque.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.cemeteryPlaque, ii.pyramidPlaque, "You picked up a CONSTELLATION PLAQUE", 3);
});
cam4.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam3, 3);
});
cam4.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.cliffCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its a shear drop hundreds of meters! This SPRING is really high up on this CLIFF", 2);
});
cam4.springCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a small SPRING running out of the ROCK and spilling off of the CLIFF... there is CLAY all around the SPRING", 2);
});
cam4.clayCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.cemeteryClay, ii.clay, "You picked up some CLAY", 1);
});
startSounds();
setCompass(g[gg.camNum]);
}
public function setSoundVol(camNum:int):void{
}
private function clickGrave(e:MouseEvent, lanternInfo:int, lanternDir:int, whichLantern:MovieClip, whichLanternCLICK:MovieClip, mess:String, messPos:int):void{
var lanternNum:int = ((rootObj.heldItem == "moonLantern")) ? 1 : ((rootObj.heldItem == "sunLantern")) ? 2 : ((rootObj.heldItem == "pyramidLantern")) ? 3 : ((rootObj.heldItem == "lightningLantern")) ? 4 : ((rootObj.heldItem == "eyeLantern")) ? 5 : ((rootObj.heldItem == "handLantern")) ? 6 : 0;
if (lanternNum == 0){
rootObj.callMessage(mess, messPos);
} else {
if (g[lanternInfo] != 0){
rootObj.callMessage("There is already a LANTERN on this GRAVE... I'd need to take it off before I can put this one on", messPos);
} else {
whichLantern.visible = true;
whichLanternCLICK.visible = true;
tLantern = whichLantern;
tLanternCLICK = whichLanternCLICK;
tLanternInv = (rootObj.heldNum + 0);
i[rootObj.heldNum] = 0;
rootObj.setHand();
g[lanternInfo] = (lanternNum + 0);
g[lanternDir] = 0;
tDir = 0;
tLanternInfo = lanternInfo;
rootObj.callMessage((("You placed the " + lanternNames[lanternNum]) + " LANTERN on the GRAVE and LIT IT with the LIGHTER"), messPos);
setLantern(tDir);
};
};
cam2.lantern.visible = ((g[gg.graveFarLeftLantern])!=0) ? true : false;
}
private function clickLantern(lant:MovieClip, lantCLICK:MovieClip, info:int, dir:int):void{
rootObj.levelMessage.gotoAndStop(1);
rootObj.longMessage.gotoAndStop(1);
rootObj.itemMessage.gotoAndStop(1);
tLantern = lant;
tLanternCLICK = lantCLICK;
tLanternInfo = info;
tDir = dir;
tLanternInv = ((g[info] == 1)) ? ii.moonLantern : ((g[info] == 2)) ? ii.sunLantern : ((g[info] == 3)) ? ii.pyramidLantern : ((g[info] == 4)) ? ii.lightningLantern : ((g[info] == 5)) ? ii.eyeLantern : ii.handLantern;
cam3.popUp.visible = true;
}
private function showConst():void{
constDone = ((((g[gg.graveFarLeftLantern] == 1)) && ((g[gg.graveFarLeftDir] == 0)))) ? true : false;
constDone = ((((g[gg.graveFarRightLantern] == 2)) && ((g[gg.graveFarRightDir] == 1)))) ? constDone : false;
constDone = ((((g[gg.graveMidLeftLantern] == 4)) && ((g[gg.graveMidLeftDir] == 2)))) ? constDone : false;
constDone = ((((g[gg.graveMidRightLantern] == 6)) && ((g[gg.graveMidRightDir] == 3)))) ? constDone : false;
constDone = ((((g[gg.graveNearLeftLantern] == 3)) && ((g[gg.graveNearLeftDir] == 2)))) ? constDone : false;
constDone = ((((g[gg.graveNearRightLantern] == 5)) && ((g[gg.graveNearRightDir] == 1)))) ? constDone : false;
if ((((constDone == 1)) && ((firstLoad == false)))){
rootObj.callMessage("hmmm, that looks right...", 1);
cam3.popUp.visible = false;
};
cam3.constOutline.visible = constDone;
cam3.holeCLICK.visible = constDone;
}
private function middleCandleFunc(e:MouseEvent):void{
if (g[gg.candleMiddleSecretPassage] == 1){
if (rootObj.heldItem == "lighter"){
g[gg.candleMiddleSecretPassage] = 2;
cam1.candle.gotoAndStop((g[gg.candleMiddleSecretPassage] + 1));
cam1.candleGlow.visible = true;
rootObj.callMessage("You LIT the CANDLE. It illuminates the PASSAGEWAY and shines into the HOLES on the opposite WALL", 4);
} else {
rootObj.callMessage("Well, I've placed a CANDLE here... now what?", 3);
};
} else {
rootObj.callMessage("The CANDLE illuminates the PASSAGEWAY and shines into the HOLES on the opposite WALL", 4);
};
}
public function fadeSounds():void{
}
public function fadeInSounds():void{
}
public function stopSounds():void{
}
}
}//package
Section 270
//fan (fan)
package {
import flash.media.*;
public dynamic class fan extends Sound {
}
}//package
Section 271
//fire (fire)
package {
import flash.media.*;
public dynamic class fire extends Sound {
}
}//package
Section 272
//handCursor (handCursor)
package {
import flash.display.*;
public dynamic class handCursor extends MovieClip {
public var candleLit:MovieClip;
public function handCursor(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 273
//HUDList (HUDList)
package {
import flash.display.*;
public dynamic class HUDList extends MovieClip {
public var candleLit:MovieClip;
public function HUDList(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 274
//Key (Key)
package {
import flash.display.*;
import flash.events.*;
public class Key {
private static var initialized:Boolean = false;
private static var keysDown:Object = new Object();
private static var curKey:uint;
private static function clearKeys(event:Event):void{
keysDown = new Object();
}
private static function keyPressed(event:KeyboardEvent):void{
keysDown[event.keyCode] = true;
curKey = event.keyCode;
}
public static function whichKey():uint{
if (!initialized){
throw (new Error("Key class has yet been initialized."));
};
return (curKey);
}
public static function isDown(keyCode:uint):Boolean{
if (!initialized){
throw (new Error("Key class has yet been initialized."));
};
return (Boolean((keyCode in keysDown)));
}
public static function initialize(stage:Stage){
if (!initialized){
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
stage.addEventListener(KeyboardEvent.KEY_UP, keyReleased);
stage.addEventListener(Event.DEACTIVATE, clearKeys);
initialized = true;
};
}
private static function keyReleased(event:KeyboardEvent):void{
if ((event.keyCode in keysDown)){
delete keysDown[event.keyCode];
};
}
}
}//package
Section 275
//MainChapel (MainChapel)
package {
import flash.display.*;
import flash.events.*;
public class MainChapel extends MovieClip {
public var roomNumber:int;
public var ii:Object;
public var cam10:MovieClip;
private var oldHeldItem:String;// = "hand"
private var switchClick:int;// = 0
public var rootObj:Object;
public var rState:Object;
public var cam1:MovieClip;
public var cam2:MovieClip;
public var cam3:MovieClip;
public var cam4:MovieClip;
public var cam5:MovieClip;
public var cam6:MovieClip;
public var cam7:MovieClip;
public var cam8:MovieClip;
public var cam9:MovieClip;
public var gg:Object;
public var g:Array;
public var i:Array;
public function MainChapel(rNum:int):void{
super();
roomNumber = rNum;
}
private function lodeStoneCLICK(e:MouseEvent):void{
if (g[gg.lodeStoneInChapel] == 1){
g[gg.lodeStoneInChapel] = 2;
rootObj.callMessage("You pulled out the MAGNETIC LODE STONE... there was a KEY in the hole that had become magnetized to it. This was why the LODE STONE didn't fit.", 2);
cam1.northKey.visible = true;
cam2.northKey.visible = true;
cam4.northKey.visible = true;
g[gg.northKeyInChapel] = 2;
} else {
if (g[gg.lodeStoneInChapel] == 2){
g[gg.lodeStoneInChapel] = 3;
rootObj.callMessage("You put the MAGNETIC LODE STONE back into the HOLE in the centre of the COMPASS", 2);
} else {
rootObj.callMessage("Its MAGNETISM has completely attached it to the METAL COMPASS... I think its in there for good", 2);
};
};
cam1.lodeStone.gotoAndStop((g[gg.lodeStoneInChapel] + 1));
cam2.lodeStone.gotoAndStop((g[gg.lodeStoneInChapel] + 1));
cam4.lodeStone.gotoAndStop((g[gg.lodeStoneInChapel] + 1));
setCompass(g[gg.camNum]);
}
private function northKeyCLICK(e:MouseEvent):void{
rootObj.pickUpItem(e, gg.northKeyInChapel, ii.northKey, "You picked up the NORTH KEY", 1);
cam1.northKey.visible = false;
cam2.northKey.visible = false;
cam4.northKey.visible = false;
}
private function mantleHoleFunc(e:MouseEvent):void{
if (g[gg.plaqueStateLibrary] == 0){
if (rootObj.heldItem == "clay"){
i[ii.clay] = 0;
rootObj.setHand();
g[gg.plaqueStateLibrary] = ((g[gg.libraryFireOn] == 1)) ? 2 : 1;
if ((g[gg.libraryFireOn] == 1)){
cam9.mantleHole.gotoAndPlay("makePlaque");
} else {
cam9.mantleHole.gotoAndStop(2);
};
rootObj.callMessage("You placed the CLAY into the ENGRAVING on the MANTLE", 3);
} else {
rootObj.callMessage("There is a recessed ENGRAVING in the MANTLE", 3);
};
} else {
if (g[gg.plaqueStateLibrary] == 1){
rootObj.callMessage("Its just a bunch of WET CLAY... I need to get this to harden somehow.", 3);
} else {
if (i[ii.handPlaque] == 0){
rootObj.pickUpItem(e, gg.plaqueStateLibrary, ii.handPlaque, "You picked up a casting of a CONSTELLATION PLAQUE", 3);
} else {
rootObj.callMessage("Its a casting of a CONSTELLATION PLAQUE... I'm holding the same one right now... I don't need this", 3);
};
};
};
}
private function polaroidFunc(e:MouseEvent):void{
cam10.polaroid.visible = false;
g[gg.polaroidInLibrary] = 0;
g[gg.polaroidSecretButton] = 1;
rootObj.polaroidIndex = 0;
rootObj.HUD.HUDInner.polaroids.gotoAndStop(2);
rootObj.callMessage("There was an OLD PHOTO stuck in the KEYHOLE... I wonder if my UNCLE left this here?", 4);
if ((rootObj.checkPolaroidPro() == true)){
rootObj.polaroidPro();
//unresolved jump
};
}
private function northDoorFunc(e:MouseEvent):void{
if (rootObj.heldItem == "northKey"){
g[gg.northSecretDoorOpen] = 1;
cam10.northDoor.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam10.doorText.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam10.doorPicture.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam10.doorKeyHole.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
rootObj.playSound("unlock");
rootObj.callMessage("You used the NORTH KEY to unlock the DOOR", 3);
} else {
rootObj.callMessage("Hmmm... it a KEYHOLE inside a HEART...", 3);
};
}
private function switchCLICK(e:MouseEvent):void{
rootObj.switchClick++;
cam7.switchTimer.gotoAndPlay(2);
rootObj.playSound("click");
if (rootObj.switchClick >= 4){
g[gg.paintingOpen] = 1;
cam1.painting.visible = false;
cam6.painting.visible = false;
cam7.painting.visible = false;
cam7.paintingSwitch.visible = false;
rootObj.callMessage("You must have hit a SECRET SWITCH... the SUN MURAL swung open to reveal a hidden STAIRCASE!", 4);
};
}
private function chandelierCLICK(e:MouseEvent):void{
var chandFrame:int;
if ((((g[gg.chandelierCandles] == 0)) && ((rootObj.heldItem == "lighter")))){
g[gg.chandelierCandles] = 1;
chandFrame = ((g[gg.chandelierDOWN] == 1)) ? 1 : 3;
chandFrame = (chandFrame + ((g[gg.chandelierCandles] == 1)) ? 1 : 0);
cam8.chandelier.gotoAndStop(chandFrame);
cam1.chandelier.gotoAndStop(chandFrame);
rootObj.callMessage("You lit the candles on the CHANDELIER", 2);
} else {
rootObj.callMessage("Theres a HUGE IRON CHANDELLIER on the floor... its still attached to a ratty old ROPE... I wonder if it has something to do with the CHANDELIER in that MURAL?", 2);
};
}
private function clickCamera(thePicture:int, theIndex:int, theMessage:String, thePlacement:int){
if (g[thePicture] == 0){
g[thePicture] = 1;
rootObj.polaroidIndex = theIndex;
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
rootObj.HUD.HUDInner.polaroids.gotoAndStop(2);
rootObj.playSound("polaroid");
if ((rootObj.checkPolaroidPro() == true)){
rootObj.polaroidPro();
//unresolved jump
};
} else {
rootObj.callMessage(theMessage, thePlacement);
};
}
public function setCompass(cam:int):void{
switch (cam){
case 1:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? 329 : ((g[gg.lodeStoneInChapel] == 2)) ? 438 : 373;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -10000 : ((g[gg.lodeStoneInChapel] == 2)) ? 313 : 326;
break;
case 2:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? 333 : ((g[gg.lodeStoneInChapel] == 2)) ? 0x0202 : 333;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -10000 : ((g[gg.lodeStoneInChapel] == 2)) ? 211 : 228;
break;
case 3:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? -1666 : 380;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -10000 : 530;
break;
case 4:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? 10000 : ((g[gg.lodeStoneInChapel] == 2)) ? 125 : 251;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? 7000 : ((g[gg.lodeStoneInChapel] == 2)) ? 291 : 322;
break;
case 5:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? 10000 : -117;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? 1250 : 409;
break;
case 6:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? -10000 : 1046;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -10000 : 621;
break;
case 7:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? 11000 : -566;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? -9000 : 854;
break;
case 8:
rootObj.compassX = ((g[gg.lodeStoneInChapel] == 0)) ? -10000 : 302;
rootObj.compassY = ((g[gg.lodeStoneInChapel] == 0)) ? 160 : 450;
break;
case 9:
rootObj.compassX = 10640;
rootObj.compassY = -2100;
break;
case 10:
rootObj.compassX = -4000;
rootObj.compassY = -10000;
break;
};
}
public function initLevel(rObj):void{
var rObj = rObj;
rootObj = rObj;
g = rootObj.itemsAr;
gg = rootObj.itemsObj;
i = rootObj.invAr;
ii = rootObj.invObj;
cam1.visible = ((g[gg.camNum] == 1)) ? true : false;
cam2.visible = ((g[gg.camNum] == 2)) ? true : false;
cam3.visible = ((g[gg.camNum] == 3)) ? true : false;
cam4.visible = ((g[gg.camNum] == 4)) ? true : false;
cam5.visible = ((g[gg.camNum] == 5)) ? true : false;
cam6.visible = ((g[gg.camNum] == 6)) ? true : false;
cam7.visible = ((g[gg.camNum] == 7)) ? true : false;
cam8.visible = ((g[gg.camNum] == 8)) ? true : false;
cam9.visible = ((g[gg.camNum] == 9)) ? true : false;
cam10.visible = ((g[gg.camNum] == 10)) ? true : false;
cam1.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam2, 2);
});
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam3, 3);
});
cam1.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam4, 4);
});
cam1.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam5, 5);
});
cam1.toCam5.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam5.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam6, 6);
});
cam1.toCam6.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam6.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam7.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam7, 7);
});
cam1.toCam7.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam7.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam8, 8);
});
cam1.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.chandelier.gotoAndStop(((g[gg.chandelierDOWN] == 1)) ? ((g[gg.chandelierCandles] == 0)) ? 1 : 2 : ((g[gg.chandelierCandles] == 0)) ? 3 : 4);
cam1.painting.visible = ((g[gg.paintingOpen] == 1)) ? false : true;
cam1.rope.gotoAndStop(g[(gg.ropeState + 1)]);
cam1.lodeStone.gotoAndStop((g[gg.lodeStoneInChapel] + 1));
cam1.northKey.visible = ((g[gg.northKeyInChapel] == 2)) ? true : false;
cam1.painting.visible = ((g[gg.paintingOpen] == 1)) ? false : true;
cam2.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam1, 1);
});
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.compass.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("hmmm... there is a large METAL COMPASS set into the stones of the floor... looks like the church was set up to be perfectly aligned NORTH SOUTH EAST and WEST", 2);
});
cam2.north.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("hmmm... this large N indicates what direction NORTH is.", 2);
});
cam2.hole.addEventListener(MouseEvent.CLICK, compassHole);
cam2.northKey.visible = ((g[gg.northKeyInChapel] == 2)) ? true : false;
cam2.northKey.addEventListener(MouseEvent.CLICK, northKeyCLICK);
cam2.lodeStone.addEventListener(MouseEvent.CLICK, lodeStoneCLICK);
cam2.lodeStone.gotoAndStop((g[gg.lodeStoneInChapel] + 1));
cam3.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam3, cam1, 1);
});
cam3.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam3.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam3.rope.gotoAndStop(g[(gg.ropeState + 1)]);
cam3.ropeCLICK.gotoAndStop(g[(gg.ropeState + 1)]);
cam3.ropeCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.ropeState] < 3)){
rootObj.callMessage("hmmm... this ROPE is connected from the CHANDELIER at this end to some where up in that raised BALCONY PULPIT... the rope is in bad shape, I couldn't climb it", 2);
} else {
rootObj.callMessage("The rope has broken and can no longer hoist the CHANDELIER", 1);
};
});
cam3.pulpit.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("hmmm... it looks like there is a raised PULPIT on that BALCONY at the far end of the CHAPEL. I wonder how I can get up there...", 2);
});
cam3.secretPassage.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("That looks like some sort of PASSAGE that leads from the WALL out onto the RAFTERS... I wonder how I could get up there?", 2);
});
cam3.moon.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Most of the ROOF seems to have rotted away. The moonlight is pouring in through the RAFTERS", 2);
});
cam3.rafters.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("That central BEAM in the RAFTERS looks unusually wide", 1);
});
cam4.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam2, 2);
});
cam4.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam1, 1);
});
cam4.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam5, 5);
});
cam4.toCam5.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam5.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam8, 8);
});
cam4.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam9.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam9, 9);
});
cam4.toCam9.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam9.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.lodeStone.gotoAndStop((g[gg.lodeStoneInChapel] + 1));
cam4.northKey.visible = ((g[gg.northKeyInChapel] == 2)) ? true : false;
cam4.door.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("This is the MAIN DOOR to the CHAPEL. I can't leave now... I haven't figured out why my UNCLE sent me here yet!", 2);
});
cam4.fireRoom.visible = ((g[gg.libraryFireOn] == 1)) ? true : false;
cam5.toCam6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam5, cam6, 6);
});
cam5.toCam6.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam5.toCam6.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam5.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam5, cam1, 1);
});
cam5.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam5.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam5.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam5, cam4, 4);
});
cam5.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam5.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam5.painting.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a big MURAL of a SAINT praying to a STARLESS SKY from behind a WALL... I should inspect this further.", 2);
});
cam5.moon.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a large symbol of a MOON on this MURAL. I wonder what the significance is?.", 4);
});
cam5.starShine.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There are some stars SHINING down on the WALL in the MURAL. I wonder what it could mean?.", 4);
});
cam5.holesInWall.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Hmmm... the STAR SHINE in the MURAL seems to be SHINING through HOLES in the WALL in the MURAL.", 2);
});
cam5.holesInPainting.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Hmmm... there are Actual HOLES in the MURAL... Lots of them! They seem to go right through the WALL behind the MURAL...", 4);
});
cam5.stars.visible = ((g[gg.candleMiddleSecretPassage] == 2)) ? true : false;
cam5.stars.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCamera(gg.polaroidMoonMural, 1, "There is LIGHT SHINING through some of the HOLES in the MURAL from the other side of the WALL... it looks like a CONSTELLATION!", 4);
});
cam5.stars.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if (g[gg.polaroidMoonMural] == 0){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam5.stars.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if (g[gg.polaroidMoonMural] == 0){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
cam5.starBlocker.visible = ((g[gg.scrollInStarHole] == 1)) ? true : false;
cam5.starBlocker.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
g[gg.scrollInStarHole] = 2;
cam5.starBlocker.visible = false;
rootObj.callMessage("You stuck your finger into the HOLE... it felt like I PUSHED something through to the OTHER SIDE", 4);
if (g[gg.candleMiddleSecretPassage] != 2){
rootObj.scrollSleuth();
//unresolved jump
};
});
cam6.toCam7.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam7, 7);
});
cam6.toCam7.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam7.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam1, 1);
});
cam6.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.toCam5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam5, 5);
});
cam6.toCam5.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam5.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.handMural.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCamera(gg.polaroidHandMural, 3, "Its a MURAL of SAINT working in the fields. There is a SYMBOL of a HAND and a CONSTELLATION in the sky above him.", 4);
});
cam6.handMural.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if (g[gg.polaroidHandMural] == 0){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam6.handMural.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if (g[gg.polaroidHandMural] == 0){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
cam6.lightningMural.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCamera(gg.polaroidLightningMural, 4, "Its a MURAL of a SAINT studying in a vast LIBRARY. There is a SYMBOL of a LIGHTNING BOLT and a CONSTELLATION in the sky beyond the dome above him.", 4);
});
cam6.lightningMural.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if (g[gg.polaroidLightningMural] == 0){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam6.lightningMural.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if (g[gg.polaroidLightningMural] == 0){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
if ((g[gg.paintingOpen] == 1)){
cam6.painting.visible = false;
} else {
cam6.toTower.visible = false;
};
cam6.toTower.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(1, 2, 1);
});
cam6.toTower.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toTower.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam7.toTower.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(1, 2, 1);
});
cam7.toTower.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam7.toTower.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam7.toCam6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam7, cam6, 6);
});
cam7.toCam6.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam7.toCam6.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam7.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam7, cam1, 1);
});
cam7.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam7.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam7.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam7, cam8, 8);
});
cam7.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam7.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam7.paintingSwitch.addEventListener(MouseEvent.CLICK, switchCLICK);
cam7.paintingSwitch.visible = ((((g[gg.paintingOpen] == 0)) && ((g[gg.polaroidSunMural] == 1)))) ? true : false;
cam7.painting.visible = ((g[gg.paintingOpen] == 1)) ? false : true;
cam7.painting.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCamera(gg.polaroidSunMural, 2, "Its a MURAL of SAINT praying to the rising SUN. There is a SYMBOL of a SUN and a CONSTELLATION in the sky above him.", 4);
cam7.paintingSwitch.visible = true;
});
cam7.painting.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if (g[gg.polaroidSunMural] == 0){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam7.painting.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if (g[gg.polaroidSunMural] == 0){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
cam7.sunMural.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its a MURAL of SAINT praying to the rising SUN. There is a SYMBOL of a SUN and a CONSTELLATION in the sky above him.", 4);
});
cam7.eyeMural.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCamera(gg.polaroidEyeMural, 6, "Its a MURAL of SAINT meditating on a misty mountain. There is a SYMBOL of an EYE and a CONSTELLATION in the sky above him.", 4);
});
cam7.eyeMural.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if (g[gg.polaroidEyeMural] == 0){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam7.eyeMural.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if (g[gg.polaroidEyeMural] == 0){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
cam8.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam8, cam4, 4);
});
cam8.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam8.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam8.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam8, cam1, 1);
});
cam8.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam8.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam8.toCam7.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam8, cam7, 7);
});
cam8.toCam7.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam8.toCam7.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam8.pyramidMural.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its a MURAL of SAINT praying at the Egyptian Pyramids. There is a SYMBOL of a PYRAMID and a... CHANDELIER in the sky above him?", 4);
});
cam8.chandInMural.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a CHANDELIER in this MURAL instead of a CONSTELLATION like the other MURALS? Does it have something to do with the CHANDELIER on the floor?", 4);
});
var chandFrame:int = ((g[gg.chandelierDOWN] == 1)) ? 1 : 3;
chandFrame = (chandFrame + ((g[gg.chandelierCandles] == 1)) ? 1 : 0);
cam8.chandelier.gotoAndStop(chandFrame);
cam8.chandCLICK.gotoAndStop(chandFrame);
cam8.chandCLICK.addEventListener(MouseEvent.CLICK, chandelierCLICK);
cam8.ropeCLICK.gotoAndStop(chandFrame);
cam8.ropeCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its an old ratty rope that is still attached to the CHANDELIER... its in really rough shape.", 4);
});
cam8.constPlate.visible = ((((g[gg.constPlateInChapel] == 1)) && ((g[gg.chandelierDOWN] == 0)))) ? true : false;
cam8.constPlate.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.constPlateInChapel, ii.moonPlaque, "You picked up a PLAQUE with a CONSTELLATION on it... the rope on the CHANDELIER gave out and it crashed to the ground!!", 2);
g[gg.chandelierDOWN] = 1;
g[gg.ropeState] = 3;
rootObj.playSound("boom");
cam1.chandelier.gotoAndStop(((g[gg.chandelierDOWN] == 1)) ? ((g[gg.chandelierCandles] == 0)) ? 1 : 2 : ((g[gg.chandelierCandles] == 0)) ? 3 : 4);
cam8.chandelier.gotoAndStop(((g[gg.chandelierDOWN] == 1)) ? ((g[gg.chandelierCandles] == 0)) ? 1 : 2 : ((g[gg.chandelierCandles] == 0)) ? 3 : 4);
});
cam9.toCam10.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam9, cam10, 10);
});
cam9.toCam10.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam9.toCam10.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam9.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam9, cam1, 1);
});
cam9.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam9.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam9.fireGlow.visible = ((g[gg.libraryFireOn] == 1)) ? true : false;
cam9.floorWood.gotoAndStop(g[gg.floorWoodStateLibrary]);
cam9.floorWood.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if (g[gg.floorWoodStateLibrary] == 1){
cam9.floorWood.gotoAndStop(2);
g[gg.floorWoodStateLibrary] = 2;
rootObj.callMessage("You put some wood in the FIREPLACE", 1);
};
});
cam9.wood.gotoAndStop(g[gg.woodStateLibrary]);
cam9.firePlace.addEventListener(MouseEvent.CLICK, firePlaceFunc);
cam9.door.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam9.mantleHole.gotoAndStop(((g[gg.plaqueStateLibrary] == 0)) ? 1 : ((g[gg.plaqueStateLibrary] == 2)) ? 2 : "plaque");
cam9.mantleHole.addEventListener(MouseEvent.CLICK, mantleHoleFunc);
cam9.southWindow.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Moonllight pours in through the WINDOW", 1);
});
cam9.bookCase.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("And old broken BOOKCASE stands rotting against the wall... all of the books are long gone", 2);
});
cam10.toCam9.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam10, cam9, 9);
});
cam10.toCam9.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam10.toCam9.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam10.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam10, cam1, 1);
});
cam10.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam10.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam10.toCemetery.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(1, 3, 1);
});
cam10.toCemetery.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam10.toCemetery.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam10.doorWood.gotoAndStop(g[gg.woodStateLibrary]);
cam10.doorWood.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if (g[gg.woodStateLibrary] == 1){
g[gg.woodStateLibrary] = 2;
cam9.wood.gotoAndStop(2);
cam10.doorWood.gotoAndStop(2);
};
});
cam10.hallCandle.visible = ((g[gg.candleMiddleSecretPassage] == 2)) ? true : false;
cam10.northDoor.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam10.doorText.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam10.doorPicture.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam10.doorKeyHole.visible = ((g[gg.northSecretDoorOpen] == 0)) ? true : false;
cam10.doorText.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("The MINOR attraction of POLARIS, the North Star, was the KEY to URSA's HEART", 4);
});
cam10.doorPicture.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its an ENGRAVING of a GIRL dancing under URSA MINOR... the star POLARIS is a STONE which seems to be attracting the KEY around her neck? There is writing...", 2);
});
cam10.doorKeyHole.addEventListener(MouseEvent.CLICK, northDoorFunc);
cam10.fireGlow.visible = ((g[gg.libraryFireOn] == 1)) ? true : false;
cam10.bookCase.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("And old broken BOOKCASE stands rotting against the wall... all of the books are long gone", 2);
});
cam10.polaroid.visible = ((g[gg.polaroidInLibrary] == 1)) ? true : false;
cam10.polaroid.addEventListener(MouseEvent.CLICK, polaroidFunc);
startSounds();
setCompass(g[gg.camNum]);
}
private function firePlaceFunc(e:MouseEvent):void{
if (rootObj.heldItem == "lighter"){
if (g[gg.libraryFireOn] == 0){
if (g[gg.floorWoodStateLibrary] == 2){
g[gg.libraryFireOn] = 1;
if ((g[gg.plaqueStateLibrary] == 1)){
g[gg.plaqueStateLibrary] = 2;
//unresolved jump
};
if ((g[gg.plaqueStateLibrary] == 2)){
cam9.mantleHole.gotoAndPlay("makePlaque");
//unresolved jump
};
cam9.fireGlow.visible = ((g[gg.libraryFireOn] == 1)) ? true : false;
cam10.fireGlow.visible = ((g[gg.libraryFireOn] == 1)) ? true : false;
cam4.fireRoom.visible = ((g[gg.libraryFireOn] == 1)) ? true : false;
rootObj.callMessage("You lit a FIRE in the FIREPLACE", 1);
startSounds();
} else {
rootObj.callMessage("Hmmm.... I can't light this right now.. there is no WOOD in the FIREPLACE", 2);
};
};
} else {
if (g[gg.libraryFireOn] == 0){
rootObj.callMessage("Its a large empty FIREPLACE", 1);
} else {
rootObj.callMessage("The FIRE ROARS and casts its light about the room", 1);
};
};
}
public function fadeInSounds():void{
if (rootObj.soundOn == true){
setSoundVol(g[gg.camNum]);
rootObj.fireSound.gotoAndPlay(8);
};
}
public function stopSounds():void{
rootObj.fireSound.gotoAndStop(3);
}
public function fadeSounds():void{
rootObj.fireSound.gotoAndPlay(4);
}
private function compassHole(e:MouseEvent):void{
if (rootObj.heldItem == "lodeStone"){
i[ii.lodeStone] = 0;
g[gg.lodeStoneInChapel] = 1;
rootObj.setHand();
rootObj.callMessage("You placed the LODE STONE into the HOLE in the COMPASS... hmmm... It doesn't quite seem to fit", 2);
cam1.lodeStone.gotoAndStop(2);
cam2.lodeStone.gotoAndStop(2);
cam4.lodeStone.gotoAndStop(2);
} else {
if (rootObj.heldItem == "hook"){
rootObj.callMessage("hmmm... there doesn't seem to be anything I can hook onto", 2);
} else {
if ((g[gg.northKeyInChapel] == 1)){
rootObj.callMessage("hmm... it looks like there is something shiny in there... but I can't reach it", 2);
} else {
rootObj.callMessage("Looks like its empty");
};
};
};
}
public function startSounds():void{
if (rootObj.soundOn == true){
setSoundVol(g[gg.camNum]);
if (g[gg.libraryFireOn] == 1){
rootObj.fireSound.gotoAndStop(2);
};
};
}
public function setSoundVol(camNum:int):void{
var fVol:Number = 0.1;
switch (camNum){
case 4:
fVol = 0.2;
break;
case 10:
fVol = 0.8;
break;
case 9:
fVol = 1;
break;
default:
fVol = 0;
break;
};
trace(((camNum + " ") + fVol));
rootObj.fireVolume = fVol;
rootObj.fireSound.gotoAndPlay(6);
}
}
}//package
Section 276
//menuMusic (menuMusic)
package {
import flash.media.*;
public dynamic class menuMusic extends Sound {
}
}//package
Section 277
//Opening (Opening)
package {
import flash.display.*;
import flash.events.*;
public class Opening extends MovieClip {
public var skipBUT:MovieClip;
public var nextBUT:MovieClip;
public var roomNumber:int;
public var ii:Object;
public var muteBUT:MovieClip;
public var cam10:MovieClip;
public var cam11:MovieClip;
public var cam12:MovieClip;
public var rootObj:Object;
public var camNum:int;// = 1
public var cam1:MovieClip;
public var cam2:MovieClip;
public var cam3:MovieClip;
public var cam4:MovieClip;
public var cam5:MovieClip;
public var cam6:MovieClip;
public var cam7:MovieClip;
public var cam8:MovieClip;
public var cam9:MovieClip;
public var prevBUT:MovieClip;
public var g:Array;
public var i:Array;
public var gg:Object;
public function Opening(rNum:int):void{
super();
addFrameScript(0, frame1);
roomNumber = rNum;
}
private function nextFUNC(e:MouseEvent):void{
var curCam:MovieClip = ((camNum == 1)) ? cam1 : ((camNum == 2)) ? cam2 : ((camNum == 3)) ? cam3 : ((camNum == 4)) ? cam4 : ((camNum == 5)) ? cam5 : ((camNum == 6)) ? cam6 : ((camNum == 7)) ? cam7 : ((camNum == 8)) ? cam8 : ((camNum == 9)) ? cam9 : ((camNum == 10)) ? cam10 : ((camNum == 11)) ? cam11 : cam12;
camNum = ((e.currentTarget == nextBUT)) ? (camNum + 1) : ((e.currentTarget == prevBUT)) ? (camNum - 1) : 13;
camNum = ((camNum < 1)) ? 1 : camNum;
prevBUT.visible = true;
nextBUT.visible = true;
switch (camNum){
case 1:
prevBUT.visible = false;
rootObj.changeCam(curCam, cam1, 1);
break;
case 2:
rootObj.changeCam(curCam, cam2, 2);
break;
case 3:
rootObj.changeCam(curCam, cam3, 3);
break;
case 4:
rootObj.changeCam(curCam, cam4, 4);
break;
case 5:
rootObj.changeCam(curCam, cam5, 5);
break;
case 6:
rootObj.changeCam(curCam, cam6, 6);
break;
case 7:
rootObj.changeCam(curCam, cam7, 7);
break;
case 8:
rootObj.changeCam(curCam, cam8, 8);
break;
case 9:
rootObj.changeCam(curCam, cam9, 9);
break;
case 10:
rootObj.changeCam(curCam, cam10, 10);
break;
case 11:
rootObj.changeCam(curCam, cam11, 11);
break;
case 12:
rootObj.changeCam(curCam, cam12, 12);
break;
case 13:
rootObj.changeRoom(10, 1, 1);
nextBUT.visible = false;
prevBUT.visible = false;
skipBUT.visible = false;
break;
};
}
public function muteBUTClick(e:MouseEvent):void{
if (MovieClip(root).soundOn == true){
MovieClip(root).soundOn = false;
e.currentTarget.slash.visible = true;
MovieClip(root).mainAmbience.gotoAndPlay("OUT");
MovieClip(root).menuMusic.gotoAndPlay("OUT");
MovieClip(root).curLevel.stopSounds();
} else {
MovieClip(root).soundOn = true;
e.currentTarget.slash.visible = false;
MovieClip(root).mainAmbience.gotoAndPlay("IN");
MovieClip(root).curLevel.startSounds();
};
}
public function startSounds():void{
}
public function initLevel(rObj):void{
rootObj = rObj;
g = rootObj.itemsAr;
gg = rootObj.itemsObj;
i = rootObj.invAr;
ii = rootObj.invObj;
cam2.visible = (cam3.visible = (cam4.visible = (cam5.visible = (cam6.visible = (cam7.visible = (cam8.visible = (cam9.visible = (cam10.visible = (cam11.visible = (cam12.visible = false))))))))));
cam1.visible = true;
prevBUT.visible = false;
nextBUT.addEventListener(MouseEvent.CLICK, nextFUNC);
nextBUT.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
nextBUT.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
prevBUT.addEventListener(MouseEvent.CLICK, nextFUNC);
prevBUT.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
prevBUT.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
skipBUT.addEventListener(MouseEvent.CLICK, nextFUNC);
skipBUT.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
skipBUT.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
startSounds();
}
public function setCompass(cam:int):void{
}
function frame1(){
muteBUT.addEventListener(MouseEvent.CLICK, muteBUTClick);
muteBUT.addEventListener(MouseEvent.MOUSE_OUT, MovieClip(root).BUTRollOut);
muteBUT.addEventListener(MouseEvent.MOUSE_OVER, MovieClip(root).BUTRollOver);
}
public function stopSounds():void{
}
public function setSoundVol(camNum:int):void{
}
public function fadeSounds():void{
if (rootObj.soundOn == true){
rootObj.menuMusic.gotoAndPlay("fadeOUT");
};
}
}
}//package
Section 278
//Pit (Pit)
package {
import flash.display.*;
import flash.events.*;
public class Pit extends MovieClip {
private var tPlaqueInv:int;
private var constDone:Boolean;// = false
public var roomNumber:int;
private var tPlaqueDir:int;
private var tPlaqueInfo:int;
public var ii:Object;
private var oldHeldItem:String;// = "hand"
private var switchClick:int;// = 0
public var rootObj:Object;
private var firstLoad:Boolean;// = true
public var rState:Object;
public var cam1:MovieClip;
public var cam2:MovieClip;
public var cam3:MovieClip;
public var cam4:MovieClip;
public var cam5:MovieClip;
public var cam6:MovieClip;
public var cam7:MovieClip;
public var cam8:MovieClip;
public var cam9:MovieClip;
private var tCogInfo:MovieClip;
private var tPlaque:MovieClip;
public var gg:Object;
public var g:Array;
public var i:Array;
private var plaqueNames:Array;
private var tCog:MovieClip;
private var tPlaqueName:String;
public function Pit(rNum:int):void{
plaqueNames = [0, "MOON", "SUN", "PYRAMID", "LIGHTNING", "EYE", "HAND"];
super();
roomNumber = rNum;
}
private function keyHoleCLICK(e:MouseEvent):void{
if (rootObj.heldItem == "eastKey"){
g[gg.eastDoorLocked] = 0;
cam6.door.visible = false;
cam6.doorCLICK.visible = false;
cam6.keyHole.visible = false;
rootObj.playSound("unlock");
rootObj.callMessage("You used the EAST KEY to unlock the door...", 1);
} else {
rootObj.callMessage("Its locked... I wonder whats on the other side?", 1);
rootObj.playSound("locked");
};
}
public function startSounds():void{
}
public function setSoundVol(camNum:int):void{
}
public function setCog(cNum:int):void{
}
private function chandFunc(e:MouseEvent):void{
if (g[gg.chandelierCandles] == 1){
clickCamera(gg.polaroidPyramidMural, 5, "Hmmmm... the LIGHTS of the CHANDELIER seems to reveal the shape of a CONSTELLATION... there are PYRAMID SYMBOLS on the CHANDELIER.", 4);
} else {
rootObj.callMessage("Hmmm... I'm looking down on the CHANDELIER on the floor of the CHAPEL... there are small PYRAMID SYMBOLS on it... perhaps if it was LIT?...", 4);
};
}
public function setPlaque(dir:int, takePlaque:Boolean):void{
var inv:int;
if (takePlaque == true){
inv = ((tPlaque.currentFrame == 2)) ? ii.moonPlaque : ((tPlaque.currentFrame == 3)) ? ii.sunPlaque : ((tPlaque.currentFrame == 4)) ? ii.pyramidPlaque : ((tPlaque.currentFrame == 5)) ? ii.lightningPlaque : ((tPlaque.currentFrame == 6)) ? ii.eyePlaque : ii.handPlaque;
tPlaque.gotoAndStop(1);
tPlaque.rotation = 0;
g[tPlaqueInfo] = 0;
g[tPlaqueDir] = 1;
i[inv] = 1;
rootObj.HUD.HUDInner.refreshList();
rootObj.callMessage("You picked up a CONSTELLATION PLAQUE");
rootObj.playSound("pickUp");
} else {
g[tPlaqueDir] = (dir + 0);
tPlaque.rotation = ((dir - 1) * 90);
rootObj.playSound("clunk");
checkPuzzleComplete();
};
}
private function clickCog(theCog:MovieClip, plaqueInfo:int, cogInfo:int, dir:Number):void{
if (g[plaqueInfo] == 0){
rootObj.callMessage("hmmm... it won't budge... perhaps something needs to be in the square hole above the COG before I can rotate it?", 2);
rootObj.playSound("clunk");
} else {
rootObj.playSound("clunk");
g[cogInfo] = (g[cogInfo] - dir);
g[cogInfo] = ((g[cogInfo] == 13)) ? 1 : ((g[cogInfo] == 0)) ? 12 : g[cogInfo];
theCog.gotoAndStop(g[cogInfo]);
checkPuzzleComplete();
};
}
public function initLevel(rObj):void{
var rObj = rObj;
rootObj = rObj;
g = rootObj.itemsAr;
gg = rootObj.itemsObj;
i = rootObj.invAr;
ii = rootObj.invObj;
cam1.visible = ((g[gg.camNum] == 1)) ? true : false;
cam2.visible = ((g[gg.camNum] == 2)) ? true : false;
cam3.visible = ((g[gg.camNum] == 3)) ? true : false;
cam4.visible = ((g[gg.camNum] == 4)) ? true : false;
cam5.visible = ((g[gg.camNum] == 5)) ? true : false;
cam6.visible = ((g[gg.camNum] == 6)) ? true : false;
cam7.visible = ((g[gg.camNum] == 7)) ? true : false;
cam8.visible = ((g[gg.camNum] == 8)) ? true : false;
cam9.visible = ((g[gg.camNum] == 9)) ? true : false;
cam1.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam2, 2);
});
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam8, 8);
});
cam1.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toTower.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(5, 2, 13);
});
cam1.toTower.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toTower.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.ropeCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("This is the rope that is attached to the HUGE BELL hanging above me... its pulled tight!", 4);
});
cam1.door.visible = ((g[gg.southDoorLocked] == 1)) ? true : false;
cam1.door.addEventListener(MouseEvent.CLICK, southDoorFunc);
cam2.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam1, 1);
});
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam3, 3);
});
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.ropeCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("This is the rope that is attached to the HUGE BELL hanging above me... its pulled tight!", 4);
});
cam2.pulpitWindow.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Hey... this Window looks through into the PULPIT above the CHAPEL... I've been on the other side of this wall!", 2);
});
cam3.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam3, cam2, 2);
});
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam3.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam3, cam4, 4);
});
cam3.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam3.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam3.candleGlow.visible = ((g[gg.candleOnInPit] == 1)) ? true : false;
cam4.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam3, 3);
});
cam4.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam5, 5);
});
cam4.toCam5.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam5.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.candleGlow.visible = ((g[gg.candleOnInPit] == 1)) ? true : false;
cam4.blocker.visible = ((g[gg.candleOnInPit] == 0)) ? true : false;
cam4.blocker.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its too dark to continue.. I can't see a thing", 1);
});
cam4.candleHolder.addEventListener(MouseEvent.CLICK, candleHolderFunc);
cam4.holeInWall.gotoAndStop((g[gg.pitHoleInWallOpen] + 1));
cam4.holeInWall.addEventListener(MouseEvent.CLICK, holeInWallFunc);
cam4.plaque.visible = ((((g[gg.pitHoleInWallOpen] == 1)) && ((g[gg.plaqueInPit] == 1)))) ? true : false;
cam4.plaque.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.plaqueInPit, ii.sunPlaque, "you picked up a CONSTELLATION PLAQUE");
});
cam5.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam5, cam4, 4);
});
cam5.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam5.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam5.toCam6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam5, cam6, 6);
});
cam5.toCam6.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam5.toCam6.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam5.candleGlow.visible = ((g[gg.candleOnInPit] == 1)) ? true : false;
cam6.toCam7.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam7, 7);
});
cam6.toCam7.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam7.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.toCam5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam5, 5);
});
cam6.toCam5.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam5.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.candleGlow.visible = ((g[gg.candleOnInPit] == 1)) ? true : false;
cam6.door.visible = ((g[gg.eastDoorLocked] == 1)) ? true : false;
cam6.doorCLICK.visible = ((g[gg.eastDoorLocked] == 1)) ? true : false;
cam6.doorCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("The door is locked... there is an engraving of some MONKS praying under some strange artifacts... I wonder whats on the other side?", 2);
});
cam6.keyHole.visible = ((g[gg.eastDoorLocked] == 1)) ? true : false;
cam6.keyHole.addEventListener(MouseEvent.CLICK, keyHoleCLICK);
cam6.pyramidLantern.visible = ((g[gg.pyramidLanternInPit] == 1)) ? true : false;
cam6.pyramidLantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.pyramidLanternInPit, ii.pyramidLantern, "you picked the PYRAMID LANTERN");
});
cam6.eyeLantern.visible = ((g[gg.eyeLanternInPit] == 1)) ? true : false;
cam6.eyeLantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.eyeLanternInPit, ii.eyeLantern, "you picked the EYE LANTERN");
});
cam7.toCam6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam7, cam6, 6);
});
cam7.toCam6.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam7.toCam6.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam7.compass.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Hmmm... there is a COMPASS SYMBOL on the wall here... I wonder if it has something to do with solving this puzzle?", 4);
});
cam7.plaqueM.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickPlaque(cam7.plaqueM, gg.pitMoonPlaque, gg.pitMoonPlaqueDir, "MOON");
});
cam7.plaqueM.gotoAndStop((g[gg.pitMoonPlaque] + 1));
cam7.plaqueM.rotation = ((g[gg.pitMoonPlaqueDir] == 1)) ? 0 : ((g[gg.pitMoonPlaqueDir] == 2)) ? 90 : ((g[gg.pitMoonPlaqueDir] == 3)) ? 180 : 270;
cam7.plaqueS.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickPlaque(cam7.plaqueS, gg.pitSunPlaque, gg.pitSunPlaqueDir, "SUN");
});
cam7.plaqueS.gotoAndStop((g[gg.pitSunPlaque] + 1));
cam7.plaqueS.rotation = ((g[gg.pitSunPlaqueDir] == 1)) ? 0 : ((g[gg.pitSunPlaqueDir] == 2)) ? 90 : ((g[gg.pitSunPlaqueDir] == 3)) ? 180 : 270;
cam7.plaqueP.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickPlaque(cam7.plaqueP, gg.pitPyramidPlaque, gg.pitPyramidPlaqueDir, "PYRAMID");
});
cam7.plaqueP.gotoAndStop((g[gg.pitPyramidPlaque] + 1));
cam7.plaqueP.rotation = ((g[gg.pitPyramidPlaqueDir] == 1)) ? 0 : ((g[gg.pitPyramidPlaqueDir] == 2)) ? 90 : ((g[gg.pitPyramidPlaqueDir] == 3)) ? 180 : 270;
cam7.plaqueL.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickPlaque(cam7.plaqueL, gg.pitLightningPlaque, gg.pitLightningPlaqueDir, "LIGHTNING");
});
cam7.plaqueL.gotoAndStop((g[gg.pitLightningPlaque] + 1));
cam7.plaqueL.rotation = ((g[gg.pitLightningPlaqueDir] == 1)) ? 0 : ((g[gg.pitLightningPlaqueDir] == 2)) ? 90 : ((g[gg.pitLightningPlaqueDir] == 3)) ? 180 : 270;
cam7.plaqueE.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickPlaque(cam7.plaqueE, gg.pitEyePlaque, gg.pitEyePlaqueDir, "EYE");
});
cam7.plaqueE.gotoAndStop((g[gg.pitEyePlaque] + 1));
cam7.plaqueE.rotation = ((g[gg.pitEyePlaqueDir] == 1)) ? 0 : ((g[gg.pitEyePlaqueDir] == 2)) ? 90 : ((g[gg.pitEyePlaqueDir] == 3)) ? 180 : 270;
cam7.plaqueH.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickPlaque(cam7.plaqueH, gg.pitHandPlaque, gg.pitHandPlaqueDir, "HAND");
});
cam7.plaqueH.gotoAndStop((g[gg.pitHandPlaque] + 1));
cam7.plaqueH.rotation = ((g[gg.pitHandPlaqueDir] == 1)) ? 0 : ((g[gg.pitHandPlaqueDir] == 2)) ? 90 : ((g[gg.pitHandPlaqueDir] == 3)) ? 180 : 270;
cam7.cogM.gotoAndStop(g[gg.pitMoonCog]);
cam7.cogM.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogM, gg.pitMoonPlaque, gg.pitMoonCog, -1);
});
cam7.cogMDown.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogM, gg.pitMoonPlaque, gg.pitMoonCog, 1);
});
cam7.cogS.gotoAndStop(g[gg.pitSunCog]);
cam7.cogS.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogS, gg.pitSunPlaque, gg.pitSunCog, -1);
});
cam7.cogSDown.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogS, gg.pitSunPlaque, gg.pitSunCog, 1);
});
cam7.cogP.gotoAndStop(g[gg.pitPyramidCog]);
cam7.cogP.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogP, gg.pitPyramidPlaque, gg.pitPyramidCog, -1);
});
cam7.cogPDown.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogP, gg.pitPyramidPlaque, gg.pitPyramidCog, 1);
});
cam7.cogL.gotoAndStop(g[gg.pitLightningCog]);
cam7.cogL.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogL, gg.pitLightningPlaque, gg.pitLightningCog, -1);
});
cam7.cogLDown.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogL, gg.pitLightningPlaque, gg.pitLightningCog, 1);
});
cam7.cogE.gotoAndStop(g[gg.pitEyeCog]);
cam7.cogE.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogE, gg.pitEyePlaque, gg.pitEyeCog, -1);
});
cam7.cogEDown.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogE, gg.pitEyePlaque, gg.pitEyeCog, 1);
});
cam7.cogH.gotoAndStop(g[gg.pitHandCog]);
cam7.cogH.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogH, gg.pitHandPlaque, gg.pitHandCog, -1);
});
cam7.cogHDown.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
clickCog(cam7.cogH, gg.pitHandPlaque, gg.pitHandCog, 1);
});
cam7.plaquePopUp.visible = false;
cam7.cogPopUp.visible = false;
cam8.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam8, cam1, 1);
});
cam8.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam8.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam8.toCam9.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam8, cam9, 9);
});
cam8.toCam9.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam8.toCam9.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam8.rafters.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("These are the RAFTERS that lead out high over the CHAPEL", 3);
});
cam8.plaque.visible = ((g[gg.plaqueInRafters] == 1)) ? true : false;
cam8.plaque.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.plaqueInRafters, ii.eyePlaque, "you picked a CONSTELLATION PLAQUE");
});
cam9.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam9, cam8, 8);
});
cam9.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam9.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam9.candleGlow.visible = ((g[gg.chandelierCandles] == 1)) ? true : false;
cam9.chapelFloor.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its the floor of the CHAPEL way down there", 3);
});
cam9.compass.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its the huge COMPASS on the floor of the CHAPEL", 3);
});
cam9.chandelier.addEventListener(MouseEvent.CLICK, chandFunc);
cam9.chandelier.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if ((((g[gg.polaroidPyramidMural] == 0)) && ((g[gg.chandelierCandles] == 1)))){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam9.chandelier.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if ((((g[gg.polaroidPyramidMural] == 0)) && ((g[gg.chandelierCandles] == 1)))){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
startSounds();
setCompass(g[gg.camNum]);
}
private function checkPuzzleComplete():void{
var puzComp:Boolean;
puzComp = ((g[gg.pitMoonPlaque] == 1)) ? puzComp : false;
puzComp = ((g[gg.pitMoonPlaqueDir] == 1)) ? puzComp : false;
puzComp = ((g[gg.pitMoonCog] == 2)) ? puzComp : false;
puzComp = ((g[gg.pitSunPlaque] == 2)) ? puzComp : false;
puzComp = ((g[gg.pitSunCog] == 8)) ? puzComp : false;
puzComp = ((g[gg.pitPyramidPlaque] == 3)) ? puzComp : false;
puzComp = ((g[gg.pitPyramidPlaqueDir] == 3)) ? puzComp : false;
puzComp = ((g[gg.pitPyramidCog] == 10)) ? puzComp : false;
puzComp = ((g[gg.pitLightningPlaque] == 4)) ? puzComp : false;
puzComp = ((g[gg.pitLightningPlaqueDir] == 3)) ? puzComp : false;
puzComp = ((g[gg.pitLightningCog] == 7)) ? puzComp : false;
puzComp = ((g[gg.pitEyePlaque] == 5)) ? puzComp : false;
puzComp = ((g[gg.pitEyePlaqueDir] == 2)) ? puzComp : false;
puzComp = ((g[gg.pitEyeCog] == 5)) ? puzComp : false;
puzComp = ((g[gg.pitHandPlaque] == 6)) ? puzComp : false;
puzComp = ((g[gg.pitHandPlaqueDir] == 4)) ? puzComp : false;
puzComp = ((g[gg.pitHandCog] == 11)) ? puzComp : false;
if (puzComp == true){
rootObj.gameMode = 6;
rootObj.canClickWon = true;
rootObj.gameWonTimer = 1;
rootObj.HUD.gotoAndPlay("HUDOut");
rootObj.longMessage.gotoAndStop(1);
rootObj.levelMessage.gotoAndStop(1);
fadeSounds();
rootObj.mouseCursor.gotoAndStop("hand");
rootObj.heldItem = "hand";
rootObj.heldNum = (0 + ii.hand);
trace("game beaten");
} else {
trace("game not beaten");
trace(((((((((((((((((((((((((((((((((("1:" + g[gg.pitMoonPlaque]) + " 1:") + g[gg.pitMoonPlaqueDir]) + "2:") + g[gg.pitMoonCog]) + " 2:") + g[gg.pitSunPlaque]) + " 8:") + g[gg.pitSunCog]) + " 3:") + g[gg.pitPyramidPlaque]) + " 3:") + g[gg.pitPyramidPlaqueDir]) + " 10:") + g[gg.pitPyramidCog]) + " 4:") + g[gg.pitLightningPlaque]) + " 1:") + g[gg.pitLightningPlaqueDir]) + " 7:") + g[gg.pitLightningCog]) + " 5:") + g[gg.pitEyePlaque]) + " 2:") + g[gg.pitEyePlaqueDir]) + " 5:") + g[gg.pitEyeCog]) + " 6:") + g[gg.pitHandPlaque]) + " 4:") + g[gg.pitHandPlaqueDir]) + " 11:") + g[gg.pitHandCog]));
};
}
private function holeInWallFunc(e:MouseEvent):void{
if (g[gg.pitHoleInWallOpen] == 0){
g[gg.pitHoleInWallOpen] = 1;
rootObj.playSound("brickSound");
cam4.plaque.visible = true;
cam4.holeInWall.gotoAndStop(2);
rootObj.callMessage("You found a loose BRICK and removed it from the WALL... there is a hidden compartment behind it!", 4);
};
}
private function clickCamera(thePicture:int, theIndex:int, theMessage:String, thePlacement:int){
if (g[thePicture] == 0){
g[thePicture] = 1;
rootObj.polaroidIndex = theIndex;
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
rootObj.HUD.HUDInner.polaroids.gotoAndStop(2);
rootObj.playSound("polaroid");
if ((rootObj.checkPolaroidPro() == true)){
rootObj.polaroidPro();
//unresolved jump
};
} else {
rootObj.callMessage(theMessage, thePlacement);
};
}
public function setCompass(cam:int):void{
switch (cam){
case 1:
rootObj.compassX = 10000;
rootObj.compassY = 8000;
break;
case 2:
rootObj.compassX = 10000;
rootObj.compassY = 8000;
break;
case 3:
rootObj.compassX = 10000;
rootObj.compassY = 8000;
break;
case 4:
rootObj.compassX = 10000;
rootObj.compassY = 8000;
break;
case 5:
rootObj.compassX = 10000;
rootObj.compassY = 300;
break;
case 6:
rootObj.compassX = -10000;
rootObj.compassY = 200;
break;
case 7:
rootObj.compassX = -10000;
rootObj.compassY = 200;
break;
case 8:
rootObj.compassX = -200;
rootObj.compassY = 10000;
break;
case 9:
rootObj.compassX = -2000;
rootObj.compassY = 10000;
break;
};
}
private function clickPlaque(whichCLIP:MovieClip, whichInfo:int, whichDir:int, whichName:String):void{
tPlaque = whichCLIP;
tPlaqueInfo = whichInfo;
tPlaqueDir = whichDir;
tPlaqueName = whichName;
if (g[tPlaqueInfo] == 0){
if (rootObj.heldItem == "moonPlaque"){
tPlaque.gotoAndStop(2);
tPlaque.rotation = 0;
g[tPlaqueInfo] = 1;
g[tPlaqueDir] = 1;
i[rootObj.heldNum] = 0;
rootObj.setHand();
rootObj.playSound("clunk");
rootObj.callMessage("You placed a CONSTELLATION PLAQUE into one of the HOLES in the WALL... CLICK it again to TURN it NORTH, EAST, SOUTH or WEST.", 4);
} else {
if (rootObj.heldItem == "sunPlaque"){
tPlaque.gotoAndStop(3);
tPlaque.rotation = 0;
g[tPlaqueInfo] = 2;
g[tPlaqueDir] = 1;
i[rootObj.heldNum] = 0;
rootObj.setHand();
rootObj.playSound("clunk");
rootObj.callMessage("You placed a CONSTELLATION PLAQUE into one of the HOLES in the WALL... CLICK it again to TURN it NORTH, EAST, SOUTH or WEST.", 4);
} else {
if (rootObj.heldItem == "pyramidPlaque"){
tPlaque.gotoAndStop(4);
tPlaque.rotation = 0;
g[tPlaqueInfo] = 3;
g[tPlaqueDir] = 1;
i[rootObj.heldNum] = 0;
rootObj.setHand();
rootObj.playSound("clunk");
rootObj.callMessage("You placed a CONSTELLATION PLAQUE into one of the HOLES in the WALL... CLICK it again to TURN it NORTH, EAST, SOUTH or WEST.", 4);
} else {
if (rootObj.heldItem == "lightningPlaque"){
tPlaque.gotoAndStop(5);
tPlaque.rotation = 0;
g[tPlaqueInfo] = 4;
g[tPlaqueDir] = 1;
i[rootObj.heldNum] = 0;
rootObj.setHand();
rootObj.playSound("clunk");
rootObj.callMessage("You placed a CONSTELLATION PLAQUE into one of the HOLES in the WALL... CLICK it again to TURN it NORTH, EAST, SOUTH or WEST.", 4);
} else {
if (rootObj.heldItem == "eyePlaque"){
tPlaque.gotoAndStop(6);
tPlaque.rotation = 0;
g[tPlaqueInfo] = 5;
g[tPlaqueDir] = 1;
i[rootObj.heldNum] = 0;
rootObj.setHand();
rootObj.playSound("clunk");
rootObj.callMessage("You placed a CONSTELLATION PLAQUE into one of the HOLES in the WALL... CLICK it again to TURN it NORTH, EAST, SOUTH or WEST.", 4);
} else {
if (rootObj.heldItem == "handPlaque"){
tPlaque.gotoAndStop(7);
tPlaque.rotation = 0;
g[tPlaqueInfo] = 6;
g[tPlaqueDir] = 1;
i[rootObj.heldNum] = 0;
rootObj.setHand();
rootObj.playSound("clunk");
rootObj.callMessage("You placed a CONSTELLATION PLAQUE into one of the HOLES in the WALL... CLICK it again to TURN it NORTH, EAST, SOUTH or WEST.", 4);
} else {
rootObj.callMessage((("There is a depression here in the wall with a SYMBOL of a " + whichName) + " in it... it looks like something fits in here..."), 4);
};
};
};
};
};
};
checkPuzzleComplete();
} else {
tPlaqueInv = ((whichInfo == 1)) ? ii.moonPlaque : ((whichInfo == 2)) ? ii.sunPlaque : ((whichInfo == 3)) ? ii.pyramidPlaque : ((whichInfo == 4)) ? ii.lightningPlaque : ((whichInfo == 5)) ? ii.eyePlaque : ii.handPlaque;
cam7.plaquePopUp.visible = true;
};
}
public function fadeInSounds():void{
}
public function stopSounds():void{
}
public function fadeSounds():void{
}
private function candleHolderFunc(e:MouseEvent):void{
if (g[gg.candleOnInPit] == 0){
if (rootObj.heldItem == "lighter"){
g[gg.candleOnInPit] = 1;
cam4.blocker.visible = false;
cam3.candleGlow.visible = true;
cam4.candleGlow.visible = true;
cam5.candleGlow.visible = true;
cam6.candleGlow.visible = true;
} else {
rootObj.callMessage("There is a CANDLE here...", 1);
};
} else {
rootObj.callMessage("The CANDLE throws light around the PIT... I can see the bottom now", 2);
};
}
private function southDoorFunc(e:MouseEvent):void{
if (rootObj.heldItem == "southKey"){
g[gg.southDoorLocked] = 0;
cam1.door.visible = false;
rootObj.playSound("unlock");
rootObj.callMessage("You unlocked the SOUTH DOOR", 1);
} else {
rootObj.callMessage("Its Locked... there is a large S on the door with a KEYHOLE in the centre... I wonder where this leads?", 2);
rootObj.playSound("locked");
};
}
}
}//package
Section 279
//Rand (Rand)
package {
public class Rand {
public static function getRandom(inRandom:Number):Number{
var rNum:Number = Math.random();
return (Math.floor(((rNum * 100) / (100 / inRandom))));
}
public static function makePos(inPos:Number):Number{
var pNum:Number = ((inPos < 0)) ? (inPos * -1) : inPos;
return (pNum);
}
}
}//package
Section 280
//Tower (Tower)
package {
import flash.display.*;
import flash.events.*;
public class Tower extends MovieClip {
public var roomNumber:int;
public var ii:Object;
public var cam10:MovieClip;
public var cam11:MovieClip;
public var cam12:MovieClip;
public var cam13:MovieClip;
public var cam14:MovieClip;
private var switchClick:int;// = 0
public var rootObj:Object;
private var oldHeldItem:String;// = "hand"
public var rState:Object;
public var cam1:MovieClip;
public var cam2:MovieClip;
public var cam3:MovieClip;
public var cam4:MovieClip;
public var cam5:MovieClip;
public var cam6:MovieClip;
public var cam7:MovieClip;
public var cam8:MovieClip;
public var cam9:MovieClip;
public var g:Array;
public var i:Array;
public var gg:Object;
public function Tower(rNum:int):void{
super();
roomNumber = rNum;
}
private function hookFunc(e:MouseEvent):void{
if (rootObj.heldItem == "string"){
if (g[gg.eastKeyInPulpit] == 1){
g[gg.stringInPulpit] = 2;
i[ii.string] = 0;
rootObj.setHand();
setStrings();
rootObj.callMessage("You tied the STRING to the HOOK and dangled it into the HOLE in the floor", 4);
} else {
rootObj.callMessage("I don't need to tie this here... I already have the KEY", 1);
};
} else {
if ((((g[gg.stringInPulpit] == 2)) || ((g[gg.stringInPulpit] == 3)))){
rootObj.callMessage("There is a string tied to this HOOK... it hands into the HOLE in the floor... I wonder where it goes?", 4);
} else {
if (g[gg.stringInPulpit] == 4){
rootObj.callMessage("There is a string tied to this HOOK.", 3);
} else {
rootObj.callMessage("There is a HOOK here...perhaps I can tie something to it?", 3);
};
};
};
}
private function pullRopeFUNC(e:MouseEvent):void{
if (rootObj.ropeGood == false){
cam4.ropes.rope.gotoAndPlay(3);
} else {
if (rootObj.canPullRope == true){
rootObj.canPullRope = false;
};
};
}
private function winchFunc(e:MouseEvent):void{
if (g[gg.ropeState] == 0){
if (rootObj.heldItem == "rope"){
rootObj.callMessage("Hmmm.. I need to look around for something to tie this ROPE to before I can attach it to this WINCH. Otherwise it won't work properly.", 4);
} else {
rootObj.callMessage("I can't opperate this WINCH right now, there is no rope attached to it", 3);
};
} else {
if (g[gg.ropeState] == 1){
g[gg.ropeState] = 2;
updateRope();
g[gg.chandelierDOWN] = 0;
cam3.chandelier.gotoAndStop(((g[gg.chandelierDOWN] == 1)) ? ((g[gg.chandelierCandles] == 0)) ? 1 : 2 : ((g[gg.chandelierCandles] == 0)) ? 3 : 4);
cam3.plaque.visible = ((g[gg.constPlateInChapel] == 1)) ? true : false;
rootObj.callMessage("You used the WINCH to tighten the rope as much as it will handle... the CHANDELIER downstairs seems to have raised a little", 4);
rootObj.playSound("winchSound");
} else {
if (g[gg.ropeState] == 2){
rootObj.callMessage("I can't tighten this rope any more... its too old and won't handle the stress!", 2);
} else {
if (g[gg.ropeState] == 3){
rootObj.callMessage("Theres no point.. the rope isn't attached to anything", 1);
} else {
if (g[gg.ropeState] == 4){
g[gg.ropeState] = 5;
updateRope();
rootObj.callMessage("You used the WINCH to tighten the BELL rope as much as you can... I can't tighten it any further", 2);
rootObj.playSound("bell4");
rootObj.playSound("winchSound");
} else {
if (g[gg.ropeState] == 5){
rootObj.callMessage("You used the WINCH to tighten the BELL rope as much as you can... I can't tighten it any further", 2);
};
};
};
};
};
};
}
private function ropeRelease(e:MouseEvent):void{
cam2.ropeDrag.stopDrag();
cam2.ropeDrag.visible = false;
cam2.ropeDrag.gotoAndStop(1);
cam2.ropes.visible = true;
if ((((((((cam2.ropeDrag.x > 246)) && ((cam2.ropeDrag.x < 310)))) && ((cam2.ropeDrag.y > 154)))) && ((cam2.ropeDrag.y < 194)))){
g[gg.ropeState] = 4;
updateRope();
rootObj.callMessage("You tied the rope from the winch to the BELL rope", 1);
};
}
private function clickCamera(thePicture:int, theIndex:int, theMessage:String, thePlacement:int){
if (g[thePicture] == 0){
g[thePicture] = 1;
rootObj.polaroidIndex = theIndex;
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
rootObj.HUD.HUDInner.polaroids.gotoAndStop(2);
rootObj.playSound("polaroid");
if ((rootObj.checkPolaroidPro() == true)){
rootObj.polaroidPro();
//unresolved jump
};
} else {
rootObj.callMessage(theMessage, thePlacement);
};
}
public function setCompass(cam:int):void{
switch (cam){
case 1:
rootObj.compassX = -10000;
rootObj.compassY = 0;
break;
case 2:
rootObj.compassX = 0;
rootObj.compassY = -10000;
break;
case 3:
rootObj.compassX = 0;
rootObj.compassY = 10355;
break;
case 4:
rootObj.compassX = 640;
rootObj.compassY = -10000;
break;
case 5:
rootObj.compassX = 250;
rootObj.compassY = -10000;
break;
case 6:
rootObj.compassX = 250;
rootObj.compassY = -10000;
break;
case 7:
rootObj.compassX = 10640;
rootObj.compassY = -8000;
break;
case 8:
rootObj.compassX = 10640;
rootObj.compassY = -10000;
break;
case 9:
rootObj.compassX = 640;
rootObj.compassY = 10000;
break;
case 10:
rootObj.compassX = 10640;
rootObj.compassY = -10000;
break;
case 11:
rootObj.compassX = ((g[gg.lodeStoneInTower] == 1)) ? 575 : ((g[gg.lodeStoneInTower] == 2)) ? 545 : 100;
rootObj.compassY = ((g[gg.lodeStoneInTower] == 1)) ? 85 : ((g[gg.lodeStoneInTower] == 2)) ? 108 : -10000;
break;
case 12:
rootObj.compassX = ((g[gg.lodeStoneInTower] == 1)) ? 565 : ((g[gg.lodeStoneInTower] == 2)) ? 525 : 10640;
rootObj.compassY = ((g[gg.lodeStoneInTower] == 1)) ? 335 : ((g[gg.lodeStoneInTower] == 2)) ? 321 : -4200;
break;
case 13:
rootObj.compassX = ((g[gg.lodeStoneInTower] == 1)) ? 439 : ((g[gg.lodeStoneInTower] == 2)) ? 437 : -10000;
rootObj.compassY = ((g[gg.lodeStoneInTower] == 1)) ? 137 : ((g[gg.lodeStoneInTower] == 2)) ? 362 : -5400;
break;
case 14:
rootObj.compassX = ((g[gg.lodeStoneInTower] == 1)) ? 601 : ((g[gg.lodeStoneInTower] == 2)) ? 541 : -10000;
rootObj.compassY = ((g[gg.lodeStoneInTower] == 1)) ? 216 : ((g[gg.lodeStoneInTower] == 2)) ? 0x0100 : -10000;
break;
};
}
public function initLevel(rObj):void{
var rObj = rObj;
rootObj = rObj;
g = rootObj.itemsAr;
gg = rootObj.itemsObj;
i = rootObj.invAr;
ii = rootObj.invObj;
cam1.visible = ((g[gg.camNum] == 1)) ? true : false;
cam2.visible = ((g[gg.camNum] == 2)) ? true : false;
cam3.visible = ((g[gg.camNum] == 3)) ? true : false;
cam4.visible = ((g[gg.camNum] == 4)) ? true : false;
cam5.visible = ((g[gg.camNum] == 5)) ? true : false;
cam6.visible = ((g[gg.camNum] == 6)) ? true : false;
cam7.visible = ((g[gg.camNum] == 7)) ? true : false;
cam8.visible = ((g[gg.camNum] == 8)) ? true : false;
cam9.visible = ((g[gg.camNum] == 9)) ? true : false;
cam10.visible = ((g[gg.camNum] == 10)) ? true : false;
cam11.visible = ((g[gg.camNum] == 11)) ? true : false;
cam12.visible = ((g[gg.camNum] == 12)) ? true : false;
cam13.visible = ((g[gg.camNum] == 13)) ? true : false;
cam14.visible = ((g[gg.camNum] == 14)) ? true : false;
cam1.toChapel.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(2, 1, 7);
});
cam1.toChapel.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toChapel.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam2, 2);
});
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam8, 8);
});
cam1.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.toCam10.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam1, cam10, 10);
});
cam1.toCam10.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam1.toCam10.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam1.eastWindow.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its a full moon out there... the light is pouring in through the window onto the floor, giving the room an eerie glow.", 2);
});
cam1.tapestry.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("An old Tapestry hangs on the wall. Its of no use.", 1);
});
cam2.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam1, 1);
});
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam3.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam3, 3);
});
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam3.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam4, 4);
});
cam2.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam5, 5);
});
cam2.toCam5.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam5.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam7.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam7, 7);
});
cam2.toCam7.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam7.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam2, cam8, 8);
});
cam2.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam2.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam2.ropes.gotoAndStop((g[gg.ropeState] + 1));
cam2.ropeCLICK.gotoAndStop((g[gg.ropeState] + 1));
cam2.ropeCLICK.addEventListener(MouseEvent.MOUSE_DOWN, ropeFunc);
cam2.ropeDrag.visible = false;
cam2.ropeDrag.hitSquare.addEventListener(MouseEvent.MOUSE_UP, ropeRelease);
cam2.winch.addEventListener(MouseEvent.CLICK, winchFunc);
cam3.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam3, cam2, 2);
});
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam3.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam3.chandelier.gotoAndStop(((g[gg.chandelierDOWN] == 1)) ? ((g[gg.chandelierCandles] == 0)) ? 1 : 2 : ((g[gg.chandelierCandles] == 0)) ? 3 : 4);
cam3.chandelier.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage(((g[gg.chandelierDOWN] == 1)) ? "Its a giant metal CHANDELIER that once hung from the rafters... now it sits rusting on the floor" : "I've tightened the rope enough to raise the CHANDELIER slightly. I'd better go check it out before the rope gives...", 4);
});
cam3.plaque.visible = ((((g[gg.constPlateInChapel] == 1)) && ((g[gg.chandelierDOWN] == 0)))) ? true : false;
cam3.fireRoom.visible = ((g[gg.libraryFireOn] == 1)) ? true : false;
cam3.chapelCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("I can see the whole chapel from up here", 1);
});
cam3.compassCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its a giant metal COMPASS set into the stone floor of the CHAPEL. The CHURCH seems to have been built in perfect alignment NORHT, SOUTH, EAST and WEST", 4);
});
cam3.pyramidMural.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its the MURAL with the CHANDELIER in it... I can't help but think it has something to do with the actual CHANDELIER", 4);
});
cam3.nearRope.gotoAndStop((g[gg.ropeState] + 1));
cam3.ropeCLICK.gotoAndStop((g[gg.ropeState] + 1));
cam3.ropeCLICK.addEventListener(MouseEvent.CLICK, ropeFunc);
cam3.winch.addEventListener(MouseEvent.CLICK, winchFunc);
cam3.lodeStoneOUT.visible = ((g[gg.lodeStoneInChapel] == 2)) ? true : false;
cam4.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam2, 2);
});
cam4.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam8, 8);
});
cam4.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam1, 1);
});
cam4.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam4.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam4.toCam6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam4, cam6, 6);
});
cam4.ropes.gotoAndStop((g[gg.ropeState] + 1));
cam4.ropes.rope.addEventListener(MouseEvent.CLICK, pullRopeFUNC);
cam4.ropeCLICK.gotoAndStop((g[gg.ropeState] + 1));
cam4.ropeCLICK.addEventListener(MouseEvent.CLICK, ropeFunc);
cam4.ropeHole.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a ROPE in here that probably connects to the BELL in the TOWER... I can't fit in through the bars", 2);
});
cam4.ladder.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a LADDER in there... I wonder where it leads... how can I get to it... I can't get past these bars?", 2);
});
cam5.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam5, cam2, 2);
});
cam5.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam5.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam5.toCam6.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam5, cam6, 6);
});
cam5.toCam6.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam5.toCam6.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam5.plaque.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.polaroidStoryPlaque] == 0)){
clickCamera(gg.polaroidStoryPlaque, 7, "Its a PLAQUE that tells the story of the CHURCH ELDERS... I've got a shot of it now if I need the information later.", 4);
} else {
rootObj.callMessage("Its a PLAQUE that tells the story of the CHURCH ELDERS", 1);
};
});
cam5.plaque.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if (g[gg.polaroidStoryPlaque] == 0){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam5.plaque.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if (g[gg.polaroidStoryPlaque] == 0){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
cam6.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam2, 2);
});
cam6.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.toCam4.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam4, 4);
});
cam6.toCam4.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam4.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.toCam5.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam6, cam5, 5);
});
cam6.toCam5.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam6.toCam5.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam6.plaque.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.polaroidStoryPlaque] == 0)){
clickCamera(gg.polaroidStoryPlaque, 7, "Its a PLAQUE that tells the story of the CHURCH ELDERS... I've got a shot of it now if I need the information later.", 4);
} else {
rootObj.callMessage("Its a PLAQUE that tells the story of the CHURCH ELDERS", 1);
};
});
cam6.plaque.addEventListener(MouseEvent.MOUSE_OUT, function (e:MouseEvent){
if (g[gg.polaroidStoryPlaque] == 0){
rootObj.heldItem = oldHeldItem;
rootObj.mouseCursor.gotoAndStop(oldHeldItem);
};
});
cam6.plaque.addEventListener(MouseEvent.MOUSE_OVER, function (e:MouseEvent){
if (g[gg.polaroidStoryPlaque] == 0){
oldHeldItem = (rootObj.heldItem + "");
rootObj.mouseCursor.gotoAndStop("camera");
(rootObj.heldItem == "camera");
};
});
cam7.toCam2.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam7, cam2, 2);
});
cam7.toCam2.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam7.toCam2.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam7.chain.visible = ((g[gg.chainInWestPulpit] == 1)) ? true : false;
cam7.westLantern.visible = ((((g[gg.lightningLanternInPulpit] == 1)) && ((g[gg.chainInWestPulpit] == 1)))) ? true : false;
cam7.westLantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.lightningLanternInPulpit, ii.lightningLantern, "You picked up the LIGHTNING LANTERN", 1);
});
cam7.westWindow.addEventListener(MouseEvent.CLICK, westWindowFunc);
cam7.tapestry.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("An old TAPESTRY hangs here... it is of no use.", 3);
});
cam8.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam8, cam1, 1);
});
cam8.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam8.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam8.toCam9.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam8, cam9, 9);
});
cam8.toCatacombs.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(2, 4, 1);
});
cam8.toCatacombs.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam8.toCatacombs.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam8.door.visible = ((g[gg.westSecretDoorOpen] == 1)) ? false : true;
cam8.doorPicture.visible = ((g[gg.westSecretDoorOpen] == 1)) ? false : true;
cam8.doorPicture.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Its an engraving of Monks pulling a ROPE attached to a BELL. There is a KEY tied to the rope. There is TEXT around the outside of the door...", 2);
});
cam8.doorText.visible = ((g[gg.westSecretDoorOpen] == 1)) ? false : true;
cam8.doorText.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("Ask the bell to sing its song, to tell its tale, loud and strong. Restate your case will answers bring. To let you in the bell must sing", 2);
});
cam8.doorKeyHole.visible = ((g[gg.westSecretDoorOpen] == 1)) ? false : true;
cam8.doorKeyHole.addEventListener(MouseEvent.CLICK, westDoorFunc);
cam8.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam8.eastKey.visible = ((g[gg.eastKeyInPulpit] == 1)) ? true : false;
cam8.northLantern.visible = ((g[gg.moonLanternInPulpit] == 1)) ? true : false;
cam8.northLantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.moonLanternInPulpit, ii.moonLantern, "You picked up the MOON LANTERN", 3);
g[gg.stringInPulpit] = 7;
});
cam9.toCam8.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam9, cam8, 8);
});
cam9.toCam8.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam9.toCam8.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam9.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam9.strings.addEventListener(MouseEvent.CLICK, stringsFunc);
cam9.eastKey.visible = ((g[gg.eastKeyInPulpit] == 1)) ? true : false;
cam9.eastKey.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a KEY suspended in a CAGE... I can't get it out... there is a HOLE in the ciling above the CAGE...", 4);
});
cam10.toCam1.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam10, cam1, 1);
});
cam10.toCam1.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam10.toCam1.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam10.toCam11.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam10, cam13, 13);
});
cam10.toCam11.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam10.toCam11.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam10.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam10.strings.addEventListener(MouseEvent.CLICK, stairStringsFunc);
cam10.eastKey.visible = ((g[gg.eastKeyInPulpit] == 2)) ? true : false;
cam10.eastKey.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.eastKeyInPulpit, ii.eastKey, "You picked up the EAST KEY", 1);
});
cam10.hook.addEventListener(MouseEvent.CLICK, hookFunc);
cam10.hole.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("There is a hole in the floor here that leads to the room below... I wonder how this helps me?", 2);
});
cam11.toCam10.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam11, cam10, 10);
});
cam11.toCam10.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam11.toCam10.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam11.toCam12.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam11, cam12, 12);
});
cam11.toCam12.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam11.toCam12.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam11.toCam13.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam11, cam13, 13);
});
cam11.toCam13.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam11.toCam13.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam11.toCam14.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam11, cam14, 14);
});
cam11.toCam14.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam11.toCam14.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam11.bell.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam11.bellCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam11.bellCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.ropeState] == 5)){
rootObj.callMessage("An enourmous BELL from the rafters... the ROPE has been Pulled tight and is keeping the BELL raised!", 2);
} else {
rootObj.callMessage("An enourmous BELL from the rafters.", 1);
};
});
cam11.ropeCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam11.ropeCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.ropeState] == 5)){
rootObj.callMessage("This rope is used to RING the BELL... the ROPE has been Pulled tight and is keeping the BELL raised!", 2);
} else {
rootObj.callMessage("This rope is used to RING the BELL.", 1);
};
});
cam11.lodeStone.visible = ((g[gg.lodeStoneInTower] == 2)) ? true : false;
cam11.lodeStoneHole.visible = ((g[gg.lodeStoneInTower])!=1) ? true : false;
cam11.lantern.visible = ((g[gg.moonLanternInPulpit] == 2)) ? true : false;
cam11.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam12.toCam10.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam12, cam10, 10);
});
cam12.toCam10.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam12.toCam10.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam12.toCam11.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam12, cam11, 11);
});
cam12.toCam11.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam12.toCam11.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam12.toCam14.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam12, cam14, 14);
});
cam12.toCam14.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam12.toCam14.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam12.toLadder.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(2, 5, 1);
});
cam12.toLadder.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam12.toLadder.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam12.bell.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam12.bellCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam12.bellCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.ropeState] == 5)){
rootObj.callMessage("An enourmous BELL from the rafters... the ROPE has been Pulled tight and is keeping the BELL raised!", 2);
} else {
rootObj.callMessage("An enourmous BELL from the rafters.", 1);
};
});
cam12.ropeCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam12.ropeCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if ((g[gg.ropeState] == 5)){
rootObj.callMessage("This rope is used to RING the BELL... the ROPE has been Pulled tight and is keeping the BELL raised!", 2);
} else {
rootObj.callMessage("This rope is used to RING the BELL.", 1);
};
});
cam12.lodeStone.visible = ((g[gg.lodeStoneInTower] == 2)) ? true : false;
cam12.lodeStoneHole.visible = ((g[gg.lodeStoneInTower])!=1) ? true : false;
cam12.lantern.visible = ((g[gg.moonLanternInPulpit] == 2)) ? true : false;
cam12.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam13.toCam10.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam13, cam10, 10);
});
cam13.toCam10.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam13.toCam10.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam13.toCam11.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam13, cam11, 11);
});
cam13.toCam11.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam13.toCam11.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam13.toCam14.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam13, cam14, 14);
});
cam13.toCam14.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam13.toCam14.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam13.toLadder.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeRoom(2, 5, 1);
});
cam13.toLadder.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam13.toLadder.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam13.bell.visible = ((g[gg.ropeState] == 5)) ? false : true;
cam13.bellCLICKUp.visible = ((g[gg.ropeState] == 5)) ? true : false;
cam13.bellCLICKUp.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("An enourmous BELL from the rafters... the ROPE has been Pulled tight and is keeping the BELL raised!", 2);
});
cam13.bellCLICKDown.visible = ((g[gg.ropeState] == 5)) ? false : true;
cam13.bellCLICKDown.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.callMessage("An enourmous BELL from the rafters.", 1);
});
cam13.lodeStone.visible = ((g[gg.lodeStoneInTower] == 2)) ? true : false;
cam13.lodeStoneHole.visible = ((g[gg.lodeStoneInTower])!=1) ? true : false;
cam13.lantern.visible = ((g[gg.moonLanternInPulpit] == 2)) ? true : false;
cam13.sunLantern.visible = ((g[gg.sunLanternInTower] == 1)) ? true : false;
cam13.sunLantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.sunLanternInTower, ii.sunLantern, "You picked up the SUN LANTERN", 1);
});
cam13.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam14.toCam13.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.changeCam(cam14, cam13, 13);
});
cam14.toCam13.addEventListener(MouseEvent.MOUSE_OUT, rootObj.BUTRollOut);
cam14.toCam13.addEventListener(MouseEvent.MOUSE_OVER, rootObj.BUTRollOver);
cam14.lodeStone.visible = ((g[gg.lodeStoneInTower] == 2)) ? true : false;
cam14.lodeStone.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
rootObj.pickUpItem(e, gg.lodeStoneInTower, ii.lodeStone, "You picked up the MAGNETIC LODE STONE", 1);
cam12.lodeStone.visible = ((g[gg.lodeStoneInTower] == 2)) ? true : false;
cam11.lodeStone.visible = ((g[gg.lodeStoneInTower] == 2)) ? true : false;
});
cam14.lodeStoneHole.visible = ((g[gg.lodeStoneInTower])!=1) ? true : false;
cam14.lodeStoneHoleCLICK.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if (rootObj.heldItem == "compass"){
g[gg.lodeStoneInTower] = 2;
cam11.lodeStone.visible = true;
cam12.lodeStone.visible = true;
cam13.lodeStone.visible = true;
cam14.lodeStone.visible = true;
cam11.lodeStoneHole.visible = true;
cam12.lodeStoneHole.visible = true;
cam13.lodeStoneHole.visible = true;
cam14.lodeStoneHole.visible = true;
rootObj.callMessage("Using the COMPASS, you found the MAGNETIC LODE STONE and pulled it out of its hiding place in the wall", 2);
};
});
cam14.lantern.visible = ((g[gg.moonLanternInPulpit] == 2)) ? true : false;
cam14.lantern.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if (g[gg.stringInPulpit] == 5){
g[gg.stringInPulpit] = 6;
setStrings();
g[gg.moonLanternInPulpit] = 1;
cam14.lantern.visible = false;
cam8.northLantern.visible = true;
rootObj.callMessage("You pushed the LANTERN out of the WINDOW... it is now dangling below by the STRING you tied to it.", 4);
} else {
rootObj.callMessage("Its a LANTERN with a MOON on it... Its too big to fit in through the BARS on the WINDOW...", 4);
};
});
cam14.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam14.strings.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if (g[gg.stringInPulpit] == 5){
rootObj.callMessage("The STRING is tied to the LANTERN on the WINDOW ledge", 1);
} else {
if (g[gg.stringInPulpit] == 6){
rootObj.callMessage("The STRING is tied to the LANTERN which is now dangling below outside the WINDOW.", 2);
} else {
if (g[gg.stringInPulpit] == 7){
rootObj.pickUpItem(e, gg.stringInPulpit, ii.string, "You took the STRING from the WINDOW", 1);
setStrings();
};
};
};
});
cam14.hook.addEventListener(MouseEvent.CLICK, function (e:MouseEvent){
if (rootObj.heldItem == "string"){
if (g[gg.moonLanternInPulpit] == 2){
g[gg.stringInPulpit] = 5;
setStrings();
i[ii.string] = 0;
rootObj.setHand();
rootObj.callMessage("You tied the STRING to the LANTERN on the Ledge, AND to the HOOK below the WINDOW", 2);
} else {
rootObj.callMessage("There is no need... I already got the LANTERN", 1);
};
} else {
rootObj.callMessage("There is a HOOK below the WINDOW...", 1);
};
});
startSounds();
setCompass(g[gg.camNum]);
}
public function startSounds():void{
}
private function ropeFunc(e:MouseEvent):void{
if (g[gg.ropeState] == 0){
if (rootObj.heldItem == "rope"){
i[ii.rope] = 0;
rootObj.setHand();
g[gg.ropeState] = 1;
rootObj.callMessage("You tied the length of ROPE to the CHANDELIER ROPE and connected it to the WINCH", 2);
updateRope();
} else {
rootObj.callMessage("Hmmm... this rope isn't long enough to connect to the WINCH... if it was I could raise the CHANDELIER down there", 2);
};
} else {
if (g[gg.ropeState] == 1){
rootObj.callMessage("This rope is connected to the CHANDELIER downstairs. Hmmm, The rope is loose...", 2);
} else {
if (g[gg.ropeState] == 2){
rootObj.callMessage("I've tightened the rope as much as it will take and have raised the CHANDELIER slightly... I should go check it out", 2);
} else {
if (g[gg.ropeState] == 3){
cam2.ropeDrag.startDrag(true);
cam2.ropeDrag.visible = true;
cam2.ropes.visible = false;
cam2.ropeDrag.gotoAndPlay(2);
rootObj.callMessage("The ROPE lays on the ground. Perhaps if I HOLD it...", 1);
} else {
if (g[gg.ropeState] == 4){
rootObj.callMessage("You tied the rope from the winch to the BELL rope", 1);
} else {
if (g[gg.ropeState] == 5){
rootObj.callMessage("The rope is tied from the WINCH to the BELL rope and has been tightened as much as it can be", 2);
};
};
};
};
};
};
}
private function setStrings():void{
cam8.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam9.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam10.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam11.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam12.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam13.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
cam14.strings.gotoAndStop((g[gg.stringInPulpit] + 1));
}
private function updateRope():void{
cam2.ropes.gotoAndStop((g[gg.ropeState] + 1));
cam2.ropeCLICK.gotoAndStop((g[gg.ropeState] + 1));
cam3.nearRope.gotoAndStop((g[gg.ropeState] + 1));
cam3.ropeCLICK.gotoAndStop((g[gg.ropeState] + 1));
cam4.ropes.gotoAndStop((g[gg.ropeState] + 1));
cam4.ropeCLICK.gotoAndStop((g[gg.ropeState] + 1));
cam11.bell.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam11.bellCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam11.ropeCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam12.bell.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam12.bellCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam12.ropeCLICK.gotoAndStop(((g[gg.ropeState] == 5)) ? 2 : 1);
cam13.bell.visible = ((g[gg.ropeState] == 5)) ? false : true;
cam13.bellCLICKUp.visible = ((g[gg.ropeState] == 5)) ? true : false;
cam13.bellCLICKDown.visible = ((g[gg.ropeState] == 5)) ? false : true;
}
private function stairStringsFunc(e:MouseEvent):void{
if (g[gg.stringInPulpit] == 2){
rootObj.pickUpItem(e, gg.stringInPulpit, ii.string, "You picked up the STRING", 1);
g[gg.stringInPulpit] = 0;
e.currentTarget.gotoAndStop(1);
e.currentTarget.visible = true;
} else {
if (g[gg.stringInPulpit] == 3){
g[gg.stringInPulpit] = 4;
g[gg.eastKeyInPulpit] = 2;
cam10.eastKey.visible = ((g[gg.eastKeyInPulpit] == 2)) ? true : false;
cam8.eastKey.visible = ((g[gg.eastKeyInPulpit] == 1)) ? true : false;
cam9.eastKey.visible = ((g[gg.eastKeyInPulpit] == 1)) ? true : false;
} else {
if (g[gg.stringInPulpit] == 4){
rootObj.pickUpItem(e, gg.stringInPulpit, ii.string, "You picked up the STRING", 1);
e.currentTarget.gotoAndStop(1);
e.currentTarget.visible = true;
};
};
};
setStrings();
}
private function westDoorFunc(e:MouseEvent):void{
if (rootObj.heldItem == "westKey"){
g[gg.westSecretDoorOpen] = 1;
rootObj.playSound("unlock");
cam8.door.visible = false;
cam8.doorPicture.visible = false;
cam8.doorText.visible = false;
cam8.doorKeyHole.visible = false;
rootObj.callMessage("You used the WEST KEY to open a secret passage... there are stairs leading down...", 2);
} else {
rootObj.callMessage("There appears to be a KEY HOLE here...", 3);
};
}
private function westWindowFunc(e:MouseEvent):void{
if (g[gg.chainInWestPulpit] == 0){
if (rootObj.heldItem == "hook"){
g[gg.chainInWestPulpit] = 1;
cam7.westLantern.visible = true;
cam7.chain.visible = true;
rootObj.callMessage("You used the hook to reach the CHAIN and pull it in through the WINDOW... there was something attached to it...", 2);
} else {
rootObj.callMessage("It looks like there is a CHAIN hanging out of this WINDOW... the WINDOW is too deep... my arms aren't long enough to reach it", 4);
};
} else {
rootObj.callMessage("The moon has come out", 3);
};
}
private function stringsFunc(e:MouseEvent):void{
if (g[gg.stringInPulpit] == 1){
rootObj.pickUpItem(e, gg.stringInPulpit, ii.string, "You untied the STRING from the KEY and took it", 3);
e.currentTarget.visible = true;
} else {
if (g[gg.stringInPulpit] == 2){
g[gg.stringInPulpit] = 3;
rootObj.callMessage("You tied the STRING hanging through the HOLE to the KEY in the CAGE", 4);
} else {
if (g[gg.stringInPulpit] == 3){
rootObj.callMessage("OK, I've tied it to the KEY... now what?", 3);
};
};
};
setStrings();
}
public function fadeInSounds():void{
}
public function stopSounds():void{
}
public function setSoundVol(camNum:int):void{
}
public function fadeSounds():void{
}
}
}//package