Frame 1
function timer1() {
a = _root.getBytesLoaded();
_root.bwarray.push(a - _root.previousbytes);
_root.bwarray.shift();
trace(_root.bwarray);
bandwidth = 0;
i = 0;
while (i < 10) {
bandwidth = bandwidth + bwarray[i];
trace(i);
trace(bandwidth);
i++;
}
bandwidth = bandwidth / 10;
_root.previousbytes = _root.getBytesLoaded();
trace(bandwidth);
remaintime = (_root.getBytesTotal() - _root.getBytesLoaded()) / bandwidth;
c = Math.floor(remaintime);
b = remaintime.toString();
_root.countdown.text = c;
}
stop();
var rightClick = new ContextMenu();
rightClick.hideBuiltInItems();
_root.menu = rightClick;
_root.mc_sitelock._visible = false;
_root.sitelocked = false;
var CPMStarPoolID = 2984;
var CPMStarSubPoolID = 1;
System.security.allowDomain("server.cpmstar.com", "bubblebox.com");
adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
clearInterval();
bwtimer = setInterval(timer1, 1000);
bwarray = [100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000, 100000];
_root.previousbytes = 1;
Instance of Symbol 88 MovieClip "mc_loader" in Frame 1
onClipEvent (enterFrame) {
szazalek = (_root.getBytesLoaded() / _root.getBytesTotal()) * 200;
_root.mc_loader.mc_progressbar._width = szazalek;
if (_root._framesloaded >= _root._totalframes) {
if (!_root.sitelocked) {
_root.gotoAndStop(3);
}
}
}
Frame 3
_root.mc_bubblebox.gotoAndPlay(2);
clearInterval(bwtimer);
Instance of Symbol 393 MovieClip "mc_bubblebox" in Frame 3
on (release) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1362&subid=splash", "_blank");
}
Frame 4
_root.mc_redherringsplash.gotoAndPlay(2);
Frame 11
function initgamedata() {
n = 0;
while (n <= 350) {
gamedata[n].itemname = "";
gamedata[n].itemdescription = ("item" + n) + " description";
gamedata[n].hint = "hint" + n;
gamedata[n].req = [1];
gamedata[n].pickupable = false;
gamedata[n].inventory_happened = false;
gamedata[n].visibleininventory = true;
gamedata[n].stateneeded = 1;
gamedata[n].numberofstates = 1;
gamedata[n].itemstate = 1;
gamedata[n].lockstate = false;
gamedata[n].neededinhand = 0;
gamedata[n].messages = ["", "", "", "", "", "", "", "", ""];
gamedata[n].exit = false;
gamedata[n].onstage = true;
gamedata[n].dialog = [""];
gamedata[n].combinewith = 0;
gamedata[n].resultitem = 0;
gamedata[n].disappears = true;
gamedata[n].hh = true;
n++;
}
gamedata[0].inventory_happened = false;
gamedata[1].inventory_happened = true;
gamedata[2].itemname = "CARGO CONTAINERS";
gamedata[2].hint = "WE HAD TO STORE A COUPLE OF CARGO CONTAINERS IN THE CORRIDOR, BECAUSE WE RAN OUT OF CARGO SPACE. SEE IF YOU CAN FIND SOMETHING USEFUL IN THEM.";
gamedata[3].itemname = "CARGO CONTAINER";
gamedata[3].hint = "IF YOU'VE FOUND THE CONTAINERS, TRY OPENING ONE OF THEM.";
gamedata[3].stateneeded = 2;
gamedata[3].numberofstates = 2;
gamedata[3].lockstate = true;
gamedata[3].messages = ["IT'S EMPTY.", "", "", "", "", "I DON'T WANT TO PUT THAT THERE.", "", "", "I DON'T WANT TO PUT THAT DOWN."];
gamedata[4].itemname = "DOLL";
gamedata[4].itemdescription = "IT'S A DOLL. ITS USER GUIDE SAYS IT HAS ADVANCED ARTIFICIAL INTELLIGENCE. BATTERIES INCLUDED.";
gamedata[4].pickupable = true;
gamedata[4].onstage = false;
gamedata[4].messages = ["THAT DOESN'T NEED THE POWER CONTAINED IN THE BATTERIES OF THE DOLL.", "", "", "", "", "", "", "", ""];
gamedata[5].itemname = "WRENCH";
gamedata[5].hint = "TRY AND PICK UP EVERYTHING. ANYTHING CAN BE USEFUL LATER.";
gamedata[5].itemdescription = "IT'S A CHROMIUM ALLOY WRENCH. I BET I CAN UNSCREW JUST ABOUT ANYTHING WITH THIS.";
gamedata[5].pickupable = true;
gamedata[5].messages = ["I DON'T WANT TO UNSCREW THAT.", "", "", "", "", "I'D BETTER PICK THAT UP.", "", "", ""];
gamedata[6].itemname = "CONTROL PANEL";
gamedata[6].neededinhand = 5;
gamedata[6].stateneeded = 2;
gamedata[6].numberofstates = 2;
gamedata[6].lockstate = true;
gamedata[6].hint = "NO TIME TO PLAY IT SAFE. JUST SMASH THE LOCK AND BE DONE WITH IT.";
gamedata[6].messages = ["I BROKE IT OPEN WITH THE WRENCH AND RELEASED THE VALVE.", "IT CONTROLS THE DOOR. THE HYDRAULICS ARE UNDER PRESSURE. IF I COULD RELEASE THEM SOMEHOW...", "THAT WON'T DO ANY GOOD.", "", "", "", "", "", "IT'S ALREADY BROKEN."];
gamedata[7].itemname = "TOUCH SCREEN";
gamedata[7].inventory_happened = true;
gamedata[7].messages = ["IT'S THE TOUCH PANEL FOR THE MEDICAL COMPUTER, BUT THE MAINFRAME IS STILL OFF-LINE.", "", "", "", "", "", "", "", "THAT WON'T BOOT THE COMPUTER, I NEED TO DO THAT FROM THE COCKPIT."];
gamedata[8].itemname = "TO CORRIDOR";
gamedata[8].exit = true;
gamedata[8].inventory_happened = true;
gamedata[9].itemname = "TO COCKPIT";
gamedata[9].exit = true;
gamedata[9].numberofstates = 2;
gamedata[9].stateneeded = 2;
gamedata[9].lockstate = true;
gamedata[9].req = [6];
gamedata[9].messages = ["", "", "", "", "", "I CAN'T USE THAT TO FORCE IT OPEN.", "", "IT'S STUCK. THE COMPUTER MUST HAVE TRIED TO CLOSE IT ACCORDING TO THE ATMOSPHERE CONTAINMENT PROTOCOL, WHEN WE CRASH-LANDED. I HOPE THE HULL IS INTACT.", ""];
gamedata[10].itemname = "";
gamedata[10].numberofstates = 2;
gamedata[10].stateneeded = 2;
gamedata[10].lockstate = true;
gamedata[10].dialog = ["3NOVAK TO POWELL, NOVAK TO POWELL, COME IN.", "3NOVAK TO JOHANSEN, COME IN, DAMN IT!", "3CAN ANY OF YOU HEAR ME?", "2THIS IS POWELL. I READ YOU.", "3FINALLY! WHAT THE HELL HAPPENED? THE LAST THING I REMEMBER AFTER BEING UNFROZEN AND TRYING TO STABILIZE THE SHIP IS THE BOARD PANEL BLOWING UP IN MY FACE.", "3AND THE NEXT THING... AND THE NEXT THING I KNOW WE'RE ON A PLANET AND THERE'S A STEEL ROD STICKING OUT OF MY SIDE, AND I'M NAILED TO MY SEAT.", "2YEAH, I SAW THAT. I TRIED TO PUT THE SHIP DOWN. YOU SAID WE'RE ON A PLANET, SO... WE DID LAND...", "3YOU INDULGE YOURSELF BY CALLING THIS A LANDING... I SEE YOUR HELMET-CAM IS ON. WHAT THE HELL ARE YOU DOING IN THE CORRIDOR?", "2I HAVE NO IDEA, I JUST WOKE UP HERE A MINUTE AGO WITH SOMETHING THAT FEELS LIKE A REALLY BAD HANGOVER. WHAT'S YOUR SITUATION?", "3LISTEN, POWELL, I CAN'T MOVE, SO YOU'LL HAVE TO GET TO ME.", "2OKAY, I'LL BE THERE IN A MINUTE.", ""];
gamedata[11].itemname = "TO COCKPIT";
gamedata[11].exit = true;
gamedata[11].numberofstates = 2;
gamedata[11].stateneeded = 2;
gamedata[11].lockstate = true;
gamedata[11].req = [6];
gamedata[11].messages = ["", "", "", "", "", "I CAN'T USE THAT TO FORCE IT OPEN.", "", "IT'S STUCK. THE COMPUTER MUST HAVE TRIED TO CLOSE IT ACCORDING TO ATMOSPHERE CONTAINMENT PROTOCOL, WHEN WE CRASH-LANDED. I HOPE THE HULL IS INTACT.", ""];
gamedata[12].itemname = "CAPTAIN NOVAK";
gamedata[12].hint = "GET OVER HERE, I WANT TO TALK TO YOU.";
gamedata[12].numberofstates = 2;
gamedata[12].stateneeded = 2;
gamedata[12].lockstate = true;
gamedata[12].dialog = ["2WOW, THAT DOES LOOK NASTY.", "3YOU GOT THAT DAMN RIGHT. LISTEN, WE NEED TO GET THIS ROD OUT. THE SUIT'S MEDHACK HAS SEALED MY WOUNDS, BUT UNFORTUNATELY WITH THE ROD STILL INSIDE. YOU NEED TO REMOVE IT. ONCE IT'S OUT, THE MEDHACK WILL SEAL THE WOUNDS AGAIN.", "3NOW I DON'T KNOW IF WE HAVE ATMOSPHERE OR NOT, SO... SO YOU WILL HAVE TO TAKE CARE OF THE HOLES IN THE SUIT, AFTER YOU TOOK THE ROD OUT. AND FOR THAT YOU WILL... AND FOR THAT YOU WILL NEED SOME SORT OF SELF HARDENING ADHESIVE.", "2I THINK WE MIGHT HAVE SOMETHING IN THE CARGO BAY.", "3MY THOUGHTS EXACTLY. HURRY UP WITH THIS, WILL YA. OH, AND EVERYTHING SHUT DOWN AFTER THE CRASH, SO WHILE YOU'RE AT IT, TRY TO GET THE POWER BACK ON-LINE, AND REBOOT THE MAINFRAME. A WORKING COMPUTER WOULD REALLY HELP A LOT.", "2I'LL GET ON IT.", "3I'LL MONITOR YOUR PROGRESS ON THE HELMET-CAM. RADIO ME, WHEN YOU NEED ASSISTANCE. I MIGHT BE ABLE TO HELP YOU PLAN YOUR NEXT MOVE.", "2THANKS, NOVAK.", "3THAT'S CAPTAIN TO YOU.", "2YEAH... MAKE ME SAY IT.", "3AH, JUST GET TO WORK!", ""];
gamedata[12].messages = ["", "", "", "", "", "I SHOULD GET CLOSER TO HIM.", "", "", ""];
gamedata[13].itemname = "PARTICLE RIFLE";
gamedata[13].hh = false;
gamedata[13].inventory_happened = true;
gamedata[13].messages = ["IT'S BROKEN BEYOND REPAIR. I HAVE NO USE FOR IT.", "", "", "", "", "", "", "", "I DON'T THINK SO."];
gamedata[14].itemname = "SCREWDRIVER";
gamedata[14].itemdescription = "A STURDY SCREWDRIVER.";
gamedata[14].hint = "BEFORE YOU BEGIN, GET THAT SCREWDRIVER, YOU MIGHT NEED IT LATER.";
gamedata[14].pickupable = true;
gamedata[14].messages = ["THAT DOESN'T NEED SCREWING.", "", "", "", "", "I SHOULD PICK THAT UP.", "", "", ""];
gamedata[15].itemname = "TO COCKPIT";
gamedata[15].exit = true;
gamedata[15].inventory_happened = true;
gamedata[16].itemname = "TO CORRIDOR";
gamedata[16].exit = true;
gamedata[16].inventory_happened = true;
gamedata[17].itemname = "CONTROL PANEL";
gamedata[17].hint = "IN ORDER TO GET INTO ENGINEERING, YOU WILL NEED TO SUPPLY THE CONTROL PANEL NEXT TO THE DOOR WITH POWER.";
gamedata[17].neededinhand = 4;
gamedata[17].numberofstates = 2;
gamedata[17].stateneeded = 2;
gamedata[17].lockstate = true;
gamedata[17].messages = ["THE PANEL IS FUNCTIONING PERFECTLY, THANKS TO THE BATTERIES IN THE DOLL.", "THE PANEL DOESN'T HAVE POWER. I NEED SOMETHING TO POWER IT UP.", "I NEED TO USE SOMETHING WITH POWER IN IT.", "", "", "", "", "", "I ALREADY FIXED THE PANEL."];
gamedata[18].itemname = "PARTICLE RIFLE";
gamedata[18].hh = false;
gamedata[18].inventory_happened = true;
gamedata[18].onstage = false;
gamedata[18].messages = ["IT'S BROKEN. I HAVE NO USE FOR IT.", "", "", "", "", "", "", "", "I DON'T THINK SO."];
gamedata[19].itemname = "TO ENGINE ROOM";
gamedata[19].exit = true;
gamedata[19].numberofstates = 2;
gamedata[19].stateneeded = 2;
gamedata[19].lockstate = true;
gamedata[19].req = [17];
gamedata[19].messages = ["", "", "", "", "", "THAT WON'T OPEN IT.", "", "THE DOOR IS HELD FIRMLY CLOSED BY THE HYDRAULICS. I CAN'T FORCE IT OPEN.", "I DON'T WANT TO THROW THAT INTO THE OTHER ROOM."];
gamedata[20].itemname = "NANOGLUE GUN";
gamedata[20].hint = "PICK UP ANY ITEM LYING AROUND";
gamedata[20].itemdescription = "IT'S A PIRX PX-11 NANOADHESIVE APPLICATOR. IT'S MISSING THE ADHESIVE COMPARTMENT AND THE APPLICATOR HEAD.";
gamedata[20].pickupable = true;
gamedata[20].combinewith = 25;
gamedata[20].resultitem = 91;
gamedata[20].messages = ["THAT WON'T WORK.", "", "", "", "", "I'D BETTER PICK IT UP FIRST.", "", "", ""];
gamedata[21].itemname = "EMPTY FUEL CELL";
gamedata[21].hint = "PICK UP ANY ITEM LYING AROUND";
gamedata[21].pickupable = true;
gamedata[21].itemdescription = "IT'S A MERCURY INDUSTRIES FUEL CELL. STANDARD ISSUE UNITED NATIONS NAVY EQUIPMENT, JUST LIKE A BUNCH OF OTHER STUFF ON THE SHIP. IT'S EMPTY.";
gamedata[21].messages = ["I NEED TO FIND SOMETHING WITH A LOT OF ENERGY TO FILL UP THIS BABY.", "", "", "", "", "I'D BETTER PICK IT UP FIRST.", "", "", ""];
gamedata[22].itemname = "LEFT ENGINE";
gamedata[22].inventory_happened = true;
gamedata[22].messages = ["SEVERAL CABLES SEEM TO BE LOOSE. THEY MUST HAVE BEEN TORN DOWN WHEN WE CRASHED. AND MOST CONDUITS ARE FRIED.", "", "", "", "", "", "", "", "IT'S BEYOND REPAIR."];
gamedata[23].inventory_happened = true;
gamedata[23].itemname = "TOUCH SCREEN";
gamedata[23].messages = ["THAT'S THE NAVIGATIONAL COMPUTER. IT WOULD BE TOO EARLY TO TURN IT ON, SINCE THE REACTOR IS OFF-LINE.", "", "", "", "", "", "", "", "I'D BETTER USE MY FINGERS."];
gamedata[24].itemname = "RIGHT ENGINE";
gamedata[24].inventory_happened = true;
gamedata[24].messages = ["THE RIGHT ENGINE IS SHOT TO HELL.", "", "", "", "", "", "", "", "I DON'T EVEN WANT TO TRY TO REPAIR IT."];
gamedata[25].itemname = "ADHESIVE COMPARTMENT";
gamedata[25].hint = "SEARCH THAT CRACK BETWEEN THE CABINETS.";
gamedata[25].itemdescription = "IT'S THE MISSING ADHESIVE COMPARTMENT FOR THE GLUEGUN. JOHANSEN MUST HAVE DROPPED IT BETWEEN THE TWO CABINETS.";
gamedata[25].pickupable = true;
gamedata[25].combinewith = 20;
gamedata[25].resultitem = 91;
gamedata[25].messages = ["THIS PART GOES INTO THE PX-11.", "", "", "", "", "", "", "", ""];
gamedata[26].itemname = "TO CORRIDOR";
gamedata[26].exit = true;
gamedata[26].inventory_happened = true;
gamedata[27].itemname = "SPACE BETWEEN CABINETS";
gamedata[27].stateneeded = 2;
gamedata[27].numberofstates = 2;
gamedata[27].lockstate = true;
gamedata[27].messages = ["THERE'S NOTHING ELSE THERE.", "", "", "", "", "WHY WOULD I WANT TO HIDE THAT THERE?", "", "", "WHY WOULD I WANT TO HIDE THAT THERE?"];
gamedata[28].itemname = "POWER CONDUIT BOX";
gamedata[28].inventory_happened = true;
gamedata[28].messages = ["", "", "", "", "", "", "", "", "I SHOULD MOVE IN CLOSER."];
gamedata[29].itemname = "LOOSE PANEL";
gamedata[29].hint = "I THINK YOU NEED TO FIX THE PANEL IN ENGINEERING.";
gamedata[29].neededinhand = 14;
gamedata[29].numberofstates = 2;
gamedata[29].stateneeded = 2;
gamedata[29].lockstate = true;
gamedata[29].messages = ["", "IT'S THE MAIN POWER CONDUIT THAT CHANNELS POWER TO THE REST OF THE SHIP. IT SEEMS TO BE OFF-LINE. IT HAS A SAFETY SWITCH THAT SHUTS DOWN THE POWER GOING THROUGH IT TO PREVENT THE USER FROM GETTING ELECTROCUTED. THE MAIN PANEL GOT LOOSE AND IT ACTIVATED THE SAFETY.", "I WON'T BE ABLE TO TIGHTEN THE SCREWS WITH THAT.", "", "THERE, I HAVE TIGHTENED THE SCREWS... WAIT, THAT SHOULD HAVE TURNED OFF THE SAFETY, AND THE CONDUIT SHOULD BE HUMMING WITH POWER.", "", "", "", ""];
gamedata[30].itemname = "POWER CONDUIT PANEL";
gamedata[30].hint = "MAYBE A GOOD SMACK ON THE TOP OF THAT PANEL IN ENGINEERING WILL HELP.";
gamedata[30].neededinhand = 5;
gamedata[30].onstage = false;
gamedata[30].numberofstates = 2;
gamedata[30].stateneeded = 2;
gamedata[30].lockstate = true;
gamedata[30].dialog = ["4POWER LEVELS RETURNING TO NORMAL", "4WARNING, MAIN REACTOR OFF-LINE. SWITCHING TO AUXILIARY POWER.", ""];
gamedata[30].messages = ["IT'S HUMMING PEACEFULLY NOW.", "I HAVE SCREWED BACK THE PANEL, BUT THE SAFETY SWITCH IS STILL ON, AND THE CONDUIT IS STILL MAKING CRACKLING NOISES, LIKE A BADLY TUNED TV SET.", "IT'S POSSIBLE THAT ONLY BRUTE FORCE WILL HELP HERE...", "", "", "", "", "", "IT AIN'T BROKE ANYMORE, SO I WON'T FIX IT."];
gamedata[31].itemname = "BACK TO ENGINE ROOM";
gamedata[31].exit = true;
gamedata[31].inventory_happened = true;
gamedata[32].itemname = "FANCY SCREENS";
gamedata[32].inventory_happened = true;
gamedata[32].messages = ["", "", "", "", "", "", "", "", "I SHOULD GO CLOSER"];
gamedata[33].itemname = "TURN ON COMPUTER";
gamedata[33].hint = "POWER'S BACK. TIME TO BOOT UP THE MAINFRAME FROM THE COCKPIT.";
gamedata[33].req = [30];
gamedata[33].dialog = ["4INITIATING BOOTSTRAP OF MAINFRAME. STARTING DIAGNOSTIC SEQUENCE.", "3FINALLY. NICE JOB, POWELL. COMPUTER, DETERMINE CAUSE OF COURSE DEVIATION.", "4COURSE COMPROMISED DUE TO AN EXTREME GRAVITATIONAL ANOMALY.", "3SPECIFY SOURCE OF ANOMALY.", "4SHOCKWAVE PROGRESSION ANALYSIS PLACES SOURCE OF ANOMALY ON THE SECOND PLANET OF THE BETA CYGNI SYSTEM", "3SPECIFY OUR CURRENT LOCATION.", "4BETA CYGNI TWO.", "2LOOKS LIKE SOMETHING PULLED US DOWN HERE.", "3RIGHT.", "2BUT WHAT?", "3WE'LL HAVE TO WORRY ABOUT THAT LATER. COMPUTER, DAMAGE REPORT.", "4MAIN REACTOR OFF-LINE. ENGINE ONE AND THREE OFF-LINE. HIBERNATION CHAMBERS ONE AND TWO OFF-LINE. HIBERNATION CHAMBER THREE NON-FUNCTIONAL.", "4HULL BREACHES DETECTED IN COCKPIT, MEDICAL ROOM AND CARGO BAY. CARBON-DIOXIDE CONCENTRATION IN SHIP EXCEEDING TOXIC LEVELS.", "2WOW, THAT'S ALL?", "3EH, IT'S NOT AS BAD AS IT SOUNDS...", "2YES IT IS!", "3NO, LISTEN... WE MIGHT HAVE A CHANCE TO GET OUT OF HERE AFTER ALL. WE STILL HAVE ONE ENGINE INTACT, AND THE THRUSTERS SEEM TO BE WORKING TOO.", "3BUT YOU NEED TO SEE WHAT'S WRONG WITH THE HIBERNATION SYSTEM AND SEAL THOSE BREACHES. OH, AND CHECK THE CO2 FILTER IN THE MED-ROOM.", "3IT HURTS LIKE HELL WHEN I TRY TO MOVE, SO I'LL JUST STAY HERE. BUT I'LL TRY TO SCAN THE PLANET SURFACE TO SEE IF ANYONE LIVES HERE. MAYBE THEY COULD HELP US.", "3I'LL TRY TO REROUTE SOME POWER TO THE REACTOR, BUT I DOUBT THERE'S ENOUGH ENERGY TO JUMPSTART IT. BECAUSE WITHOUT THE REACTOR WE'RE NOT GOING ANYWHERE.", "3I'LL LET YOU KNOW WHEN I HAVE SOMETHING. NOVAK OUT.", ""];
gamedata[33].messages = ["", "", "", "", "", "THAT WON'T DO ANY GOOD.", "", "THE TOUCH PANEL HAS NO POWER.", ""];
gamedata[34].itemname = "VENTILATION CONTROL";
gamedata[34].hint = "TURN OFF THE VENTILATOR IN THE MEDICAL ROOM SO YOU CAN REACH IN FOR THE CO2 FILTER.";
gamedata[34].numberofstates = 2;
gamedata[34].stateneeded = 2;
gamedata[34].onstage = false;
gamedata[34].messages = ["THE VENTILATOR IS RUNNING AGAIN.", "", "", "", "", "THAT'S JUST SILLY.", "IT TURNED OFF THE VENTILATOR IN THE MEDICAL ROOM.", "", "NO, NO, NO..."];
gamedata[35].itemname = "CO2 LEVELS INDICATOR";
gamedata[35].hh = false;
gamedata[35].numberofstates = 2;
gamedata[35].stateneeded = 2;
gamedata[35].onstage = false;
gamedata[35].messages = ["THE READOUT SAYS THAT THE CARBON-DIOXIDE LEVELS IN THE SHIP ARE RETURNING TO NORMAL. THAT'S COMFORTING. I HOPE I CAN GET OUT OF THIS SUIT FOR A WHILE AFTER WE TAKE OFF. IT'S STARTING TO GET ITCHY.", "", "", "", "", "I COULD BREAK IT.", "THE READOUT SAYS THAT THE CARBON-DIOXIDE LEVELS IN THE SHIP ARE TOO HIGH.", "", "NOPE."];
gamedata[36].itemname = "deprecated";
gamedata[36].inventory_happened = true;
gamedata[37].itemname = "deprecated";
gamedata[37].inventory_happened = true;
gamedata[38].itemname = "BACK TO COCKPIT";
gamedata[38].exit = true;
gamedata[38].inventory_happened = true;
gamedata[39].itemname = "LADDER TO MEDICAL ROOM";
gamedata[39].numberofstates = 2;
gamedata[39].stateneeded = 2;
gamedata[39].lockstate = true;
gamedata[39].req = [30];
gamedata[39].exit = true;
gamedata[39].messages = ["", "", "", "", "", "THAT WON'T LIGHT UP THE PLACE.", "", "IT'S TOO DARK UP THERE. I WOULDN'T SEE A THING.", "I DON'T WANT TO THROW THAT INTO THE OTHER ROOM."];
gamedata[40].itemname = "LADDER TO CARGO BAY";
gamedata[40].numberofstates = 2;
gamedata[40].stateneeded = 2;
gamedata[40].lockstate = true;
gamedata[40].req = [30];
gamedata[40].exit = true;
gamedata[40].messages = ["", "", "", "", "", "THAT WON'T LIGHT UP THE PLACE.", "", "IT'S TOO DARK THERE. I WOULDN'T SEE A THING.", "I DON'T WANT TO THROW THAT INTO THE OTHER ROOM."];
gamedata[41].itemname = "FIRST AID BOX";
gamedata[41].hint = "GO TO THE MEDICAL ROOM AND SEE IF YOU CAN PICK UP ANYTHING USEFUL.";
gamedata[41].numberofstates = 2;
gamedata[41].stateneeded = 2;
gamedata[41].lockstate = true;
gamedata[41].messages = ["", "", "", "", "", "I SHOULD GET A LITTLE CLOSER FIRST.", "", "", "I SHOULD GET A LITTLE CLOSER FIRST."];
gamedata[42].itemname = "PANEL";
gamedata[42].hint = "OPEN UP THE LEFT PANEL IN THE MEDICAL ROOM SOMEHOW.";
gamedata[42].numberofstates = 2;
gamedata[42].stateneeded = 2;
gamedata[42].lockstate = true;
gamedata[42].messages = ["", "", "", "", "", "I SHOULD GET A LITTLE CLOSER FIRST.", "", "", "I SHOULD GET A LITTLE CLOSER FIRST."];
gamedata[43].itemname = "VENTILATOR";
gamedata[43].numberofstates = 2;
gamedata[43].stateneeded = 2;
gamedata[43].messages = ["", "", "", "", "", "I SHOULD MOVE IN CLOSER.", "", "", "I SHOULD MOVE IN CLOSER."];
gamedata[44].itemname = "GLASS CONTAINER";
gamedata[44].inventory_happened = true;
gamedata[45].itemname = "DESK";
gamedata[45].inventory_happened = true;
gamedata[45].messages = ["", "", "", "", "", "", "", "", "I SHOULD MOVE IN CLOSER."];
gamedata[46].itemname = "TO CORRIDOR";
gamedata[46].exit = true;
gamedata[46].inventory_happened = true;
gamedata[47].itemname = "EXAMINING TABLE";
gamedata[47].inventory_happened = true;
gamedata[47].messages = ["IT'S SUPPOSED TO BE AN EXAMINING TABLE, BUT JOHANSEN USED IT AS AN EXTENSION OF THE DESK WHEN HE RAN OUT OF SPACE WHILE WORKING ON ONE OF HIS EXPERIMENTS. IT'S SURPRISINGLY TIDY NOW.", "", "", "", "", "", "", "", "I'D BETTER LEAVE IT CLEAN AS A TRIBUTE TO JOHANSEN."];
gamedata[48].itemname = "GLASS CONTAINER";
gamedata[48].hint = "PICK UP THAT GLASS CONTAINER IN THE MEDICAL ROOM.";
gamedata[48].itemdescription = "IT'S A GLASS CONTAINER FOR STORING BIOLOGICAL SAMPLES, CHEMICALS AND WHATNOT.";
gamedata[48].pickupable = true;
gamedata[48].messages = ["THAT DOESN'T NEED ANY SCOOPING UP.", "", "", "", "", "I SHOULD PICK IT UP FIRST.", "", "", ""];
gamedata[49].itemname = "deprecated";
gamedata[49].inventory_happened = true;
gamedata[50].itemname = "KEYBOARD";
gamedata[50].inventory_happened = true;
gamedata[50].messages = ["JOHANSEN'S ANSWER TO NOVAK'S HIGH TECH-GEEKINESS. WITH ALL THE SHINY NEW TOUCH PANELS AND ADVANCED A.I., OUR LATE ENGINEER STILL LIKED TO WORK THE OLD FASHIONED WAY.", "", "", "", "", "", "", "", "I MUST ADMIT, IT'S EASIER TO USE THE INTERFACE OF THE TOUCH PANELS, SO I'LL DO JUST THAT."];
gamedata[51].itemname = "ERROR MESSAGE ON DISPLAY";
gamedata[51].onstage = false;
gamedata[51].inventory_happened = true;
gamedata[51].messages = ["IT'S A STATUS REPORT ON THE HIBERNATION CHAMBERS. IT SAYS THERE'S A MALFUNCTION IN ONE OF THEM. IF WE CAN'T FIX THE HIBERNATION SYSTEM, THERE'S NO POINT IN TAKING OFF. THAT ONE-YEAR ROUTE TO THE NEAREST STARBASE SURE WOULD BE BORING.", "", "", "", "", "", "", "", "NOPE."];
gamedata[52].itemname = "VENTILATOR";
gamedata[52].numberofstates = 2;
gamedata[52].stateneeded = 2;
gamedata[52].req = [34];
gamedata[52].messages = ["THE VENTILATOR HAS STOPPED. I CAN REACH IN NOW, AND CHECK THE CO2 FILTER.", "", "", "", "", "I DON'T WANT TO PUT THAT INTO THE BLADES.", "", "IT'S CIRCULATING THE AIR AND WORKING THE CO2 FILTER AT THE SAME TIME. I'LL HAVE TO SHUT IT OFF FROM THE COCKPIT TO GET A LOOK AT THE FILTER BEHIND IT.", "NO, NO..."];
gamedata[53].itemname = "BACK TO MEDICAL ROOM";
gamedata[53].hh = false;
gamedata[53].exit = true;
gamedata[54].itemname = "USED CARBON FILTER";
gamedata[54].hint = "PICK UP THE USED CARBON FILTER FROM BEHIND THE VENTILATOR IN THE MEDICAL ROOM.";
gamedata[54].itemdescription = "IT USED TO FILTER THE CARBON ATOMS FROM THE AIR OF THE SHIP. IT'S NOW USELESS AS A FILTER, AND IT'S FILLED WITH CARBON.";
gamedata[54].pickupable = true;
gamedata[54].onstage = false;
gamedata[54].combinewith = 118;
gamedata[54].resultitem = 121;
gamedata[54].messages = ["THAT DOESN'T REQUIRE CARBON.", "", "", "", "", "I SHOULD PICK IT UP FIRST.", "", "", ""];
gamedata[55].itemname = "";
gamedata[55].inventory_happened = true;
gamedata[56].itemname = "HIBERNATION CONTROL";
gamedata[56].hint = "OPEN JOHANSEN'S HIBERNATION CHAMBER.";
gamedata[56].stateneeded = 2;
gamedata[56].numberofstates = 2;
gamedata[56].lockstate = true;
gamedata[56].dialog = ["4OPENING HIBERNATION CHAMBER THREE.", ""];
gamedata[56].onstage = false;
gamedata[56].messages = ["I HAVE OPENED THE HIBERNATION CHAMBER OF JOHANSEN. I SHOULD GO AND CHECK HIM OUT.", "", "", "", "", "I SHOULD USE MY HANDS TO OPERATE THE TOUCH-SCREENS.", "", "", "I SHOULD USE MY HANDS TO OPERATE THE TOUCH-SCREENS."];
gamedata[57].itemname = "VENTILATOR";
gamedata[57].hh = false;
gamedata[57].onstage = false;
gamedata[58].itemname = "FIRST AID BOX";
gamedata[58].stateneeded = 2;
gamedata[58].numberofstates = 2;
gamedata[58].lockstate = true;
gamedata[58].messages = ["THIS IS WHERE I FOUND THE SYRINGE.", "", "", "", "", "I THINK I CAN EASILY OPEN IT BY HAND.", "THERE'S A SYRINGE INSIDE.", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[59].itemname = "SYRINGE";
gamedata[59].hint = "LOOK AROUND IN THE FIRST AID CABINET.";
gamedata[59].itemdescription = "IT'S A MEDICAL SYRINGE.";
gamedata[59].pickupable = true;
gamedata[59].onstage = false;
gamedata[59].messages = ["THAT'S NO USE.", "", "", "", "", "I SHOULD PICK IT UP FIRST.", "", "", ""];
gamedata[60].itemname = "BACK TO MEDICAL ROOM";
gamedata[60].exit = true;
gamedata[60].inventory_happened = true;
gamedata[61].itemname = "SERVICE PANEL";
gamedata[61].numberofstates = 2;
gamedata[61].stateneeded = 2;
gamedata[61].lockstate = true;
gamedata[61].neededinhand = 14;
gamedata[61].messages = ["THE PANEL IS ALREADY OPEN.", "IT'S AN ACCESS PANEL FOR THE LIFE SUPPORT SYSTEM AND THE POWER GRID.", "THIS NEEDS A SCREWDRIVER.", "", "THAT WAS PRETTY EASY...", "", "", "", "THAT WON'T GET MY ANY FURTHER."];
gamedata[62].itemname = "STEEL PIPE";
gamedata[62].hint = "TRY TO REMOVE THAT STEEL PIPE IN THE MEDICAL ROOM.";
gamedata[62].itemdescription = "IT'S A 20-INCH LONG STEEL PIPE FROM THE O2 CIRCULATION SYSTEM.";
gamedata[62].pickupable = true;
gamedata[62].neededinhand = 5;
gamedata[62].onstage = false;
gamedata[62].combinewith = 159;
gamedata[62].resultitem = 176;
gamedata[62].messages = ["THAT MAKES NO SENSE.", "THIS STEEL PIPE IS PART OF THE O2 CIRCULATION SYSTEM. I WOULDN'T DO ANY DAMAGE IF I REMOVED IT.", "I THINK I SHOULD USE THE WRENCH HERE.", "", "", "", "", "", ""];
gamedata[63].itemname = "INSULATION";
gamedata[63].hint = "I THINK THERE'S MORE TO BE DONE BEHIND THAT ACCESS PANEL IN THE MEDICAL ROOM.";
gamedata[63].itemdescription = "IT'S A THIN INSULATION FOIL. IT'S A BIT SORT OF RUBBERY...";
gamedata[63].pickupable = true;
gamedata[63].onstage = false;
gamedata[63].combinewith = 100;
gamedata[63].resultitem = 101;
gamedata[63].messages = ["THAT DOESN'T NEED WRAPPING INTO INSULATION FOIL.", "", "", "", "", "IT'S A THIN INSULATION FOIL. I CAN JUST RIP IT OUT, IF I WANT TO.", "", "", ""];
gamedata[64].itemname = "CARGO CONTAINER";
gamedata[64].hint = "SEARCH THE CARGO CONTAINERS IN THE CARGO BAY.";
gamedata[64].messages = ["ONE FIRECRACKER WILL BE ENOUGH, I THINK.", "", "", "", "", "I DON'T WANT TO PUT THAT IN THERE.", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[65].itemname = "PANEL folia";
gamedata[65].hh = false;
gamedata[65].onstage = false;
gamedata[66].itemname = "PANEL cso";
gamedata[66].hh = false;
gamedata[66].onstage = false;
gamedata[67].itemname = "FIRECRACKER";
gamedata[67].itemdescription = "IT'S A FIRECRACKER THAT CAN BE LIT ON ALMOST ANY SURFACE. I THINK IT GOES OFF IN ABOUT FIVE SECONDS. DON'T ASK ME WHY WE ARE TRANSPORTING THESE.";
gamedata[67].pickupable = true;
gamedata[67].messages = ["I DON'T WANT TO LIGHT THAT ON FIRE.", "", "", "", "", "", "", "", ""];
gamedata[68].itemname = "SMALL RED CONTAINER";
gamedata[68].hh = false;
gamedata[68].numberofstates = 2;
gamedata[68].stateneeded = 2;
gamedata[68].lockstate = true;
gamedata[68].messages = ["IT'S EMPTY. AND IT STILL STINKS.", "", "", "", "", "I DON'T WANT TO PUT THAT IN THERE.", "", "", "I DON'T WANT TO PUT THAT IN THERE."];
gamedata[69].itemname = "INDUSTRIAL NANOGLUE";
gamedata[69].hint = "GET SOME OF THAT NANOGLUE IN THE CARGO BAY.";
gamedata[69].neededinhand = 59;
gamedata[69].numberofstates = 2;
gamedata[69].stateneeded = 2;
gamedata[69].lockstate = true;
gamedata[69].messages = ["", "IT'S A UNIVERSAL ADHESIVE THAT USES NANOTECHNOLOGY. THIS BABY FILLS UP HOLES AND CRACKS LIKE NOTHING ELSE. THE NANOBOTS INSIDE DISTRIBUTE THE MATERIAL SO IT'S ABSOLUTELY AIRTIGHT AFTER IT HAS CURED. I'LL NEED SOMETHING TO CARRY IT AROUND IN.", "I CAN'T FILL THAT WITH NANOGLUE.", "", "", "", "", "", ""];
gamedata[70].itemname = "UP TO CORRIDOR";
gamedata[70].hh = false;
gamedata[70].exit = true;
gamedata[71].itemname = "LADDER";
gamedata[71].inventory_happened = true;
gamedata[71].messages = ["NO USE CLIMBING IT. THE UPPER WALKWAY IS BLOCKED AS WELL.", "", "", "", "", "", "", "", "I WOULDN'T DO THAT TO A LADDER."];
gamedata[72].itemname = "A SYRINGEFUL OF NANOGLUE";
gamedata[72].itemdescription = "I CAN USE THIS TO PATCH UP SOMETHING SMALL, BUT I'LL HAVE TO COME BACK LATER WITH SOMETHING BIGGER, IF I WANT TO GO FOR LARGER HOLES.";
gamedata[72].pickupable = true;
gamedata[72].messages = ["THAT DOESN'T NEED GLUING.", "", "", "", "", "", "", "", ""];
gamedata[73].itemname = "CAPTAIN NOVAK";
gamedata[73].hint = "I THINK IT'S TIME YOU GOT THAT STEEL ROD OUT OF MY SIDE.";
gamedata[73].neededinhand = 72;
gamedata[73].numberofstates = 2;
gamedata[73].stateneeded = 2;
gamedata[73].lockstate = true;
gamedata[73].messages = ["I MANAGED TO GET THE ROD OUT, AND SEAL THE SUIT, BUT I DON'T THINK HE'LL BE ABLE TO MOVE ANY TIME SOON. HIS SUIT'S MEDHACK NEEDS TO TAKE CARE OF HIS WOUNDS AGAIN. I'LL JUST LEAVE HIM HERE TO REST FOR NOW. OH YEAH, AND I BROKE THE SYRINGE IN THE PROCESS... SORRY ABOUT THAT...", "I DON'T WANT TO PULL THE ROD OUT BEFORE I FIND SOMETHING TO SEAL THE SUIT WITH.", "THAT'S NOT GONNA SEAL THE SUIT.", "", "", "", "", "", "THAT WON'T DO ANY GOOD."];
gamedata[74].itemname = "STEEL ROD";
gamedata[74].itemdescription = "IT'S THE STEEL ROD THAT SHOT THROUGH NOVAK WHEN THE SHIP WENT DOWN.";
gamedata[74].pickupable = true;
gamedata[74].combinewith = 173;
gamedata[74].resultitem = 183;
gamedata[74].messages = ["THAT DOESN'T NEED LEVERAGE.", "", "", "", "", "", "", "", ""];
gamedata[75].itemname = "CONTAINERS BLOCKING THE WAY";
gamedata[75].hint = "TRY AND GET THOSE CONTAINERS OUT OF THE WAY IN THE CARGO BAY.";
gamedata[75].numberofstates = 2;
gamedata[75].stateneeded = 2;
gamedata[75].lockstate = true;
gamedata[75].neededinhand = 74;
gamedata[75].messages = ["", "THE CONTAINERS ARE BLOCKING THE WAY TO THE BACK OF THE CARGO BAY. THEY MUST HAVE FALLEN DOWN DURING THE CRASH. I CAN'T MOVE THEM BY HAND.", "I'LL NEED SOMETHING WITH GOOD LEVERAGE TO MOVE THESE CONTAINERS.", "", "I MOVED THE CONTAINERS OUT OF THE WAY WITH THE STEEL ROD.", "", "", "", ""];
gamedata[76].itemname = "A CAN OF BEER";
gamedata[76].hint = "LOOK AROUND IN THE BACK OF THE CARGO BAY.";
gamedata[76].itemdescription = "IT'S A CAN OF BEER, PROBABLY LEFT HERE BY THE LOADING CREW ON STARBASE WENDIGO. IT'S FROM A COUNTRY WITH LOTS OF UMLAUTS.";
gamedata[76].pickupable = true;
gamedata[76].messages = ["I WON'T SPILL BEER ON THAT.", "", "", "", "", "I SHOULD PICK IT UP FIRST.", "", "", ""];
gamedata[77].itemname = "CARGO CONTAINER";
gamedata[77].hint = "SEARCH ALL CONTAINERS FOR USEFUL STUFF.";
gamedata[77].numberofstates = 2;
gamedata[77].stateneeded = 2;
gamedata[77].lockstate = true;
gamedata[77].messages = ["IT'S EMPTY.", "", "", "", "", "I DON'T WANT TO PUT THAT THERE.", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[78].itemname = "MILITARY GAS MASK";
gamedata[78].itemdescription = "IT'S A GAS MASK. ANOTHER EXAMPLE OF NOVAK'S MILITARY FETISH. IT HAS A BUILT-IN FILTER, OF COURSE.";
gamedata[78].pickupable = true;
gamedata[78].combinewith = 86;
gamedata[78].resultitem = 100;
gamedata[78].messages = ["I DON'T WANT TO PUT THE MASK ON THAT.", "", "", "", "", "", "", "", ""];
gamedata[79].itemname = "LOADING AREA";
gamedata[79].numberofstates = 2;
gamedata[79].stateneeded = 2;
gamedata[79].lockstate = true;
gamedata[79].inventory_happened = true;
gamedata[79].onstage = false;
gamedata[79].messages = ["", "", "", "", "", "", "", "", "I SHOULD JUST GO THROUGH."];
gamedata[80].itemname = "BACK TO CARGO BAY";
gamedata[80].exit = true;
gamedata[80].inventory_happened = true;
gamedata[81].itemname = "HIBERNATION CHAMBER";
gamedata[81].numberofstates = 2;
gamedata[81].stateneeded = 2;
gamedata[81].lockstate = true;
gamedata[81].req = [56];
gamedata[81].messages = ["", "", "", "", "", "THAT WON'T OPEN IT.", "", "IT'S THE ENGINEER'S HIBERNATION CHAMBER. LOOKS LIKE POOR JOHANSEN DIDN'T MAKE IT. I SHOULD HAVE A SECOND LOOK AT HIM AFTER I MANAGED TO OPEN THE CHAMBER FROM THE MEDICAL ROOM.", "THE CHAMBER IS ALREADY OPEN."];
gamedata[82].itemname = "DRAIN";
gamedata[82].hint = "FILL THAT DRAIN IN JOHANSEN'S HIBERNATION CHAMBER WITH SOME LIQUID.";
gamedata[82].neededinhand = 76;
gamedata[82].numberofstates = 2;
gamedata[82].stateneeded = 2;
gamedata[82].messages = ["", "I CAN SEE SOMETHING INSIDE THE DRAIN, BUT I CAN'T REACH IT WITH MY FINGERS, BECAUSE IT'S TOO DEEP DOWN.", "I CAN'T REACH IT.", "", "I HAVE POURED THE BEER DOWN THE DRAIN. IT HAS FILLED IT UP, AND NOW THERE'S SOMETHING FLOATING IN IT.", "", "", "", ""];
gamedata[83].itemname = "DRAIN";
gamedata[83].hint = "SEE IF THE DRAIN REVEALED ANYTHING.";
gamedata[83].numberofstates = 2;
gamedata[83].stateneeded = 2;
gamedata[83].lockstate = true;
gamedata[83].onstage = false;
gamedata[83].messages = ["THERE'S NOTHING MORE THERE.", "", "", "", "", "I SHOULD JUST TAKE A LOOK AT IT.", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[84].itemname = "APPLICATOR HEAD";
gamedata[84].itemdescription = "IT'S THE APPLICATOR HEAD FOR THE PX-11. JOHANSEN MUST HAVE HAD IT WITH HIM, WHEN WE WENT INTO HIBERNATION.";
gamedata[84].pickupable = true;
gamedata[84].combinewith = 91;
gamedata[84].resultitem = 92;
gamedata[84].messages = ["THE APPLICATOR HEAD GOES INTO THE GLUEGUN.", "", "", "", "", "", "", "", ""];
gamedata[85].itemname = "HIBERNATION FLUID TUBE";
gamedata[85].hint = "TRY TO DISASSEMBLE THE TUBING AT JOHANSEN'S CHAMBER.";
gamedata[85].numberofstates = 2;
gamedata[85].stateneeded = 2;
gamedata[85].neededinhand = 5;
gamedata[85].messages = ["", "IT'S THE TUBE THAT SUPPLIES THE CHAMBER WITH THE FLUID AND ELECTRICITY. MAYBE I SHOULD CHECK CLOSER.", "I CAN'T REMOVE THE TUBE WITH THAT.", "", "I HAVE UNSCREWED THE TUBE. THERE'S AN ADAPTER PIECE UNDERNEATH IT.", "", "", "", ""];
gamedata[86].itemname = "ADAPTER TUBE";
gamedata[86].hint = "PICK UP ANYTHING YOU CAN AT JOHANSEN'S CHAMBER.";
gamedata[86].itemdescription = "IT WAS USED TO BUNDLE THE ELECTRIC WIRES TOGETHER AND SEPARATE THEM FROM THE FLUID. IT'S SOFT TO THE TOUCH, AND IT CAN BE USED AS A FITTING BETWEEN TWO CYLINDERS OF DIFFERENT SIZES.";
gamedata[86].pickupable = true;
gamedata[86].combinewith = 78;
gamedata[86].resultitem = 100;
gamedata[86].messages = ["THAT DOESN'T NEED FITTING TOGETHER.", "", "", "", "", "I CAN JUST PICK THAT UP, I THINK.", "", "", ""];
gamedata[87].itemname = "ELECTRIC WIRES";
gamedata[87].hint = "PICK UP ANYTHING YOU CAN AT JOHANSEN'S CHAMBER.";
gamedata[87].itemdescription = "IT'S A BUNCH OF ELECTRIC WIRES I HAVE TORN OUT FROM JOHANSEN'S HIBERNATION CHAMBER.";
gamedata[87].pickupable = true;
gamedata[87].messages = ["THAT DOESN'T NEED ANY ELECTRIC PATCHING.", "", "", "", "", "I THINK THERE'S NO CURRENT RUNNING THROUGH THEM NOW. I CAN SAFELY TOUCH THEM.", "", "", ""];
gamedata[88].itemname = "BACK TO CORRIDOR";
gamedata[88].exit = true;
gamedata[88].inventory_happened = true;
gamedata[88].hh = false;
gamedata[89].itemname = "SPILLED HIBERNATION FLUID";
gamedata[89].hint = "TAKE SOME OF THE SPILLED HIBERNATION FLUID FROM JOHANSEN'S CHAMBER TO THE ANALYZER IN THE MED-ROOM.";
gamedata[89].neededinhand = 48;
gamedata[89].numberofstates = 2;
gamedata[89].stateneeded = 2;
gamedata[89].lockstate = true;
gamedata[89].messages = ["I ALREADY HAVE SOME OF THE FLUID.", "I SHOULD TAKE A SAMPLE OF THAT AND TRY TO FIGURE OUT WHAT'S WRONG WITH THE HIBERNATION SYSTEM.", "I CAN'T CARRY A SAMPLE IN THAT.", "", "", "", "", "", "I WOULDN'T DO THAT."];
gamedata[90].itemname = "HIBERNATION FLUID SAMPLE";
gamedata[90].itemdescription = "IT'S A SAMPLE FROM THE HIBERNATION FLUID I FOUND SPILLED NEXT TO JOHANSEN'S CHAMBER. I ONLY TOOK A LITTLE.";
gamedata[90].pickupable = true;
gamedata[90].messages = ["I DON'T WANT TO WASTE THE SAMPLE ON THAT.", "", "", "", "", "", "", "", ""];
gamedata[91].itemname = "HALF-ASSEMBLED GLUEGUN";
gamedata[91].hint = "ASSEMBLE THE GLUEGUN.";
gamedata[91].itemdescription = "THE PIRX PX-11 IS NOW ONLY MISSING ITS APPLICATOR HEAD.";
gamedata[91].pickupable = true;
gamedata[91].combinewith = 84;
gamedata[91].resultitem = 92;
gamedata[91].messages = ["THAT WON'T FIX THE GLUEGUN.", "", "", "", "", "", "", "", ""];
gamedata[92].itemname = "ASSEMBLED GLUEGUN";
gamedata[92].hint = "ASSEMBLE THE GLUEGUN.";
gamedata[92].itemdescription = "IT'S THE PX-11, READY TO GO. I JUST NEED TO FILL IT UP WITH GLUE.";
gamedata[92].pickupable = true;
gamedata[92].messages = ["I CAN'T FILL THE GLUEGUN UP WITH THAT.", "", "", "", "", "", "", "", ""];
gamedata[93].itemname = "INDUSTRIAL NANOGLUE";
gamedata[93].hint = "FILL UP THE GLUEGUN.";
gamedata[93].neededinhand = 92;
gamedata[93].numberofstates = 2;
gamedata[93].stateneeded = 2;
gamedata[93].lockstate = true;
gamedata[93].onstage = false;
gamedata[93].messages = ["I ALREADY TOOK ALL THE GLUE I NEED.", "IT'S A UNIVERSAL ADHESIVE THAT USES NANOTECHNOLOGY. THIS BABY FILLS UP HOLES AND CRACKS LIKE NOTHING ELSE. THE NANOBOTS INSIDE DISTRIBUTE THE MATERIAL SO IT'S ABSOLUTELY AIR-TIGHT AFTER IT HAS CURED. I'LL NEED SOMETHING TO CARRY IT AROUND IN.", "I CAN'T FILL THAT WITH NANOGLUE.", "", "", "", "", "", "I ALREADY TOOK ALL THE GLUE I NEED."];
gamedata[94].itemname = "ARMED GLUEGUN";
gamedata[94].itemdescription = "THE PIRX PX-11 IS NOW LOADED WITH NANOGLUE, AND READY FOR HEAVY COMBAT.";
gamedata[94].pickupable = true;
gamedata[94].messages = ["THAT DOESN'T NEED GLUING.", "", "", "", "", "", "", "", ""];
gamedata[95].itemname = "EXAMINE HULL";
gamedata[95].hint = "CHECK OUT THE HULL BREACHES. THEY ARE IN THE COCKPIT, THE CARGO BAY AND IN THE MEDICAL ROOM.";
gamedata[95].onstage = false;
gamedata[95].messages = ["", "", "", "", "", "MAYBE I SHOULD CHECK CLOSER.", "THERE'S A SMALL FRACTURE UNDERNEATH THE CONSOLE.", "", ""];
gamedata[96].itemname = "HULL BREACH";
gamedata[96].hint = "SEAL THE HULL BREACH IN THE COCKPIT.";
gamedata[96].numberofstates = 2;
gamedata[96].stateneeded = 2;
gamedata[96].lockstate = true;
gamedata[96].neededinhand = 94;
gamedata[96].onstage = false;
gamedata[96].messages = ["THE BREACH IS SEALED.", "IT'S A SMALL FRACTURE IN THE SHIP'S HULL. I NEED TO SEAL IT WITH SOMETHING.", "I THINK I SHOULD USE SOME SORT OF AN ADHESIVE. AND LOTS OF IT.", "", "THE GLUE HAS SEALED THE BREACH ALMOST INSTANTLY.", "", "", "", "THE BREACH IS ALREADY SEALED."];
gamedata[97].itemname = "EXAMINE HULL";
gamedata[97].hint = "CHECK OUT THE HULL BREACHES. THEY ARE IN THE CARGO BAY AND IN THE MEDICAL ROOM.";
gamedata[97].onstage = false;
gamedata[97].messages = ["", "", "", "", "", "I THINK I SHOULD JUST TAKE A LOOK AT IT.", "THERE'S A SMALL CRACK BEHIND THAT BULKHEAD.", "", ""];
gamedata[98].itemname = "HULL BREACH";
gamedata[98].hint = "SEAL THE HULL BREACH IN THE CARGO BAY.";
gamedata[98].numberofstates = 2;
gamedata[98].stateneeded = 2;
gamedata[98].lockstate = true;
gamedata[98].neededinhand = 94;
gamedata[98].onstage = false;
gamedata[98].messages = ["THE BREACH IS SEALED.", "IT'S A SMALL BREACH ON THE SHIP'S HULL. I'LL HAVE TO SEAL IT UP SOMEHOW.", "THAT WON'T SEAL THE HULL BREACH.", "", "THE NANOGLUE HAS PERFECTLY SEALED THE BREACH.", "", "", "", "THE BREACH IS ALREADY SEALED."];
gamedata[99].itemname = "HULL BREACH";
gamedata[99].hint = "SEAL THE HULL BREACH IN THE MEDICAL ROOM.";
gamedata[99].onstage = false;
gamedata[99].neededinhand = 94;
gamedata[99].numberofstates = 2;
gamedata[99].stateneeded = 2;
gamedata[99].lockstate = true;
gamedata[99].messages = ["THE BREACH HAS BEEN SEALED.", "JUST WHAT I WAS AFRAID OF. THE HULL HAS A CRACK IN IT. I\u2019LL HAVE TO PATCH THIS UP SOMEHOW, BEFORE WE CAN TAKE OFF.", "I WILL NEED SOME SORT OF PUTTY OR ADHESIVE TO FIX THIS.", "", "THE BREACH HAS BEEN SEALED.", "", "", "", "THE BREACH HAS BEEN ALREADY SEALED."];
gamedata[100].itemname = "GAS MASK WITH TUBE";
gamedata[100].hint = "I THINK YOU HAVE THE MATERIALS TO RIG A REPLACEMENT CO2 FILTER.";
gamedata[100].itemdescription = "I HAVE ATTACHED THE FITTING TUBE TO THE GAS MASK. I'LL BE ABLE TO APPLY IT TO ANY CYLINDER, ONCE I INSULATE IT WITH SOMETHING.";
gamedata[100].pickupable = true;
gamedata[100].combinewith = 63;
gamedata[100].resultitem = 101;
gamedata[100].messages = ["THAT DOESN'T INSULATE THE MASK.", "", "", "", "", "", "", "", ""];
gamedata[101].itemname = "MAKESHIFT FILTER";
gamedata[101].hint = "I THINK YOU'RE ON TO SOMETHING WITH THAT FILTER. YOU NEED TO INSULATE IT, THOUGH.";
gamedata[101].itemdescription = "I HAVE WRAPPED THE GAS MASK INTO THE RUBBERY FOIL. NOW IT IS AIRTIGHT, AND CAN BE USED TO FILTER GASES.";
gamedata[101].pickupable = true;
gamedata[101].messages = ["THAT DOESN'T NEED FILTERING.", "", "", "", "", "", "", "", ""];
gamedata[102].itemname = "VENTILATOR";
gamedata[102].hh = false;
gamedata[102].onstage = false;
gamedata[102].neededinhand = 101;
gamedata[102].numberofstates = 2;
gamedata[102].stateneeded = 2;
gamedata[102].messages = ["", "I HAVE TAKEN OUT THE OLD FILTER. I'LL HAVE TO FIND A REPLACEMENT SOMEHOW, BUT I'M ALMOST SURE, I WON'T FIND A SPARE PART ON THE SHIP. I MIGHT HAVE TO RIG SOMETHING TOGETHER FROM WHAT I DO FIND.", "THAT WON'T DO AS A REPLACEMENT FILTER.", "", "THE GAS MASK WILL SERVE AS A TEMPORARY CO2 FILTER. I'LL JUST HAVE TO TURN THE VENTILATION BACK ON AGAIN.", "", "", "", ""];
gamedata[103].itemname = "VENTILATOR";
gamedata[103].hh = false;
gamedata[103].onstage = false;
gamedata[103].numberofstates = 2;
gamedata[103].stateneeded = 2;
gamedata[103].messages = ["THE VENTILATOR IS NOW RUNNING AGAIN, AND FILTERING THE AIR.", "", "", "", "", "", "I JUST INSTALLED THE NEW FILTER, AND I'M EAGER TO TEST IT.", "", "I'M GLAD I GOT IT WORKING AGAIN, AND I SHOULDN'T MESS WITH IT ANYMORE."];
gamedata[104].itemname = "VENTILATOR";
gamedata[104].hh = false;
gamedata[104].onstage = false;
gamedata[104].numberofstates = 2;
gamedata[104].stateneeded = 2;
gamedata[104].messages = ["", "", "", "", "", "", "", "", "I SHOULD MOVE IN CLOSER."];
gamedata[105].itemname = "VENTILATION CONTROL";
gamedata[105].hint = "I THINK IT'S SAFE TO TURN THE VENTILATION BACK AGAIN.";
gamedata[105].numberofstates = 2;
gamedata[105].stateneeded = 2;
gamedata[105].onstage = false;
gamedata[105].lockstate = true;
gamedata[105].req = [102];
gamedata[105].messages = ["I SHOULD LEAVE IT RUNNING.", "", "", "", "", "I SHOULD USE MY HANDS TO OPERATE THE TOUCH PANELS.", "THE READOUT SAYS THAT THE CO2 LEVELS ARE STARTING TO NORMALIZE THROUGHOUT THE SHIP.", "I CAN'T TURN ON THE VENTILATOR, BECAUSE I'VE TAKEN OUT THE CO2 FILTER. I'LL NEED TO FIND A REPLACEMENT, THEN I CAN TURN IT BACK ON.", "IT'S RUNNING NOW. I SHOULDN'T MESS WITH IT."];
gamedata[106].itemname = "ANALYZER";
gamedata[106].hint = "LET'S SEE WHAT THE COMPUTER SAYS ABOUT THAT FLUID SAMPLE YOU COLLECTED.";
gamedata[106].neededinhand = 90;
gamedata[106].numberofstates = 2;
gamedata[106].stateneeded = 2;
gamedata[106].lockstate = true;
gamedata[106].dialog = ["4ANALYZING SAMPLE. PLEASE STAND BY.", "4NO LIVING CELLS FOUND IN SAMPLE.", "2DID YOU GET THAT NOVAK?", "3YEAH. IT LOOKS LIKE THE NUTRITIONAL FLUID IS SHOT TO HELL. IT MUST HAVE BEEN THE EXTREME GRAVITATIONAL FORCES. WE'LL HAVE TO REPLACE THE FLUID SOMEHOW.", "2HAVE YOU SEEN ALL THE SAND OUT THERE? I DOUBT THERE'S ANYTHING LIVING ON THIS ROCK. I DID SEE SOME GREEN SPOTS THOUGH AS WE WERE SPIRALING DOWN TO WHAT I THOUGHT WOULD BE OUR FIERY DEATHS.", "3THAT DOESN'T REALLY HELP US, YOU KNOW. I HAVE HOWEVER BEEN ABLE TO SCAN THE SURFACE AND I HAVE FOUND ANOTHER VESSEL THAT HAS CRASHED. IT'S NOT TOO FAR.", "2WERE THEY CAUGHT IN THE SAME CRAP WE WERE?", "3HOW AM I SUPPOSED TO KNOW? I DON'T EVEN KNOW WHEN THEY CRASHED. I DETECTED NO LIFE-SIGNS, SO IT MUST HAVE BEEN A WHILE AGO.", "3ANYHOW... YOU'LL HAVE TO VISIT THAT OTHER SHIP.", "2AH, CRAP.", "3INDEED. AND THE ICING ON THE CAKE IS THAT I'VE BEEN UNABLE TO JUMPSTART THE REACTOR. THERE'S JUST NOT ENOUGH JUICE, PLUS THE COMPUTER SAYS THAT THE PLASMA INJECTOR IS FRIED IN ENGINE TWO.", "2DAMN... IT LOOKED LIKE IT WAS O.K.", "3THE GOOD NEWS IS THAT THE OTHER SHIP IS EMITTING A STANDARD MILITARY DISTRESS CALL. SO IT'S PROBABLY A MILITARY SHIP, WHICH MEANS COMPATIBLE PARTS FOR US.", "2I NEVER THOUGHT THAT ONE DAY I'D ACTUALLY APPRECIATE YOUR 'ENTHUSIASM' FOR ALL THINGS MILITARY.", "3I TOLD YA, DIDN'T I...?", "3ANYWAYS, SEE IF YOU CAN FIND SOME REPLACEMENT FOR THE HIBERNATION FLUID AND A SPARE INJECTOR FOR THE ENGINE. AND WE'LL NEED SOME EXTRA POWER, SO TAKE THAT EMPTY FUEL CELL FROM ENGINEERING WITH YOU, IF YOU HAVEN'T ALREADY.", "2IS THAT ALL?", "3AND GET ME A CHEESEBURGER WHILE YOU'RE AT IT.", "2OKAY, POWELL OUT.", "3LARGE FRIES...", "2POWELL OUT.", "3DIET COLA...", "2KNOCK IT OFF, YOU LOUSY WOUNDED-ON-PURPOSE-SO-HE-DOESN'T-HAVE-TO-DO-A-THING SON OF A DRILL SERGEANT...", "3I HEARD THAT...", "2I KNOW. NOW LET ME GET TO WORK.", ""];
gamedata[106].messages = ["I'VE DONE MY SHARE OF ANALYZING FOR TODAY. I SHOULD GET TO THAT OTHER SHIP.", "I SHOULD PRESENT IT WITH SOMETHING TO ANALYZE.", "THAT DOESN'T NEED ANALYZING.", "", "", "", "", "", "I ALREADY KNOW EVERYTHING I NEED TO NOW."];
gamedata[107].itemname = "CONTROL PANEL";
gamedata[107].hint = "ONCE YOU'VE FIXED THE CONTROL PANEL IN THE CARGO BAY, YOU'RE READY TO GO.";
gamedata[107].neededinhand = 87;
gamedata[107].messages = ["", "THE CONTROL PANEL THAT OPENS THE REAR LOADING DOOR IS ACTING UP. THE CIRCUIT MUST HAVE BEEN OVERLOADED WHEN I BOOTED UP THE COMPUTER. MAYBE I CAN OVERRIDE IT.", "I CAN'T USE THAT TO OVERRIDE THE CIRCUIT.", "", "I HAVE OVERRIDDEN THE CONTROLS WITH THE ELECTRIC WIRES AND THE CONTROL PANEL IS NOW WORKING.", "", "", "", ""];
gamedata[108].itemname = "CONTROL PANEL";
gamedata[108].hint = "GET TO THAT OTHER SHIP AND SEE WHAT YOU CAN FIND.";
gamedata[108].onstage = false;
gamedata[108].req = [21, 67, 96, 98, 99, 105, 106];
gamedata[108].numberofstates = 2;
gamedata[108].stateneeded = 2;
gamedata[108].lockstate = true;
gamedata[108].messages = ["I HAVE ALREADY OPENED THE DOOR.", "", "", "", "OPEN, SAYS ME...", "I DON'T NEED THAT TO OPERATE THE CONTROLS.", "", "I STILL HAVE A COUPLE THINGS TO DO HERE, BEFORE I VENTURE OUT INTO THE DESERT.", "THE DOOR IS ALREADY OPEN."];
gamedata[109].itemname = "EXIT SHIP";
gamedata[109].req = [108];
gamedata[109].exit = true;
gamedata[109].numberofstates = 2;
gamedata[109].stateneeded = 2;
gamedata[109].lockstate = true;
gamedata[109].messages = ["", "", "I CAN'T FORCE IT OPEN WITH THAT.", "", "", "I SHOULD USE THE CONTROL PANEL TO OPEN THE DOOR.", "", "IT'S A HALF TON STEEL DOOR. THE ONLY WAY TO OPEN IT IS TO USE THE CONTROL PANEL.", ""];
gamedata[109].dialog = ["3THIS IS NOVAK. I SEE YOU'RE ABOUT TO GO OUT INTO THE DESERT. NOW LISTEN... TRY TO TAKE CARE OF YOURSELF. YOU'RE MY ONLY CHANCE OF GETTING OFF THIS PLANET ALIVE.", "2I APPRECIATE YOUR HONESTY. NOW DO YOU HAVE ANYTHING TO SAY, OR DID YOU JUST CALL TO PISS ME OFF?", "3JUST A RECAP OF WHAT WE NEED. A FULL ENERGY CELL AND A SPARE INJECTOR FOR THE REACTOR, PLUS SOME SORT OF REPLACEMENT FOR THE NUTRITIONAL FLUID OF THE HIBERNATION SYSTEM.", "2I KNEW ALL THAT. YOU REALLY DO LIKE TO PLAY CAPTAIN, DON'T YOU?", "3I DON'T HAVE TO PLAY IT, I AM THE CAPTAIN.", "3OKAY, I UPLOADED THE COORDINATES OF THAT OTHER SHIP TO YOUR SUIT, PLUS THE DATA FROM SOME TERRAIN SCANS THAT THE COMPUTER TOOK BEFORE WE CRASHED.", "2OKAY, THANKS. I'LL GET BACK TO YOU WHEN I HAVE SOMETHING. POWELL OUT.", ""];
gamedata[110].itemname = "GO TO DESERT";
gamedata[110].exit = true;
gamedata[110].inventory_happened = true;
gamedata[111].itemname = "RED HERRING";
gamedata[111].hh = false;
gamedata[111].itemdescription = "IT'S A FROZEN RED HERRING. I BET AS IT STARTS TO MELT, THE SMELL WILL DISTRACT ME MORE AND MORE...";
gamedata[111].pickupable = true;
gamedata[111].messages = ["I DON'T WANT TO STINK THAT UP.", "", "", "", "", "", "", "", ""];
gamedata[112].itemname = "dialog when finding gorge";
gamedata[112].hint = "USE YOUR SATMAP TO FIND THAT OTHER SHIP.";
gamedata[112].numberofstates = 2;
gamedata[112].stateneeded = 2;
gamedata[112].lockstate = true;
gamedata[112].dialog = ["2POWELL TO NOVAK.", "3YES, WHAT IS IT?", "2ARE THESE COORDINATES RIGHT? I DON'T SEE ANY SHIPWRECK HERE.", "3NO, YOU'RE STILL SEVERAL KLICKS OFF.", "2KLICKS... MY ASS! WHERE AM I THEN?", "3HANG ON, I'LL CHECK THE TERRAIN DATA... UHUM... IT LOOKS LIKE THERE'S A DEEP GORGE SEVERAL MILES LONG RUNNING THROUGH THE DESERT. YOU'LL HAVE TO GET ACROSS IT TO REACH THAT SHIP.", "2CAN'T I GO AROUND?", "3NAH, THAT WOULD TAKE DAYS. TRY TO FIND A PART THAT'S NOT TOO DEEP. OR BUILD A BRIDGE FOR ALL I CARE. JUST GET ACROSS.", "2PFF... EASY FOR YOU TO SAY...", "3JUST TAKE A LOOK AT IT, MAYBE YOU'LL FIGURE OUT SOMETHING.", "2WILL DO. POWELL OUT.", ""];
gamedata[113].itemname = "OUR SHIP";
gamedata[113].hh = false;
gamedata[114].itemname = "GORGE";
gamedata[114].onstage = false;
gamedata[114].hh = false;
gamedata[115].itemname = "CRATER";
gamedata[115].onstage = false;
gamedata[115].hh = false;
gamedata[116].itemname = "CAMP";
gamedata[116].onstage = false;
gamedata[116].hh = false;
gamedata[117].itemname = "EXAMINE SAND";
gamedata[117].hint = "LOOK AROUND FOR USEFUL MATERIALS AT THAT GORGE.";
gamedata[117].messages = ["", "", "", "", "", "LET'S NOT BURY THINGS IN THE SAND, OKAY?", "IT LOOKS LIKE THE SAND CONTAINS HIGH CONCENTRATIONS OF SALTPETER.", "", ""];
gamedata[118].itemname = "SALTPETER";
gamedata[118].hint = "PICK UP ANYTHING YOU FIND AT THAT GORGE.";
gamedata[118].itemdescription = "SALTPETER OR POTASSIUM-NITRATE.";
gamedata[118].pickupable = true;
gamedata[118].onstage = false;
gamedata[118].combinewith = 54;
gamedata[118].resultitem = 121;
gamedata[118].messages = ["MIXING THIS WITH OTHER THINGS IS A GOOD IDEA. BUT LET'S TRY IT ON SOMETHING ELSE.", "", "", "", "", "IF I'M GONNA MIX THAT WITH SOMETHING, I'LL NEED TO PICK IT UP FIRST.", "", "", ""];
gamedata[119].itemname = "CARGO CONTAINER";
gamedata[119].hint = "SEARCH EVERYTHING AT THE GORGE.";
gamedata[119].numberofstates = 2;
gamedata[119].stateneeded = 2;
gamedata[119].lockstate = true;
gamedata[119].messages = ["I ALREADY TOOK ALL THE INSECTICIDE I NEED.", "", "", "", "", "I DON'T WANT TO PUT THAT THERE.", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[120].itemname = "INSECTICIDE";
gamedata[120].itemdescription = "IT'S A HIGH-STRENGTH SPRAY-ON INSECTICIDE USED BY THE MILITARY. IT SAYS IT CONTAINS SULFUR.";
gamedata[120].pickupable = true;
gamedata[120].onstage = false;
gamedata[120].combinewith = 121;
gamedata[120].resultitem = 122;
gamedata[120].messages = ["I DON'T WANT TO MIX IT WITH THAT.", "", "", "", "", "", "", "", ""];
gamedata[121].itemname = "CARBON AND SALTPETER";
gamedata[121].hint = "I KNOW IT SOUNDS CRAZY, BUT CAN'T YOU USE THAT PILLAR AT THE GORGE AS A BRIDGE? ALL YOU NEED TO DO IS MOVE THE LOOSE STONES AT THE BOTTOM OF IT.";
gamedata[121].itemdescription = "I HAVE POURED THE SALTPETER I FOUND INTO THE USED CO2 FILTER. NOW IT CONTAINS 2 OUT OF 3 COMPONENTS FOR GUNPOWDER.";
gamedata[121].pickupable = true;
gamedata[121].combinewith = 120;
gamedata[121].resultitem = 122;
gamedata[121].messages = ["I WOULDN'T DO THAT.", "", "", "", "", "", "", "", ""];
gamedata[122].itemname = "BLACK GUNPOWDER";
gamedata[122].hint = "IF YOU KEEP MIXING THE CHEMICALS, YOU MIGHT JUST GET SOMETHING POWERFUL.";
gamedata[122].itemdescription = "IT'S BLACK GUNPOWDER IN THE USED CO2 FILTER. ALL IT NEEDS IS A MATCH. AND SOME DISTANCE FROM ME...";
gamedata[122].pickupable = true;
gamedata[122].onstage = false;
gamedata[122].messages = ["I DON'T WANT TO BLOW THAT UP.", "", "", "", "", "", "", "", ""];
gamedata[123].itemname = "HUGE STONE PILLAR";
gamedata[123].hint = "USE THE GUNPOWDER ON THE PILLAR.";
gamedata[123].neededinhand = 122;
gamedata[123].messages = ["", "IT'S A MASSIVE STONE PILLAR. IF MY EYES DON'T BETRAY ME, IT'S SLIGHTLY TALLER THAN THE DISTANCE BETWEEN THE TWO SIDES OF THE GORGE. SEVERAL STONES ARE LOOSE AT THE BOTTOM IF IT, ON THE SIDE FACING THE GORGE.", "IF I'M GONNA MOVE THIS THING, I'LL NEED MORE THAN SIMPLE TOOLS.", "", "I HAVE PLACED THE CO2 FILTER WITH THE GUNPOWDER IN IT AT THE BASE OF THE PILLAR, DEEP IN THE SAND, AND THEN I PACKED IT DOWN WITH SEVERAL LARGE BOULDERS.", "", "", "", ""];
gamedata[124].itemname = "STONE PILLAR WITH EXPLOSIVES";
gamedata[124].hint = "NOW YOU NEED TO DETONATE THE GUNPOWDER SOMEHOW.";
gamedata[124].neededinhand = 67;
gamedata[124].numberofstates = 2;
gamedata[124].stateneeded = 2;
gamedata[124].lockstate = true;
gamedata[124].onstage = false;
gamedata[124].messages = ["", "THE EXPLOSIVES ARE IN PLACE, I JUST HAVE TO DETONATE THEM SOMEHOW.", "THAT PRODUCES NO FLAME OR SPARKS.", "", "WOW, THAT WAS SOMETHING!", "", "", "", ""];
gamedata[125].itemname = "WALK OVER GORGE";
gamedata[125].req = [124];
gamedata[125].exit = true;
gamedata[125].messages = ["", "", "", "", "", "THAT WON'T HELP ME GET ACROSS THE GORGE.", "", "IT'S TOO WIDE, I CAN'T EVEN JUMP IT.", "I CAN SIMPLY WALK ACROSS IT NOW."];
gamedata[126].itemname = "WALK TO DESERT";
gamedata[126].exit = true;
gamedata[126].hh = false;
gamedata[127].itemname = "ENTER SHIPWRECK";
gamedata[127].hint = "NOW YOU CAN WALK TO THE OTHER SHIP.";
gamedata[127].exit = true;
gamedata[128].itemname = "WALK TO DESERT";
gamedata[128].exit = true;
gamedata[128].hh = false;
gamedata[129].itemname = "SKELETON";
gamedata[129].hint = "SEARCH EVERYTHING YOU CAN IN THAT OTHER SHIP.";
gamedata[129].numberofstates = 2;
gamedata[129].stateneeded = 2;
gamedata[129].lockstate = true;
gamedata[129].messages = ["THERE'S NOTHING MORE THERE.", "", "", "", "", "HE'S PRETTY MUCH DEAD. HE DOESN'T NEED IT.", "", "", "HE'S PRETTY MUCH DEAD. HE DOESN'T NEED IT."];
gamedata[130].itemname = "MENDEZ'S PASSCARD";
gamedata[130].itemdescription = "IT'S A MICROLOCK PASSCARD THAT USED TO BELONG TO ENSIGN SIMON MENDEZ.";
gamedata[130].messages = ["THE PASSCARD WON'T WORK ON THAT.", "", "", "", "", "", "", "", ""];
gamedata[130].pickupable = true;
gamedata[130].onstage = false;
gamedata[131].itemname = "ENERGY CABLE";
gamedata[131].hint = "PICK UP EVERYTHING YOU CAN IN THAT OTHER SHIP.";
gamedata[131].itemdescription = "A THIN BUT LONG AND STRONG ENERGY CABLE. I THINK IT COULD HOLD A DECENT AMOUNT OF WEIGHT.";
gamedata[131].pickupable = true;
gamedata[131].messages = ["I DON'T WANT TO TIE IT TO THAT.", "", "", "", "", "I THINK I CAN SIMPLY JUST TEAR THAT DOWN.", "", "", ""];
gamedata[132].itemname = "ENTER HIBERNATION ROOM";
gamedata[132].exit = true;
gamedata[132].hh = false;
gamedata[133].itemname = "LOCKER";
gamedata[133].hh = false;
gamedata[133].numberofstates = 2;
gamedata[133].stateneeded = 2;
gamedata[133].lockstate = true;
gamedata[133].messages = ["", "", "", "", "", "I SHOULD MOVE IN CLOSER.", "", "", ""];
gamedata[134].itemname = "LOCKER";
gamedata[134].hh = false;
gamedata[134].numberofstates = 2;
gamedata[134].stateneeded = 2;
gamedata[134].lockstate = true;
gamedata[135].itemname = "NAME TAG";
gamedata[135].inventory_happened = true;
gamedata[135].messages = ["IT SAYS 'S. MENDEZ.'", "", "", "", "", "", "", "", "I THINK I'LL JUST READ THAT."];
gamedata[136].itemname = "CARD SLOT";
gamedata[136].hint = "TRY OPENING THE LOCKERS IN THE UNS ARMSTRONG.";
gamedata[136].neededinhand = 130;
gamedata[136].messages = ["", "IT'S A SO-CALLED MICROLOCK. WORKS WITHOUT ELECTRICITY, ON A MOLECULAR LEVEL. VERY HARD TO HACK. I'LL NEED THE ORIGINAL PASSCARD TO GET IN THERE.", "I CAN'T OPEN THE LOCK WITH THAT.", "", "THERE'S A PARTICLE RIFLE INSIDE.", "", "", "", ""];
gamedata[137].itemname = "BACK TO HIBERNATION CHAMBER";
gamedata[137].exit = true;
gamedata[137].hh = false;
gamedata[138].itemname = "LOADED PARTICLE RIFLE";
gamedata[138].hh = false;
gamedata[138].itemdescription = "A CHK-9 PARTICLE RIFLE, COMMONLY REFERRED TO AS 'CHUCK'. IT'S ALMOST COMPLETELY DEPLETED, IT HAS ONE MORE SHOT LEFT. BETTER NOT WASTE IT.";
gamedata[138].pickupable = true;
gamedata[138].onstage = false;
gamedata[138].messages = ["I DON'T WANT TO SHOOT THAT.", "", "", "", "", "I'D BETTER PICK IT UP FIRST.", "", "", ""];
gamedata[139].itemname = "CLIMB DOWN LADDER";
gamedata[139].exit = true;
gamedata[139].hh = false;
gamedata[140].itemname = "CONTROL PANEL";
gamedata[140].hint = "SEE IF YOU CAN GO DEEPER INTO THE UNS ARMSTRONG.";
gamedata[140].numberofstates = 2;
gamedata[140].stateneeded = 2;
gamedata[140].lockstate = true;
gamedata[140].neededinhand = 138;
gamedata[140].messages = ["THAT SHOT HAS MELTED THE CONTROL PANEL AND THE CONTROL MECHANISM BEHIND IT.", "THE CONTROL PANEL HAS NO POWER.", "IT WILL TAKE MORE THAN THAT TO BREAK THE PANEL.", "", "", "", "", "", "I DON'T WANT TO DAMAGE THE CONTROL PANEL ANY FURTHER."];
gamedata[141].itemname = "DOOR";
gamedata[141].hh = false;
gamedata[141].exit = true;
gamedata[141].numberofstates = 2;
gamedata[141].stateneeded = 2;
gamedata[141].lockstate = true;
gamedata[141].req = [140];
gamedata[141].neededinhand = 74;
gamedata[141].messages = ["", "THE DOOR IS STUCK. I THINK IT'S THE HYDRAULICS AGAIN.", "I CAN'T USE THAT TO FORCE THE DOOR OPEN.", "THAT'S A GOOD IDEA, BUT FIRST I NEED TO RELEASE THE HYDRAULICS SOMEHOW.", "I MANAGED TO FORCE THE DOOR OPEN WITH THE ROD. WITHOUT THE HYDRAULICS HOLDING IT IN PLACE, IT WAS RELATIVELY EASY.", "", "", "", ""];
gamedata[142].itemname = "CLIMB LADDER";
gamedata[142].exit = true;
gamedata[142].hh = false;
gamedata[143].itemname = "PLASMA INJECTOR";
gamedata[143].hint = "LOOK AROUND THOROUGHLY IN THE ARMSTRONG'S ENGINE ROOM.";
gamedata[143].itemdescription = "IT'S A PLASMA INJECTOR. I HOPE IT'S THE SAME TYPE AS THE ONE THAT BROKE DOWN IN OUR SHIP. IT HAS A PLASMA BUFFER THAT STILL CONTAINS A LITTLE PLASMA.";
gamedata[143].pickupable = true;
gamedata[143].combinewith = 198;
gamedata[143].resultitem = 199;
gamedata[143].disappears = false;
gamedata[143].messages = ["THAT DOESN'T REQUIRE THE SPARE ENGINE PART, OR THE PLASMA IN IT.", "", "", "", "", "", "", "", ""];
gamedata[144].itemname = "EMPTY PARTICLE RIFLE";
gamedata[144].hh = false;
gamedata[144].itemdescription = "THE 'CHUCK' IS EMPTY. NO MORE SHOOTING.";
gamedata[144].pickupable = true;
gamedata[144].onstage = false;
gamedata[144].combinewith = 235;
gamedata[144].resultitem = 239;
gamedata[144].messages = ["I CAN'T RELOAD THE RIFLE WITH THAT.", "", "", "", "", "", "", "", ""];
gamedata[145].itemname = "ACCESS PANEL";
gamedata[145].hh = false;
gamedata[145].neededinhand = 14;
gamedata[145].messages = ["", "IT'S AN ACCESS PANEL TO THE ENGINE. ONE SCREW IS LOOSE.", "I CAN'T OPEN THE PANEL WITH THAT.", "", "I HAVE UNSCREWED THE SCREWS AND OPENED THE PANEL.", "", "", "", ""];
gamedata[146].itemname = "OPEN ACCESS PANEL";
gamedata[146].hh = false;
gamedata[146].numberofstates = 2;
gamedata[146].stateneeded = 2;
gamedata[146].lockstate = true;
gamedata[146].onstage = false;
gamedata[146].messages = ["I TOOK EVERYTHING I NEEDED.", "", "", "", "", "I CAN NOW EASILY LOOK INSIDE.", "", "", "I DON'T WANT TO PUT ANYTHING THERE."];
gamedata[147].itemname = "BACK TO ACCESS TUBE";
gamedata[147].hh = false;
gamedata[147].exit = true;
gamedata[147].messages = ["", "", "", "", "", "", "", "", ""];
gamedata[148].itemname = "LEFT ENGINE";
gamedata[148].hh = false;
gamedata[148].inventory_happened = true;
gamedata[148].messages = ["", "", "", "", "", "I SHOULD MOVE IN CLOSER.", "", "", ""];
gamedata[149].itemname = "CORPSE";
gamedata[149].hh = false;
gamedata[149].numberofstates = 2;
gamedata[149].stateneeded = 2;
gamedata[149].lockstate = true;
gamedata[149].messages = ["HE HAS NOTHING MORE ON HIM.", "", "", "", "", "HE'S DEAD. I DON'T WANT TO GIVE HIM THAT.", "", "", "HE'S DEAD. I DON'T WANT TO GIVE HIM THAT."];
gamedata[150].itemname = "HABIB'S LOG";
gamedata[150].hh = false;
gamedata[150].itemdescription = "IT'S A STANDARD MEMORY CARD THAT GOES INTO THE READER OF ANY MILITARY SUIT. HOLDS ALL KIND OF INFORMATION, LIKE MISSION DATA, VOICE RECORDINGS.";
gamedata[150].pickupable = true;
gamedata[151].itemname = "PORTABLE PYLON";
gamedata[151].hh = false;
gamedata[151].neededinhand = 131;
gamedata[151].numberofstates = 2;
gamedata[151].stateneeded = 2;
gamedata[151].lockstate = true;
gamedata[151].messages = ["THE CABLE IS TIED FIRMLY TO THE PYLON. I CAN NOW RAPPEL DOWN. BUT THE CABLE'S ONLY LONG ENOUGH TO GET ME DOWN TO THE LEDGE BELOW.", "LOOKS LIKE SOMEONE TRIED TO BUILD A BRIDGE HERE. IT'S UNCLEAR WHETHER THEY SUCCEEDED BEFORE IT WAS DESTROYED. THE PYLON'S A BIT LOOSE, BUT I THINK IT CAN HOLD MY WEIGHT IF I USE SOMETHING THIN TO DESCEND.", "THAT'S NOT GONNA HELP ME GET DOWN TO THE LEDGE.", "THIS ROPE IS TOO THICK. I DON'T WANT TO STRAIN THE PYLON, IT LOOKS LIKE IT COULD BREAK ANY SECOND. LET'S FIND SOMETHING THINNER.", "I HAVE TIED THE ENERGY CABLE TO THE FREE PYLON.", "", "", "", "I DON'T WANT TO USE THAT ON THE PYLON."];
gamedata[152].itemname = "TO COCKPIT";
gamedata[152].hh = false;
gamedata[152].exit = true;
gamedata[153].itemname = "EXIT SHIPWRECK";
gamedata[153].hh = false;
gamedata[153].exit = true;
gamedata[154].itemname = "gorge view stages";
gamedata[154].hh = false;
gamedata[154].numberofstates = 5;
gamedata[154].stateneeded = 5;
gamedata[155].itemname = "CONTAINER";
gamedata[155].hh = false;
gamedata[155].numberofstates = 2;
gamedata[155].stateneeded = 2;
gamedata[155].lockstate = true;
gamedata[155].messages = ["I HAVE ENOUGH WIRE.", "", "", "", "", "I DON'T WANT TO PUT THAT IN THERE.", "", "", ""];
gamedata[156].itemname = "CORPSE";
gamedata[156].hh = false;
gamedata[156].numberofstates = 2;
gamedata[156].stateneeded = 2;
gamedata[156].lockstate = true;
gamedata[156].messages = ["HE HAS NOTHING ELSE ON HIM.", "", "", "", "", "HE'S DEAD. HE DOESN'T NEED IT.", "", "", "HE DOESN'T NEED IT. HE'S DEAD."];
gamedata[157].itemname = "CLIMB UP";
gamedata[157].hh = false;
gamedata[157].exit = true;
gamedata[158].itemname = "COPPER WIRE";
gamedata[158].hh = false;
gamedata[158].itemdescription = "IT'S A BUNCH OF COPPER WIRE. I THINK THEY USE THIS TO DETONATE STUFF FROM A DISTANCE.";
gamedata[158].pickupable = true;
gamedata[158].combinewith = 175;
gamedata[158].resultitem = 229;
gamedata[158].messages = ["I DON'T WANT TO WIND THE WIRE AROUND THAT.", "", "", "", "", "", "", "", ""];
gamedata[159].itemname = "SHOVEL HEAD";
gamedata[159].hh = false;
gamedata[159].itemdescription = "IT'S A PORTABLE SHOVELHEAD. THE HANDLE IS MISSING.";
gamedata[159].pickupable = true;
gamedata[159].combinewith = 62;
gamedata[159].resultitem = 176;
gamedata[159].messages = ["THE SHOVEL HEAD IS ALMOST COMPLETELY USELESS WITHOUT A HANDLE.", "", "", "", "", "", "", "", ""];
gamedata[160].itemname = "PORTABLE PYLON";
gamedata[160].hh = false;
gamedata[160].numberofstates = 2;
gamedata[160].stateneeded = 2;
gamedata[160].lockstate = true;
gamedata[160].req = 151;
gamedata[160].messages = ["I MANAGED TO RIG IT WITH THE ENERGY CABLE.", "", "", "", "", "WHATEVER I DO, I'LL HAVE TO DO IT FROM THE OTHER SIDE.", "IT'S A PORTABLE PYLON FOR RIGGING BRIDGES. I THINK IT IS USED BY THE MILITARY.", "", "IF IT WOULD NEED MORE CABLE I'D HAVE TO DO IT FROM THE OTHER SIDE."];
gamedata[161].itemname = "LOOK DOWN GORGE";
gamedata[161].hh = false;
gamedata[161].exit = true;
gamedata[162].itemname = "LOOK UP";
gamedata[162].hh = false;
gamedata[162].exit = true;
gamedata[163].itemname = "CORPSE";
gamedata[163].hint = "LOOK AROUND THOROUGHLY AT THE CAMP.";
gamedata[163].numberofstates = 2;
gamedata[163].stateneeded = 2;
gamedata[163].lockstate = true;
gamedata[163].messages = ["HE HAS NOTHING ELSE ON HIM.", "", "", "", "", "HE DOESN'T NEED IT. HE'S DEAD.", "", "", "HE DOESN'T NEED IT. HE'S DEAD."];
gamedata[164].itemname = "COULTER'S PASSCARD";
gamedata[164].hh = false;
gamedata[164].pickupable = true;
gamedata[164].itemdescription = "IT'S A MICROLOCK PASSCARD THAT USED TO BELONG TO ENSIGN MICHEL COULTER.";
gamedata[164].messages = ["THE CARD WON'T OPEN THAT.", "", "", "", "", "", "", "", ""];
gamedata[165].itemname = "CORPSE";
gamedata[165].hh = false;
gamedata[165].numberofstates = 2;
gamedata[165].stateneeded = 2;
gamedata[165].lockstate = true;
gamedata[165].messages = ["HE HAS NOTHING ELSE ON HIM.", "", "", "", "", "HE HAS NO USE FOR THAT.", "", "", "HE HAS NO USE FOR THAT."];
gamedata[166].itemname = "ROSSO'S LOG";
gamedata[166].hh = false;
gamedata[166].pickupable = true;
gamedata[166].itemdescription = "IT'S A STANDARD MEMORY CARD THAT GOES INTO THE READER OF ANY MILITARY SUIT. HOLDS ALL KIND OF INFORMATION, LIKE MISSION DATA, VOICE RECORDINGS.";
gamedata[167].itemname = "LOOK INTO TENT";
gamedata[167].hh = false;
gamedata[168].itemname = "ROPE";
gamedata[168].hh = false;
gamedata[168].itemdescription = "IT'S A LONG PIECE OF ROPE.";
gamedata[168].pickupable = true;
gamedata[168].messages = ["I DON'T WANT TO TIE THE ROPE TO THAT.", "", "", "", "", "I SHOULD PICK IT UP FIRST.", "", "", ""];
gamedata[169].itemname = "LOCKERS";
gamedata[169].hh = false;
gamedata[169].messages = ["", "", "", "", "", "I SHOULD MOVE IN CLOSER.", "", "", ""];
gamedata[170].itemname = "CARD SLOT";
gamedata[170].hh = false;
gamedata[170].neededinhand = 164;
gamedata[170].messages = ["", "IT'S A SO-CALLED MICROLOCK. WORKS WITHOUT ELECTRICITY, ON A MOLECULAR LEVEL. VERY HARD TO HACK. I'LL NEED THE ORIGINAL PASSCARD TO GET IN THERE.", "I CAN'T OPEN THE LOCK WITH THAT.", "", "", "", "", "", ""];
gamedata[171].itemname = "locker";
gamedata[171].hh = false;
gamedata[171].numberofstates = 2;
gamedata[171].stateneeded = 2;
gamedata[171].lockstate = true;
gamedata[172].itemname = "SEARCH DARK LOCKER";
gamedata[172].hh = false;
gamedata[172].onstage = false;
gamedata[172].messages = ["IT'S EMPTY NOW.", "", "", "", "", "I DON'T WANT TO PUT ANYTHING THERE.", "", "", "I DON'T WANT TO PUT ANYTHING THERE."];
gamedata[173].itemname = "BUDDHA STATUETTE";
gamedata[173].hh = false;
gamedata[173].itemdescription = "IT'S A SMALL BRONZE BUDDHA STATUETTE. WOW, IT FITS EXACTLY IN MY PALM. I COULD KNOCK SOMEONE OUT WITH THIS.";
gamedata[173].onstage = false;
gamedata[173].pickupable = true;
gamedata[173].combinewith = 74;
gamedata[173].resultitem = 183;
gamedata[173].messages = ["I DON'T WANT TO PUT THE BUST ON THAT.", "", "", "", "", "", "", "", ""];
gamedata[174].itemname = "SEARCH DARK LOCKER";
gamedata[174].hh = false;
gamedata[174].numberofstates = 2;
gamedata[174].stateneeded = 2;
gamedata[174].lockstate = true;
gamedata[174].onstage = false;
gamedata[174].messages = ["IT'S EMPTY NOW.", "", "", "", "", "I DON'T WANT TO PUT ANYTHING THERE.", "", "", "I DON'T WANT TO PUT ANYTHING THERE."];
gamedata[175].itemname = "PICTURE FRAME";
gamedata[175].hint = "MAYBE YOU SHOULD TAKE ANOTHER LOOK AT THE LOCKERS ON THE ARMSTRONG.";
gamedata[175].itemdescription = "A PICTURE FRAME. ITS OWNER MUST HAVE LEFT IN A HURRY AND ONLY TOOK THE PHOTOGRAPH WITH HIM. IT'S MADE OUT OF METAL, AND IT HAS RUST ALL OVER IT.";
gamedata[175].onstage = false;
gamedata[175].pickupable = true;
gamedata[175].combinewith = 158;
gamedata[175].resultitem = 229;
gamedata[175].messages = ["I DON'T WANT TO FRAME THAT.", "", "", "", "", "", "", "", ""];
gamedata[176].itemname = "SHOVEL";
gamedata[176].itemdescription = "IT'S A SHOVEL. CAN YOU DIG IT?";
gamedata[176].hh = false;
gamedata[176].pickupable = true;
gamedata[176].messages = ["I DON'T WANT TO DIG THAT.", "", "", "", "", "", "", "", ""];
gamedata[177].itemname = "LOOK BEHIND BOULDER";
gamedata[177].hh = false;
gamedata[177].messages = ["", "", "", "", "", "I SHOULD JUST GO THERE.", "", "", ""];
gamedata[178].itemname = "GRAVE";
gamedata[178].hint = "I KNOW, IT SOUNDS KIND OF CREEPY, BUT YOU MIGHT SOMETHING USEFUL IN THAT GRAVE.";
gamedata[178].numberofstates = 2;
gamedata[178].stateneeded = 2;
gamedata[178].lockstate = true;
gamedata[178].neededinhand = 176;
gamedata[178].messages = ["", "IT'S A GRAVE. THE RIFLE ON THE HEADSTONE IS USELESS. IT MIGHT BE A GOOD IDEA TO DIG IT UP, BUT WITH MY BARE HANDS IT COULD TAKE HOURS...", "THAT DOESN'T HELP ME WITH THE DIGGING.", "", "I HAVE DUG UP THE GRAVE. THERE IS A CORPSE INSIDE. I WONDER WHY THEY BURIED THIS GUY, BUT LEFT THE OTHERS IN THE OPEN. HM... HE MUST HAVE DIED EARLIER THAN THE OTHERS.", "", "", "", ""];
gamedata[179].itemname = "CORPSE";
gamedata[179].hh = false;
gamedata[179].onstage = false;
gamedata[179].messages = ["", "", "", "", "", "HE HAS NO USE FOR THAT.", "", "", ""];
gamedata[180].itemname = "TASER";
gamedata[180].hh = false;
gamedata[180].itemdescription = "THIS TASER SHOOTS TWO ELECTRODES AT THE VICTIM, THEN ELECTROCUTES THEM. THIS ONE IS AN OLDER TYPE, IT USES TWO WIRES TO TRANSFER HIGH VOLTAGE.";
gamedata[180].pickupable = true;
gamedata[180].combinewith = 194;
gamedata[180].resultitem = 205;
gamedata[180].messages = ["I DON'T WANT TO SHOCK THAT.", "", "", "", "", "", "", "", ""];
gamedata[181].itemname = "CORPSE";
gamedata[181].hh = false;
gamedata[181].numberofstates = 2;
gamedata[181].stateneeded = 2;
gamedata[181].lockstate = true;
gamedata[181].onstage = false;
gamedata[181].messages = ["HE HAS NOTHING ELSE ON HIM.", "", "", "", "", "HE HAS NO USE FOR THAT.", "", "", "HE HAS NO USE FOR THAT."];
gamedata[182].itemname = "BROKEN PDA";
gamedata[182].hh = false;
gamedata[182].pickupable = true;
gamedata[182].combinewith = 185;
gamedata[182].resultitem = 187;
gamedata[182].itemdescription = "THIS PDA IS BROKEN, AND THE MEMORY CARD IS DESTROYED. I MIGHT BE ABLE TO USE IT FOR SPARE PARTS THOUGH.";
gamedata[182].messages = ["THAT DOESN'T NEED SPARE ELECTRONIC PARTS.", "", "", "", "", "", "", "", ""];
gamedata[183].itemname = "CROWBAR";
gamedata[183].hh = false;
gamedata[183].pickupable = true;
gamedata[183].itemdescription = "I HAVE MADE A CROWBAR OUT OF THE STEEL POLE I GOT OUT OF NOVAK.";
gamedata[184].itemname = "CARGO CONTAINER";
gamedata[184].hint = "TRY OPENING THAT SMASHED CONTAINER AT THE ABANDONED CAMP.";
gamedata[184].numberofstates = 2;
gamedata[184].stateneeded = 2;
gamedata[184].lockstate = true;
gamedata[184].neededinhand = 183;
gamedata[184].messages = ["EVERYTHING ELSE IS SMASHED IN IT.", "ITS LID IS ALL BENT UP AND CROOKED. LOOKS LIKE IT TOOK A SHOT, OR WAS DROPPED FROM HIGH UP. I CAN'T OPEN IT BY HAND.", "I CAN'T USE THAT TO PRY THE LID OPEN.", "", "", "", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[185].itemname = "BROKEN RADIO";
gamedata[185].hh = false;
gamedata[185].itemdescription = "IT'S A BROKEN WALKIE-TALKIE. WHEN I TURN IT ON, IT MAKES CRACKLING SOUNDS.";
gamedata[185].pickupable = true;
gamedata[185].combinewith = 182;
gamedata[185].resultitem = 187;
gamedata[185].messages = ["I CAN'T REPAIR THE RADIO WITH THAT.", "", "", "", "", "", "", "", ""];
gamedata[186].itemname = "TENT POLE";
gamedata[186].hh = false;
gamedata[186].itemdescription = "IT'S A PIECE OF THE TENT FRAME. IT'S THIN, AND IT'S MADE OUT OF LIGHTWEIGHT ALUMINUM.";
gamedata[186].pickupable = true;
gamedata[186].combinewith = 187;
gamedata[186].resultitem = 188;
gamedata[186].messages = ["I DON'T WANT TO ATTACH THE POLE TO THAT.", "", "", "", "", "I SHOULD PICK THAT UP.", "", "", ""];
gamedata[187].itemname = "SHORT-RANGE SCANNER";
gamedata[187].hh = false;
gamedata[187].itemdescription = "I HAVE CANNIBALIZED SOME PARTS FROM THE PDA AND THE RADIO, AND MADE A HANDHELD SCANNER. BUT ITS RANGE IS ONLY A FEW FEET.";
gamedata[187].pickupable = true;
gamedata[187].combinewith = 186;
gamedata[187].resultitem = 188;
gamedata[187].messages = ["THAT WON'T ENHANCE THE RANGE OF THE SCANNER.", "", "", "", "", "", "", "", ""];
gamedata[188].itemname = "LONG-RANGE SCANNER";
gamedata[188].hh = false;
gamedata[188].itemdescription = "I CAN PICK UP BEACON SIGNALS WITHIN A FEW MILES WITH THIS.";
gamedata[188].pickupable = true;
gamedata[188].messages = ["I DON'T WANT TO LOCATE THAT, I ALREADY KNOW WHERE IT IS.", "", "", "", "", "", "", "", ""];
gamedata[189].itemname = "UNKNOWN DESERT";
gamedata[189].hint = "TRY TO RIG UP A SCANNER THAT WILL PICK UP THE DISTRESS BEACON OF THE ARMSTRONG'S CAPTAIN.";
gamedata[189].numberofstates = 2;
gamedata[189].stateneeded = 2;
gamedata[189].lockstate = true;
gamedata[189].neededinhand = 188;
gamedata[189].messages = ["I DON'T WANT TO WANDER AROUND AIMLESSLY IN THE DESERT.", "I DON'T WANT TO WANDER AROUND AIMLESSLY IN THE DESERT.", "I WON'T FIND ANYTHING WITH THAT.", "THE SCANNER PICKS UP NO SIGNALS. I THINK ITS RANGE IS LIMITED. MAYBE I CAN UPGRADE IT SOMEHOW.", "I HAVE LOCATED A DISTRESS BEACON AT THAT SMALL CRATER.", "", "", "", "THERE ARE NO MORE SIGNALS TO PICK UP, NOT EVEN WITH THAT."];
gamedata[190].itemname = "WRECKAGE";
gamedata[190].hh = false;
gamedata[190].messages = ["", "", "", "", "", "I SHOULD MOVE IN CLOSER.", "", "", ""];
gamedata[191].itemname = "CORPSE";
gamedata[191].hh = false;
gamedata[191].messages = ["THIS IS THE EXACT PLACE THE DISTRESS BEACON IS SENDING ITS SIGNALS FROM. BESIDES THAT, HE HAS NOTHING ELSE ON HIM.", "", "", "", "", "HE DOESN'T NEED IT. HE'S DEAD.", "", "", "HE DOESN'T NEED IT. HE'S DEAD."];
gamedata[192].itemname = "DERTL'S PASSCARD";
gamedata[192].hh = false;
gamedata[192].pickupable = true;
gamedata[192].itemdescription = "IT'S A MICROLOCK PASSCARD THAT USED TO BELONG TO LIEUTENANT VINCENT DERTL.";
gamedata[192].messages = ["THE PASSCARD WON'T WORK ON THAT.", "", "", "", "", "", "", "", ""];
gamedata[193].itemname = "WRECKAGE";
gamedata[193].hh = false;
gamedata[193].messages = ["THERE'S NOTHING ELSE I CAN USE HERE. THESE PARTS CAME FROM A METAL STRUCTURE OR DEVICE. THEY HAVE HARDLY ANY DAMAGE ON THEM.", "", "", "", "", "I DON'T WANT TO PUT THAT THERE.", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[194].itemname = "BREACHING CHARGE";
gamedata[194].hh = false;
gamedata[194].itemdescription = "I THINK THIS IS USED BY THE MILITARY TO DETONATE DOORS INWARDS.";
gamedata[194].pickupable = true;
gamedata[194].combinewith = 180;
gamedata[194].resultitem = 205;
gamedata[194].messages = ["I DON'T WANT TO IMPLODE THAT.", "", "", "", "", "", "", "", ""];
gamedata[195].itemname = "locker";
gamedata[195].hh = false;
gamedata[195].numberofstates = 2;
gamedata[195].stateneeded = 2;
gamedata[195].lockstate = true;
gamedata[196].itemname = "SEARCH LOCKER";
gamedata[196].hh = false;
gamedata[196].numberofstates = 2;
gamedata[196].stateneeded = 2;
gamedata[196].lockstate = true;
gamedata[196].onstage = false;
gamedata[196].messages = ["THERE'S NOTHING ELSE THERE.", "", "", "", "", "I DON'T WANT TO PUT THAT THERE.", "", "", ""];
gamedata[197].itemname = "CARD SLOT";
gamedata[197].hh = false;
gamedata[197].neededinhand = 192;
gamedata[197].messages = ["", "IT'S A SO-CALLED MICROLOCK. WORKS WITHOUT ELECTRICITY, ON A MOLECULAR LEVEL. VERY HARD TO HACK. I'LL NEED THE ORIGINAL PASSCARD TO GET IN THERE.", "I CAN'T OPEN THE LOCK WITH THAT.", "", "", "", "", "", ""];
gamedata[198].itemname = "EMPTY PLASMA FLARE";
gamedata[198].hh = false;
gamedata[198].hint = "MAYBE YOU SHOULD TAKE ANOTHER LOOK AT THE LOCKERS ON THE ARMSTRONG.";
gamedata[198].pickupable = true;
gamedata[198].itemdescription = "IT'S A PLASMA FLARE. WHEN ACTIVATED, IT EMITS A RED GLOW. BUT ITS TINY LITTLE PLASMA TANK IS EMPTY. PROBABLY THAT'S WHY IT WAS LEFT BEHIND.";
gamedata[198].combinewith = 143;
gamedata[198].resultitem = 199;
gamedata[198].messages = ["I CAN'T FILL UP THE FLARE'S PLASMA TANK WITH THAT.", "", "", "", "", "", "", "", ""];
gamedata[199].itemname = "CHARGED PLASMA FLARE";
gamedata[199].hh = false;
gamedata[199].itemdescription = "THE PLASMA FLARE IS NOW LOADED WITH PLASMA, READY TO GO.";
gamedata[199].pickupable = true;
gamedata[199].messages = ["I DON'T WANT TO LIGHT UP THAT.", "", "", "", "", "", "", "", ""];
gamedata[200].itemname = "locker right";
gamedata[200].hh = false;
gamedata[200].numberofstates = 2;
gamedata[200].stateneeded = 2;
gamedata[200].lockstate = true;
gamedata[201].itemname = "BOULDER";
gamedata[201].hh = false;
gamedata[201].neededinhand = 168;
gamedata[201].numberofstates = 2;
gamedata[201].stateneeded = 2;
gamedata[201].lockstate = true;
gamedata[201].messages = ["THE ROPE IS TIED TIGHTLY TO THE BOULDER. I HOPE IT'S LONG ENOUGH TO RAPPEL DOWN TO THE BOTTOM.", "IT'S A LARGE BOULDER. I CAN ALMOST GO AROUND IT TO THE BACK OF THE WALL.", "I DON'T WANT TO PUT THAT ON THE BOULDER.", "", "I HAVE TIED THE ROPE AROUND THE BOULDER.", "", "", "", ""];
gamedata[202].itemname = "BOTTOM OF GORGE";
gamedata[202].hint = "YOU SHOULD TRY EXPLORING THE GORGE EVEN DEEPER.";
gamedata[202].neededinhand = 199;
gamedata[202].req = [201];
gamedata[202].exit = true;
gamedata[202].messages = ["", "I DON'T WANT TO GO DOWN THERE UNTIL I HAVE SOME SAFE WAY TO DESCEND AND I CAN SEE SOMETHING. IT SEEMS PRETTY DEEP.", "I DON'T WANT TO THROW THAT DOWN THERE.", "YES, THAT WOULD HELP ME SEE DOWN THERE, BUT I STILL HAVE NO WAY TO DESCEND SAFELY.", "I ACTIVATED THE PLASMA FLARE AND THREW IT DOWN OVER THE EDGE. I HOPE THERE'S ENOUGH LIGHT DOWN THERE NOW.", "", "", "", ""];
gamedata[203].itemname = "CORPSE";
gamedata[203].hh = false;
gamedata[203].numberofstates = 2;
gamedata[203].stateneeded = 2;
gamedata[203].lockstate = true;
gamedata[203].messages = ["HE HAD NOTHING ELSE ON HIM.", "", "", "", "", "HE DOESN'T NEED IT. HE'S DEAD.", "", "", "HE DOESN'T NEED IT. HE'S DEAD."];
gamedata[204].itemname = "WRIST-WATCH";
gamedata[204].hh = false;
gamedata[204].itemdescription = "IT HAS A COUNTDOWN-FEATURE. WHEN IT TIMES OUT, A GREEN LIGHT COMES ON.";
gamedata[204].pickupable = true;
gamedata[204].combinewith = 205;
gamedata[204].resultitem = 206;
gamedata[204].messages = ["THAT DOESN'T NEED TIMING.", "", "", "", "", "", "", "", ""];
gamedata[205].itemname = "CHARGE WITH DETONATOR";
gamedata[205].hh = false;
gamedata[205].itemdescription = "I ATTACHED THE TASER TO SERVE AS A DETONATOR. BUT THE CHORD IS TOO SHORT. IF I USED IT LIKE THIS, I WOULD BLOW UP TOO.";
gamedata[205].pickupable = true;
gamedata[205].combinewith = 204;
gamedata[205].resultitem = 206;
gamedata[205].messages = ["I DON'T WANT TO IMPLODE THAT.", "", "", "", "", "", "", "", ""];
gamedata[206].itemname = "ARMED CHARGE WITH TIMER";
gamedata[206].hh = false;
gamedata[206].itemdescription = "THE WATCH IS NOW ATTACHED TO THE DETONATOR. I CAN START THE COUNTDOWN ANY TIME I WANT.";
gamedata[206].pickupable = true;
gamedata[206].messages = ["I DON'T WANT TO BLOW THAT UP.", "", "", "", "", "", "", "", ""];
gamedata[207].itemname = "MASSIVELY HUGE DOOR";
gamedata[207].hint = "YOU SHOULD TRY GET INSIDE THAT HUGE DOOR AT THE CRATER. I'VE SEEN NO EXTERNAL CONTROLS, SO YOU MIGHT HAVE TO PUT A HOLE IN IT. A BIG ONE.";
gamedata[207].numberofstates = 2;
gamedata[207].stateneeded = 2;
gamedata[207].lockstate = true;
gamedata[207].neededinhand = 206;
gamedata[207].exit = true;
gamedata[207].messages = ["", "THIS DOOR IS BIG, AND MADE OF METAL. BUT I'M STARTING TO HOPE I'M WRONG AND IT'S NOT REALLY A DOOR, BECAUSE I SURE WOULDN'T WANNA MEET THE PEOPLE WHO USE IT.", "THAT WON'T HELP ME GET INSIDE.", "", "I HAVE SUCCESSFULLY IMPLODED THE ENTRY TO THIS... WHATEVER IT IS. I'LL FIND OUT SOON.", "", "", "", "THE DOOR IS ALREADY OPEN."];
gamedata[208].itemname = "DOOR";
gamedata[208].hh = false;
gamedata[208].exit = true;
gamedata[209].itemname = "DOOR";
gamedata[209].hh = false;
gamedata[209].exit = true;
gamedata[210].itemname = "ALIEN MARKINGS";
gamedata[210].hh = false;
gamedata[210].inventory_happened = true;
gamedata[211].itemname = "BACK GO GALAXY VIEW";
gamedata[211].hh = false;
gamedata[211].inventory_happened = true;
gamedata[212].itemname = "STAR SYSTEM";
gamedata[212].hint = "I THINK YOU SHOULD TRY TO FIGURE OUT WHAT THAT STARCHART INSIDE THE ALIEN STRUCTURE MEANS.";
gamedata[213].itemname = "BACK TO GRAVITY GENERATOR";
gamedata[213].hh = false;
gamedata[213].exit = true;
gamedata[214].itemname = "SYMBOL";
gamedata[214].hh = false;
gamedata[214].inventory_happened = true;
gamedata[214].messages = ["", "", "", "", "", "", "", "", "I THINK THEY RESPOND TO TOUCHING."];
gamedata[215].itemname = "STORAGE CYLINDER";
gamedata[215].hh = false;
gamedata[215].numberofstates = 2;
gamedata[215].stateneeded = 2;
gamedata[215].messages = ["", "", "", "", "", "THAT MAKES NO SENSE.", "THE SKELETON IS NOW FLOATING IN THE CYLINDER.", "", ""];
gamedata[216].itemname = "earth henger";
gamedata[216].hint = "YOU SHOULD TRY OPENING ONE OF THOSE CYLINDERS IN THAT HUGE STORAGE AREA.";
gamedata[216].numberofstates = 2;
gamedata[216].stateneeded = 2;
gamedata[217].itemname = "BACK TO CONSOLE";
gamedata[217].hh = false;
gamedata[217].exit = true;
gamedata[218].itemname = "GO TO STORAGE CYLINDERS";
gamedata[218].hh = false;
gamedata[218].onstage = false;
gamedata[219].itemname = "DISASSEMBLED SUIT";
gamedata[219].hh = false;
gamedata[219].onstage = false;
gamedata[219].messages = ["THERE'S NOTHING ELSE THERE.", "", "", "", "", "I SHOULD SEARCH IT.", "", "", ""];
gamedata[220].itemname = "CAPTAIN'S LOG";
gamedata[220].hh = false;
gamedata[220].itemdescription = "IT'S A STANDARD MEMORY CARD THAT GOES INTO THE READER OF ANY MILITARY SUIT. HOLDS ALL KIND OF INFORMATION, LIKE MISSION DATA, VOICE RECORDINGS.";
gamedata[220].pickupable = true;
gamedata[221].itemname = "SKELETON";
gamedata[221].hh = false;
gamedata[221].inventory_happened = true;
gamedata[221].onstage = false;
gamedata[221].messages = ["I'VE HAD ENOUGH SKELETONS FOR ONE DAY, THANK YOU. BESIDES, IT LOOKS LIKE ALL HIS STUFF IS PACKED UNDERNEATH HIM.", "", "", "", "", "", "", "", "HE DOESN'T NEED IT. HE'S DEAD."];
gamedata[222].itemname = "ALIEN MARKINGS";
gamedata[222].hh = false;
gamedata[222].numberofstates = 2;
gamedata[222].stateneeded = 2;
gamedata[222].messages = ["THERE ARE TWO SYMBOLS ABOVE EACH CYLINDER. THE ONES ON THIS ONE ARE DIFFERENT THAN ANY OF THE OTHERS.", "", "", "", "", "", "THE SYMBOLS NOW LOOK LIKE ALL THE OTHERS. THIS CYLINDER IS RUNNING NOW.", "", "I WOULDN'T DO THAT."];
gamedata[223].itemname = "STORAGE CYLINDER";
gamedata[223].hh = false;
gamedata[223].numberofstates = 2;
gamedata[223].stateneeded = 2;
gamedata[224].itemname = "GREEN GOO";
gamedata[224].hh = false;
gamedata[224].neededinhand = 90;
gamedata[224].onstage = false;
gamedata[224].messages = ["I HAVE ENOUGH OF THE GREEN STUFF ALREADY.", "IT'S A GREEN GOO THAT LOOKS EXACTLY LIKE OUR HIBERNATION FLUID, ONLY A LOT THICKER.", "I CAN'T USE THAT TO SCOOP UP THE GOO.", "", "", "", "", "", ""];
gamedata[225].itemname = "EXAMINE DEVICE";
gamedata[225].hh = false;
gamedata[225].onstage = false;
gamedata[225].messages = ["", "", "", "", "", "I DON'T WANT TO PUT THAT THERE.", "", "", ""];
gamedata[226].itemname = "ALGAE SAMPLE";
gamedata[226].hint = "THAT STORAGE AREA IS HUGE. SEE IF YOU CAN FIND SOME SORT OF REPLACEMENT FOR THE HIBERNATION FLUID THERE.";
gamedata[226].pickupable = true;
gamedata[226].itemdescription = "THE GLASS CONTAINER IS NOW FULL OF THE GREEN GOO. I THINK IT\u2019S SOME SORT OF ALGAE. I'LL HAVE TO ANALYZE IT, WHEN I GET BACK TO THE SHIP.";
gamedata[226].messages = ["THAT'S NOT A GOOD IDEA.", "", "", "", "", "", "", "", ""];
gamedata[227].itemname = "STORAGE CYLINDER";
gamedata[227].hh = false;
gamedata[227].numberofstates = 2;
gamedata[227].stateneeded = 2;
gamedata[227].onstage = false;
gamedata[227].messages = ["", "", "", "", "", "I'D BETTER NOT.", "THERE'S STILL SOME OF THAT GOO FLOATING IN THE CYLINDER.", "", ""];
gamedata[228].itemname = "fomalhaut henger";
gamedata[228].hh = false;
gamedata[228].numberofstates = 2;
gamedata[228].stateneeded = 2;
gamedata[229].itemname = "TRANSFORMER";
gamedata[229].hh = false;
gamedata[229].pickupable = true;
gamedata[229].itemdescription = "I HAVE COILED UP THE COPPER WIRE AROUND THE TWO SIDES OF THE PICTURE FRAME INTO A NEAT TRANSFORMER.";
gamedata[229].messages = ["I DON'T WANT TO TRANSFORM THE POWER IN THAT THING.", "", "", "", "", "", "", "", ""];
gamedata[230].itemname = "fazisok";
gamedata[230].hh = false;
gamedata[230].numberofstates = 6;
gamedata[230].stateneeded = 2;
gamedata[231].itemname = "CABLE END";
gamedata[231].hh = false;
gamedata[231].neededinhand = 229;
gamedata[231].numberofstates = 2;
gamedata[231].stateneeded = 2;
gamedata[231].lockstate = true;
gamedata[231].req = [230];
gamedata[231].messages = ["", "IT SEEMS TO BE SUPPLYING THE CONSOLE WITH POWER.", "IF I'M GONNA USE THE POWER IN THIS THING, I'LL NEED SOMETHING THAT I CAN USE TO TRANSFORM IT INTO A LOWER VOLTAGE.", "THE POWER IS STILL ON. I WOULD GET ELECTROCUTED.", "THE TRANSFORMER IS NOW ATTACHED TO THE END OF THAT POWER CABLE.", "", "", "", ""];
gamedata[232].itemname = "WALK TO END OF WALKWAY";
gamedata[232].hh = false;
gamedata[233].itemname = "SYMBOL";
gamedata[233].hh = false;
gamedata[233].messages = ["NOTHING HAPPENED. MAYBE I SHOULD ENTER THE RIGHT CODE FIRST.", "", "", "", "", "", "IT LOOKS LIKE A BIG RED BUTTON IN THE MIDDLE OF SOME DIALS. I PUSHED IT, BUT NOTHING HAPPENED.", "", "I THINK IT RESPONDS TO TOUCHING."];
gamedata[234].itemname = "TRANSFORMER";
gamedata[234].hh = false;
gamedata[234].neededinhand = 21;
gamedata[234].onstage = false;
gamedata[234].numberofstates = 2;
gamedata[234].stateneeded = 2;
gamedata[234].lockstate = true;
gamedata[234].messages = ["", "THE MAKESHIFT TRANSFORMER IS ATTACHED TO THE CABLE END.", "I DON'T WANT TO CHANNEL POWER INTO THAT.", "", "I HAVE CONNECTED THE EMPTY FUEL CELL TO THE TRANSFORMER.", "", "", "", ""];
gamedata[235].itemname = "CHARGED FUEL CELL";
gamedata[235].hint = "I THINK THAT GENERATOR IN THE ALIEN STRUCTURE PRODUCES AN AWFUL LOT OF ENERGY. MAYBE YOU CAN USE IT TO CHARGE OUR DEPLETED FUEL CELL.";
gamedata[235].itemdescription = "A FULLY CHARGED FUEL CELL. THIS WILL JUMPSTART OUR REACTOR IN NO TIME.";
gamedata[235].pickupable = true;
gamedata[235].onstage = false;
gamedata[235].combinewith = 144;
gamedata[235].resultitem = 239;
gamedata[235].disappears = false;
gamedata[235].messages = ["I DON'T WANT TO WASTE POWER ON THAT.", "", "", "", "", "I SHOULD PICK IT UP FIRST.", "", "", ""];
gamedata[236].itemname = "EMPTY FUEL CELL";
gamedata[236].hh = false;
gamedata[236].onstage = false;
gamedata[236].messages = ["", "", "", "", "", "THAT WON'T FILL UP THE CELL WITH POWER.", "I DON'T WANT TO PICK THAT UP, UNLESS IT'S FULL OF ENERGY.", "", ""];
gamedata[237].itemname = "CHARGED FUEL CELL";
gamedata[237].hh = false;
gamedata[237].onstage = false;
gamedata[237].messages = ["", "", "", "", "", "I WOULDN'T DO THAT.", "I'D BETTER TURN OFF THE POWER FIRST.", "", ""];
gamedata[238].itemname = "energy off messages";
gamedata[238].hh = false;
gamedata[238].messages = ["", "", "I MANAGED TO TURN OFF THE GENERATOR. THE CONSOLE IS STILL ON, SO IT MUST HAVE A BACKUP POWER SOURCE. THIS THING HAS A LOT OF POWER. MAYBE I CAN STORE IT SOMEHOW.", "THE POWER'S ALREADY OFF.", "I THINK EVERYTHING IS SET UP. I SHOULD NOW TRY TO TURN IT BACK ON AGAIN.", "", "I HAVE TURNED OFF THE GENERATOR.", "", ""];
gamedata[239].itemname = "CHARGED PARTICLE RIFLE";
gamedata[239].hh = false;
gamedata[239].itemdescription = "IT'S A FULLY LOADED PARTICLE RIFLE.";
gamedata[239].pickupable = true;
gamedata[239].messages = ["I DON'T WANT TO SHOOT THAT.", "", "", "", "", "", "", "", ""];
gamedata[240].itemname = "CRYSTAL";
gamedata[240].hint = "BEFORE YOU LEAVE, MAKE SURE TO DISABLE THAT ALIEN GENERATOR, SO THIS GRAVITY WELL DOESN'T CAUSE US MORE TROUBLE.";
gamedata[240].numberofstates = 3;
gamedata[240].stateneeded = 3;
gamedata[240].lockstate = true;
gamedata[240].neededinhand = 239;
gamedata[240].onstage = false;
gamedata[240].messages = ["", "THE CRYSTAL IS HOVERING ABOVE THE SHINY DOME. THE MACHINE MUST BE STILL GENERATING A SMALLER, LOCAL GRAVITY FIELD TO KEEP THE CRYSTAL AFLOAT. ANYWAY, THIS SEEMS TO BE THE HEART OF IT ALL.", "THAT'S NOT GONNA DESTROY THE CRYSTAL.", "", "THAT SHOT TOOK OUT THE CRYSTAL.", "", "", "", ""];
gamedata[241].itemname = "gravity messages";
gamedata[241].hh = false;
gamedata[241].messages = ["I HAVE TURNED OFF THE GRAVITY WELL. A CRYSTAL LOWERED ITSELF FROM THE GENERATOR. THE COMMAND I ENTERED MUST BE USED TO PERFORM MAINTENANCE ON THE MACHINE. NOW'S MY CHANCE TO GET RID OF THIS GRAVITY GENERATOR FOR GOOD.", "I'D BETTER WAIT WITH TURNING GRAVITY OFF. MAYBE I CAN USE THE GENERATOR'S POWER FIRST.", "GRAVITY IS ALREADY ON. IT'S TIME I TRIED TURNING IT OFF.", "GRAVITY IS ALREADY ON.", "I DON'T WANT TO TURN IT ON, I'VE ALMOST GOT IT DISABLED.", "", "", "", ""];
gamedata[242].itemname = "STONE HEAD";
gamedata[242].hh = false;
gamedata[242].neededinhand = 239;
gamedata[242].numberofstates = 2;
gamedata[242].stateneeded = 2;
gamedata[242].lockstate = true;
gamedata[242].messages = ["IT LOOKS LIKE IT'S SCANNING THE AREA.", "THAT WASN'T HERE BEFORE...", "THAT WON'T GET ME PAST IT.", "", "WOW, I DIDN'T EXPECT THAT... OR THAT. I BETTER GET THE HELL OUT OF HERE.", "", "", "", "I THINK I PISSED IT OFF ENOUGH ALREADY. LET'S GO WHILE IT DOESN'T SEE ME."];
gamedata[243].itemname = "EXIT ROOM";
gamedata[243].hh = false;
gamedata[243].exit = true;
gamedata[243].onstage = false;
gamedata[244].itemname = "ENTER SHIP";
gamedata[244].hh = false;
gamedata[244].exit = true;
gamedata[244].req = [243];
gamedata[244].messages = ["", "", "", "", "", "", "", "THERE'S NO POINT IN GOING BACK THERE UNTIL I HAVE A CHARGED POWER CELL, SOME HIBERNATION FLUID AND A SPARE PLASMA INJECTOR.", ""];
gamedata[245].itemname = "MAIN REACTOR";
gamedata[245].hh = false;
gamedata[245].neededinhand = 235;
gamedata[245].messages = ["WE CAN JUMPSTART THE REACTOR NOW.", "THE SHIP HAS VERY LITTLE POWER, AND THE REACTOR IS OFF-LINE. I WILL NEED SOME EXTRA POWER TO START IT UP AGAIN.", "THAT HAS NO POWER IN IT.", "", "I HAVE INSTALLED THE FUEL CELL. THE REACTOR IS READY TO KICK IN.", "", "", "", ""];
gamedata[246].itemname = "MIDDLE ENGINE";
gamedata[246].hh = false;
gamedata[246].neededinhand = 143;
gamedata[246].messages = ["I HAVE INSTALLED THE PLASMA INJECTOR. THE ENGINE IS READY TO FIRE.", "THE MIDDLE ENGINE LOOKS FINE FROM THE OUTSIDE. BUT YOU NEVER KNOW. WE'LL ULTIMATELY FIND OUT WHEN WE GET OFF THIS ROCK.", "THE ENGINE DOESN'T NEED THAT PART.", "", "I HAVE REPLACED THE FAULTY PLASMA INJECTOR IN THE ENGINE.", "", "", "", "WHAT FOR?"];
gamedata[247].itemname = "ANALYZER";
gamedata[247].hh = false;
gamedata[247].neededinhand = 226;
gamedata[247].onstage = false;
gamedata[247].numberofstates = 2;
gamedata[247].stateneeded = 2;
gamedata[247].lockstate = true;
gamedata[247].messages = ["IT'S A DEVICE USED FOR MOLECULAR AND BIOLOGICAL ANALYSIS.", "IT'S A DEVICE USED FOR MOLECULAR AND BIOLOGICAL ANALYSIS.", "", "", "", "", "", "", "I HAVE ALREADY ANALYZED IT. IT'S A POSITIVE MATCH. WE'LL RECULTIVATE IT AFTER WE TAKE OFF. LET'S JUST GO ALREADY."];
gamedata[247].dialog = ["4ANALYSIS OF SAMPLE CONFIRMS POSITIVE MATCH FOR HIBERNATION FLUID NUTRIENTS.", "2DID YOU HEAR THAT, NOVAK? WE CAN USE THIS STUFF TO RECULTIVATE THE NUTRITIONAL FLUID IN THE HIBERNATION SYSTEM.", "3SOUNDS GREAT. KEEP AT IT, WE'RE ALMOST OUT OF HERE.", ""];
gamedata[248].itemname = "INITIATE LAUNCH SEQUENCE";
gamedata[248].itemstate = 1;
gamedata[248].numberofstates = 2;
gamedata[248].stateneeded = 2;
gamedata[248].lockstate = true;
gamedata[248].hint = "FIX THE REACTOR, THE ENGINE, THEN SEE IF THAT GOO YOU GOT IS O.K. THEN LET'S GET THE HELL OUT OF HERE!";
gamedata[248].onstage = false;
gamedata[248].req = [245, 246, 247];
gamedata[248].messages = ["", "", "", "", "", "", "", "I'D BETTER MAKE SURE I HAVE DONE EVERYTHING WE NEED TO TAKE OFF.", ""];
gamedata[249].itemname = "EXIT SHIP";
gamedata[249].req = [0];
gamedata[250].itemname = "MILITARY CRUISER WRECK";
gamedata[251].itemname = "MILITARY CRUISER WRECK";
gamedata[251].req = [124];
gamedata[251].onstage = false;
gamedata[251].messages = ["", "", "", "", "", "THAT'S NOT GONNA HELP ME GET THERE.", "", "I CAN'T GO THERE UNTIL I FIND A WAY TO GET ACROSS THAT GORGE.", ""];
gamedata[252].itemname = "UNS ARMSTRONG";
gamedata[252].onstage = false;
gamedata[253].itemname = "WALK TO OTHER SIDE";
gamedata[253].inventory_happened = true;
gamedata[253].exit = true;
gamedata[254].itemname = "BACK TO HIBERNATION CHAMBER";
gamedata[254].exit = true;
gamedata[255].itemname = "GO DOWN TO LEDGE";
gamedata[255].exit = true;
gamedata[255].req = [151];
gamedata[255].messages = ["", "", "", "", "", "I DON'T WANT TO THROW THAT DOWN.", "", "I CAN'T GO DOWN UNTIL I HAVE ROPE OR SOMETHING I CAN TIE ON TO THE FREE PYLON. I WOULDN'T DARE TO USE THE REMAINS OF THE BRIDGE.", ""];
gamedata[256].itemname = "BACK TO CAMP";
gamedata[256].exit = true;
gamedata[257].itemname = "CLIMB TO LEDGE";
gamedata[257].exit = true;
gamedata[258].itemname = "gravity dialog";
gamedata[258].numberofstates = 2;
gamedata[258].stateneeded = 2;
gamedata[258].lockstate = true;
gamedata[258].dialog = ["2NOVAK, THIS IS POWELL. DO YOU READ?", "3YOU'RE BREAKING UP A BIT, BUT I HEAR YOU.", "2I MIGHT BE ONTO SOMETHING. I'VE FOUND A LARGE STRUCTURE WITH A GENERATOR INSIDE. IT'S HUGE. AND IT'S MAKING ME FEEL DIZZY. LITERALLY. SOMETHING'S WRONG WITH THE GRAVITY HERE. I THINK THIS MIGHT BE THE SOURCE OF THE ANOMALY. AN IMMENSE GRAVITY WELL OR SOMETHING.", "3I'VE BEEN CONTINUALLY SCANNING THE SURFACE FOR HOURS AND I'VE FOUND NOTHING.", "2I THINK THE SCALE ON WHICH THIS BABY OPERATES IS WAY OFF OUR SENSOR'S CAPACITY. IT'S LIKE TRYING TO MEASURE THE HEIGHT OF A TSUNAMI WAVE WITH A RULER.", "2BUT I THINK I KNOW A WAY TO CONFIRM IT. CAN YOU CALCULATE THE UNS ARMSTRONG'S DESCENT VECTOR?", "3HANG ON...", "3YES, GOT IT. BUT IT'S NOT VERY ACCURATE, MIND YOU...", "2AND WE HAVE THE COORDINATES OF THE POINT WHERE THE ANOMALY ALTERED OUR TRAJECTORY, RIGHT?", "3UHUM... WHERE ARE YOU GOING WITH THIS?", "2MAKE A LINE BETWEEN MY CURRENT POSITION AND OUR DEVIATION-POINT. DOES THE ARMSTRONG'S TRAJECTORY PASS THROUGH THAT LINE?", "3JUST A SECOND...", "3YES, IT DOES. AH, I SEE NOW. THIS GRAVITATIONAL-THING IS CONFINED LIKE A TUNNEL. AND BOTH WE AND THE ARMSTRONG WENT THROUGH IT. I THINK WE MIGHT JUST SKIMMED IT, BUT THEY GOT TORN RIGHT IN HALF.", "3LISTEN, I'LL PLOT A SAFE COURSE, AND SET UP THE AUTOPILOT TO GET US OUT OF HERE. BOTH OF OUR CONSOLES ARE DESTROYED, SO NO CHANCE FLYING THE SHIP MANUALLY. BUT THE COMPUTER WILL TAKE US OUT. I BET NOW YOU APPRECIATE THAT FANCY NEW A.I. I HAD INSTALLED.", "2PLOT THAT COURSE, AND I'LL GET BACK TO YOU AS SOON AS I HAVE THE POWER CELL PLUS THE HIBERNATION FLUID. AND I'LL DISABLE THIS GRAVITY GENERATOR, JUST IN CASE OUR TUNNEL THEORY IS WRONG.", "2I HOPE THESE WEIRD STONE HEADS WON'T MIND. THEY LOOK CREEPIER AND CREEPIER. ACTUALLY THEY LOOK JUST LIKE YOU, NOVAK.", "3JUST SHUT UP, AND GET TO WORK. I'LL SET UP THE AUTOPILOT. YOU'LL NEED TO ACTIVATE IT ON THE NAVIGATIONAL PANEL, WHEN YOU GET BACK.", "2DEAL. POWELL OUT.", ""];
gamedata[259].itemname = "armstrong dialog";
gamedata[259].numberofstates = 2;
gamedata[259].stateneeded = 2;
gamedata[259].lockstate = true;
gamedata[259].dialog = ["2POWELL TO NOVAK. ARE YOU SEEING THIS?", "3YEP. LOOKS BAD. IT SEEMS TO HAVE BEEN RIPPED APART. IT'S POSSIBLE THAT THEY WERE CAUGHT IN THE SAME GRAVITATIONAL DISTURBANCE AS WE. BUT THIS LOOKS LIKE A TAURUS CLASS CRUISER, THE BIG SISTER OF OUR MORNINGSTAR.", "2NOW LISTEN, WE WERE VERY CONVENIENTLY NEGLECTING THAT GRAVITATIONAL ANOMALY THAT GOT US HERE IN THE FIRST PLACE. DID YOU SCAN FOR IT?", "3YEP. BUT THE COMPUTER IS UNABLE TO PINPOINT ITS LOCATION. ALL WE KNOW THAT IT'S SOMEWHERE ON THIS PLANET. AND WE NEED TO GET RID OF IT IN ORDER TO TAKE OFF. OTHERWISE WE'D BE DOING THIS ALL OVER AGAIN.", "2GOT THAT. I'LL TAKE A LOOK AROUND INSIDE, MAYBE I CAN FIND OUT WHAT HAPPENED TO THESE PEOPLE.", ""];
gamedata[260].itemname = "BACK TO GENERATOR";
gamedata[260].exit = true;
gamedata[261].itemname = "STONE HEAD";
gamedata[261].numberofstates = 2;
gamedata[261].stateneeded = 2;
gamedata[261].lockstate = true;
gamedata[261].messages = ["IT DOESN'T SEEM TO NOTICE ME. AND YES, STILL CREEPY AS CAN BE.", "", "", "", "", "", "OKAY... THAT NEVER HAPPENED BEFORE. AND IT CREEPED THE HELL OUT OF ME.", "", "I'D BETTER LEAVE IT ALONE."];
gamedata[262].itemname = "CONSOLE";
gamedata[263].itemname = "BACK TO STORAGE";
gamedata[263].exit = true;
gamedata[264].itemname = "energy on messages";
gamedata[264].messages = ["THAT ACCOMPLISHED NOTHING.", "THE ENERGY IS ALREADY ON.", "I SHOULDN'T TURN IT BACK ON UNTIL I HAVE A WAY TO HARNESS ALL THAT ENERGY.", "THE TRANSFORMER WAS A GOOD IDEA. ALL IS NEED NOW IS SOMETHING TO STORE THE ENERGY IN.", "", "THE GENERATOR IS RUNNING AGAIN. IT HAS CHARGED UP THE FUEL CELL IN SECONDS. DAMN, THIS THING IS POWERFUL.", "I HAVE ENOUGH POWER IN THE CELL. I SHOULD LEAVE THE GENERATOR OFF.", "", ""];
gamedata[265].itemname = "SYMBOL MUSEUM";
gamedata[265].messages = ["NOTHING HAPPENED. MAYBE I SHOULD ENTER THE RIGHT CODE FIRST.", "A CHAMBER HAS OPENED IN THE BACK.", "A CHAMBER HAS JUST CLOSED.", "", "", "", "IT LOOKS LIKE A BIG RED BUTTON IN THE MIDDLE OF SOME DIALS. I PUSHED IT, BUT NOTHING HAPPENED.", "", "I THINK IT RESPONDS TO TOUCHING."];
gamedata[266].itemname = "BACK TO STORAGE CYLINDERS";
gamedata[266].exit = true;
gamedata[267].itemname = "ALIEN MARKINGS";
gamedata[267].inventory_happened = true;
gamedata[267].messages = ["IT'S THREE SYMBOLS, SIMILAR TO THOSE I'VE SEEN ON THE CONSOLES.", "", "", "", "", "", "", "", "I SHOULD SIMPLY REMEMBER THESE SYMBOLS, MAYBE THEY MEAN SOMETHING."];
gamedata[268].itemname = "EXAMINE DEVICE";
gamedata[268].inventory_happened = true;
gamedata[268].messages = ["THIS DEVICE LOOKS ALMOST IDENTICAL TO THE ONE IN THE GENERATOR ROOM. ONLY THIS ONE IS ABOUT A HUNDRED TIMES SMALLER. IT HAS SOME MARKINGS ON IT AND THERE'S STILL SOME GREEN GOO LEFT UNDERNEATH IT.", "", "", "", "", "", "", "", "I DON'T KNOW WHAT WOULD HAPPEN, SO I'D BETTER NOT."];
gamedata[269].itemname = "ALIEN MARKINGS";
gamedata[269].numberofstates = 2;
gamedata[269].stateneeded = 2;
gamedata[269].messages = ["THERE ARE TWO SYMBOLS ABOVE EACH CYLINDER. THE ONES ON THIS ARE DIFFERENT THAN THE OTHERS.", "", "", "", "", "", "THE SYMBOLS NOW LOOK LIKE ALL THE OTHERS. THIS CYLINDER IS RUNNING NOW.", "", "I WOULDN'T DO THAT."];
gamedata[270].itemname = "TURBINE";
gamedata[270].numberofstates = 2;
gamedata[270].stateneeded = 2;
gamedata[270].messages = ["THE TURBINE HAS STOPPED ROTATING.", "", "", "", "", "THAT WON'T AFFECT THE TURBINE AT ALL.", "IT'S A LARGE TURBINE.", "", "THAT WON'T AFFECT THE TURBINE AT ALL."];
gamedata[271].itemname = "EXIT TO CRATER";
gamedata[271].exit = true;
gamedata[271].req = [240, 235, 226];
gamedata[272].itemname = "locker left";
gamedata[272].numberofstates = 2;
gamedata[272].stateneeded = 2;
gamedata[272].lockstate = true;
gamedata[273].itemname = "WALK TO DESERT";
gamedata[273].onstage = false;
gamedata[273].inventory_happened = true;
gamedata[273].exit = true;
gamedata[273].messages = ["I'D BETTER ENTER OUR SHIP. I THINK I KIND OF PISSED OFF THOSE FLYING THINGS. THEY MIGHT COME AFTER US.", "", "", "", "", "", "", "", "I SHOULD LEAVE THE DESERT FOR GOOD NOW."];
gamedata[274].itemname = "night at our ship";
gamedata[274].numberofstates = 2;
gamedata[274].stateneeded = 2;
gamedata[274].lockstate = true;
gamedata[275].itemname = "CONTROL PANEL";
gamedata[275].onstage = false;
gamedata[275].inventory_happened = true;
gamedata[275].messages = ["I HAVE ALL THE PARTS I NEED. I BETTER INSTALL THEM, SO WE CAN GET THE HELL OUT OF HERE.", "", "", "", "", "", "", "", "I SHOULD STOP MEDDLING WITH THAT LOCK AND GET TO WORK ON REPAIRING THE SHIP."];
gamedata[276].itemname = "night hibernation";
gamedata[276].inventory_happened = true;
gamedata[276].onstage = false;
gamedata[277].itemname = "night cockpit";
gamedata[277].inventory_happened = true;
gamedata[277].onstage = false;
gamedata[278].itemname = "examine button messages";
gamedata[278].messages = ["DROP AN ITEM HERE FROM THE INVENTORY TO EXAMINE IT.", "", "", "", "", "", "", "", ""];
gamedata[279].itemname = "ALIEN MARKINGS";
gamedata[279].inventory_happened = true;
gamedata[279].messages = ["THERE ARE THREE SYMBOLS ON THIS ENERGY CABLE. THEY ARE SIMILAR TO THOSE ON THE CONSOLE.", "", "", "", "", "", "", "", "I CAN'T DO ANYTHING WITH THESE SYMBOLS BUT REMEMBER THEM."];
gamedata[280].itemname = "BACK TO CONSOLE";
gamedata[280].exit = true;
gamedata[281].itemname = "cable fazisok";
gamedata[281].numberofstates = 2;
gamedata[282].itemname = "ENERGY CABLE";
gamedata[282].inventory_happened = true;
gamedata[283].itemname = "rud a kapitanyba cockpit total";
gamedata[283].inventory_happened = true;
gamedata[283].onstage = false;
gamedata[284].itemname = "medical monitor total";
gamedata[284].inventory_happened = true;
gamedata[284].onstage = false;
gamedata[285].itemname = "monitor cockpit total";
gamedata[285].inventory_happened = true;
gamedata[285].onstage = false;
gamedata[286].itemname = "HIBERNATION CHAMBER";
gamedata[286].inventory_happened = true;
gamedata[286].messages = ["THAT'S MY CHAMBER. I SPENT A GREAT DEAL OF TIME IN THERE. DIDN'T EXPECT TO BE WOKEN UP LIKE THAT THOUGH.", "", "", "", "", "", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[287].itemname = "CARGO CONTAINER";
gamedata[287].inventory_happened = true;
gamedata[287].messages = ["THAT ONE IS EMPTY", "", "", "", "", "", "", "", "I DON'T WANT TO PUT THAT IN THERE."];
gamedata[288].itemname = "LOOK OUT WINDOW";
gamedata[288].inventory_happened = true;
gamedata[288].messages = ["IT'S AN ENDLESS DESERT. WHY DO SPACESHIPS ALWAYS TEND TO CRASH-LAND ON DESERT-PLANETS? WHY COULDN'T WE CRASH-LAND ON A TROPICAL BEACH PLANET?", "", "", "", "", "", "", "", "I WOULDN'T DO THAT."];
gamedata[289].itemname = "CHAIR";
gamedata[289].inventory_happened = true;
gamedata[289].messages = ["THAT USED TO BE THE PILOT'S CHAIR. THE EXPLOSION PUSHED IT BACK... WITH ME IN IT. WELL, I GUESS I'M LUCKY TO BE ALIVE.", "", "", "", "", "", "", "", "THE CHAIR IS OF NO USE TO ME NOW."];
gamedata[290].itemname = "CONSOLE";
gamedata[290].inventory_happened = true;
gamedata[290].messages = ["BOTH CONSOLES BLEW UP. FIRST NOVAK'S, THAN MINE. I GOT LUCKY, HE DIDN'T. HOPE HE MAKES IT THOUGH. I ADMIT, I DON'T LIKE HIM THAT MUCH, BUT I DON'T WANT HIM TO DIE EITHER.", "", "", "", "", "", "", "", "THE CONSOLE IS BEYOND REPAIR. WE'LL HAVE TO FIND ANOTHER WAY TO PILOT THE SHIP."];
gamedata[291].itemname = "CABINETS";
gamedata[291].inventory_happened = true;
gamedata[291].messages = ["JOHANSEN, OUR LATE ENGINEER USED TO USE THE TOP OF THESE CABINETS AS A WORK DESK. THEY'RE FULL OF HIS STUFF.", "", "", "", "", "", "", "", "I CAN'T USE ANY OF THAT STUFF. I DON'T KNOW WHAT THEY ARE GOOD FOR."];
gamedata[292].itemname = "RIGHT ENGINE";
gamedata[292].inventory_happened = true;
gamedata[292].messages = ["I CAN SEE FROM THIS SIDE TOO THAT THE RIGHT ENGINE IS BUSTED. WE'LL HAVE TO MANAGE WITH ONE.", "", "", "", "", "", "", "", "YES, IT CAN BE REPAIRED. IN A SPACE DOCK, WITH PROPER TOOLS AND PERSONNEL."];
gamedata[293].itemname = "CARGO CONTAINER";
gamedata[293].inventory_happened = true;
gamedata[293].messages = ["IT'S FULL OF BLACK THONGS. DON'T EVEN ASK.", "", "", "", "", "", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[294].itemname = "CARGO CONTAINER";
gamedata[294].inventory_happened = true;
gamedata[294].messages = ["IT CONTAINS PAINTINGS OF DOGS PLAYING POKER, DONE BY ALIENS WITH SEVEN TENTACLES. DON'T LOOK AT THESE WHILE YOU'RE INTOXICATED, YOU'D SUFFER PERMANENT RETINA DAMAGE. THANK GOD, I DON'T NEED ANY OF THEM.", "", "", "", "", "", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[295].itemname = "SAND";
gamedata[295].inventory_happened = true;
gamedata[295].messages = ["IT'S EVERYWHERE. AND IT GETS IN EVERYWHERE.", "", "", "", "", "", "", "", "I DON'T WANT TO BURY THAT IN THE SAND."];
gamedata[296].itemname = "JOHANSEN";
gamedata[296].inventory_happened = true;
gamedata[296].messages = ["HE'S DEAD. THE COMPUTER MUST HAVE MALFUNCTIONED AS HE WAS TRYING TO GET OUT OF THE HALF-OPENED HIBERNATION CHAMBER. IT'S FROZEN HALF OF HIM... THE LEFT HALF, TO BE PRECISE. NOT A GOOD WAY TO GO.", "", "", "", "", "", "", "", "I DON'T WANT TO BOTHER HIM."];
gamedata[297].itemname = "SKY";
gamedata[297].inventory_happened = true;
gamedata[297].messages = ["THERE'S NO OXYGEN IN THE ATMOSPHERE.", "", "", "", "", "", "", "", "I DON'T WANT TO THROW THINGS AT THE SKY."];
gamedata[298].itemname = "WEIRD STONE HEADS";
gamedata[298].inventory_happened = true;
gamedata[298].messages = ["I'M ALMOST CERTAIN THIS IS NOT A NATURALLY OCCURRING PHENOMENON. THEY SEEM TO BE MADE OUT OF SOME SMOOTH STONE, STAND ABOUT TWICE AS TALL AS ME, AND THEY LOOK REALLY CREEPY. THANK GOD THEY DON'T HAVE EYES.", "", "", "", "", "", "", "", "I DON'T WANT TO BOTHER THEM, THEY ARE SPOOKY."];
gamedata[299].itemname = "REMAINS OF BRIDGE";
gamedata[299].inventory_happened = true;
gamedata[299].messages = ["THE BRIDGE WAS TORN DOWN. I DON'T THINK I CAN USE IT DO GET DOWN TO THE LEDGE, THE REMAINING CABLE ISN'T LONG ENOUGH.", "", "", "", "", "", "", "", "NO USE."];
gamedata[300].itemname = "LEDGE";
gamedata[300].inventory_happened = true;
gamedata[300].messages = ["THERE'S A CORPSE ON THE LEDGE. POOR GUY MUST HAVE FALLEN DOWN WHEN THE BRIDGE WAS DESTROYED. I CAN SEE A CARGO CONTAINER TOO.", "", "", "", "", "", "", "", "I'LL HAVE TO GET DOWN THERE FIRST."];
gamedata[301].itemname = "BOTTOM OF GORGE";
gamedata[301].hh = false;
gamedata[301].numberofstates = 2;
gamedata[301].stateneeded = 2;
gamedata[301].lockstate = true;
gamedata[301].messages = ["THE GROUND IS LIT BY THE FLARE I THREW DOWN.", "", "", "", "", "IF I WERE TO THROW SOMETHING DOWN, IT HAS TO BE SOMETHING THAT EMITS LIGHT.", "IT'S TOO DARK DOWN THERE, I CAN'T SEE A THING.", "", "I SHOULD GO DOWN THERE FIRST."];
gamedata[302].itemname = "PORTABLE PYLON";
gamedata[302].inventory_happened = true;
gamedata[302].messages = ["THIS ONE ALREADY HAS THE REMAINS OF THE BRIDGE TIED TO IT. UNFORTUNATELY I CAN'T GO DOWN ON THE LEDGE ON THIS.", "", "", "", "", "", "", "", "WHATEVER I DO, I'D BETTER DO IT ON THE OTHER PYLON."];
gamedata[303].itemname = "ROPE";
gamedata[303].inventory_happened = true;
gamedata[303].messages = ["GREAT. ALL THE ROPE I WANT, NOW THAT I DON'T NEED IT ANYMORE.", "", "", "", "", "", "", "", "NO POINT."];
gamedata[304].itemname = "PLASMA FLARE";
gamedata[304].inventory_happened = true;
gamedata[304].messages = ["IT'S GLOWING NICE AND RED.", "", "", "", "", "", "", "", "NO, NO."];
gamedata[305].itemname = "DESIGNATION";
gamedata[305].inventory_happened = true;
gamedata[305].messages = ["IT SAYS 'ARMSTRONG'.", "", "", "", "", "", "", "", "NO POINT."];
gamedata[306].itemname = "HULL";
gamedata[306].inventory_happened = true;
gamedata[306].messages = ["THE SHIP WAS TORN IN HALF BY THE GRAVITATIONAL FORCES.", "", "", "", "", "", "", "", "I CAN'T FIX IT."];
gamedata[307].itemname = "GUN ARRAY";
gamedata[307].inventory_happened = true;
gamedata[307].messages = ["IT MUST HAVE BEEN AN ATTACK CRUISER. BUT THIS GUN ARRAY IS NOW USELESS.", "", "", "", "", "", "", "", "NO POINT IN THAT."];
gamedata[308].itemname = "BACK OF ROOM";
gamedata[308].inventory_happened = true;
gamedata[308].messages = ["I DON'T WANT TO GO BACK THERE.", "", "", "", "", "", "", "", "I DON'T WANT TO THROW THAT THERE."];
gamedata[309].itemname = "SAND";
gamedata[309].inventory_happened = true;
gamedata[309].messages = ["AS I SAID, IT GETS IN EVERYWHERE.", "", "", "", "", "", "", "", "I DON'T WANT TO BURY THAT IN THE SAND."];
gamedata[310].itemname = "TENT";
gamedata[310].hh = false;
gamedata[310].messages = ["IT'S PRETTY BEATEN UP. IT MUST HAVE BEEN HERE FOR A LONG TIME.", "", "", "", "", "I DON'T WANT TO PUT THAT THERE.", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[311].itemname = "STONE HEAD";
gamedata[311].inventory_happened = true;
gamedata[311].messages = ["CREEPY AS ALWAYS. AS IF IT WAS STANDING GUARD. BUT I'M SURE THAT'S JUST MY IMAGINATION RUNNING WILD.", "", "", "", "", "", "", "", "I BETTER LEAVE IT ALONE."];
gamedata[312].itemname = "CORPSE";
gamedata[312].inventory_happened = true;
gamedata[312].messages = ["NOTHING THERE.", "", "", "", "", "", "", "", "HE'S DEAD. HE DOESN'T NEED IT"];
gamedata[313].itemname = "CORPSE";
gamedata[313].inventory_happened = true;
gamedata[313].messages = ["NOTHING.", "", "", "", "", "", "", "", "HE'S DEAD. HE DOESN'T NEED IT."];
gamedata[314].itemname = "SEARCH BACK OF TENT";
gamedata[314].inventory_happened = true;
gamedata[314].messages = ["THE CONTAINERS AT THE BACK ARE EMPTY. THEY MUST HAVE UNPACKED EVERYTHING BEFORE THE ATTACK.", "", "", "", "", "", "", "", "I DON'T WANT TO TO HIDE THAT THERE."];
gamedata[315].itemname = "LOOK DOWN INTO CRATER";
gamedata[315].inventory_happened = true;
gamedata[315].messages = ["", "", "", "", "", "", "", "", ""];
gamedata[316].itemname = "STONE HEADS";
gamedata[316].inventory_happened = true;
gamedata[316].messages = ["THERE'S HUNDREDS OF THESE THINGS. I THINK THIS IS THE POINT WHERE WE'RE OUGHT TO START WORRYING ABOUT OUR SITUATION.", "", "", "", "", "", "", "", "LET'S NOT DISTURB THEM, OKAY?"];
gamedata[317].itemname = "BACK TO LEDGE";
gamedata[317].inventory_happened = true;
gamedata[317].exit = true;
gamedata[317].messages = ["", "", "", "", "", "", "", "", ""];
gamedata[318].itemname = "GENERATOR";
gamedata[318].inventory_happened = true;
gamedata[318].messages = ["THIS IS WHERE THE IMMENSE GRAVITATIONAL FIELD IS CREATED. I GUESS IT'S HEAVILY SHIELDED, BUT I CAN STILL FEEL ITS VIBRATION. I WILL NEED TO SHUT IT DOWN BEFORE WE TAKE OFF.", "", "", "", "", "", "", "", "THAT'S NOT GONNA SHUT DOWN THE REACTOR."];
gamedata[319].itemname = "STORAGE CYLINDERS";
gamedata[319].inventory_happened = true;
gamedata[319].messages = ["WOW, THERE ARE HUNDREDS OF THEM. EACH ONE HOLDS A SPECIMEN OF A DIFFERENT SPECIES. LOOKS LIKE WHOEVER OWNS THIS PLACE LIKES TO COLLECT LIFE FORMS FROM ALL OVER THE GALAXY. ONE MORE REASON TO GET THE HELL OUT OF HERE AS SOON AS POSSIBLE.", "", "", "", "", "", "", "", "NOT A GOOD IDEA."];
gamedata[320].itemname = "TABLE";
gamedata[320].inventory_happened = true;
gamedata[320].messages = ["THIS TABLE AND ITS LIGHTING HAS A STRIKING RESEMBLANCE TO AN OPERATING TABLE.", "", "", "", "", "", "", "", "I DON'T WANT TO PUT THAT THERE."];
gamedata[321].itemname = "GO TO STORAGE CYLINDERS";
gamedata[321].inventory_happened = true;
gamedata[321].messages = ["THERE'S HUNDREDS OF THEM. I WOULDN'T KNOW WHICH ONE TO INSPECT. BUT I'M SURE THERE'S A WAY TO FIND OUT WHICH ONE IS OF INTEREST TO ME.", "", "", "", "", "", "", "", "LET'S NOT DO THAT."];
gamedata[322].itemname = "monitors night";
gamedata[322].inventory_happened = true;
gamedata[322].onstage = false;
gamedata[323].itemname = "NAME TAG";
gamedata[323].inventory_happened = true;
gamedata[323].messages = ["IT SAYS 'M. COULTER.'", "", "", "", "", "", "", "", "I THINK I'LL JUST READ THAT."];
gamedata[324].itemname = "NAME TAG";
gamedata[324].inventory_happened = true;
gamedata[324].messages = ["IT SAYS 'V. DERTL'", "", "", "", "", "", "", "", "I THINK I'LL JUST READ THAT."];
}
function savegame() {
_root.gamsaav.clear();
gamedatatemp = new Array();
n = 0;
while (n <= 325) {
gamedatatemp.push([_root.gamedata[n].inventory_happened, _root.gamedata[n].visibleininventory, _root.gamedata[n].itemstate, _root.gamedata[n].onstage]);
n++;
}
_root.gamsaav.data.savegame = gamedatatemp;
_root.gamsaav.data.room = _root._currentframe;
_root.gamsaav.data.satmapstate = _root.mc_satmap._currentframe;
_root.gamsaav.data.gamesaved = true;
_root.gamsaav.data.ambienceid = _root.ambienceid;
_root.gamsaav.data.musicon = _root.musicon;
_root.gamsaav.data.ambienceon = _root.ambienceon;
_root.gamsaav.data.speechon = _root.speechon;
if (_root.gamsaav.flush(15000) == true) {
trace("flush yes");
}
if (_root.gamsaav.flush(15000) == false) {
_root.mc_flusherror._visible = true;
}
if (_root.gamsaav.flush(15000) == "pending") {
_root.mc_flushpending._visible = true;
}
}
function loadgame() {
_root.initgamedata();
gamedatatemp = new Array();
gamedatatemp = _root.gamsaav.data.savegame;
n = 0;
while (n < 325) {
_root.gamedata[n].inventory_happened = gamedatatemp[n][0];
_root.gamedata[n].visibleininventory = gamedatatemp[n][1];
_root.gamedata[n].itemstate = gamedatatemp[n][2];
_root.gamedata[n].onstage = gamedatatemp[n][3];
n++;
}
_root.musicon = _root.gamsaav.data.musicon;
_root.ambienceon = _root.gamsaav.data.ambienceon;
_root.speechon = _root.gamsaav.data.speechon;
if (_root.musicon) {
_root.music.setVolume(_root.musicvolume);
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_music._visible = true;
} else {
_root.music.setVolume(0);
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_music._visible = false;
}
if (_root.ambienceon) {
_root.ambience.setVolume(_root.ambiencevolume);
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_sound._visible = true;
} else {
_root.ambience.setVolume(0);
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_sound._visible = false;
}
if (_root.speechon) {
_root.speech.setVolume(_root.speechvolume);
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_speech._visible = true;
} else {
_root.speech.setVolume(0);
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_speech._visible = false;
}
_root.ambienceid = _root.gamsaav.data.ambienceid;
_root.music.stop();
_root.music.start(0, 999999);
_root.ambience.stop();
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.setstage();
_root.updateinventory();
_root.mc_satmap.gotoAndStop(_root.gamsaav.data.satmapstate);
_root.gotoAndStop(61);
}
function setstage() {
for (var _local2 in _root.gamedata) {
currentinventory = _root.mc_inventory.mc_inventorycontainer["inventory_item" + _local2];
currentitemonstage = _root.mc_allstage["mc_item" + _local2];
if ((_root.gamedata[_local2].pickupable and _root.gamedata[_local2].inventory_happened) and _root.gamedata[_local2].visibleininventory) {
currentinventory._visible = true;
} else {
currentinventory._visible = false;
}
if (_root.gamedata[_local2].pickupable and _root.gamedata[_local2].inventory_happened) {
currentitemonstage._visible = false;
} else {
currentitemonstage._visible = _root.gamedata[_local2].onstage;
}
currentitemmc = _root.mc_allstage["mc_item" + _local2];
currentitemmc.gotoAndStop(_root.gamedata[_local2].itemstate);
}
}
function updateinventory() {
trace("updating inventory");
itemx = 0;
itemcounter = 0;
n = 1;
while (n <= (_root.gamedata.length - 1)) {
currentitemmc = _root.mc_inventory.mc_inventorycontainer["inventory_item" + n];
if ((_root.gamedata[n].pickupable and _root.gamedata[n].inventory_happened) and _root.gamedata[n].visibleininventory) {
currentitemmc._x = itemx;
currentitemmc._y = 0;
currentitemmc._visible = true;
itemx = itemx + _root.itemwidth;
itemcounter++;
} else {
currentitemmc._visible = false;
}
n++;
}
if (itemcounter < 13) {
_root.mc_inventory.bt_invright._visible = false;
if (_root.mc_inventory._currentframe == 11) {
_root.playbackmc = _root.mc_inventory;
_root.mc_inventorytimer.play();
}
} else if (_root.mc_inventory._currentframe == 1) {
_root.mc_inventory.bt_invright._visible = true;
}
}
function checkrequisites(n) {
if (_root.gamedata[n].inventory_happened) {
if (_root.iteminhand == 0) {
_root.displaymessage(n, 0);
return(true);
}
_root.displaymessage(n, 8);
return(false);
}
if (_root.gamedata[n].neededinhand != 0) {
if (_root.iteminhand != 0) {
if (_root.iteminhand == _root.gamedata[n].neededinhand) {
allgo = true;
for (var _local3 in _root.gamedata[n].req) {
if (_root.gamedata[_root.gamedata[n].req[_local3]].inventory_happened == false) {
allgo = false;
}
}
if (allgo) {
_root.displaymessage(n, 4);
_root.dropitem();
return(true);
}
_root.displaymessage(n, 3);
return(false);
}
_root.displaymessage(n, 2);
} else {
_root.displaymessage(n, 1);
}
} else if (_root.iteminhand != 0) {
_root.displaymessage(n, 5);
} else {
allgo = true;
for (var _local3 in _root.gamedata[n].req) {
if (_root.gamedata[_root.gamedata[n].req[_local3]].inventory_happened == false) {
allgo = false;
}
}
if (allgo) {
_root.displaymessage(n, 6);
return(true);
}
_root.displaymessage(n, 7);
return(false);
}
}
function executeitem(n) {
if ((_root.gamedata[n].itemstate == _root.gamedata[n].stateneeded) and _root.gamedata[n].lockstate) {
} else {
if (_root.gamedata[n].itemstate < _root.gamedata[n].numberofstates) {
_root.gamedata[n].itemstate++;
} else {
_root.gamedata[n].itemstate = 1;
}
currentitemmc = _root.mc_allstage["mc_item" + n];
currentitemmc.gotoAndStop(_root.gamedata[n].itemstate);
if (_root.gamedata[n].itemstate == _root.gamedata[n].stateneeded) {
if (_root.gamedata[n].pickupable and (!_root.gamedata[n].inventory_happened)) {
_root.showitem(n);
currentitemmc._visible = false;
_root.gamedata[n].onstage = false;
}
_root.gamedata[n].inventory_happened = true;
if (_root.gamedata[n].dialog[0] != "") {
_root.playdialog(n);
}
_root.updateinventory();
} else {
_root.gamedata[n].inventory_happened = false;
}
_root.debug(n);
return(_root.gamedata[n].inventory_happened);
}
}
function displaymessage(n, m) {
_root.mc_sysmessages.gotoAndPlay(1);
if (_root.gamedata[n].messages[m] != "") {
_root.mc_heads.gotoAndStop(2);
}
_root.mc_sysmessages.sysmessages.text = _root.gamedata[n].messages[m];
_root.mc_dialogs.dialogs.text = "";
if (_root.speechon) {
_root.speech.setVolume(_root.speechvolume);
} else {
_root.speech.setVolume(0);
}
}
function debug(m) {
trace("---------------");
trace("Event info: ---");
trace("---------------");
trace("current item/event: " + _root.gamedata[m].itemname);
trace("current item state: " + _root.gamedata[m].itemstate);
trace("state needed: " + _root.gamedata[m].stateneeded);
trace("event happened: " + _root.gamedata[m].inventory_happened);
trace("item in hand: " + _root.iteminhand);
}
function showitem(n) {
var _local2 = "bmp_item" + n;
var _local3 = flash.display.BitmapData.loadBitmap(_local2);
_root.mc_showitem.mc_showitemanim.mc_showitemholder.attachBitmap(_local3, 1);
_root.mc_showitem._visible = true;
_root.mc_showitem.mc_showitemanim.text_itemdescription.text = _root.gamedata[n].itemdescription;
_root.mc_showitem.gotoAndPlay(1);
}
function showdescription(n) {
Mouse.hide();
_root.mc_cursor.mc_ora._visible = false;
_root.mc_cursor.mc_itemdescription._visible = true;
_root.mc_cursor.mc_itemdescription.txt_itemdescription1.text = _root.gamedata[n].itemname;
_root.mc_cursor.mc_itemdescription.txt_itemdescription2.text = _root.gamedata[n].itemname;
if (_root.iteminhand > 0) {
_root.mc_cursor.mc_crosshair._visible = false;
_root.mc_cursor.mc_glow._visible = true;
} else {
_root.mc_cursor.mc_crosshair._visible = true;
_root.mc_cursor.mc_glow._visible = false;
}
if (_root.gamedata[n].exit and (_root.gamedata[n].stateneeded == _root.gamedata[n].itemstate)) {
if (_root.iteminhand == 0) {
_root.mc_cursor.mc_exit._visible = true;
_root.mc_cursor.mc_crosshair._visible = false;
} else {
_root.mc_cursor.mc_exit._visible = false;
}
} else {
_root.mc_cursor.mc_exit._visible = false;
}
}
function hidedescription() {
_root.mc_cursor.mc_ora._visible = false;
_root.mc_cursor.mc_itemdescription._visible = false;
_root.mc_cursor.mc_glow._visible = false;
if (_root.iteminhand == 0) {
_root.mc_cursor.mc_crosshair._visible = true;
}
_root.mc_cursor.mc_exit._visible = false;
}
function grabitem(n) {
linkageid = "inventory_item" + n;
current = _root.mc_inventory.mc_inventorycontainer["inventory_item" + n];
_root.mc_cursor.mc_iteminhand.attachMovie(linkageid, linkageid, 1);
_root.mc_cursor.mc_iteminhand._visible = true;
_root.mc_cursor.mc_crosshair._visible = false;
current._visible = false;
}
function dropitem() {
_root.iteminhand = 0;
_root.mc_cursor.mc_iteminhand._visible = false;
_root.mc_cursor.mc_crosshair._visible = true;
_root.mc_cursor.mc_glow._visible = false;
_root.updateinventory();
}
function combine(current, inhand) {
if (_root.iteminhand != 0) {
if (_root.iteminhand == _root.gamedata[current].combinewith) {
if (_root.gamedata[current].disappears) {
_root.gamedata[current].visibleininventory = false;
}
if (_root.gamedata[inhand].disappears) {
_root.gamedata[inhand].visibleininventory = false;
}
_root.executeitem(_root.gamedata[current].resultitem);
_root.iteminhand = 0;
_root.dropitem();
} else {
_root.displaymessage(inhand, 0);
}
} else {
_root.grabitem(current);
_root.iteminhand = current;
}
}
function playback(mc, frames) {
i = 1;
while (i <= frames) {
mc.prevFrame();
i++;
}
}
function showhint() {
trace("hint");
n = 2;
while (n <= (_root.gamedata.length - 1)) {
if ((!_root.gamedata[n].inventory_happened) and _root.gamedata[n].hh) {
trace((("item" + n) + ": ") + _root.gamedata[n].inventory_happened);
_root.mc_sysmessages.gotoAndPlay(1);
_root.mc_sysmessages.sysmessages.text = _root.gamedata[n].hint;
if (_root.speechon) {
_root.speech.setVolume(_root.speechvolume - 15);
} else {
_root.speech.setVolume(0);
}
_root.mc_heads.gotoAndStop(3);
break;
}
n++;
}
}
function playdialog(n) {
trace("playing dialog:" + n);
_root.mc_skipdialog._visible = true;
_root.currentdialog = n;
_root.dialogindex = 0;
_root.nextdialog();
}
function nextdialog() {
if (_root.gamedata[_root.currentdialog].dialog[dialogindex] != "") {
if (_root.speechon) {
_root.dialogsound.setVolume(_root.speechvolume);
} else {
_root.dialogsound.setVolume(0);
}
a = _root.gamedata[_root.currentdialog].dialog[dialogindex].substr(1, _root.gamedata[_root.currentdialog].dialog[dialogindex].length - 1);
b = _root.gamedata[_root.currentdialog].dialog[dialogindex].substr(0, 1);
trace(b);
_root.mc_heads.gotoAndStop(b);
_root.mc_sysmessages.sysmessages.text = "";
_root.mc_dialogs.dialogs.text = a;
_root.dialogindex++;
} else {
trace("dialogelse");
_root.dialogsound.stop();
_root.mc_dialogs.dialogs.text = "";
_root.mc_cursor.mc_crosshair._visible = true;
_root.mc_cursor.mc_ora._visible = false;
_root.mc_skipdialog._visible = false;
}
}
function skipdialog() {
_root.dialogindex = _root.gamedata[_root.currentdialog].dialog.length - 1;
_root.mc_skipdialog._visible = false;
}
function attachcursor() {
_root.mc_cursor.startDrag(true);
Mouse.hide();
}
function playsfx(linkage, looping) {
_root.sfx.stop();
_root.sfx.attachSound(linkage);
if (looping) {
_root.sfx.start(0, 999999);
} else {
_root.sfx.start(0, 1);
}
}
stop();
gamsaav = SharedObject.getLocal("gamsaav");
var dialog = new Array();
musicon = true;
ambienceon = true;
speechon = true;
musicvolume = 19;
ambiencevolume = 39;
speechvolume = 39;
dialogsound = new Sound(speechcontainer);
music = new Sound(musiccontainer);
music.attachSound("score");
music.setVolume(musicvolume);
ambience = new Sound(ambiencecontainer);
ambience.setVolume(ambiencevolume);
ambienceid = "";
sfx = new Sound(sfxcontainer);
sfx.setVolume(ambiencevolume - 20);
speech = new Sound(speechcontainer);
globalsound = new Sound();
globalsound.setVolume(100);
_root.iteminhand = 0;
_root.itemwidth = 60.7;
_root.mc_showitem._visible = false;
_root.currentlevel = 10;
_root.mc_blindness._visible = false;
_root.mc_cursor.startDrag(true);
_root.mc_cursor.mc_itemdescription._visible = false;
_root.mc_cursor.mc_iteminhand._visible = false;
_root.mc_cursor.mc_glow._visible = false;
_root.mc_cursor.mc_exit._visible = false;
_root.mc_cursor.mc_ora._visible = false;
_root.mc_nightfallanim._visible = false;
_root.stageoffset = 0;
_root.soy = 0;
_root.directpanning = false;
_root.mc_satmap.gotoAndStop(2);
_root.mc_mainmenu.mc_mainmenuanim.mc_tick_panning._visible = true;
_root.mc_mainmenu.mc_mainmenuanim.mc_tick_scrolling._visible = false;
_root.bt_sidescroller_left._visible = false;
_root.bt_sidescroller_right._visible = false;
_root.hengerkod = [0, 0, 0, 0];
_root.gravitykod = [0, 0, 0, 0, 0, 0];
_root.mc_skipdialog._visible = false;
_root.mc_waiter._visible = false;
_root.mc_flushpending._visible = false;
_root.mc_flusherror._visible = false;
_root.mc_mainmenu.mc_mainmenuanim.mc_menu_close.gotoAndStop(2);
_root.mc_mainmenu.mc_mainmenuanim.mc_playoutro.gotoAndStop(2);
_root.mc_mainmenu.mc_mainmenuanim.mc_savegame.gotoAndStop(2);
_root.mc_confirmnewgame._visible = false;
_root.mc_confirmloadgame._visible = false;
_root.mc_confirmsavegame._visible = false;
_root.mc_soundsettings._visible = false;
var mouseListener = new Object();
mouseListener.onMouseMove = function () {
if ((_root._ymouse < 500) and (_root._ymouse > 100)) {
if (_root._xmouse > 650) {
_root.stageoffset = (-(150 - (800 - _root._xmouse))) / 3;
}
if (_root._xmouse < 150) {
_root.stageoffset = (150 - _root._xmouse) / 3;
}
}
if ((_root._xmouse < 650) and (_root._xmouse > 150)) {
_root.stageoffset = 0;
}
if (_root._ymouse > 450) {
_root.soy = (-(150 - (600 - _root._ymouse))) / 4;
_root.stageoffset = 0;
}
if (_root._ymouse < 150) {
_root.soy = (150 - _root._ymouse) / 4;
_root.stageoffset = 0;
}
if ((_root._ymouse < 450) and (_root._ymouse > 150)) {
_root.soy = 0;
}
};
Mouse.addListener(mouseListener);
var gamedata = new Array();
n = 0;
while (n <= 350) {
gamedata.push({itemname:"", itemdescription:("item" + n) + " description", hint:"hint" + n, req:[1], pickupable:false, inventory_happened:false, visibleininventory:true, stateneeded:1, numberofstates:1, itemstate:1, lockstate:false, neededinhand:0, messages:["", "", "", "", "", "", "", "", ""], exit:false, onstage:true, dialog:[""], combinewith:0, resultitem:0, disappears:true, hh:true});
n++;
}
Mouse.hide();
initgamedata();
trace("huju");
_root.gotoAndStop(59);
_root.previousroom = 12;
Instance of Symbol 407 MovieClip in Frame 11
onClipEvent (enterFrame) {
_root.mc_allstage._x = _root.mc_allstage._x + _root.stageoffset;
if (_root.mc_allstage._x > 0) {
_root.mc_allstage._x = 0;
}
if (_root.mc_allstage._x < (-(_root.mc_allstage._width - 800))) {
_root.mc_allstage._x = -(_root.mc_allstage._width - 800);
}
_root.mc_allstage._y = _root.mc_allstage._y + _root.soy;
if (_root.mc_allstage._y > (300 + ((_root.mc_allstage._height - 600) / 2))) {
_root.mc_allstage._y = 300 + ((_root.mc_allstage._height - 600) / 2);
}
if (_root.mc_allstage._y < (300 - ((_root.mc_allstage._height - 600) / 2))) {
_root.mc_allstage._y = 300 - ((_root.mc_allstage._height - 600) / 2);
}
}
Instance of Symbol 442 MovieClip "mc_allstage" in Frame 11
onClipEvent (enterFrame) {
if (_root.directpanning) {
this._x = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
this._y = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
}
}
Instance of Symbol 444 MovieClip "mc_scratches1" in Frame 11
onClipEvent (enterFrame) {
if (_root.mc_allstage._width > 802) {
this._alpha = 10 - (-10 * (_root.mc_allstage._x / (_root.mc_allstage._width - 800)));
}
}
Instance of Symbol 446 MovieClip "mc_scratches2" in Frame 11
onClipEvent (enterFrame) {
if (_root.mc_allstage._width > 802) {
this._alpha = -10 * (_root.mc_allstage._x / (_root.mc_allstage._width - 800));
}
}
Instance of Symbol 453 MovieClip "mc_helmet_bottom1" in Frame 11
onClipEvent (enterFrame) {
if (_root.mc_allstage._width > 802) {
this._alpha = -100 * (_root.mc_allstage._x / (_root.mc_allstage._width - 800));
}
}
Instance of Symbol 474 MovieClip "mc_inventorytimer" in Frame 11
onClipEvent (enterFrame) {
_root.playbackmc.prevFrame();
}
Instance of Symbol 503 MovieClip "mc_showitem" in Frame 11
on (release) {
this.play();
}
Instance of Symbol 424 MovieClip "mc_skipdialog" in Frame 11
on (release) {
_root.nextdialog();
}
on (rollOver) {
_root.mc_cursor.mc_crosshair._visible = false;
_root.mc_cursor.mc_ora._visible = true;
_root.mc_cursor.mc_itemdescription._visible = true;
_root.mc_cursor.mc_itemdescription.txt_itemdescription1.text = "CLICK TO SKIP";
_root.mc_cursor.mc_itemdescription.txt_itemdescription2.text = "CLICK TO SKIP";
trace("over skipdialog");
}
Instance of Symbol 424 MovieClip "mc_waiter" in Frame 11
on (release) {
}
on (rollOver) {
_root.mc_cursor.mc_crosshair._visible = false;
_root.mc_cursor.mc_ora._visible = true;
trace("over waiter");
}
Frame 12
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 13
_root.setstage();
_root.hidedescription();
if (!_root.gamedata[10].inventory_happened) {
_root.mc_allstage.mc_item10.mc_bluranim.gotoAndPlay(1);
_root.executeitem(10);
}
_root.previousroom = _root._currentframe;
Instance of Symbol 442 MovieClip "mc_allstage" in Frame 13
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 14
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 15
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 624 MovieClip "mc_allstage" in Frame 15
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 16
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 17
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
_root.sfx.stop();
Instance of Symbol 642 MovieClip "mc_allstage" in Frame 17
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 18
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
if (!_root.gamedata[30].inventory_happened) {
_root.playsfx("console", true);
}
Frame 19
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 20
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 714 MovieClip "mc_allstage" in Frame 20
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 21
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 22
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 23
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 775 MovieClip "mc_allstage" in Frame 23
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 24
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
if (!_root.gamedata[107].inventory_happened) {
_root.playsfx("sparks", true);
}
Frame 25
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 26
_root.setstage();
_root.hidedescription();
if (_root.gamedata[243].inventory_happened) {
_root.mc_nightfallanim._visible = true;
_root.mc_nightfallanim.gotoAndPlay(2);
trace("nightfall");
} else {
_root.mc_nightfallanim.stop();
_root.mc_nightfallanim._visible = false;
}
_root.previousroom = _root._currentframe;
Instance of Symbol 811 MovieClip "mc_allstage" in Frame 26
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 27
_root.setstage();
_root.hidedescription();
if (_root.checkrequisites(112)) {
_root.executeitem(112);
_root.gamedata[114].onstage = true;
_root.gamedata[250].onstage = false;
if (!_root.gamedata[252].onstage) {
_root.gamedata[251].onstage = true;
}
}
_root.previousroom = _root._currentframe;
Instance of Symbol 830 MovieClip "mc_allstage" in Frame 27
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 28
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 843 MovieClip "mc_allstage" in Frame 28
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 29
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 849 MovieClip "mc_allstage" in Frame 29
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 30
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 855 MovieClip "mc_allstage" in Frame 30
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 31
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 32
_root.setstage();
_root.hidedescription();
_root.gamedata[251].onstage = false;
_root.gamedata[252].onstage = true;
if (_root.checkrequisites(259)) {
_root.executeitem(259);
}
_root.previousroom = _root._currentframe;
Instance of Symbol 861 MovieClip "mc_allstage" in Frame 32
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 33
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 867 MovieClip "mc_allstage" in Frame 33
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 34
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 879 MovieClip "mc_allstage" in Frame 34
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 35
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 36
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 37
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 900 MovieClip "mc_allstage" in Frame 37
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 38
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 39
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 40
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 814 MovieClip "mc_allstage" in Frame 40
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 41
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 42
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 921 MovieClip "mc_allstage" in Frame 42
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 43
_root.setstage();
_root.hidedescription();
if (_root.checkrequisites(258)) {
_root.executeitem(258);
}
_root.previousroom = _root._currentframe;
Instance of Symbol 932 MovieClip "mc_allstage" in Frame 43
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 44
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 957 MovieClip "mc_allstage" in Frame 44
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 45
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 963 MovieClip "mc_allstage" in Frame 45
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 46
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 47
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 48
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 989 MovieClip "mc_allstage" in Frame 48
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 49
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 50
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 51
_root.setstage();
_root.hidedescription();
Frame 52
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 1032 MovieClip "mc_allstage" in Frame 52
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 53
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Instance of Symbol 1035 MovieClip "mc_allstage" in Frame 53
onClipEvent (enterFrame) {
if (_root.directpanning) {
fx = -((this._width - Stage.width) * (_root._xmouse / Stage.width));
fy = (this._height / 2) - ((this._height - Stage.height) * (_root._ymouse / Stage.height));
distancex = fx - this._x;
distancey = fy - this._y;
this._x = this._x + (distancex / 10);
this._y = this._y + (distancey / 10);
}
}
Frame 54
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 55
_root.setstage();
_root.hidedescription();
_root.previousroom = _root._currentframe;
Frame 56
_root.setstage();
_root.hidedescription();
Frame 57
_root.setstage();
_root.hidedescription();
Frame 58
_root.setstage();
_root.hidedescription();
Frame 59
var video_intro;
var my_nc = new NetConnection();
my_nc.connect(null);
var my_ns = new NetStream(my_nc);
video_intro.attachVideo(my_ns);
my_ns.play("http://cdn.bubblebox.com/swf/morningstar/bKaI32MvjapKapKl3Bb8S3F20Sa9S2_intro.flv");
Instance of Symbol 1066 MovieClip in Frame 59
onClipEvent (enterFrame) {
if (_root.my_ns.time > 85) {
_root.my_ns.close();
if (_root.previousroom != 12) {
_root.music.start(0, 999999);
_root.ambience.start(0, 999999);
}
_root.mc_mainmenu._visible = true;
_root.mc_mainmenu.gotoAndPlay(2);
_root.gotoAndStop(_root.previousroom);
}
}
Frame 60
var video_outro;
var my_nc = new NetConnection();
my_nc.connect(null);
var my_ns = new NetStream(my_nc);
video_outro.attachVideo(my_ns);
my_ns.play("http://cdn.bubblebox.com/swf/morningstar/bKaI32MvjapKapKl3Bb8S3F20Sa9S2_outro.flv");
Instance of Symbol 1066 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (_root.my_ns.time > 57) {
_root.my_ns.close();
if (_root.previousroom != 12) {
_root.music.start(0, 999999);
_root.ambience.start(0, 999999);
}
_root.mc_mainmenu._visible = true;
_root.mc_mainmenu.gotoAndPlay(2);
_root.gotoAndStop(_root.previousroom);
}
}
Frame 61
_root.gotoAndStop(_root.gamsaav.data.room);
Symbol 16 MovieClip [MaximizeButton] Frame 1
#initclip 57
Object.registerClass("MaximizeButton", mx.controls.streamingmedia.FullScreenToggleControl);
#endinitclip
stop();
Symbol 18 MovieClip [MinimizeButton] Frame 1
#initclip 58
Object.registerClass("MinimizeButton", mx.controls.streamingmedia.FullScreenToggleControl);
#endinitclip
stop();
Symbol 19 MovieClip [FullScreenToggle] Frame 1
#initclip 59
Object.registerClass("FullScreenToggle", mx.controls.streamingmedia.FullScreenToggle);
#endinitclip
stop();
Symbol 20 MovieClip [Defaults] Frame 1
#initclip 60
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 21 MovieClip [UIObjectExtensions] Frame 1
#initclip 61
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 22 MovieClip [UIObject] Frame 1
#initclip 62
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 25 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 28 MovieClip [FocusRect] Frame 1
#initclip 63
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 29 MovieClip [FocusManager] Frame 1
#initclip 64
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 30 MovieClip [UIComponentExtensions] Frame 1
#initclip 65
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 31 MovieClip [UIComponent] Frame 1
#initclip 66
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 32 MovieClip [MediaDisplay] Frame 1
#initclip 67
Object.registerClass("MediaDisplay", mx.controls.MediaDisplay);
#endinitclip
stop();
Symbol 98 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1362&subid=loading_screen", "_blank");
};
Symbol 1 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local2 = __width;
var _local3 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local2, oldHeight:_local3});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = createObject(className.symbolOwner.symbolName, id, depth, initobj);
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.2.127";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 2 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.2.127";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 3 MovieClip [__Packages.mx.controls.streamingmedia.ICuePointHolder] Frame 0
interface mx.controls.streamingmedia.ICuePointHolder{}
Symbol 4 MovieClip [__Packages.mx.controls.MediaDisplay] Frame 0
class mx.controls.MediaDisplay extends mx.core.UIComponent
{
var _width, _height, _deadPreview, _startingTime, _playingBeforeDisabled, _started, _sendCompleteEvent, _fullyLoaded, tabEnabled, tabChildren, _screenAccommodator, _cuePoints, initCuePointNames, initCuePointTimes, _mostRecentCuePoint, _playerImpl, _contentPath, _videoHolder, _totalTime, createEmptyMovieClip, _soundHolder, redraw, _autoPlay, _pollId, _autoSize, _aspectRatio, __get__width, __get__height, _parent, dispatchEvent, invalidate, _mediaType, addEventListener;
function MediaDisplay () {
super();
}
function init(Void) {
initializeParameters();
var _local3 = _width;
var _local4 = _height;
_deadPreview._visible = false;
super.init();
setSize(_local3, _local4, true);
initCuePoints();
_startingTime = 0;
_playingBeforeDisabled = false;
_started = false;
_sendCompleteEvent = false;
_fullyLoaded = false;
makeVideoVisible = false;
tabEnabled = false;
tabChildren = false;
_screenAccommodator = new mx.controls.streamingmedia.ScreenAccommodator(this);
}
function initializeParameters() {
if (mediaType == null) {
mediaType = ("FLV");
}
if (totalTime == null) {
totalTime = (0);
}
if (contentPath == null) {
contentPath = ("");
}
if (autoPlay == null) {
autoPlay = (true);
}
if (autoSize == null) {
autoSize = (true);
}
if (aspectRatio == null) {
aspectRatio = (true);
}
}
function initCuePoints() {
_cuePoints = new Array();
var _local2 = 0;
while ((_local2 < initCuePointNames.length) && (_local2 < initCuePointTimes.length)) {
addCuePoint(initCuePointNames[_local2], initCuePointTimes[_local2]);
_local2++;
}
delete initCuePointNames;
delete initCuePointTimes;
_mostRecentCuePoint = undefined;
}
function initMedia(switchType) {
if (isLivePreview()) {
return(undefined);
}
var _local2 = volume;
if (switchType) {
_playerImpl.stop();
}
if (isFLV()) {
if (isRtmp(_contentPath)) {
_playerImpl = new mx.controls.streamingmedia.RTMPPlayer(_contentPath, mx.controls.streamingmedia.StreamingMediaConstants.FLV_MEDIA_TYPE, _videoHolder, _totalTime);
} else {
_playerImpl = new mx.controls.streamingmedia.FLVPlayer(_contentPath, _videoHolder, _totalTime);
}
} else if (isMP3()) {
if (switchType) {
releaseVideo();
}
if (isRtmp(_contentPath)) {
_playerImpl = new mx.controls.streamingmedia.RTMPPlayer(_contentPath, mx.controls.streamingmedia.StreamingMediaConstants.MP3_MEDIA_TYPE, _videoHolder, _totalTime);
} else {
createEmptyMovieClip("_soundHolder", 10);
_playerImpl = new mx.controls.streamingmedia.MP3Player(_contentPath, _soundHolder);
}
}
if (_local2 != undefined) {
volume = (_local2);
}
redraw(true);
_playerImpl.removeAllListeners();
_playerImpl.addListener(this);
_started = false;
if (!switchType) {
if (_autoPlay) {
play();
} else {
load();
}
poll(true);
if (_pollId != null) {
clearInterval(_pollId);
}
_pollId = setInterval(this, "poll", 250);
}
}
function draw() {
if (isFLV()) {
if (makeVideoVisible) {
_videoHolder._visible = true;
makeVideoVisible = false;
}
if (_autoSize) {
assignPreferredSize();
} else if (_aspectRatio) {
var _local4 = preferredWidth;
var _local3 = preferredHeight;
var _local2 = Math.min(__get__width() / _local4, __get__height() / _local3);
setVideoDisplaySize(_local2 * _local4, _local2 * _local3);
} else {
setVideoDisplaySize(__get__width(), __get__height());
}
}
}
function setVideoDisplaySize(w, h) {
if (isFLV()) {
var _local2 = _videoHolder._video;
_local2._width = w;
_local2._height = h;
_local2._x = (__get__width() - _local2._width) / 2;
_local2._y = (__get__height() - _local2._height) / 2;
}
}
function get videoWidth() {
var _local2;
if (isMP3()) {
_local2 = 0;
} else {
_local2 = _videoHolder._video._width;
}
return(_local2);
}
function get videoHeight() {
var _local2;
if (isMP3()) {
_local2 = 0;
} else {
_local2 = _videoHolder._video._height;
}
return(_local2);
}
function get preferredWidth() {
var _local2;
if (isMP3()) {
_local2 = 0;
} else {
_local2 = _videoHolder._video.width;
}
return(_local2);
}
function get preferredHeight() {
var _local2;
if (isMP3()) {
_local2 = 0;
} else {
_local2 = _videoHolder._video.height;
}
return(_local2);
}
function assignPreferredSize() {
setVideoDisplaySize(preferredWidth, preferredHeight, true);
}
function handlePlayer(player, status) {
if ((status == "start") || (status == "resizeVideo")) {
if (_parent instanceof mx.controls.MediaPlayback) {
} else {
makeVideoVisible = true;
draw();
}
if (_started) {
var _local2 = {target:this, type:"resizeVideo"};
dispatchEvent(_local2);
} else {
var _local2 = {target:this, type:"start"};
dispatchEvent(_local2);
if (isRtmp(_contentPath)) {
_local2 = {target:this, type:"progress"};
dispatchEvent(_local2);
}
_started = true;
}
} else if (status == "complete") {
_sendCompleteEvent = true;
}
}
function toString() {
return("MediaDisplay: media=" + _contentPath);
}
function load() {
_playerImpl.load();
}
function play(startingPoint) {
if (startingPoint != undefined) {
_startingTime = startingPoint;
}
if (enabled) {
_playerImpl.play(startingPoint);
} else {
_playingBeforeDisabled = true;
}
}
function pause() {
_playerImpl.pause();
}
function stop() {
_playerImpl.stop();
}
function get autoSize() {
return(_autoSize);
}
function set autoSize(flag) {
if (_autoSize != flag) {
_autoSize = flag;
invalidate();
}
//return(autoSize);
}
function get aspectRatio() {
return(_aspectRatio);
}
function set aspectRatio(flag) {
if (_aspectRatio != flag) {
_aspectRatio = flag;
invalidate();
}
//return(aspectRatio);
}
function get autoPlay() {
return(_autoPlay);
}
function set autoPlay(flag) {
_autoPlay = flag;
//return(autoPlay);
}
function get playheadTime() {
return(_playerImpl.getPlayheadTime());
}
function set playheadTime(position) {
if (position != undefined) {
_startingTime = position;
}
_playerImpl.setPlayheadTime(position);
//return(playheadTime);
}
function get contentPath() {
return(_contentPath);
}
function set contentPath(aUrl) {
setMedia(aUrl);
//return(contentPath);
}
function setMedia(aUrl, aType) {
_fireCuePoints = false;
if (aType == null) {
aType = deduceMediaType(aUrl);
} else if ((aType != mx.controls.streamingmedia.StreamingMediaConstants.FLV_MEDIA_TYPE) && (aType != mx.controls.streamingmedia.StreamingMediaConstants.MP3_MEDIA_TYPE)) {
}
var _local5 = _mediaType;
_mediaType = aType;
var _local7 = isRtmp(_contentPath);
var _local6 = isRtmp(aUrl);
_contentPath = aUrl;
_fullyLoaded = false;
_startingTime = 0;
if (!isLivePreview()) {
if (_contentPath == "") {
releaseVideo();
} else if (_playerImpl == null) {
initMedia();
} else if ((_local5 != _mediaType) || (_local7 != _local6)) {
var _local4 = _playerImpl.isPlaying();
initMedia(true);
if (_local4) {
_playerImpl.play(0);
} else {
_playerImpl.load();
}
} else {
_playerImpl.setMediaUrl(aUrl);
_started = false;
}
}
}
function deduceMediaType(aUrl) {
var _local2 = aUrl.substr(-3);
if ((_local2 == "flv") || (_local2 == "FLV")) {
return("FLV");
}
if ((_local2 == "mp3") || (_local2 == "MP3")) {
return("MP3");
}
return(_mediaType);
}
function releaseVideo() {
_playerImpl.close();
_playerImpl = null;
}
function isLivePreview() {
return(_root.contents.obj != null);
}
function get volume() {
return(_playerImpl.getVolume());
}
function set volume(aVol) {
_playerImpl.setVolume(aVol);
//return(volume);
}
function get playing() {
return(_playerImpl.isPlaying());
}
function get bytesLoaded() {
return(_playerImpl.getMediaBytesLoaded());
}
function get bytesTotal() {
return(_playerImpl.getMediaBytesTotal());
}
function isFLV() {
return(_mediaType == mx.controls.streamingmedia.StreamingMediaConstants.FLV_MEDIA_TYPE);
}
function isMP3() {
return(_mediaType == mx.controls.streamingmedia.StreamingMediaConstants.MP3_MEDIA_TYPE);
}
function get mediaType() {
return(_mediaType);
}
function set mediaType(aType) {
_mediaType = aType;
//return(mediaType);
}
function get totalTime() {
var _local2;
if (_playerImpl == null) {
_local2 = _totalTime;
} else {
_local2 = _playerImpl.getTotalTime();
}
return(_local2);
}
function set totalTime(aTime) {
_totalTime = aTime;
if (_playerImpl instanceof mx.controls.streamingmedia.FLVPlayer) {
_playerImpl.setTotalTime(aTime);
} else if (_playerImpl instanceof mx.controls.streamingmedia.RTMPPlayer) {
_playerImpl.setTotalTime(aTime);
}
//return(totalTime);
}
function getCuePoints() {
return(_cuePoints);
}
function get cuePoints() {
return(getCuePoints());
}
function setCuePoints(cp) {
_cuePoints = cp;
var _local2 = 0;
while (_local2 < _cuePoints.length) {
_cuePoints[_local2].display = this;
_local2++;
}
}
function set cuePoints(cp) {
setCuePoints(cp);
//return(cuePoints);
}
function getCuePoint(pointName) {
var _local3 = null;
var _local2 = getCuePointIndex(pointName);
if (_local2 > -1) {
_local3 = _cuePoints[_local2];
}
return(_local3);
}
function addCuePoint(aName, aTime) {
var _local2 = new mx.controls.streamingmedia.CuePoint(aName, aTime);
addCuePointObject(_local2);
}
function addCuePointObject(aCuePoint) {
aCuePoint.display = this;
_cuePoints.push(aCuePoint);
}
function removeCuePoint(aCuePoint) {
var _local2 = getCuePointIndex(aCuePoint.name);
if (_local2 > -1) {
_cuePoints.splice(_local2, 1);
}
}
function removeAllCuePoints() {
_cuePoints.length = 0;
_mostRecentCuePoint = undefined;
}
function get mostRecentCuePoint() {
return(_mostRecentCuePoint);
}
function get mostRecentCuePointName() {
return(_mostRecentCuePoint.name);
}
function get mostRecentCuePointTime() {
return(_mostRecentCuePoint.time);
}
function handleEvent(ev) {
if ((ev.type == "click") && (ev.detail == "play")) {
handlePlayEvent(ev);
} else if ((ev.type == "click") && (ev.detail == "pause")) {
handlePauseEvent(ev);
} else if (ev.type == "playheadChange") {
handlePlayheadChangeEvent(ev);
} else if (ev.type == "volume") {
handleVolumeEvent(ev);
} else if (ev.type == "scrubbing") {
handleScrubbingEvent(ev);
} else {
handleUnrecognizedEvent(ev);
}
}
function handlePlayEvent(ev) {
play();
}
function handleStopEvent(ev) {
stop();
}
function handlePauseEvent(ev) {
pause();
}
function handleRewindEvent(ev) {
playheadTime = (0);
}
function handleFastForwardEvent(ev) {
var _local2 = totalTime;
playheadTime = (_local2);
}
function handlePlayheadChangeEvent(ev) {
var _local3 = ev.detail;
var _local2 = (_local3 / 100) * totalTime;
_fireCuePoints = _scrubbing;
playheadTime = (_local2);
}
function handleVolumeEvent(ev) {
var _local2 = ev.detail;
volume = (_local2);
}
function handleScrubbingEvent(ev) {
_scrubbing = ev.detail;
}
function handleUnrecognizedEvent(ev) {
}
function getCuePointIndex(pointName) {
var _local3 = -1;
var _local2 = 0;
while ((_local2 < _cuePoints.length) && (_local3 == -1)) {
if (_cuePoints[_local2].name == pointName) {
_local3 = _local2;
}
_local2++;
}
return(_local3);
}
function poll(first) {
var _local4 = playheadTime;
var _local8 = bytesLoaded;
if (_local4 != _priorTime) {
if (((_mediaType == "MP3") && (_playerImpl.isPlaying())) && (!_started)) {
_playerImpl.playStarted();
var _local9 = playheadTime;
if (((_startingTime - 0.1) < _local9) && (_local9 < (_startingTime + 0.1))) {
_started = true;
var _local10 = {target:this, type:"start"};
dispatchEvent(_local10);
}
}
var _local10 = {type:"change", target:this};
dispatchEvent(_local10);
}
var _local7 = false;
if ((!_fullyLoaded) && (bytesLoaded >= (bytesTotal - 100))) {
_fullyLoaded = true;
_playerImpl.mediaLoaded();
_local7 = true;
} else if (first || (_local8 != _priorBytesLoaded)) {
_local7 = true;
}
if (_local7) {
var _local10 = {type:"progress", target:this};
dispatchEvent(_local10);
}
var _local2 = null;
var _local3 = 0;
while (_fireCuePoints && (_local3 < _cuePoints.length)) {
_local2 = _cuePoints[_local3];
if (((_priorTime < _local2.time) && (_local4 >= _local2.time)) || ((_priorTime > _local2.time) && (_local4 <= _local2.time))) {
_mostRecentCuePoint = _local2;
var _local10 = {type:"cuePoint", target:this, cuePointName:_local2.name, cuePointTime:_local2.time};
dispatchEvent(_local10);
}
_local3++;
}
_fireCuePoints = true;
if (_sendCompleteEvent) {
_sendCompleteEvent = false;
var _local10 = {type:"complete", target:this};
dispatchEvent(_local10);
}
_priorTime = _local4;
_priorBytesLoaded = _local8;
}
function isRtmp(mediaUrl) {
if (mediaUrl != null) {
var _local1;
_local1 = mediaUrl.toLowerCase();
return(_local1.indexOf("rtmp") == 0);
}
return(false);
}
function associateController(c) {
c.addEventListener("click", this);
c.addEventListener("playheadChange", this);
c.addEventListener("volume", this);
c.addEventListener("scrubbing", this);
addEventListener("change", c);
addEventListener("progress", c);
addEventListener("complete", c);
}
function setSize(w, h, noEvent) {
super.setSize(w, h, noEvent);
invalidate();
}
function get enabled() {
return(_enabled);
}
function set enabled(is) {
if (_enabled == is) {
return;
}
_enabled = is;
if (is) {
if (_playingBeforeDisabled) {
play();
_playingBeforeDisabled = false;
}
} else {
_playingBeforeDisabled = playing;
if (_playingBeforeDisabled && (_playerImpl instanceof mx.controls.streamingmedia.MP3Player)) {
_playingBeforeDisabled = !_playerImpl.willStop();
}
pause();
}
//return(enabled);
}
function onUnload() {
_playerImpl.close();
}
static var symbolName = "MediaDisplay";
static var symbolOwner = mx.controls.MediaDisplay;
var className = "MediaDisplay";
static var version = "2.0.2.126";
var clipParameters = {mediaType:"FLV", contentPath:"", totalTime:0, autoSize:true, autoPlay:true, initCuePointNames:new Array(), initCuePointTimes:new Array(), fps:30};
var _priorTime = 0;
var _priorBytesLoaded = 0;
var _scrubbing = false;
var _fireCuePoints = true;
var _enabled = true;
var makeVideoVisible = false;
}
Symbol 33 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 34 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 35 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 36 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 37 MovieClip [__Packages.mx.controls.streamingmedia.CuePoint] Frame 0
class mx.controls.streamingmedia.CuePoint
{
var name, time;
function CuePoint (aName, aTime) {
name = aName;
time = aTime;
}
function toString() {
return(((("CuePoint: " + name) + " at ") + time) + " seconds");
}
}
Symbol 38 MovieClip [__Packages.mx.controls.MediaController] Frame 0
class mx.controls.MediaController extends mx.core.UIComponent
{
var _lastProgressMediaType, _controllerPolicy, _width, _height, _horizontal, _y, _x, __get__height, __get__width, _priorPolicy, _activePlayControl, _backgroundStyle, _isOpen, _priorMouseOver, _closeId, _openId, gotoAndStop, _isPlaying, _playPercent, _playTime, _volume, tabEnabled, tabChildren, playAtBeginning, _screenAccommodator, redraw, _playBar, _miniPlayBar, _loadBar, _volumeControl, _buttons, width, height, _chrome, _secondChrome, _secondChromeClosedHeight, _secondChromeOpenHeight, _secondChromeClosedWidth, _secondChromeOpenWidth, _secondChromeFixedEnd, hitTest, _animationStart, _animationOpen, onEnterFrame, _loadPercent, invalidate, dispatchEvent, _listenForPlayheadMoveEvent, _notAnimating, _strings, _openUpOrLeft;
function MediaController () {
super();
}
function get lastProgressMediaType() {
return(_lastProgressMediaType);
}
function init(Void) {
mx.controls.streamingmedia.Tracer.trace("MediaController.init: start: policy=" + _controllerPolicy);
initializeParameters();
mx.controls.streamingmedia.Tracer.trace("MediaController.init: after initializeParameters: policy=" + _controllerPolicy);
var _local3 = _width;
var _local4 = _height;
super.init();
if (_horizontal) {
_local3 = Math.max(MINIMUM_HORIZONTAL_WIDTH, _local3);
_local4 = Math.max(MINIMUM_HORIZONTAL_OPEN_HEIGHT, _local4);
} else {
_local3 = Math.max(MINIMUM_VERTICAL_OPEN_WIDTH, _local3);
_local4 = Math.max(MINIMUM_VERTICAL_HEIGHT, _local4);
}
setSize(_local3, _local4, true);
mx.controls.streamingmedia.Tracer.trace(((((((("MediaController.init: after setSize " + __get__width()) + "x") + __get__height()) + " at (") + _x) + ",") + _y) + ")");
_priorPolicy = _controllerPolicy;
createDefaultStrings();
mx.controls.streamingmedia.Tracer.trace("MediaController.init: Initialized properties:");
mx.controls.streamingmedia.Tracer.trace(" controllerPolicy=" + _controllerPolicy);
mx.controls.streamingmedia.Tracer.trace(" horizontal=" + _horizontal);
mx.controls.streamingmedia.Tracer.trace(" activePlayControl=" + _activePlayControl);
mx.controls.streamingmedia.Tracer.trace(" backgroundStyle=" + _backgroundStyle);
if (_controllerPolicy == "auto") {
_isOpen = false;
_priorMouseOver = false;
_closeId = null;
_openId = null;
Mouse.addListener(this);
gotoAndStop(getClosedFrameName());
} else if (_controllerPolicy == "on") {
_isOpen = true;
gotoAndStop(getOpenFrameName());
} else if (_controllerPolicy == "off") {
_isOpen = false;
gotoAndStop(getClosedFrameName());
}
_isPlaying = _activePlayControl == "pause";
_playPercent = 0;
_playTime = 0;
_volume = mx.controls.streamingmedia.StreamingMediaConstants.DEFAULT_VOLUME;
setOpenUpOrLeft(false);
setListeningForPlayheadMoveEvent(true);
tabEnabled = false;
tabChildren = true;
playAtBeginning = false;
_screenAccommodator = new mx.controls.streamingmedia.ScreenAccommodator(this);
redraw(true);
}
function initializeParameters() {
if (horizontal == null) {
horizontal = (true);
}
if (controllerPolicy == null) {
controllerPolicy = ("auto");
}
if (backgroundStyle == null) {
backgroundStyle = ("default");
}
if (activePlayControl == null) {
activePlayControl = ("pause");
}
}
function getOpenFrameName() {
return((_horizontal ? "openHorizontal" : "openVertical"));
}
function getClosedFrameName() {
return((_horizontal ? "closedHorizontal" : "closedVertical"));
}
function draw(Void) {
if (_isOpen) {
gotoAndStop(getOpenFrameName());
_playBar.draw();
} else {
gotoAndStop(getClosedFrameName());
_miniPlayBar.draw();
}
_loadBar.draw();
if (_horizontal) {
positionControlsHorizontal();
} else {
positionControlsVertical();
}
drawChrome();
}
function positionControlsVertical() {
if (_isOpen) {
_volumeControl._x = (__get__width() - _volumeControl._width) / 2;
_volumeControl._y = (__get__height() - _volumeControl._height) - 8;
_buttons._x = (__get__width() - _buttons._width) / 2;
_buttons._y = ((__get__height() - _buttons._height) - _volumeControl._height) - 16;
_playBar._x = (__get__width() - _playBar._width) / 2;
_loadBar._x = (_playBar._x + _playBar._width) - 4;
} else {
_loadBar._x = LOADBAR_VERTICAL_CLOSED_X;
_miniPlayBar._x = MINIPLAYBAR_VERTICAL_CLOSED_X;
}
}
function positionControlsHorizontal() {
if (_isOpen) {
_loadBar._y = LOADBAR_HORIZONTAL_OPEN_Y;
_buttons._x = 8;
_buttons._y = (__get__height() - _buttons._height) - 8;
_volumeControl._x = (__get__width() - _volumeControl._width) - 8;
_volumeControl._y = (__get__height() - _volumeControl._height) - 8;
} else {
_loadBar._y = LOADBAR_HORIZONTAL_CLOSED_Y;
}
}
function drawChrome(wi, he) {
if (wi == null) {
if (_horizontal) {
wi = width;
} else {
wi = (_isOpen ? (__get__width()) : (CLOSED_VERTICAL_WIDTH));
}
}
if (he == null) {
if (_horizontal) {
he = (_isOpen ? (__get__height()) : (CLOSED_HORIZONTAL_HEIGHT));
} else {
he = height;
}
}
_chrome.visible = backgroundStyle == "default";
_chrome.showToggles = false;
_chrome.setSize(wi, he);
_chrome.draw();
}
function addSecondChrome(theChrome, closedHeight, openHeight, closedWidth, openWidth, fixedEnd) {
_secondChrome = theChrome;
_secondChromeClosedHeight = closedHeight;
_secondChromeOpenHeight = openHeight;
_secondChromeClosedWidth = closedWidth;
_secondChromeOpenWidth = openWidth;
_secondChromeFixedEnd = fixedEnd;
}
function removeSecondChrome() {
_secondChrome = null;
}
function get expanded() {
return(_isOpen);
}
function onMouseMove() {
var _local5 = _root._xmouse;
var _local4 = _root._ymouse;
var _local3 = hitTest(_local5, _local4, true);
if ((_local3 && (_closeId != null)) || (isNotAnimating())) {
clearInterval(_closeId);
_closeId = null;
}
if (((!_local3) && (_openId != null)) || (isNotAnimating())) {
clearInterval(_openId);
_openId = null;
}
if ((((_local3 && (!_isOpen)) && (_controllerPolicy == "auto")) && (_openId == null)) && (!isNotAnimating())) {
_openId = setInterval(this, "expand", OPEN_DELAY);
} else if (((((!_local3) && (_isOpen)) && (_controllerPolicy == "auto")) && (_closeId == null)) && (!isNotAnimating())) {
_closeId = setInterval(this, "contract", CLOSE_DELAY);
}
_priorMouseOver = _local3;
}
function expand(force) {
clearInterval(_openId);
_openId = null;
if ((_controllerPolicy == "auto") || (force)) {
_isOpen = true;
_animationStart = getTimer();
_animationOpen = true;
_priorMouseOver = true;
onEnterFrame = animate;
}
}
function contract(force) {
mx.controls.streamingmedia.Tracer.trace((((("MediaController.contract: force=" + force) + ", animating=") + _animating) + ", opening=") + _animationOpen);
if (_animating && (!_animationOpen)) {
return(undefined);
}
clearInterval(_closeId);
_closeId = null;
if ((_controllerPolicy == "auto") || (force)) {
_isOpen = false;
_animationStart = getTimer();
_animationOpen = false;
_priorMouseOver = false;
gotoAndStop(getClosedFrameName());
animate();
onEnterFrame = animate;
}
}
function animate() {
_animating = true;
var _local4 = getTimer() - _animationStart;
var _local3 = Math.min(1, _local4 / ANIMATION_TIME);
mx.controls.streamingmedia.Tracer.trace((((((("MediaController.animate: _animationStart=" + _animationStart) + ", elapsed=") + _local4) + ", portion=") + _local3) + ", ANIMATION_TIME=") + ANIMATION_TIME);
sizeMainChrome(_local3);
if (_secondChrome != null) {
sizeSecondChrome(_local3);
}
animateBars(_local3);
if ((_local4 >= ANIMATION_TIME) || (_global.isLivePreview)) {
animationDone();
}
}
function animationDone() {
mx.controls.streamingmedia.Tracer.trace("MediaController.animationDone");
_animating = false;
delete onEnterFrame;
refreshBars();
if (_animationOpen) {
gotoAndStop(getOpenFrameName());
}
redraw(true);
}
function sizeMainChrome(portion) {
var _local2 = __get__height();
var _local3 = __get__width();
if (_horizontal) {
var _local4 = (__get__height() - CLOSED_HORIZONTAL_HEIGHT) * portion;
if (_animationOpen) {
_local2 = CLOSED_HORIZONTAL_HEIGHT + _local4;
} else {
_local2 = __get__height() - _local4;
}
} else {
var _local4 = (__get__width() - CLOSED_VERTICAL_WIDTH) * portion;
if (_animationOpen) {
_local3 = CLOSED_VERTICAL_WIDTH + _local4;
} else {
_local3 = __get__width() - _local4;
}
}
if (isOpenUpOrLeft()) {
var _local6 = _chrome.width - _local3;
var _local5 = _chrome.height - _local2;
_x = _x + _local6;
_y = _y + _local5;
}
drawChrome(_local3, _local2);
}
function sizeSecondChrome(portion) {
var _local3;
var _local4;
var _local2;
if (_horizontal) {
_local4 = _secondChromeClosedWidth;
_local2 = (_secondChromeOpenHeight - _secondChromeClosedHeight) * portion;
_local3 = (_animationOpen ? (_secondChromeClosedHeight + _local2) : (_secondChromeOpenHeight - _local2));
if (_secondChromeFixedEnd) {
_secondChrome._y = (_secondChrome._y - _local3) + _secondChrome.height;
}
} else {
_local3 = _secondChromeClosedHeight;
_local2 = (_secondChromeOpenWidth - _secondChromeClosedWidth) * portion;
_local4 = (_animationOpen ? (_secondChromeClosedWidth + _local2) : (_secondChromeOpenWidth - _local2));
if (_secondChromeFixedEnd) {
_secondChrome._x = (_secondChrome._x - _local4) + _secondChrome.width;
}
}
_secondChrome.setSize(_local4, _local3);
_secondChrome.draw();
}
function animateBars(portion) {
var _local2;
if (_horizontal) {
_local2 = (LOADBAR_HORIZONTAL_OPEN_Y - LOADBAR_HORIZONTAL_CLOSED_Y) * portion;
var _local8 = (_animationOpen ? (LOADBAR_HORIZONTAL_CLOSED_Y + _local2) : (LOADBAR_HORIZONTAL_OPEN_Y - _local2));
_loadBar._y = _local8;
} else {
var _local5 = _chrome.width / 2;
_local2 = (_local5 - MINIPLAYBAR_VERTICAL_CLOSED_X) * portion;
_local2 = Math.max(0, _local2);
var _local9 = (_animationOpen ? (MINIPLAYBAR_VERTICAL_CLOSED_X + _local2) : (_local5 - _local2));
_miniPlayBar._x = _local9;
_loadBar._x = _miniPlayBar._x + _miniPlayBar._width;
var _local3 = _loadBar.getClosedHeight();
var _local4 = _loadBar.getOpenHeight();
_local2 = (_local3 - _local4) * portion;
var _local6 = (_animationOpen ? (_local3 - _local2) : (_local4 + _local2));
_loadBar.draw(_local6);
_miniPlayBar.draw(_local6);
}
}
function getLoadBar() {
return(_loadBar);
}
function refreshBars() {
mx.controls.streamingmedia.Tracer.trace((("MediaController.refreshBars: load=" + _loadPercent) + ", play=") + _playPercent);
_loadBar.setCompletionPercentage(_loadPercent);
_playBar.setCompletionPercentage(_playPercent);
_miniPlayBar.setCompletionPercentage(_playPercent);
}
function getLoadPercent() {
return(_loadPercent);
}
function getMinimumOpenHeight() {
var _local2 = (_horizontal ? (MINIMUM_HORIZONTAL_OPEN_HEIGHT) : (MINIMUM_VERTICAL_HEIGHT));
return(_local2);
}
function getMinimumClosedHeight() {
var _local2 = (_horizontal ? (CLOSED_HORIZONTAL_HEIGHT) : (MINIMUM_VERTICAL_HEIGHT));
return(_local2);
}
function getMinimumOpenWidth() {
var _local2 = (_horizontal ? (MINIMUM_HORIZONTAL_WIDTH) : (MINIMUM_VERTICAL_OPEN_WIDTH));
return(_local2);
}
function getMinimumClosedWidth() {
var _local2 = (_horizontal ? (MINIMUM_HORIZONTAL_WIDTH) : (CLOSED_VERTICAL_WIDTH));
return(_local2);
}
function get controllerPolicy() {
return(_controllerPolicy);
}
function set controllerPolicy(aPolicy) {
mx.controls.streamingmedia.Tracer.trace((("MediaController.set controllerPolicy: old=" + _controllerPolicy) + ", new=") + aPolicy);
if (aPolicy == _controllerPolicy) {
return;
}
_controllerPolicy = aPolicy;
if (_controllerPolicy == "on") {
Mouse.removeListener(this);
if (!_isOpen) {
expand(true);
}
} else if (_controllerPolicy == "off") {
Mouse.removeListener(this);
if (_isOpen) {
mx.controls.streamingmedia.Tracer.trace("MediaController.set controllerPolicy(off): about to call contract");
contract(true);
}
} else if (_controllerPolicy == "auto") {
_closeId = null;
_openId = null;
Mouse.addListener(this);
var _local3 = hitTest(_root._xmouse, _root._ymouse, true);
if (_isOpen && (!_local3)) {
mx.controls.streamingmedia.Tracer.trace("MediaController.set controllerPolicy(auto): about to call contract");
contract();
} else if ((!_isOpen) && (_local3)) {
expand();
}
}
//return(controllerPolicy);
}
function get horizontal() {
return(_horizontal);
}
function set horizontal(isHoriz) {
if (isHoriz != _horizontal) {
_horizontal = isHoriz;
var _local2 = __get__height();
var _local3 = __get__width();
if (isHoriz) {
_local2 = Math.max(_local2, MINIMUM_HORIZONTAL_WIDTH);
_local3 = Math.max(_local3, MINIMUM_HORIZONTAL_OPEN_HEIGHT);
} else {
_local2 = Math.max(_local2, MINIMUM_VERTICAL_OPEN_WIDTH);
_local3 = Math.max(_local3, MINIMUM_VERTICAL_HEIGHT);
}
setSize(_local2, _local3);
invalidate();
} else {
_horizontal = isHoriz;
}
//return(horizontal);
}
function get volume() {
return(_volume);
}
function set volume(vol) {
_volume = vol;
_volumeControl.getHandle().setVolume(vol);
//return(volume);
}
function get backgroundStyle() {
return(_backgroundStyle);
}
function set backgroundStyle(aStyle) {
_backgroundStyle = aStyle;
drawChrome();
//return(backgroundStyle);
}
function broadcastEvent(eventType, detailArg) {
var _local2 = {type:eventType, target:this, detail:detailArg};
if (eventType == "volume") {
_volume = detailArg;
}
dispatchEvent(_local2);
}
function handleEvent(ev) {
if (ev.type == "change") {
playAtBeginning = false;
if (isListeningForPlayheadMoveEvent()) {
handleChangeEvent(ev);
}
} else if (ev.type == "progress") {
handleProgressEvent(ev);
} else if (ev.type == "complete") {
handleCompleteEvent(ev);
} else if (ev.type == "scrubbing") {
handleScrubbingEvent(ev);
} else {
handleUnrecognizedEvent(ev);
}
}
function isListeningForPlayheadMoveEvent() {
return(_listenForPlayheadMoveEvent);
}
function setListeningForPlayheadMoveEvent(listen) {
_listenForPlayheadMoveEvent = listen;
}
function isNotAnimating() {
return(_notAnimating);
}
function setNotAnimating(still) {
_notAnimating = still;
}
function get activePlayControl() {
return(_activePlayControl);
}
function set activePlayControl(aControl) {
_activePlayControl = aControl;
//return(activePlayControl);
}
function get playing() {
return(isPlaying());
}
function set playing(playFlag) {
setPlaying(playFlag);
//return(playing);
}
function isPlaying() {
return(_isPlaying);
}
function setPlaying(playFlag) {
_isPlaying = playFlag;
_playBar.setIsPlaying(playFlag);
if (playFlag) {
_buttons.playPauseButtons.showPauseButton();
} else {
_buttons.playPauseButtons.showPlayButton();
}
}
function handleChangeEvent(ev) {
var _local2 = ev.target;
_playTime = _local2.playheadTime;
var _local3 = _local2.__get__totalTime();
_playPercent = (100 * _playTime) / _local3;
if (_isOpen) {
_playBar.setCompletionPercentage(_playPercent);
_playBar.setTime(_playTime);
} else {
_miniPlayBar.setCompletionPercentage(_playPercent);
}
}
function handleProgressEvent(ev) {
if (ev.target.isRtmp(ev.target.contentPath)) {
_loadPercent = 100;
} else {
var _local4 = ev.target.bytesLoaded;
var _local3 = ev.target.bytesTotal;
_loadPercent = (100 * _local4) / _local3;
}
refreshBars();
_lastProgressMediaType = ev.target.mediaType;
evaluateToEnd();
}
function evaluateToEnd() {
if (!_isOpen) {
return(undefined);
}
var _local2 = false;
if ((_loadPercent >= 99) && (enabled)) {
if (_lastProgressMediaType == "MP3") {
_local2 = true;
} else if ((_lastProgressMediaType == "FLV") && (!mx.controls.streamingmedia.StreamingMediaConstants.DISABLE_FLV_TOEND)) {
_local2 = true;
}
}
_buttons.toEndButton.enabled = _local2;
}
function handleCompleteEvent(ev) {
if ((!isScrubbing()) && (!_animating)) {
var _local2 = ev.target;
_playTime = _local2.totalTime;
_playPercent = 100;
if (_isOpen) {
_playBar.setCompletionPercentage(_playPercent);
_playBar.setTime(_playTime);
} else {
_miniPlayBar.setCompletionPercentage(_playPercent);
}
setPlaying(false);
mx.controls.streamingmedia.Tracer.trace("MediaController.handleCompleteEvent: playAtBeginning=true");
playAtBeginning = true;
}
}
function handleScrubbingEvent(ev) {
_listenForPlayheadMoveEvent = !ev.detail;
}
function handleUnrecognizedEvent(ev) {
mx.controls.streamingmedia.Tracer.trace((("received an unrecognized event of type " + ev.type) + " with target ") + ev.target);
}
function createDefaultStrings() {
_strings = new Object();
_strings.paused = "PAUSED";
_strings.streaming = "STREAMING";
}
function getLocalizedString(id) {
var _local2 = _strings[id];
return(_local2);
}
function get playTime() {
return(_playTime);
}
function set playTime(aTime) {
_playTime = aTime;
//return(playTime);
}
function get playPercent() {
return(_playPercent);
}
function set playPercent(aPercent) {
_playPercent = aPercent;
//return(playPercent);
}
function isOpenUpOrLeft() {
return(_openUpOrLeft);
}
function setOpenUpOrLeft(is) {
_openUpOrLeft = is;
}
function associateDisplay(d) {
d.associateController(this);
}
function setSize(w, h, noEvent) {
super.setSize(w, h, noEvent);
invalidate();
}
function get enabled() {
return(_enabled);
}
function set enabled(is) {
mx.controls.streamingmedia.Tracer.trace("MediaController.set enabled to " + is);
_enabled = is;
_buttons.toStartButton.enabled = is;
_buttons.toEndButton.enabled = is;
_buttons.playPauseButtons.enabled = is;
_volumeControl._muteButton.muteSimpleButton.enabled = is;
_volumeControl._loudButton.loudSimpleButton.enabled = is;
_playBar.__set__enabled(is);
_volumeControl.getHandle().__set__enabled(is);
if (is) {
if (_priorPolicy != null) {
controllerPolicy = (_priorPolicy);
}
} else {
_priorPolicy = controllerPolicy;
if (controllerPolicy == "auto") {
controllerPolicy = ("off");
}
}
//return(enabled);
}
function isScrubbing() {
return(_playBar.isScrubbing());
}
static var symbolName = "MediaController";
static var symbolOwner = mx.controls.MediaController;
var className = "MediaController";
static var version = "2.0.2.126";
var clipParameters = {controllerPolicy:"auto", horizontal:true, activePlayControl:"pause", backgroundStyle:"default"};
static var MINIMUM_HORIZONTAL_WIDTH = 202;
static var CLOSED_HORIZONTAL_HEIGHT = 25;
static var MINIMUM_HORIZONTAL_OPEN_HEIGHT = 63;
static var LOADBAR_HORIZONTAL_CLOSED_Y = 14;
static var LOADBAR_HORIZONTAL_OPEN_Y = 24;
static var MINIMUM_VERTICAL_HEIGHT = 202;
static var CLOSED_VERTICAL_WIDTH = 25;
static var MINIMUM_VERTICAL_OPEN_WIDTH = 80;
static var LOADBAR_VERTICAL_CLOSED_X = 14;
static var MINIPLAYBAR_VERTICAL_CLOSED_X = 8;
static var ANIMATION_TIME = 250;
static var CLOSE_DELAY = 1000;
static var OPEN_DELAY = 100;
static var LOCALIZED_FILE = "streamingmediacontroller.xml";
static var H_BORDER = 8;
static var V_BORDER = 8;
var _animating = false;
var _enabled = true;
}
Symbol 39 MovieClip [__Packages.mx.controls.streamingmedia.LoadBar] Frame 0
class mx.controls.streamingmedia.LoadBar extends MovieClip
{
var _controller, _parent, _fill, _y, _border, _background, _x;
function LoadBar () {
super();
init();
}
function init() {
_controller = _parent;
draw();
}
function isVertical() {
return(!_controller.__get__horizontal());
}
function getCompletionPercentage() {
var _local2;
if (isVertical()) {
_local2 = yToPercent(_fill._height);
} else {
_local2 = xToPercent(_fill._width);
}
return(_local2);
}
function setCompletionPercentage(aPercentage) {
aPercentage = Math.floor(aPercentage);
if (aPercentage < 0) {
aPercentage = 0;
} else if (aPercentage > 100) {
aPercentage = 100;
}
if (isVertical()) {
_fill._height = percentToY(aPercentage);
_fill._y = (getActualHeight() - _fill._height) - 1;
} else {
_fill._width = percentToX(aPercentage);
}
}
function draw(size) {
var _local3 = getCompletionPercentage();
if (isVertical()) {
if (size == null) {
size = getHeight();
}
_y = 8;
_border._height = size;
_background._height = size - 2;
} else {
if (size == null) {
size = getWidth();
}
_x = 8;
_border._width = size;
_background._width = size - 2;
}
setCompletionPercentage(_local3);
}
function getWidth() {
var _local2;
if (isVertical()) {
_local2 = 3;
} else {
_local2 = _controller.__get__width() - 16;
}
return(_local2);
}
function getHeight() {
var _local2;
if (isVertical()) {
if (_controller.__get__expanded()) {
_local2 = getOpenHeight();
} else {
_local2 = getClosedHeight();
}
} else {
_local2 = 3;
}
return(_local2);
}
function getActualHeight() {
return(_border._height);
}
function getActualWidth() {
return(_border._width);
}
function getOpenHeight() {
return(_controller.__get__height() - 90);
}
function getClosedHeight() {
return(_controller.__get__height() - 16);
}
function xToPercent(x) {
var _local2 = (100 * x) / (getActualWidth() - 2);
return(_local2);
}
function percentToX(percent) {
var _local2 = (getWidth() - 2) * (percent / 100);
return(_local2);
}
function yToPercent(y) {
var _local2 = (100 * (y - 0)) / (getActualHeight() - 2);
return(_local2);
}
function percentToY(percent) {
var _local2 = (getActualHeight() - 2) * (percent / 100);
return(_local2);
}
}
Symbol 40 MovieClip [__Packages.mx.controls.streamingmedia.PlayBar] Frame 0
class mx.controls.streamingmedia.PlayBar extends MovieClip
{
var _controller, _parent, _thumb, _hilite, _timeTextField, _statusTextField, onEnterFrame, _darkenText, _textPulseTime, _x, _y, _tray;
function PlayBar () {
super();
init();
}
function init() {
_controller = _parent;
setCompletionPercentage(_controller.__get__playPercent());
setTime(_controller.__get__playTime());
draw();
}
function isVertical() {
return(!_controller.__get__horizontal());
}
function getCompletionPercentage() {
var _local2;
if (isVertical()) {
_local2 = yToPercent(_thumb._y);
} else {
_local2 = xToPercent(_thumb._x);
}
return(_local2);
}
function setCompletionPercentage(aPercentage) {
aPercentage = Math.floor(aPercentage);
if (aPercentage < 1) {
aPercentage = 1;
} else if (aPercentage > 100) {
aPercentage = 100;
}
if (isVertical()) {
var _local3 = percentToY(aPercentage);
_thumb._y = (getHeight() - _local3) - 9;
} else {
var _local4 = percentToX(aPercentage);
_thumb._x = _local4;
}
updateHiliteToMatchThumb();
}
function updateHiliteToMatchThumb() {
if (isVertical()) {
_hilite._height = (getHeight() - _thumb._y) - 6;
_hilite._y = (getHeight() - _hilite._height) - 1;
} else {
_hilite._width = _thumb._x + 4;
}
}
function setTime(aTime) {
var _local7 = Math.floor(aTime / 3600);
var _local3 = aTime % 3600;
var _local6 = Math.floor(_local3 / 60);
_local3 = _local3 % 60;
var _local5 = Math.floor(_local3);
_local3 = _local3 % 1;
var _local2 = Math.round(_local3 * 1000);
var _local4 = ((((((_local7 + ":") + ((_local6 < 10) ? "0" : "")) + _local6) + ":") + ((_local5 < 10) ? "0" : "")) + _local5) + ".";
if (_local2 < 10) {
_local4 = _local4 + ("00" + String(_local2));
} else if (_local2 < 100) {
_local4 = _local4 + ("0" + String(_local2));
} else {
_local4 = _local4 + String(_local2);
}
_timeTextField.text = _local4;
}
function setIsPlaying(isPlaying) {
if (isPlaying) {
_statusTextField.text = _controller.getLocalizedString(STREAMING_ID);
delete onEnterFrame;
setDarkText();
} else {
_statusTextField.text = _controller.getLocalizedString(PAUSED_ID);
_darkenText = false;
_textPulseTime = getTimer();
onEnterFrame = pulseText;
}
}
function getController() {
return(_controller);
}
function draw() {
var _local2 = getCompletionPercentage();
if (isVertical()) {
_x = (_controller.__get__width() - getWidth()) / 2;
_y = 8;
_tray.setHeight(getHeight());
_statusTextField._y = getHeight() - 4;
} else {
_x = 8;
_tray.setWidth(getWidth());
_timeTextField._x = (getWidth() - _timeTextField._width) - 3;
}
setIsPlaying(_controller.isPlaying());
setCompletionPercentage(_local2);
}
function getWidth() {
var _local2 = (isVertical() ? 20 : (_controller.__get__width() - 16));
return(_local2);
}
function getHeight() {
var _local2 = (isVertical() ? (_controller.__get__height() - 90) : 20);
return(_local2);
}
function xToPercent(x) {
var _local2 = 100 * ((x + 3) / (getWidth() - 3));
return(_local2);
}
function percentToX(percent) {
var _local2 = ((getWidth() - 3) * (percent / 100)) - 3;
return(_local2);
}
function yToPercent(y) {
var _local2 = 100 * (((getHeight() - 3) - y) / getHeight());
return(_local2);
}
function percentToY(percent) {
var _local2 = ((getHeight() - 3) * (percent / 100)) - 3;
return(_local2);
}
function pulseText() {
var _local2 = getTimer() - _textPulseTime;
var _local5 = Math.min(1, _local2 / PULSE_DURATION);
var _local7 = PULSE_DURATION * ACTIVE_PULSE_PORTION;
var _local6 = Math.min(1, _local2 / _local7);
var _local4 = _local6 * (TEXT_ALPHA_DARK - TEXT_ALPHA_LIGHT);
var _local3 = (_darkenText ? (TEXT_ALPHA_LIGHT + _local4) : (TEXT_ALPHA_DARK - _local4));
_statusTextField._alpha = _local3;
_timeTextField._alpha = _local3;
if (_local5 >= 1) {
_darkenText = !_darkenText;
_textPulseTime = getTimer();
}
}
function setDarkText() {
_statusTextField._alpha = TEXT_ALPHA_DARK;
_timeTextField._alpha = TEXT_ALPHA_DARK;
}
function setLightText() {
_statusTextField._alpha = TEXT_ALPHA_LIGHT;
_timeTextField._alpha = TEXT_ALPHA_LIGHT;
}
function get enabled() {
return(_thumb.__get__enabled());
}
function set enabled(is) {
_thumb.__set__enabled(is);
//return(enabled);
}
function isScrubbing() {
return(_thumb.isScrubbing());
}
static var TEXT_ALPHA_DARK = 100;
static var TEXT_ALPHA_LIGHT = 50;
static var PULSE_DURATION = 1400;
static var ACTIVE_PULSE_PORTION = 0.4;
static var STREAMING_ID = "streaming";
static var PAUSED_ID = "paused";
}
Symbol 41 MovieClip [__Packages.mx.controls.streamingmedia.StreamingMediaConstants] Frame 0
class mx.controls.streamingmedia.StreamingMediaConstants
{
function StreamingMediaConstants () {
}
static var FLV_MEDIA_TYPE = "FLV";
static var MP3_MEDIA_TYPE = "MP3";
static var PLAY_PLAY_CONTROL = "play";
static var PAUSE_PLAY_CONTROL = "pause";
static var DEFAULT_VOLUME = 75;
static var SCRUBBING = true;
static var DISABLE_FLV_TOEND = true;
}
Symbol 42 MovieClip [__Packages.mx.controls.streamingmedia.PlayBarThumb] Frame 0
class mx.controls.streamingmedia.PlayBarThumb extends MovieClip
{
var _playBar, _parent, _dragging, _wasPlaying, onMouseMove, _y, _x, _enabled, onPress, onRelease, onReleaseOutside;
function PlayBarThumb () {
super();
init();
}
function init() {
_playBar = _parent;
enabled = (_playBar.getController().enabled);
}
function isVertical() {
return(_playBar.isVertical());
}
function handlePress() {
startThumbDrag();
}
function startThumbDrag() {
_dragging = true;
var _local2 = _playBar.getController();
_local2.broadcastEvent("scrubbing", true);
_wasPlaying = _local2.isPlaying();
if (_wasPlaying) {
_local2.broadcastEvent("click", "pause");
}
onMouseMove = handleMouseMove;
}
function onUnload() {
if (_dragging) {
stopThumbDrag();
}
}
function handleRelease() {
if (_dragging) {
stopThumbDrag();
}
}
function handleReleaseOutside() {
if (_dragging) {
stopThumbDrag();
}
}
function stopThumbDrag() {
_dragging = false;
var _local2 = _playBar.getController();
if (_wasPlaying) {
_local2.broadcastEvent("click", "play");
}
_local2.broadcastEvent("scrubbing", false);
delete onMouseMove;
}
function handleMouseMove() {
var _local2 = _playBar.getController();
var _local8 = _local2.getLoadBar().getCompletionPercentage() / 100;
if (isVertical()) {
var _local6 = _playBar.getHeight() - 8;
var _local9 = (_local6 * (1 - _local8)) - 2;
var _local3 = _playBar._ymouse;
if (_local3 < _local9) {
_local3 = _local9;
} else if (_local3 > _local6) {
_local3 = _local6;
}
_y = _local3;
} else {
var _local10 = (_playBar.getWidth() - 6) * _local8;
var _local4 = _playBar._xmouse;
if (_local4 < 0) {
_local4 = 0;
} else if (_local4 > _local10) {
_local4 = _local10;
}
_x = _local4;
}
_playBar.updateHiliteToMatchThumb();
var _local5 = (isVertical() ? (_playBar.yToPercent(_y)) : (_playBar.xToPercent(_x)));
if (mx.controls.streamingmedia.StreamingMediaConstants.SCRUBBING) {
_local2.broadcastEvent("playheadChange", _local5);
}
var _local11 = (_local2.__get__playTime() * 100) / _local2.__get__playPercent();
var _local7 = (_local11 * _local5) / 100;
_playBar.setTime(_local7);
_local2.__set__playPercent(_local5);
_local2.__set__playTime(_local7);
}
function get enabled() {
return(_enabled);
}
function set enabled(is) {
_enabled = is;
if (is) {
onPress = handlePress;
onRelease = handleRelease;
onReleaseOutside = handleReleaseOutside;
} else {
if (_dragging) {
stopThumbDrag();
}
delete onPress;
delete onRelease;
delete onReleaseOutside;
}
//return(enabled);
}
function isScrubbing() {
return(_dragging);
}
}
Symbol 43 MovieClip [__Packages.mx.controls.streamingmedia.MiniPlayBar] Frame 0
class mx.controls.streamingmedia.MiniPlayBar extends MovieClip
{
var _controller, _parent, _thumb, _hilite, _y, _tray, _x;
function MiniPlayBar () {
super();
init();
}
function init() {
_controller = _parent;
draw();
}
function isVertical() {
return(!_controller.__get__horizontal());
}
function getCompletionPercentage() {
var _local2;
if (isVertical()) {
_local2 = yToPercent(_thumb._y);
} else {
_local2 = xToPercent(_thumb._x);
}
return(_local2);
}
function setCompletionPercentage(aPercentage) {
aPercentage = Math.floor(aPercentage);
if (aPercentage < 1) {
aPercentage = 1;
} else if (aPercentage > 100) {
aPercentage = 100;
}
if (isVertical()) {
var _local3 = percentToY(aPercentage);
_thumb._y = (getActualHeight() - _local3) - 1;
_hilite._height = _local3 - 1;
_hilite._y = (getActualHeight() - _local3) - 2;
} else {
var _local4 = percentToX(aPercentage);
_thumb._x = _local4;
_hilite._width = _local4 - 1;
}
}
function getController() {
return(_controller);
}
function draw(h) {
if (isVertical()) {
_y = 8;
if (h == null) {
h = getHeight();
}
_tray.setHeight(h);
} else {
var _local3 = getWidth();
_x = 8;
_tray.setWidth(getWidth());
}
setCompletionPercentage(_controller.__get__playPercent());
}
function getWidth() {
var _local2 = (isVertical() ? 6 : (_controller.__get__width() - 16));
return(_local2);
}
function getHeight() {
var _local2 = (isVertical() ? (_controller.__get__height() - 16) : 6);
return(_local2);
}
function getActualHeight() {
var _local2 = _tray.getHeight();
return(_local2);
}
function xToPercent(x) {
var _local2 = (100 * x) / (getWidth() - 2);
return(_local2);
}
function percentToX(percent) {
var _local2 = (getWidth() - 2) * (percent / 100);
return(_local2);
}
function yToPercent(y) {
var _local2 = (100 * (y - 1)) / (getActualHeight() - 3);
return(_local2);
}
function percentToY(percent) {
var _local2 = ((getActualHeight() - 3) * (percent / 100)) + 1;
return(_local2);
}
}
Symbol 44 MovieClip [__Packages.mx.controls.streamingmedia.VolumeControl] Frame 0
class mx.controls.streamingmedia.VolumeControl extends MovieClip
{
var tabEnabled, tabChildren, _handle;
function VolumeControl () {
super();
init();
}
function init() {
tabEnabled = false;
tabChildren = true;
}
function getHandle() {
return(_handle);
}
}
Symbol 45 MovieClip [__Packages.mx.controls.streamingmedia.VolumeControlHandle] Frame 0
class mx.controls.streamingmedia.VolumeControlHandle extends MovieClip
{
var _volumeControl, _parent, _controller, tabEnabled, tabChildren, _x, startDrag, onMouseMove, stopDrag, _enabled, onPress, onRelease, onReleaseOutside;
function VolumeControlHandle () {
super();
init();
}
function init() {
_volumeControl = _parent;
_controller = _parent._parent;
setVolume(_controller.__get__volume());
enabled = (_controller.enabled);
tabEnabled = false;
tabChildren = false;
}
function isVertical() {
return(!_controller.__get__horizontal());
}
function setVolume(aVolume) {
if (aVolume < 0) {
aVolume = 0;
} else if (aVolume > 100) {
aVolume = 100;
}
_x = volumeToX(aVolume);
}
function setMute() {
setVolume(0);
}
function setLoud() {
setVolume(100);
}
function handlePress() {
startThumbDrag();
}
function handleRelease() {
stopThumbDrag();
}
function handleReleaseOutside() {
stopThumbDrag();
}
function startThumbDrag() {
startDrag(false, 12, 3, 12 + getRange(), 3);
onMouseMove = handleMouseMove;
}
function stopThumbDrag() {
stopDrag();
delete onMouseMove;
broadcastEvent();
}
function handleMouseMove() {
broadcastEvent();
}
function broadcastEvent() {
_controller.broadcastEvent("volume", xToVolume(_x));
}
function xToVolume(x) {
return((x - 12) * (100 / getRange()));
}
function volumeToX(aVol) {
return((aVol / (100 / getRange())) + 12);
}
function getRange() {
var _local2 = (isVertical() ? 27 : 50);
return(_local2);
}
function get enabled() {
return(_enabled);
}
function set enabled(is) {
_enabled = is;
if (is) {
onPress = handlePress;
onRelease = handleRelease;
onReleaseOutside = handleReleaseOutside;
} else {
delete onPress;
delete onRelease;
delete onReleaseOutside;
}
//return(enabled);
}
}
Symbol 46 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent
{
static var emphasizedStyleDeclaration;
var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle;
function SimpleButton () {
super();
}
function init(Void) {
super.init();
if (preset == undefined) {
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
useHandCursor = false;
}
function createChildren(Void) {
if (preset != undefined) {
var _local2 = this[idNames[preset]];
this[refNames[preset]] = _local2;
skinName = _local2;
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
initializing = false;
} else if (__state == true) {
setStateVar(true);
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
}
}
function setIcon(tag, linkageName) {
return(setSkin(tag + 8, linkageName));
}
function changeIcon(tag, linkageName) {
linkLength = linkageName.length;
var _local2 = stateNames[tag] + "Icon";
this[_local2] = linkageName;
this[idNames[tag + 8]] = _local2;
setStateVar(getState());
}
function changeSkin(tag, linkageName) {
var _local2 = stateNames[tag] + "Skin";
this[_local2] = linkageName;
this[idNames[tag]] = _local2;
setStateVar(getState());
}
function viewIcon(varName) {
var _local4 = varName + "Icon";
var _local3 = this[_local4];
if (typeof(_local3) == "string") {
var _local5 = _local3;
if (__emphasized) {
if (this[_local3 + "Emphasized"].length > 0) {
_local3 = _local3 + "Emphasized";
}
}
if (this[_local3].length == 0) {
return(undefined);
}
_local3 = setIcon(tagMap[_local5], this[_local3]);
if ((_local3 == undefined) && (_global.isLivePreview)) {
_local3 = setIcon(0, "ButtonIcon");
}
this[_local4] = _local3;
}
iconName._visible = false;
iconName = _local3;
iconName._visible = true;
}
function removeIcons() {
var _local3 = 0;
while (_local3 < 2) {
var _local2 = 8;
while (_local2 < 16) {
destroyObject(idNames[_local2]);
this[stateNames[_local2 - 8] + "Icon"] = "";
_local2++;
}
_local3++;
}
refresh();
}
function setSkin(tag, linkageName, initobj) {
var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this})));
calcSize(tag, _local3);
return(_local3);
}
function calcSize(Void) {
__width = _width;
__height = _height;
}
function viewSkin(varName, initObj) {
var _local3 = varName + "Skin";
var _local2 = this[_local3];
if (typeof(_local2) == "string") {
var _local4 = _local2;
if (__emphasized) {
if (this[_local2 + "Emphasized"].length > 0) {
_local2 = _local2 + "Emphasized";
}
}
if (this[_local2].length == 0) {
return(undefined);
}
_local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this})));
this[_local3] = _local2;
}
skinName._visible = false;
skinName = _local2;
skinName._visible = true;
}
function showEmphasized(e) {
if (e && (!__emphatic)) {
if (emphasizedStyleDeclaration != undefined) {
__emphaticStyleName = styleName;
styleName = emphasizedStyleDeclaration;
}
__emphatic = true;
} else {
if (__emphatic) {
styleName = __emphaticStyleName;
}
__emphatic = false;
}
}
function refresh(Void) {
var _local2 = getState();
if (enabled == false) {
viewIcon("disabled");
viewSkin("disabled");
} else {
viewSkin(phase);
viewIcon(phase);
}
setView(phase == "down");
iconName.enabled = enabled;
}
function setView(offset) {
if (iconName == undefined) {
return(undefined);
}
var _local2 = (offset ? (btnOffset) : 0);
iconName._x = ((__width - iconName._width) / 2) + _local2;
iconName._y = ((__height - iconName._height) / 2) + _local2;
}
function setStateVar(state) {
if (state) {
if (trueOverSkin.length == 0) {
rolloverSkin = tus;
} else {
rolloverSkin = trs;
}
if (trueOverIcon.length == 0) {
rolloverIcon = tui;
} else {
rolloverIcon = tri;
}
upSkin = tus;
downSkin = tds;
disabledSkin = dts;
upIcon = tui;
downIcon = tdi;
disabledIcon = dti;
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
} else {
rolloverSkin = frs;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
} else {
rolloverIcon = fri;
}
upSkin = fus;
downSkin = fds;
disabledSkin = dfs;
upIcon = fui;
downIcon = fdi;
disabledIcon = dfi;
}
__state = state;
}
function setState(state) {
if (state != __state) {
setStateVar(state);
invalidate();
}
}
function size(Void) {
refresh();
}
function draw(Void) {
if (initializing) {
initializing = false;
skinName.visible = true;
iconName.visible = true;
}
size();
}
function getState(Void) {
return(__state);
}
function setToggle(val) {
__toggle = val;
if (__toggle == false) {
setState(false);
}
}
function getToggle(Void) {
return(__toggle);
}
function set toggle(val) {
setToggle(val);
//return(toggle);
}
function get toggle() {
return(getToggle());
}
function set value(val) {
setSelected(val);
//return(value);
}
function get value() {
return(getSelected());
}
function set selected(val) {
setSelected(val);
//return(selected);
}
function get selected() {
return(getSelected());
}
function setSelected(val) {
if (__toggle) {
setState(val);
} else {
setState((initializing ? (val) : (__state)));
}
}
function getSelected() {
return(__state);
}
function setEnabled(val) {
if (enabled != val) {
super.setEnabled(val);
invalidate();
}
}
function onPress(Void) {
pressFocus();
phase = "down";
refresh();
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
interval = setInterval(this, "onPressDelay", getStyle("repeatDelay"));
}
}
function onPressDelay(Void) {
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
clearInterval(interval);
interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval"));
}
}
function onPressRepeat(Void) {
dispatchEvent({type:"buttonDown"});
updateAfterEvent();
}
function onRelease(Void) {
releaseFocus();
phase = "rollover";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
if (getToggle()) {
setState(!getState());
} else {
refresh();
}
dispatchEvent({type:"click"});
}
function onDragOut(Void) {
phase = "up";
refresh();
dispatchEvent({type:"buttonDragOut"});
}
function onDragOver(Void) {
if (phase != "up") {
onPress();
return(undefined);
}
phase = "down";
refresh();
}
function onReleaseOutside(Void) {
releaseFocus();
phase = "up";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
}
function onRollOver(Void) {
phase = "rollover";
refresh();
}
function onRollOut(Void) {
phase = "up";
refresh();
}
function getLabel(Void) {
return(fui.text);
}
function setLabel(val) {
if (typeof(fui) == "string") {
createLabel("fui", 8, val);
fui.styleName = this;
} else {
fui.text = val;
}
var _local4 = fui._getTextFormat();
var _local2 = _local4.getTextExtent2(val);
fui._width = _local2.width + 5;
fui._height = _local2.height + 5;
iconName = fui;
setView(__state);
}
function get emphasized() {
return(__emphasized);
}
function set emphasized(val) {
__emphasized = val;
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]] = stateNames[_local2] + "Skin";
if (typeof(this[idNames[_local2 + 8]]) == "movieclip") {
this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon";
}
_local2++;
}
showEmphasized(__emphasized);
setStateVar(__state);
invalidateStyle();
//return(emphasized);
}
function keyDown(e) {
if (e.code == 32) {
onPress();
}
}
function keyUp(e) {
if (e.code == 32) {
onRelease();
}
}
function onKillFocus(newFocus) {
super.onKillFocus();
if (phase != "up") {
phase = "up";
refresh();
}
}
static var symbolName = "SimpleButton";
static var symbolOwner = mx.controls.SimpleButton;
static var version = "2.0.2.127";
var className = "SimpleButton";
var style3dInset = 4;
var btnOffset = 1;
var __toggle = false;
var __state = false;
var __emphasized = false;
var __emphatic = false;
static var falseUp = 0;
static var falseDown = 1;
static var falseOver = 2;
static var falseDisabled = 3;
static var trueUp = 4;
static var trueDown = 5;
static var trueOver = 6;
static var trueDisabled = 7;
var falseUpSkin = "SimpleButtonUp";
var falseDownSkin = "SimpleButtonIn";
var falseOverSkin = "";
var falseDisabledSkin = "SimpleButtonUp";
var trueUpSkin = "SimpleButtonIn";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "SimpleButtonIn";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var phase = "up";
var fui = "falseUpIcon";
var fus = "falseUpSkin";
var fdi = "falseDownIcon";
var fds = "falseDownSkin";
var frs = "falseOverSkin";
var fri = "falseOverIcon";
var dfi = "falseDisabledIcon";
var dfs = "falseDisabledSkin";
var tui = "trueUpIcon";
var tus = "trueUpSkin";
var tdi = "trueDownIcon";
var tds = "trueDownSkin";
var trs = "trueOverSkin";
var tri = "trueOverIcon";
var dts = "trueDisabledSkin";
var dti = "trueDisabledIcon";
var rolloverSkin = mx.controls.SimpleButton.prototype.frs;
var rolloverIcon = mx.controls.SimpleButton.prototype.fri;
var upSkin = mx.controls.SimpleButton.prototype.fus;
var downSkin = mx.controls.SimpleButton.prototype.fds;
var disabledSkin = mx.controls.SimpleButton.prototype.dfs;
var upIcon = mx.controls.SimpleButton.prototype.fui;
var downIcon = mx.controls.SimpleButton.prototype.fdi;
var disabledIcon = mx.controls.SimpleButton.prototype.dfi;
var initializing = true;
var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"];
var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"];
var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"];
var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7};
}
Symbol 47 MovieClip [__Packages.mx.controls.streamingmedia.MuteButton] Frame 0
class mx.controls.streamingmedia.MuteButton extends MovieClip
{
var attachMovie, muteSimpleButton, _parent, tabEnabled, tabChildren;
function MuteButton () {
super();
init();
}
function init() {
attachMovie("SimpleButton", "muteSimpleButton", 1, {falseUpSkin:"Mute-False-Up", falseOverSkin:"Mute-False-Over", falseDownSkin:"Mute-False-Down", falseDisabledSkin:"Mute-False-Disabled"});
muteSimpleButton.addEventListener("click", this);
muteSimpleButton.enabled = _parent._parent.enabled;
tabEnabled = false;
tabChildren = true;
}
function click(ev) {
_parent._parent.broadcastEvent("volume", 0);
_parent.getHandle().setMute();
}
}
Symbol 48 MovieClip [__Packages.mx.controls.streamingmedia.LoudButton] Frame 0
class mx.controls.streamingmedia.LoudButton extends MovieClip
{
var attachMovie, loudSimpleButton, _parent, tabEnabled, tabChildren;
function LoudButton () {
super();
init();
}
function init() {
attachMovie("SimpleButton", "loudSimpleButton", 1, {falseUpSkin:"Loud-False-Up", falseOverSkin:"Loud-False-Over", falseDownSkin:"Loud-False-Down", falseDisabledSkin:"Loud-False-Disabled"});
loudSimpleButton.addEventListener("click", this);
loudSimpleButton.enabled = _parent._parent.enabled;
tabEnabled = false;
tabChildren = true;
}
function click(ev) {
_parent._parent.broadcastEvent("volume", 100);
_parent.getHandle().setLoud();
}
}
Symbol 49 MovieClip [__Packages.mx.controls.MediaPlayback] Frame 0
class mx.controls.MediaPlayback extends mx.core.UIComponent
{
var _width, _height, _deadPreview, initCuePointTimes, initCuePointNames, _totalTime, _aspectRatio, _autoSize, _autoPlay, _mediaType, _contentPath, attachMovie, _controllerPolicy, _display, _controller, _enabled, tabEnabled, tabChildren, redraw, __get__width, __get__height, _chrome, width, height, dispatchEvent, invalidate, _controlPlacement;
function MediaPlayback () {
super();
}
function init(Void) {
initializeParameters();
var _local5 = _width;
var _local8 = _height;
_deadPreview._visible = false;
super.init();
var _local3 = {contentPath:_contentPath, mediaType:_mediaType, autoPlay:_autoPlay, autoSize:_autoSize, aspectRatio:_aspectRatio, totalTime:_totalTime, initCuePointNames:initCuePointNames, initCuePointTimes:initCuePointTimes};
attachMovie("MediaDisplay", "_display", 1, _local3);
var _local4 = (_autoPlay ? (mx.controls.streamingmedia.StreamingMediaConstants.PAUSE_PLAY_CONTROL) : (mx.controls.streamingmedia.StreamingMediaConstants.PLAY_PLAY_CONTROL));
var _local6 = ((_mediaType == "MP3") ? "default" : "none");
var _local7 = (controlPlacement == "top") || (controlPlacement == "bottom");
_local3 = {horizontal:_local7, controllerPolicy:_controllerPolicy, backgroundStyle:_local6, activePlayControl:_local4};
attachMovie("MediaController", "_controller", 2, _local3);
setSize(_local5, _local8, true);
_display.associateController(_controller);
_controller.addEventListener("click", this);
_controller.addEventListener("playheadChange", this);
_controller.addEventListener("volume", this);
_controller.addEventListener("scrubbing", this);
_display.addEventListener("change", this);
_display.addEventListener("progress", this);
_display.addEventListener("start", this);
_display.addEventListener("resizeVideo", this);
_display.addEventListener("cuePoint", this);
_display.addEventListener("complete", this);
_enabled = true;
tabEnabled = false;
tabChildren = true;
redraw(true);
}
function initializeParameters() {
if (mediaType == null) {
mediaType = ("FLV");
}
if (totalTime == null) {
totalTime = (0);
}
if (contentPath == null) {
contentPath = ("");
}
if (autoPlay == null) {
autoPlay = (true);
}
if (autoSize == null) {
autoSize = (true);
}
if (aspectRatio == null) {
aspectRatio = (true);
}
if (controllerPolicy == null) {
controllerPolicy = ("auto");
}
if (controlPlacement == null) {
controlPlacement = ("bottom");
}
}
function draw(Void) {
if (_mediaType == "MP3") {
drawMP3();
} else {
drawFLV();
}
}
function drawMP3() {
_display._x = 0;
_display._y = 0;
_controller._x = 0;
_controller._y = 0;
_controller.setSize(__get__width(), __get__height(), true);
_controller.__set__backgroundStyle("default");
_controller.setOpenUpOrLeft(false);
_controller.redraw(true);
_chrome.visible = false;
_chrome.showToggles = false;
_chrome.draw();
}
function drawFLV() {
drawChrome();
drawFLVController();
drawFLVDisplay();
}
function drawChrome() {
var _local3;
var _local2;
if (_controller.__get__horizontal()) {
_local2 = (__get__height() - _controller.getMinimumOpenHeight()) + _controller.getMinimumClosedHeight();
_local3 = width;
} else {
_local3 = (__get__width() - _controller.getMinimumOpenWidth()) + _controller.getMinimumClosedWidth();
_local2 = height;
}
var _local4 = __get__width();
var _local5 = __get__height();
var _local8 = ((_controllerPolicy == "on") ? (_local4) : (_local3));
var _local7 = ((_controllerPolicy == "on") ? (_local5) : (_local2));
var _local6 = isTopControlPlacement() || (isLeftControlPlacement());
_chrome._x = 0;
_chrome._y = 0;
if (isTopControlPlacement() && ((_controllerPolicy == "off") || (_controllerPolicy == "auto"))) {
_chrome._y = _controller.getMinimumOpenHeight() - _controller.getMinimumClosedHeight();
} else if (isLeftControlPlacement() && ((_controllerPolicy == "off") || (_controllerPolicy == "auto"))) {
_chrome._x = _controller.getMinimumOpenWidth() - _controller.getMinimumClosedWidth();
}
_chrome.visible = true;
_chrome.showToggles = true;
_chrome.setSize(_local8, _local7);
_chrome.draw();
addSecondChrome(_chrome, _local2, _local5, _local3, _local4, _local6);
}
function drawFLVController() {
if (isBottomControlPlacement()) {
_controller.setSize(__get__width(), _controller.getMinimumOpenHeight(), true);
_controller.__set__horizontal(true);
_controller._x = 0;
_controller._y = __get__height() - _controller.__get__height();
} else if (isTopControlPlacement()) {
_controller.setSize(__get__width(), _controller.getMinimumOpenHeight(), true);
_controller.__set__horizontal(true);
_controller.setOpenUpOrLeft(true);
_controller._x = 0;
if (_controllerPolicy == "on") {
_controller._y = 0;
} else {
_controller._y = _controller.__get__height() - _controller.getMinimumClosedHeight();
}
} else if (isRightControlPlacement()) {
_controller.setSize(_controller.getMinimumOpenWidth(), __get__height(), true);
_controller.__set__horizontal(false);
_controller._x = __get__width() - _controller.__get__width();
_controller._y = 0;
} else if (isLeftControlPlacement()) {
_controller.setSize(_controller.getMinimumOpenWidth(), __get__height(), true);
_controller.__set__horizontal(false);
_controller.setOpenUpOrLeft(true);
if (_controllerPolicy == "on") {
_controller._x = 0;
} else {
_controller._x = _controller.__get__width() - _controller.getMinimumClosedWidth();
}
_controller._y = 0;
}
_controller.__set__backgroundStyle("none");
_controller.invalidate();
}
function drawFLVDisplay() {
displaySetProperSize();
var _local3 = 0;
var _local2 = 0;
if (isTopControlPlacement()) {
_local2 = _controller.height;
} else if (isLeftControlPlacement()) {
_local3 = _controller.width;
}
_display._x = _local3 + H_BORDER;
_display._y = _local2 + V_BORDER;
}
function displaySetProperSize() {
var _local2 = __get__width() - (H_BORDER * 2);
var _local3 = __get__height() - (V_BORDER * 2);
if (isBottomControlPlacement() || (isTopControlPlacement())) {
_local3 = _local3 - _controller.height;
} else {
_local2 = _local2 - _controller.width;
}
if (_autoSize && ((_display.__get__preferredWidth() > _local2) || (_display.__get__preferredHeight() > _local3))) {
_display.__set__autoSize(false);
_display.__set__aspectRatio(true);
} else {
_display.__set__autoSize(_autoSize);
_display.__set__aspectRatio(_aspectRatio);
}
_display.setSize(_local2, _local3, true);
_display.invalidate();
}
function handleEvent(ev) {
ev.target = this;
dispatchEvent(ev);
if (ev.type == "start") {
if (_mediaType == "FLV") {
_display.makeVideoVisible = true;
redraw(true);
} else if (_mediaType == "MP3") {
_controller.setPlaying(_display.__get__playing());
}
}
if (ev.type == "resizeVideo") {
if (_mediaType == "FLV") {
_display.makeVideoVisible = true;
redraw(true);
}
}
}
function toString() {
return("MediaPlayback: media=" + _contentPath);
}
function getController() {
return(_controller);
}
function isRtmp(mediaUrl) {
if (_display != null) {
return(_display.isRtmp(mediaUrl));
}
return(false);
}
function load() {
_display.load();
}
function play(startingPoint) {
_display.play(startingPoint);
_controller.setPlaying(true);
}
function pause() {
_display.pause();
_controller.setPlaying(false);
}
function stop() {
_display.stop();
_controller.setPlaying(false);
}
function get autoSize() {
if (_display != null) {
_autoSize = _display.autoSize;
}
return(_autoSize);
}
function set autoSize(flag) {
_autoSize = flag;
if (_display != null) {
displaySetProperSize();
invalidate();
}
//return(autoSize);
}
function get aspectRatio() {
if (_display != null) {
_aspectRatio = _display.aspectRatio;
}
return(_aspectRatio);
}
function set aspectRatio(flag) {
_aspectRatio = flag;
if (_display != null) {
displaySetProperSize();
invalidate();
}
//return(aspectRatio);
}
function get autoPlay() {
if (_display != null) {
_autoPlay = _display.autoPlay;
}
return(_autoPlay);
}
function set autoPlay(flag) {
_autoPlay = flag;
if (_display != null) {
_display.__set__autoPlay(flag);
}
//return(autoPlay);
}
function get playheadTime() {
return(_display.__get__playheadTime());
}
function set playheadTime(position) {
_display.__set__playheadTime(position);
//return(playheadTime);
}
function get contentPath() {
if (_display != null) {
_contentPath = _display.contentPath;
}
return(_contentPath);
}
function set contentPath(aUrl) {
_contentPath = aUrl;
if (_display != null) {
if (!_settingMedia) {
_display.__set__contentPath(aUrl);
}
_mediaType = _display.mediaType;
}
//return(contentPath);
}
function get volume() {
return(_display.__get__volume());
}
function set volume(aVol) {
_display.__set__volume(aVol);
_controller.__set__volume(aVol);
//return(volume);
}
function get playing() {
return(_display.__get__playing());
}
function get preferredWidth() {
return(_display.__get__preferredWidth());
}
function get preferredHeight() {
return(_display.__get__preferredHeight());
}
function get bytesLoaded() {
return(_display.__get__bytesLoaded());
}
function get bytesTotal() {
return(_display.__get__bytesTotal());
}
function get mediaType() {
if (_display != null) {
_mediaType = _display.mediaType;
}
return(_mediaType);
}
function set mediaType(aType) {
_mediaType = aType;
if (_display != null) {
_display.__set__mediaType(aType);
if (aType == "MP3") {
_controller.__set__backgroundStyle("none");
removeSecondChrome();
} else {
_controller.__set__backgroundStyle("default");
drawChrome();
}
invalidate();
}
//return(mediaType);
}
function setMedia(aUrl, aType) {
_settingMedia = true;
var _local5 = _mediaType;
_display.setMedia(aUrl, aType);
if (aType == null) {
var _local3 = aUrl.substr(-3);
if ((_local3 == "flv") || (_local3 == "FLV")) {
aType = "FLV";
} else if ((_local3 == "mp3") || (_local3 == "MP3")) {
aType = "MP3";
} else {
aType = _mediaType;
}
}
if (_local5 != aType) {
mediaType = (aType);
}
contentPath = (aUrl);
_settingMedia = false;
}
function get totalTime() {
if (_display != null) {
_totalTime = _display.totalTime;
}
return(_totalTime);
}
function set totalTime(aTime) {
_totalTime = aTime;
if (_display != null) {
_display.__set__totalTime(_totalTime);
}
//return(totalTime);
}
function getCuePoints() {
return(_display.getCuePoints());
}
function get cuePoints() {
return(getCuePoints());
}
function setCuePoints(cp) {
var _local2 = 0;
while (_local2 < cp.length) {
cp[_local2].playback = this;
_local2++;
}
_display.__set__cuePoints(cp);
}
function set cuePoints(cp) {
setCuePoints(cp);
//return(cuePoints);
}
function getCuePoint(pointName) {
return(_display.getCuePoint(pointName));
}
function addCuePoint(aName, aTime) {
var _local2 = new mx.controls.streamingmedia.CuePoint(aName, aTime);
_local2.playback = this;
addCuePointObject(_local2);
}
function addCuePointObject(aCuePoint) {
aCuePoint.playback = this;
_display.addCuePointObject(aCuePoint);
}
function removeCuePoint(aCuePoint) {
_display.removeCuePoint(aCuePoint);
}
function removeAllCuePoints() {
_display.removeAllCuePoints();
}
function get mostRecentCuePoint() {
return(_display.__get__mostRecentCuePoint());
}
function get mostRecentCuePointName() {
return(_display.__get__mostRecentCuePointName());
}
function get mostRecentCuePointTime() {
return(_display.__get__mostRecentCuePointTime());
}
function get controllerPolicy() {
if (_controller != null) {
_controllerPolicy = _controller.controllerPolicy;
}
return(_controllerPolicy);
}
function set controllerPolicy(aPolicy) {
_controllerPolicy = aPolicy;
if (_controller != null) {
_controller.__set__controllerPolicy(aPolicy);
}
//return(controllerPolicy);
}
function addSecondChrome(theChrome, closedHeight, openHeight, closedWidth, openWidth, fixedEnd) {
_controller.addSecondChrome(theChrome, closedHeight, openHeight, closedWidth, openWidth, fixedEnd);
}
function removeSecondChrome() {
_controller.removeSecondChrome();
}
function getMinimumOpenHeight() {
return(_controller.getMinimumOpenHeight());
}
function getMinimumOpenWidth() {
return(_controller.getMinimumOpenWidth());
}
function getMinimumClosedHeight() {
return(_controller.getMinimumClosedHeight());
}
function getMinimumClosedWidth() {
return(_controller.getMinimumClosedWidth());
}
function expand(force) {
_controller.expand(force);
}
function contract(force) {
_controller.contract(force);
}
function get controlPlacement() {
return(_controlPlacement);
}
function set controlPlacement(aPos) {
_controlPlacement = aPos;
if (_controller != null) {
var _local2 = isTopControlPlacement() || (isLeftControlPlacement());
_controller.setOpenUpOrLeft(_local2);
var _local3 = isTopControlPlacement() || (isBottomControlPlacement());
_controller.__set__horizontal(_local3);
invalidate();
}
//return(controlPlacement);
}
function isTopControlPlacement() {
return(_controlPlacement == TOP_CONTROL_POSITION);
}
function isBottomControlPlacement() {
return(_controlPlacement == BOTTOM_CONTROL_POSITION);
}
function isLeftControlPlacement() {
return(_controlPlacement == LEFT_CONTROL_POSITION);
}
function isRightControlPlacement() {
return(_controlPlacement == RIGHT_CONTROL_POSITION);
}
function displayFull() {
var _local2 = _chrome.getOneToggle();
_local2.displayFull(false);
}
function displayNormal() {
var _local2 = _chrome.getOneToggle();
_local2.displayNormal(false);
}
function setSize(w, h, noEvent) {
w = Math.max(w, _controller.getMinimumOpenWidth() + 17);
h = Math.max(h, _controller.getMinimumOpenHeight() + 17);
super.setSize(w, h, noEvent);
invalidate();
}
function get enabled() {
return(_enabled);
}
function set enabled(is) {
_enabled = is;
_display.__set__enabled(is);
_controller.__set__enabled(is);
_chrome.setEnabled(is);
//return(enabled);
}
static var symbolName = "MediaPlayback";
static var symbolOwner = mx.controls.MediaPlayback;
var className = "MediaPlayback";
static var version = "2.0.2.126";
var clipParameters = {mediaType:"FLV", contentPath:"", totalTime:0, autoSize:true, autoPlay:true, controllerPolicy:"auto", initCuePointNames:new Array(), initCuePointTimes:new Array(), controlPlacement:"bottom", fps:30};
static var TOP_CONTROL_POSITION = "top";
static var BOTTOM_CONTROL_POSITION = "bottom";
static var LEFT_CONTROL_POSITION = "left";
static var RIGHT_CONTROL_POSITION = "right";
static var H_BORDER = 8;
static var V_BORDER = 8;
var _settingMedia = false;
}
Symbol 50 MovieClip [__Packages.mx.controls.streamingmedia.FullScreenToggle] Frame 0
class mx.controls.streamingmedia.FullScreenToggle extends MovieClip
{
var _player, _parent, _isFull, gotoAndStop, _originalPlayerX, _originalPlayerY, _originalPlayerWidth, _originalPlayerHeight, _originalAutosize, _waited, onEnterFrame, _maximize, _minimize;
function FullScreenToggle () {
super();
init();
}
function init() {
_player = _parent._parent;
_isFull = false;
setEnabled(_player.__get__enabled());
}
function isFullScreen() {
return(_isFull);
}
function displayFull(noAction) {
gotoAndStop("big");
_isFull = true;
if (!noAction) {
_originalPlayerX = _player._x;
_originalPlayerY = _player._y;
_originalPlayerWidth = _player.width;
_originalPlayerHeight = _player.height;
_originalAutosize = _player.autoSize;
var _local7 = _player.getController();
if ((_local7.__get__controllerPolicy() == "auto") && (_local7.__get__expanded())) {
mx.controls.streamingmedia.Tracer.trace("FullScreenToggle.displayFull: about to call contract");
_local7.contract();
}
_local7.setNotAnimating(false);
_player.__set__autoSize(false);
var _local4 = getContainerInfo();
_player.setSize(_local4.width, _local4.height);
if (_local4.origin) {
var _local5 = mx.managers.SystemManager.__get__screen();
mx.controls.streamingmedia.Tracer.trace(((("FullScreenToggle.displayFull: scr=(" + _local5.x) + ",") + _local5.y) + ")");
_player._x = _local5.x;
_player._y = _local5.y;
}
var _local6 = _player.getBounds(_local4.container);
mx.controls.streamingmedia.Tracer.trace(((("FullScreenToggle.displayFull: bounds=(" + _local6.xMin) + ",") + _local6.yMin) + ")");
if (_local4.origin) {
_player._x = _player._x + _local5.x;
_player._y = _player._y + _local5.y;
} else {
_player._x = _player._x + _local4.x;
_player._y = _player._y + _local4.y;
}
_player._x = _player._x - _local6.xMin;
_player._y = _player._y - _local6.yMin;
_waited = false;
onEnterFrame = delayedBarRefresh;
var _local3 = getOtherToggles();
var _local2 = 0;
while (_local2 < _local3.length) {
_local3[_local2].displayFull(true);
_local2++;
}
}
}
function getContainerInfo() {
var _local4;
var _local6 = getScrollViewAncestor(_player);
if (_local6 == null) {
var _local5 = mx.managers.SystemManager.__get__screen();
_local4 = {container:_root, width:_local5.width, height:_local5.height, x:0, y:0, origin:true};
} else {
var _local3 = _local6.getViewMetrics();
_local4 = {container:_local6, width:(_local6.width - _local3.left) - _local3.right, height:(_local6.height - _local3.top) - _local3.bottom, x:_local3.left, y:_local3.top, origin:false};
}
return(_local4);
}
function getScrollViewAncestor(anMC) {
var _local3;
if (anMC == _root) {
_local3 = null;
} else if (anMC instanceof mx.core.ScrollView) {
_local3 = anMC;
} else {
_local3 = getScrollViewAncestor(anMC._parent);
}
return(_local3);
}
function delayedBarRefresh() {
if (!_waited) {
_waited = true;
} else {
delete onEnterFrame;
_player.getController().refreshBars();
}
}
function displayNormal(noAction) {
gotoAndStop("small");
_isFull = false;
if (!noAction) {
var _local4 = _player.getController();
if ((_local4.__get__controllerPolicy() == "auto") && (_local4.__get__expanded())) {
mx.controls.streamingmedia.Tracer.trace("FullScreenToggle.displayNormal: about to call contract");
_local4.contract();
}
_local4.setNotAnimating(false);
_player.__set__autoSize(_originalAutosize);
_player.setSize(_originalPlayerWidth, _originalPlayerHeight);
_player._x = _originalPlayerX;
_player._y = _originalPlayerY;
_waited = false;
onEnterFrame = delayedBarRefresh;
var _local3 = getOtherToggles();
var _local2 = 0;
while (_local2 < _local3.length) {
_local3[_local2].displayNormal(true);
_local2++;
}
}
}
function toggleDisplay() {
if (_isFull) {
displayNormal();
} else {
displayFull();
}
}
function getAllToggles() {
return(_parent.getAllToggles());
}
function getOtherToggles() {
var _local3 = getAllToggles();
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2] == this) {
_local3.splice(_local2, 1);
break;
}
_local2++;
}
return(_local3);
}
function getPlayer() {
return(_player);
}
function getEnabled() {
return(_player.__get__enabled());
}
function setEnabled(is) {
mx.controls.streamingmedia.Tracer.trace("FullScreenToggle.setEnabled: " + is);
_maximize.setEnabled(is);
_minimize.setEnabled(is);
}
}
Symbol 51 MovieClip [__Packages.mx.controls.streamingmedia.Tracer] Frame 0
class mx.controls.streamingmedia.Tracer
{
function Tracer () {
}
static function trace(message) {
if (DEBUG) {
trace(message);
}
}
static var DEBUG = false;
}
Symbol 52 MovieClip [__Packages.mx.controls.streamingmedia.FullScreenToggleControl] Frame 0
class mx.controls.streamingmedia.FullScreenToggleControl extends MovieClip
{
var toggle, _parent, _enabled, onRollOver, onRollOut, onRelease, gotoAndStop;
function FullScreenToggleControl () {
super();
init();
}
function init() {
toggle = _parent;
setEnabled(toggle.getEnabled());
}
function handleRollOver() {
getController().setNotAnimating(true);
}
function handleRollOut() {
getController().setNotAnimating(false);
}
function handleRelease() {
toggle.toggleDisplay();
}
function getController() {
return(toggle.getPlayer().getController());
}
function getEnabled() {
return(_enabled);
}
function setEnabled(is) {
mx.controls.streamingmedia.Tracer.trace("FullScreenToggleControl.setEnabled: " + is);
_enabled = is;
if (is) {
onRollOver = handleRollOver;
onRollOut = handleRollOut;
onRelease = handleRelease;
gotoAndStop("_up");
} else {
delete onRollOver;
delete onRollOut;
delete onRelease;
gotoAndStop("_disabled");
}
}
}
Symbol 53 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 54 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager
{
static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent;
function SystemManager () {
}
static function init(Void) {
if (_initialized == false) {
_initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
_xAddEventListener = addEventListener;
addEventListener = __addEventListener;
_xRemoveEventListener = removeEventListener;
removeEventListener = __removeEventListener;
}
}
static function addFocusManager(f) {
form = f;
f.focusManager.activate();
}
static function removeFocusManager(f) {
}
static function onMouseDown(Void) {
var _local1 = form;
_local1.focusManager._onMouseDown();
}
static function onResize(Void) {
var _local7 = Stage.width;
var _local6 = Stage.height;
var _local9 = _global.origWidth;
var _local8 = _global.origHeight;
var _local3 = Stage.align;
var _local5 = (_local9 - _local7) / 2;
var _local4 = (_local8 - _local6) / 2;
if (_local3 == "T") {
_local4 = 0;
} else if (_local3 == "B") {
_local4 = _local8 - _local6;
} else if (_local3 == "L") {
_local5 = 0;
} else if (_local3 == "R") {
_local5 = _local9 - _local7;
} else if (_local3 == "LT") {
_local4 = 0;
_local5 = 0;
} else if (_local3 == "TR") {
_local4 = 0;
_local5 = _local9 - _local7;
} else if (_local3 == "LB") {
_local4 = _local8 - _local6;
_local5 = 0;
} else if (_local3 == "RB") {
_local4 = _local8 - _local6;
_local5 = _local9 - _local7;
}
if (__screen == undefined) {
__screen = new Object();
}
__screen.x = _local5;
__screen.y = _local4;
__screen.width = _local7;
__screen.height = _local6;
_root.focusManager.relocate();
dispatchEvent({type:"resize"});
}
static function get screen() {
init();
if (__screen == undefined) {
onResize();
}
return(__screen);
}
static var _initialized = false;
static var idleFrames = 0;
static var isMouseDown = false;
static var forms = new Array();
}
Symbol 55 MovieClip [__Packages.mx.skins.Border] Frame 0
class mx.skins.Border extends mx.core.UIObject
{
function Border () {
super();
}
function init(Void) {
super.init();
}
static var symbolName = "Border";
static var symbolOwner = mx.skins.Border;
var className = "Border";
var tagBorder = 0;
var idNames = new Array("border_mc");
}
Symbol 56 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border
{
var __width, __height, offset, __borderMetrics;
function RectBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function draw(Void) {
size();
}
function getBorderMetrics(Void) {
var _local2 = offset;
if (__borderMetrics == undefined) {
__borderMetrics = {left:_local2, top:_local2, right:_local2, bottom:_local2};
} else {
__borderMetrics.left = _local2;
__borderMetrics.top = _local2;
__borderMetrics.right = _local2;
__borderMetrics.bottom = _local2;
}
return(__borderMetrics);
}
function get borderMetrics() {
return(getBorderMetrics());
}
function drawBorder(Void) {
}
function size(Void) {
drawBorder();
}
function setColor(Void) {
drawBorder();
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.RectBorder;
static var version = "2.0.2.127";
var className = "RectBorder";
var borderStyleName = "borderStyle";
var borderColorName = "borderColor";
var shadowColorName = "shadowColor";
var highlightColorName = "highlightColor";
var buttonColorName = "buttonColor";
var backgroundColorName = "backgroundColor";
}
Symbol 57 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager
{
var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth;
function DepthManager () {
MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = createChildAtDepth;
MovieClip.prototype.setDepthTo = setDepthTo;
MovieClip.prototype.setDepthAbove = setDepthAbove;
MovieClip.prototype.setDepthBelow = setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = shuffleDepths;
MovieClip.prototype.getDepthByFlag = getDepthByFlag;
MovieClip.prototype.buildDepthTable = buildDepthTable;
_global.ASSetPropFlags(MovieClip.prototype, "createClassChildAtDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "createChildAtDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthTo", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthAbove", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthBelow", 1);
_global.ASSetPropFlags(MovieClip.prototype, "findNextAvailableDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "shuffleDepths", 1);
_global.ASSetPropFlags(MovieClip.prototype, "getDepthByFlag", 1);
_global.ASSetPropFlags(MovieClip.prototype, "buildDepthTable", 1);
}
static function sortFunction(a, b) {
if (a.getDepth() > b.getDepth()) {
return(1);
}
return(-1);
}
static function test(depth) {
if (depth == reservedDepth) {
return(false);
}
return(true);
}
static function createClassObjectAtDepth(className, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createClassChildAtDepth(className, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createClassChildAtDepth(className, kTop, initObj);
break;
}
return(_local1);
}
static function createObjectAtDepth(linkageName, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createChildAtDepth(linkageName, kTop, initObj);
break;
}
return(_local1);
}
function createClassChildAtDepth(className, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local6 = "down";
if (depthFlag == kBottom) {
_local6 = "up";
}
var _local5;
if (_local3[_local2] != undefined) {
_local5 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local6);
}
var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj);
if (_local5 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local5, _local3, _local6);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function createChildAtDepth(linkageName, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local6 = "down";
if (depthFlag == kBottom) {
_local6 = "up";
}
var _local5;
if (_local3[_local2] != undefined) {
_local5 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local6);
}
var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj);
if (_local5 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local5, _local3, _local6);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function setDepthTo(depthFlag) {
var _local2 = _parent.buildDepthTable();
var _local3 = _parent.getDepthByFlag(depthFlag, _local2);
if (_local2[_local3] != undefined) {
shuffleDepths(this, _local3, _local2, undefined);
} else {
swapDepths(_local3);
}
if (depthFlag == kTopmost) {
_topmost = true;
} else {
delete _topmost;
}
}
function setDepthAbove(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local2 = targetInstance.getDepth() + 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local2] != undefined) && (getDepth() < _local2)) {
_local2 = _local2 - 1;
}
if (_local2 > highestDepth) {
_local2 = highestDepth;
}
if (_local2 == highestDepth) {
_parent.shuffleDepths(this, _local2, _local3, "down");
} else if (_local3[_local2] != undefined) {
_parent.shuffleDepths(this, _local2, _local3, undefined);
} else {
swapDepths(_local2);
}
}
function setDepthBelow(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local6 = targetInstance.getDepth() - 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local6] != undefined) && (getDepth() > _local6)) {
_local6 = _local6 + 1;
}
var _local4 = lowestDepth + numberOfAuthortimeLayers;
var _local5;
for (_local5 in _local3) {
var _local2 = _local3[_local5];
if (_local2._parent != undefined) {
_local4 = Math.min(_local4, _local2.getDepth());
}
}
if (_local6 < _local4) {
_local6 = _local4;
}
if (_local6 == _local4) {
_parent.shuffleDepths(this, _local6, _local3, "up");
} else if (_local3[_local6] != undefined) {
_parent.shuffleDepths(this, _local6, _local3, undefined);
} else {
swapDepths(_local6);
}
}
function findNextAvailableDepth(targetDepth, depthTable, direction) {
var _local5 = lowestDepth + numberOfAuthortimeLayers;
if (targetDepth < _local5) {
targetDepth = _local5;
}
if (depthTable[targetDepth] == undefined) {
return(targetDepth);
}
var _local2 = targetDepth;
var _local1 = targetDepth;
if (direction == "down") {
while (depthTable[_local1] != undefined) {
_local1--;
}
return(_local1);
}
while (depthTable[_local2] != undefined) {
_local2++;
}
return(_local2);
}
function shuffleDepths(subject, targetDepth, depthTable, direction) {
var _local9 = lowestDepth + numberOfAuthortimeLayers;
var _local8 = _local9;
var _local5;
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local9 = Math.min(_local9, _local7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = "up";
} else {
direction = "down";
}
}
var _local1 = new Array();
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local1.push(_local7);
}
}
_local1.sort(sortFunction);
if (direction == "up") {
var _local3;
var _local11;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.pop();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
_local11 = subject.getDepth();
_local3 = _local1.pop();
var _local4 = _local3.getDepth();
if (_local11 > (_local4 + 1)) {
if (_local4 >= 0) {
subject.swapDepths(_local4 + 1);
} else if ((_local11 > _local8) && (_local4 < _local8)) {
subject.swapDepths(_local8);
}
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
} else if (direction == "down") {
var _local3;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.shift();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
var _local11 = _local3.getDepth();
_local3 = _local1.shift();
var _local4 = _local3.getDepth();
if ((_local11 < (_local4 - 1)) && (_local4 > 0)) {
subject.swapDepths(_local4 - 1);
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
}
}
function getDepthByFlag(depthFlag, depthTable) {
var _local2 = 0;
if ((depthFlag == kTop) || (depthFlag == kNotopmost)) {
var _local5 = 0;
var _local7 = false;
var _local8;
for (_local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
if (!_local9._topmost) {
_local2 = Math.max(_local2, _local9.getDepth());
} else if (!_local7) {
_local5 = _local9.getDepth();
_local7 = true;
} else {
_local5 = Math.min(_local5, _local9.getDepth());
}
}
}
}
_local2 = _local2 + 20;
if (_local7) {
if (_local2 >= _local5) {
_local2 = _local5 - 1;
}
}
} else if (depthFlag == kBottom) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.min(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 - 20;
} else if (depthFlag == kTopmost) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.max(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 + 100;
}
if (_local2 >= highestDepth) {
_local2 = highestDepth;
}
var _local6 = lowestDepth + numberOfAuthortimeLayers;
for (var _local9 in depthTable) {
var _local4 = depthTable[_local9];
if (_local4._parent != undefined) {
_local6 = Math.min(_local6, _local4.getDepth());
}
}
if (_local2 <= _local6) {
_local2 = _local6;
}
return(_local2);
}
function buildDepthTable(Void) {
var _local5 = new Array();
var _local4;
for (_local4 in this) {
var _local2 = this[_local4];
var _local3 = typeof(_local2);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) {
if (_local2._parent == this) {
_local5[_local2.getDepth()] = _local2;
}
}
}
return(_local5);
}
static var reservedDepth = 1048575;
static var highestDepth = 1048574;
static var lowestDepth = -16383;
static var numberOfAuthortimeLayers = 383;
static var kCursor = 101;
static var kTooltip = 102;
static var kTop = 201;
static var kBottom = 202;
static var kTopmost = 203;
static var kNotopmost = 204;
static var holder = _root.createEmptyMovieClip("reserved", reservedDepth);
static var __depthManager = new mx.managers.DepthManager();
}
Symbol 58 MovieClip [__Packages.mx.core.View] Frame 0
class mx.core.View extends mx.core.UIComponent
{
var tabChildren, tabEnabled, boundingBox_mc, border_mc, __get__width, __get__height, __tabIndex, depth, createObject, createClassObject, loadExternal, destroyObject, createClassChildAtDepth, doLater;
function View () {
super();
}
function init() {
super.init();
tabChildren = true;
tabEnabled = false;
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function size() {
border_mc.move(0, 0);
border_mc.setSize(__get__width(), __get__height());
doLayout();
}
function draw() {
size();
}
function get numChildren() {
var _local3 = childNameBase;
var _local2 = 0;
while (true) {
if (this[_local3 + _local2] == undefined) {
return(_local2);
}
_local2++;
}
}
function get tabIndex() {
return((tabEnabled ? (__tabIndex) : undefined));
}
function set tabIndex(n) {
__tabIndex = n;
//return(tabIndex);
}
function addLayoutObject(object) {
}
function createChild(className, instanceName, initProps) {
if (depth == undefined) {
depth = 1;
}
var _local2;
if (typeof(className) == "string") {
_local2 = createObject(className, instanceName, depth++, initProps);
} else {
_local2 = createClassObject(className, instanceName, depth++, initProps);
}
if (_local2 == undefined) {
_local2 = loadExternal(className, _loadExternalClass, instanceName, depth++, initProps);
} else {
this[childNameBase + numChildren] = _local2;
_local2._complete = true;
childLoaded(_local2);
}
addLayoutObject(_local2);
return(_local2);
}
function getChildAt(childIndex) {
return(this[childNameBase + childIndex]);
}
function destroyChildAt(childIndex) {
if (!((childIndex >= 0) && (childIndex < numChildren))) {
return(undefined);
}
var _local4 = childNameBase + childIndex;
var _local6 = numChildren;
var _local3;
for (_local3 in this) {
if (_local3 == _local4) {
_local4 = "";
destroyObject(_local3);
break;
}
}
var _local2 = Number(childIndex);
while (_local2 < (_local6 - 1)) {
this[childNameBase + _local2] = this[childNameBase + (_local2 + 1)];
_local2++;
}
delete this[childNameBase + (_local6 - 1)];
depth--;
}
function initLayout() {
if (!hasBeenLayedOut) {
doLayout();
}
}
function doLayout() {
hasBeenLayedOut = true;
}
function createChildren() {
if (border_mc == undefined) {
border_mc = createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {styleName:this});
}
doLater(this, "initLayout");
}
function convertToUIObject(obj) {
}
function childLoaded(obj) {
convertToUIObject(obj);
}
static function extension() {
mx.core.ExternalContent.enableExternalContent();
}
static var symbolName = "View";
static var symbolOwner = mx.core.View;
static var version = "2.0.2.127";
var className = "View";
static var childNameBase = "_child";
var hasBeenLayedOut = false;
var _loadExternalClass = "UIComponent";
}
Symbol 59 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher
{
var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener;
function UIEventDispatcher () {
super();
}
static function addKeyEvents(obj) {
if (obj.keyHandler == undefined) {
var _local1 = (obj.keyHandler = new Object());
_local1.owner = obj;
_local1.onKeyDown = _fEventDispatcher.onKeyDown;
_local1.onKeyUp = _fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
}
static function removeKeyEvents(obj) {
Key.removeListener(obj.keyHandler);
}
static function addLoadEvents(obj) {
if (obj.onLoad == undefined) {
obj.onLoad = _fEventDispatcher.onLoad;
obj.onUnload = _fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, "onLoad");
}
}
}
static function removeLoadEvents(obj) {
delete obj.onLoad;
delete obj.onUnload;
}
static function initialize(obj) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = _fEventDispatcher.__addEventListener;
obj.__origAddEventListener = _fEventDispatcher.addEventListener;
obj.removeEventListener = _fEventDispatcher.removeEventListener;
obj.dispatchEvent = _fEventDispatcher.dispatchEvent;
obj.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(mx.events.EventDispatcher, eventObj);
dispatchQueue(this, eventObj);
}
function onKeyDown(Void) {
owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onKeyUp(Void) {
owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onLoad(Void) {
if (__sentLoadEvent != true) {
dispatchEvent({type:"load"});
}
__sentLoadEvent = true;
}
function onUnload(Void) {
dispatchEvent({type:"unload"});
}
function __addEventListener(event, handler) {
__origAddEventListener(event, handler);
var _local3 = lowLevelEvents;
for (var _local5 in _local3) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local2 = _local3[_local5][0];
mx.events.UIEventDispatcher[_local2](this);
}
}
}
function removeEventListener(event, handler) {
var _local6 = "__q_" + event;
mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler);
if (this[_local6].length == 0) {
var _local2 = lowLevelEvents;
for (var _local5 in _local2) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local3 = _local2[_local5][1];
mx.events.UIEventDispatcher[_local2[_local5][1]](this);
}
}
}
}
static var keyEvents = {keyDown:1, keyUp:1};
static var loadEvents = {load:1, unload:1};
static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]};
static var _fEventDispatcher = undefined;
}
Symbol 60 MovieClip [__Packages.mx.core.ExternalContent] Frame 0
class mx.core.ExternalContent
{
var createObject, numChildren, prepList, doLater, loadList, dispatchEvent, loadedList, childLoaded;
function ExternalContent () {
}
function loadExternal(url, placeholderClassName, instanceName, depth, initProps) {
var _local2;
_local2 = createObject(placeholderClassName, instanceName, depth, initProps);
this[mx.core.View.childNameBase + numChildren] = _local2;
if (prepList == undefined) {
prepList = new Object();
}
prepList[instanceName] = {obj:_local2, url:url, complete:false, initProps:initProps};
prepareToLoadMovie(_local2);
return(_local2);
}
function prepareToLoadMovie(obj) {
obj.unloadMovie();
doLater(this, "waitForUnload");
}
function waitForUnload() {
var _local3;
for (_local3 in prepList) {
var _local2 = prepList[_local3];
if (_local2.obj.getBytesTotal() == 0) {
if (loadList == undefined) {
loadList = new Object();
}
loadList[_local3] = _local2;
_local2.obj.loadMovie(_local2.url);
delete prepList[_local3];
doLater(this, "checkLoadProgress");
} else {
doLater(this, "waitForUnload");
}
}
}
function checkLoadProgress() {
var _local8 = false;
var _local3;
for (_local3 in loadList) {
var _local2 = loadList[_local3];
_local2.loaded = _local2.obj.getBytesLoaded();
_local2.total = _local2.obj.getBytesTotal();
if (_local2.total > 0) {
_local2.obj._visible = false;
dispatchEvent({type:"progress", target:_local2.obj, current:_local2.loaded, total:_local2.total});
if (_local2.loaded == _local2.total) {
if (loadedList == undefined) {
loadedList = new Object();
}
loadedList[_local3] = _local2;
delete loadList[_local3];
doLater(this, "contentLoaded");
}
} else if (_local2.total == -1) {
if (_local2.failedOnce != undefined) {
_local2.failedOnce++;
if (_local2.failedOnce > 3) {
dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total});
delete loadList[_local3];
}
} else {
_local2.failedOnce = 0;
}
}
_local8 = true;
}
if (_local8) {
doLater(this, "checkLoadProgress");
}
}
function contentLoaded() {
var _local4;
for (_local4 in loadedList) {
var _local2 = loadedList[_local4];
_local2.obj._visible = true;
_local2.obj._complete = true;
var _local3;
for (_local3 in _local2.initProps) {
_local2.obj[_local3] = _local2.initProps[_local3];
}
childLoaded(_local2.obj);
dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total});
delete loadedList[_local4];
}
}
function convertToUIObject(obj) {
if (obj.setSize == undefined) {
var _local2 = mx.core.UIObject.prototype;
obj.addProperty("width", _local2.__get__width, null);
obj.addProperty("height", _local2.__get__height, null);
obj.addProperty("left", _local2.__get__left, null);
obj.addProperty("x", _local2.__get__x, null);
obj.addProperty("top", _local2.__get__top, null);
obj.addProperty("y", _local2.__get__y, null);
obj.addProperty("right", _local2.__get__right, null);
obj.addProperty("bottom", _local2.__get__bottom, null);
obj.addProperty("visible", _local2.__get__visible, _local2.__set__visible);
obj.move = mx.core.UIObject.prototype.move;
obj.setSize = mx.core.UIObject.prototype.setSize;
obj.size = mx.core.UIObject.prototype.size;
mx.events.UIEventDispatcher.initialize(obj);
}
}
static function enableExternalContent() {
}
static function classConstruct() {
var _local1 = mx.core.View.prototype;
var _local2 = mx.core.ExternalContent.prototype;
_local1.loadExternal = _local2.loadExternal;
_local1.prepareToLoadMovie = _local2.prepareToLoadMovie;
_local1.waitForUnload = _local2.waitForUnload;
_local1.checkLoadProgress = _local2.checkLoadProgress;
_local1.contentLoaded = _local2.contentLoaded;
_local1.convertToUIObject = _local2.convertToUIObject;
return(true);
}
static var classConstructed = classConstruct();
static var ViewDependency = mx.core.View;
}
Symbol 61 MovieClip [__Packages.mx.skins.CustomBorder] Frame 0
class mx.skins.CustomBorder extends mx.skins.Border
{
var __width, __height, l_mc, setSkin, minHeight, minWidth, m_mc, r_mc;
function CustomBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function createChildren(Void) {
}
function draw(Void) {
if (l_mc == undefined) {
var _local2 = setSkin(tagL, leftSkin);
if (horizontal) {
minHeight = l_mc._height;
minWidth = l_mc._width;
} else {
minHeight = l_mc._height;
minWidth = l_mc._width;
}
}
if (m_mc == undefined) {
setSkin(tagM, middleSkin);
if (horizontal) {
minHeight = m_mc._height;
minWidth = minWidth + m_mc._width;
} else {
minHeight = minHeight + m_mc._height;
minWidth = m_mc._width;
}
}
if (r_mc == undefined) {
setSkin(tagR, rightSkin);
if (horizontal) {
minHeight = r_mc._height;
minWidth = minWidth + r_mc._width;
} else {
minHeight = minHeight + r_mc._height;
minWidth = r_mc._width;
}
}
size();
}
function size(Void) {
l_mc.move(0, 0);
if (horizontal) {
r_mc.move(width - r_mc.width, 0);
m_mc.move(l_mc.width, 0);
m_mc.setSize(r_mc.x - m_mc.x, m_mc.height);
} else {
r_mc.move(0, height - r_mc.height, 0);
m_mc.move(0, l_mc.height);
m_mc.setSize(m_mc.width, r_mc.y - m_mc.y);
}
}
static var symbolName = "CustomBorder";
static var symbolOwner = mx.skins.CustomBorder;
static var version = "2.0.2.127";
var className = "CustomBorder";
static var tagL = 0;
static var tagM = 1;
static var tagR = 2;
var idNames = new Array("l_mc", "m_mc", "r_mc");
var leftSkin = "F3PieceLeft";
var middleSkin = "F3PieceMiddle";
var rightSkin = "F3PieceRight";
var horizontal = true;
}
Symbol 62 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb] Frame 0
class mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder
{
var useHandCursor, ymin, ymax, datamin, datamax, scrollMove, lastY, _ymouse, _y, _parent, onMouseMove, grip_mc, setSkin, gripSkin, __get__width, __get__height;
function ScrollThumb () {
super();
}
function createChildren(Void) {
super.createChildren();
useHandCursor = false;
}
function setRange(_ymin, _ymax, _datamin, _datamax) {
ymin = _ymin;
ymax = _ymax;
datamin = _datamin;
datamax = _datamax;
}
function dragThumb(Void) {
scrollMove = _ymouse - lastY;
scrollMove = scrollMove + _y;
if (scrollMove < ymin) {
scrollMove = ymin;
} else if (scrollMove > ymax) {
scrollMove = ymax;
}
_parent.isScrolling = true;
_y = scrollMove;
var _local2 = Math.round(((datamax - datamin) * (_y - ymin)) / (ymax - ymin)) + datamin;
_parent.scrollPosition = _local2;
_parent.dispatchScrollEvent("ThumbTrack");
updateAfterEvent();
}
function stopDragThumb(Void) {
_parent.isScrolling = false;
_parent.dispatchScrollEvent("ThumbPosition");
_parent.dispatchScrollChangedEvent();
delete onMouseMove;
}
function onPress(Void) {
_parent.pressFocus();
lastY = _ymouse;
onMouseMove = dragThumb;
super.onPress();
}
function onRelease(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onRelease();
}
function onReleaseOutside(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onReleaseOutside();
}
function draw() {
super.draw();
if (grip_mc == undefined) {
setSkin(3, gripSkin);
}
}
function size() {
super.size();
grip_mc.move((__get__width() - grip_mc.width) / 2, (__get__height() - grip_mc.height) / 2);
}
static var symbolOwner = mx.skins.CustomBorder.symbolOwner;
var className = "ScrollThumb";
var btnOffset = 0;
var horizontal = false;
var idNames = new Array("l_mc", "m_mc", "r_mc", "grip_mc");
}
Symbol 63 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar] Frame 0
class mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent
{
var isScrolling, scrollTrack_mc, scrollThumb_mc, __height, tabEnabled, focusEnabled, boundingBox_mc, setSkin, upArrow_mc, _minHeight, _minWidth, downArrow_mc, createObject, createClassObject, enabled, _height, dispatchEvent, minMode, maxMode, plusMode, minusMode, _parent, getStyle, scrolling, _ymouse;
function ScrollBar () {
super();
}
function get scrollPosition() {
return(_scrollPosition);
}
function set scrollPosition(pos) {
_scrollPosition = pos;
if (isScrolling != true) {
pos = Math.min(pos, maxPos);
pos = Math.max(pos, minPos);
var _local3 = (((pos - minPos) * (scrollTrack_mc.height - scrollThumb_mc._height)) / (maxPos - minPos)) + scrollTrack_mc.top;
scrollThumb_mc.move(0, _local3);
}
//return(scrollPosition);
}
function get pageScrollSize() {
return(largeScroll);
}
function set pageScrollSize(lScroll) {
largeScroll = lScroll;
//return(pageScrollSize);
}
function set lineScrollSize(sScroll) {
smallScroll = sScroll;
//return(lineScrollSize);
}
function get lineScrollSize() {
return(smallScroll);
}
function get virtualHeight() {
return(__height);
}
function init(Void) {
super.init();
_scrollPosition = 0;
tabEnabled = false;
focusEnabled = false;
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function createChildren(Void) {
if (scrollTrack_mc == undefined) {
setSkin(skinIDTrack, scrollTrackName);
}
scrollTrack_mc.visible = false;
var _local3 = new Object();
_local3.enabled = false;
_local3.preset = mx.controls.SimpleButton.falseDisabled;
_local3.initProperties = 0;
_local3.autoRepeat = true;
_local3.tabEnabled = false;
var _local2;
if (upArrow_mc == undefined) {
_local2 = createButton(upArrowName, "upArrow_mc", skinIDUpArrow, _local3);
}
_local2.buttonDownHandler = onUpArrow;
_local2.clickHandler = onScrollChanged;
_minHeight = _local2.height;
_minWidth = _local2.width;
if (downArrow_mc == undefined) {
_local2 = createButton(downArrowName, "downArrow_mc", skinIDDownArrow, _local3);
}
_local2.buttonDownHandler = onDownArrow;
_local2.clickHandler = onScrollChanged;
_minHeight = _minHeight + _local2.height;
}
function createButton(linkageName, id, skinID, o) {
if (skinID == skinIDUpArrow) {
o.falseUpSkin = upArrowUpName;
o.falseDownSkin = upArrowDownName;
o.falseOverSkin = upArrowOverName;
} else {
o.falseUpSkin = downArrowUpName;
o.falseDownSkin = downArrowDownName;
o.falseOverSkin = downArrowOverName;
}
var _local3 = createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return(_local3);
}
function createThumb(Void) {
var _local2 = new Object();
_local2.validateNow = true;
_local2.tabEnabled = false;
_local2.leftSkin = thumbTopName;
_local2.middleSkin = thumbMiddleName;
_local2.rightSkin = thumbBottomName;
_local2.gripSkin = thumbGripName;
createClassObject(mx.controls.scrollClasses.ScrollThumb, "scrollThumb_mc", skinIDThumb, _local2);
}
function setScrollProperties(pSize, mnPos, mxPos, ls) {
var _local4;
var _local2 = scrollTrack_mc;
pageSize = pSize;
largeScroll = (((ls != undefined) && (ls > 0)) ? (ls) : (pSize));
minPos = Math.max(mnPos, 0);
maxPos = Math.max(mxPos, 0);
_scrollPosition = Math.max(minPos, _scrollPosition);
_scrollPosition = Math.min(maxPos, _scrollPosition);
if (((maxPos - minPos) > 0) && (enabled)) {
var _local5 = _scrollPosition;
if (!initializing) {
upArrow_mc.enabled = true;
downArrow_mc.enabled = true;
}
_local2.onPress = (_local2.onDragOver = startTrackScroller);
_local2.onRelease = releaseScrolling;
_local2.onDragOut = (_local2.stopScrolling = stopScrolling);
_local2.onReleaseOutside = releaseScrolling;
_local2.useHandCursor = false;
if (scrollThumb_mc == undefined) {
createThumb();
}
var _local3 = scrollThumb_mc;
if (scrollTrackOverName.length > 0) {
_local2.onRollOver = trackOver;
_local2.onRollOut = trackOut;
}
_local4 = (pageSize / ((maxPos - minPos) + pageSize)) * _local2.height;
if (_local4 < _local3.minHeight) {
if (_local2.height < _local3.minHeight) {
_local3.__set__visible(false);
} else {
_local4 = _local3.minHeight;
_local3.__set__visible(true);
_local3.setSize(_minWidth, _local3.minHeight + 0);
}
} else {
_local3.__set__visible(true);
_local3.setSize(_minWidth, _local4);
}
_local3.setRange(upArrow_mc.__get__height() + 0, (virtualHeight - downArrow_mc.__get__height()) - _local3.__get__height(), minPos, maxPos);
_local5 = Math.min(_local5, maxPos);
scrollPosition = (Math.max(_local5, minPos));
} else {
scrollThumb_mc.__set__visible(false);
if (!initializing) {
upArrow_mc.enabled = false;
downArrow_mc.enabled = false;
}
delete _local2.onPress;
delete _local2.onDragOver;
delete _local2.onRelease;
delete _local2.onDragOut;
delete _local2.onRollOver;
delete _local2.onRollOut;
delete _local2.onReleaseOutside;
}
if (initializing) {
scrollThumb_mc.__set__visible(false);
}
}
function setEnabled(enabledFlag) {
super.setEnabled(enabledFlag);
setScrollProperties(pageSize, minPos, maxPos, largeScroll);
}
function draw(Void) {
if (initializing) {
initializing = false;
scrollTrack_mc.visible = true;
upArrow_mc.__set__visible(true);
downArrow_mc.__set__visible(true);
}
size();
}
function size(Void) {
if (_height == 1) {
return(undefined);
}
if (upArrow_mc == undefined) {
return(undefined);
}
var _local3 = upArrow_mc.__get__height();
var _local2 = downArrow_mc.__get__height();
upArrow_mc.move(0, 0);
var _local4 = scrollTrack_mc;
_local4._y = _local3;
_local4._height = (virtualHeight - _local3) - _local2;
downArrow_mc.move(0, virtualHeight - _local2);
setScrollProperties(pageSize, minPos, maxPos, largeScroll);
}
function dispatchScrollEvent(detail) {
dispatchEvent({type:"scroll", detail:detail});
}
function isScrollBarKey(k) {
if (k == 36) {
if (scrollPosition != 0) {
scrollPosition = (0);
dispatchScrollEvent(minMode);
}
return(true);
}
if (k == 35) {
if (scrollPosition < maxPos) {
scrollPosition = (maxPos);
dispatchScrollEvent(maxMode);
}
return(true);
}
return(false);
}
function scrollIt(inc, mode) {
var _local3 = smallScroll;
if (inc != "Line") {
_local3 = ((largeScroll == 0) ? (pageSize) : (largeScroll));
}
var _local2 = _scrollPosition + (mode * _local3);
if (_local2 > maxPos) {
_local2 = maxPos;
} else if (_local2 < minPos) {
_local2 = minPos;
}
if (scrollPosition != _local2) {
scrollPosition = (_local2);
var _local4 = ((mode < 0) ? (minusMode) : (plusMode));
dispatchScrollEvent(inc + _local4);
}
}
function startTrackScroller(Void) {
_parent.pressFocus();
if (_parent.scrollTrackDownName.length > 0) {
if (_parent.scrollTrackDown_mc == undefined) {
_parent.setSkin(skinIDTrackDown, scrollTrackDownName);
} else {
_parent.scrollTrackDown_mc.visible = true;
}
}
_parent.trackScroller();
_parent.scrolling = setInterval(_parent, "scrollInterval", getStyle("repeatDelay"), "Page", -1);
}
function scrollInterval(inc, mode) {
clearInterval(scrolling);
if (inc == "Page") {
trackScroller();
} else {
scrollIt(inc, mode);
}
scrolling = setInterval(this, "scrollInterval", getStyle("repeatInterval"), inc, mode);
}
function trackScroller(Void) {
if ((scrollThumb_mc._y + scrollThumb_mc.__get__height()) < _ymouse) {
scrollIt("Page", 1);
} else if (scrollThumb_mc._y > _ymouse) {
scrollIt("Page", -1);
}
}
function dispatchScrollChangedEvent(Void) {
dispatchEvent({type:"scrollChanged"});
}
function stopScrolling(Void) {
clearInterval(_parent.scrolling);
_parent.scrollTrackDown_mc.visible = false;
}
function releaseScrolling(Void) {
_parent.releaseFocus();
stopScrolling();
_parent.dispatchScrollChangedEvent();
}
function trackOver(Void) {
if (_parent.scrollTrackOverName.length > 0) {
if (_parent.scrollTrackOver_mc == undefined) {
_parent.setSkin(skinIDTrackOver, scrollTrackOverName);
} else {
_parent.scrollTrackOver_mc.visible = true;
}
}
}
function trackOut(Void) {
_parent.scrollTrackOver_mc.visible = false;
}
function onUpArrow(Void) {
_parent.scrollIt("Line", -1);
}
function onDownArrow(Void) {
_parent.scrollIt("Line", 1);
}
function onScrollChanged(Void) {
_parent.dispatchScrollChangedEvent();
}
static var symbolOwner = mx.core.UIComponent;
var className = "ScrollBar";
var minPos = 0;
var maxPos = 0;
var pageSize = 0;
var largeScroll = 0;
var smallScroll = 1;
var _scrollPosition = 0;
var scrollTrackName = "ScrollTrack";
var scrollTrackOverName = "";
var scrollTrackDownName = "";
var upArrowName = "BtnUpArrow";
var upArrowUpName = "ScrollUpArrowUp";
var upArrowOverName = "ScrollUpArrowOver";
var upArrowDownName = "ScrollUpArrowDown";
var downArrowName = "BtnDownArrow";
var downArrowUpName = "ScrollDownArrowUp";
var downArrowOverName = "ScrollDownArrowOver";
var downArrowDownName = "ScrollDownArrowDown";
var thumbTopName = "ScrollThumbTopUp";
var thumbMiddleName = "ScrollThumbMiddleUp";
var thumbBottomName = "ScrollThumbBottomUp";
var thumbGripName = "ScrollThumbGripUp";
static var skinIDTrack = 0;
static var skinIDTrackOver = 1;
static var skinIDTrackDown = 2;
static var skinIDUpArrow = 3;
static var skinIDDownArrow = 4;
static var skinIDThumb = 5;
var idNames = new Array("scrollTrack_mc", "scrollTrackOver_mc", "scrollTrackDown_mc", "upArrow_mc", "downArrow_mc");
var clipParameters = {minPos:1, maxPos:1, pageSize:1, scrollPosition:1, lineScrollSize:1, pageScrollSize:1, visible:1, enabled:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
var initializing = true;
}
Symbol 64 MovieClip [__Packages.mx.core.ScrollView] Frame 0
class mx.core.ScrollView extends mx.core.View
{
var __width, hScroller, vScroller, __maxHPosition, propsInited, scrollAreaChanged, specialHScrollCase, createObject, viewableColumns, __height, oldRndUp, viewableRows, __viewMetrics, owner, enabled, border_mc, __get__width, __get__height, invLayout, mask_mc, _parent, dispatchEvent;
function ScrollView () {
super();
}
function getHScrollPolicy(Void) {
return(__hScrollPolicy);
}
function setHScrollPolicy(policy) {
__hScrollPolicy = policy.toLowerCase();
if (__width == undefined) {
return(undefined);
}
setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding);
}
function get hScrollPolicy() {
return(getHScrollPolicy());
}
function set hScrollPolicy(policy) {
setHScrollPolicy(policy);
//return(hScrollPolicy);
}
function getVScrollPolicy(Void) {
return(__vScrollPolicy);
}
function setVScrollPolicy(policy) {
__vScrollPolicy = policy.toLowerCase();
if (__width == undefined) {
return(undefined);
}
setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding);
}
function get vScrollPolicy() {
return(getVScrollPolicy());
}
function set vScrollPolicy(policy) {
setVScrollPolicy(policy);
//return(vScrollPolicy);
}
function get hPosition() {
return(getHPosition());
}
function set hPosition(pos) {
setHPosition(pos);
//return(hPosition);
}
function getHPosition(Void) {
return(__hPosition);
}
function setHPosition(pos) {
hScroller.__set__scrollPosition(pos);
__hPosition = pos;
}
function get vPosition() {
return(getVPosition());
}
function set vPosition(pos) {
setVPosition(pos);
//return(vPosition);
}
function getVPosition(Void) {
return(__vPosition);
}
function setVPosition(pos) {
vScroller.__set__scrollPosition(pos);
__vPosition = pos;
}
function get maxVPosition() {
var _local2 = vScroller.maxPos;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function get maxHPosition() {
return(getMaxHPosition());
}
function set maxHPosition(pos) {
setMaxHPosition(pos);
//return(maxHPosition);
}
function getMaxHPosition(Void) {
if (__maxHPosition != undefined) {
return(__maxHPosition);
}
var _local2 = hScroller.maxPos;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function setMaxHPosition(pos) {
__maxHPosition = pos;
}
function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
var _local3 = getViewMetrics();
if (hPadding == undefined) {
hPadding = 0;
}
if (wPadding == undefined) {
wPadding = 0;
}
propsInited = true;
delete scrollAreaChanged;
heightPadding = hPadding;
widthPadding = wPadding;
if (colWidth == 0) {
colWidth = 1;
}
if (rwHeight == 0) {
rwHeight = 1;
}
var _local5 = Math.ceil((((__width - _local3.left) - _local3.right) - widthPadding) / colWidth);
if ((__hScrollPolicy == "on") || ((_local5 < colCount) && (__hScrollPolicy == "auto"))) {
if ((hScroller == undefined) || (specialHScrollCase)) {
delete specialHScrollCase;
hScroller = createObject("HScrollBar", "hSB", 1001);
hScroller.__set__lineScrollSize(20);
hScroller.scrollHandler = scrollProxy;
hScroller.__set__scrollPosition(__hPosition);
scrollAreaChanged = true;
}
if ((((numberOfCols != colCount) || (columnWidth != colWidth)) || (viewableColumns != _local5)) || (scrollAreaChanged)) {
hScroller.setScrollProperties(_local5, 0, colCount - _local5);
viewableColumns = _local5;
numberOfCols = colCount;
columnWidth = colWidth;
}
} else if (((__hScrollPolicy == "auto") || (__hScrollPolicy == "off")) && (hScroller != undefined)) {
hScroller.removeMovieClip();
delete hScroller;
scrollAreaChanged = true;
}
if (heightPadding == undefined) {
heightPadding = 0;
}
var _local4 = Math.ceil((((__height - _local3.top) - _local3.bottom) - heightPadding) / rwHeight);
var _local8 = (((__height - _local3.top) - _local3.bottom) % rwHeight) != 0;
if ((__vScrollPolicy == "on") || ((_local4 < (rwCount + _local8)) && (__vScrollPolicy == "auto"))) {
if (vScroller == undefined) {
vScroller = createObject("VScrollBar", "vSB", 1002);
vScroller.scrollHandler = scrollProxy;
vScroller.__set__scrollPosition(__vPosition);
scrollAreaChanged = true;
rowH = 0;
}
if ((((rowC != rwCount) || (rowH != rwHeight)) || ((viewableRows + _local8) != (_local4 + oldRndUp))) || (scrollAreaChanged)) {
vScroller.setScrollProperties(_local4, 0, (rwCount - _local4) + _local8);
viewableRows = _local4;
rowC = rwCount;
rowH = rwHeight;
oldRndUp = _local8;
}
} else if (((__vScrollPolicy == "auto") || (__vScrollPolicy == "off")) && (vScroller != undefined)) {
vScroller.removeMovieClip();
delete vScroller;
scrollAreaChanged = true;
}
numberOfCols = colCount;
columnWidth = colWidth;
if (scrollAreaChanged) {
doLayout();
var _local2 = __viewMetrics;
var _local12 = ((owner != undefined) ? (owner) : this);
_local12.layoutContent(_local2.left, _local2.top, ((columnWidth * numberOfCols) - _local2.left) - _local2.right, rowC * rowH, (__width - _local2.left) - _local2.right, (__height - _local2.top) - _local2.bottom);
}
if (!enabled) {
setEnabled(false);
}
}
function getViewMetrics(Void) {
var _local2 = __viewMetrics;
var _local3 = border_mc.__get__borderMetrics();
_local2.left = _local3.left;
_local2.right = _local3.right;
if (vScroller != undefined) {
_local2.right = _local2.right + vScroller.minWidth;
}
_local2.top = _local3.top;
if ((hScroller == undefined) && ((__hScrollPolicy == "on") || (__hScrollPolicy == true))) {
hScroller = createObject("FHScrollBar", "hSB", 1001);
specialHScrollCase = true;
}
_local2.bottom = _local3.bottom;
if (hScroller != undefined) {
_local2.bottom = _local2.bottom + hScroller.minHeight;
}
return(_local2);
}
function doLayout(Void) {
var _local10 = __get__width();
var _local8 = __get__height();
delete invLayout;
var _local3 = (__viewMetrics = getViewMetrics());
var _local2 = _local3.left;
var _local9 = _local3.right;
var _local5 = _local3.top;
var _local11 = _local3.bottom;
var _local7 = hScroller;
var _local6 = vScroller;
_local7.setSize((_local10 - _local2) - _local9, _local7.minHeight + 0);
_local7.move(_local2, _local8 - _local11);
_local6.setSize(_local6.minWidth + 0, (_local8 - _local5) - _local11);
_local6.move(_local10 - _local9, _local5);
var _local4 = mask_mc;
_local4._width = (_local10 - _local2) - _local9;
_local4._height = (_local8 - _local5) - _local11;
_local4._x = _local2;
_local4._y = _local5;
}
function createChild(id, name, props) {
var _local2 = super.createChild(id, name, props);
return(_local2);
}
function init(Void) {
super.init();
__viewMetrics = new Object();
if (_global.__SVMouseWheelManager == undefined) {
var _local4 = (_global.__SVMouseWheelManager = new Object());
_local4.onMouseWheel = __onMouseWheel;
Mouse.addListener(_local4);
}
}
function __onMouseWheel(delta, scrollTarget) {
var _local4 = scrollTarget;
var _local1;
while (_local4 != undefined) {
if (_local4 instanceof mx.core.ScrollView) {
_local1 = _local4;
}
_local4 = _local4._parent;
}
if (_local1 != undefined) {
_local4 = ((delta <= 0) ? 1 : -1);
var _local2 = _local1.vScroller.lineScrollSize;
if (_local2 == undefined) {
_local2 = 0;
}
_local2 = Math.max(Math.abs(delta), _local2);
var _local3 = _local1.vPosition + (_local2 * _local4);
_local1.vPosition = Math.max(0, Math.min(_local3, _local1.maxVPosition));
_local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.vPosition});
}
}
function createChildren(Void) {
super.createChildren();
if (mask_mc == undefined) {
mask_mc = createObject("BoundingBox", "mask_mc", MASK_DEPTH);
}
mask_mc._visible = false;
}
function invalidate(Void) {
super.invalidate();
}
function draw(Void) {
size();
}
function size(Void) {
super.size();
}
function scrollProxy(docObj) {
_parent.onScroll(docObj);
}
function onScroll(docObj) {
var _local3 = docObj.target;
var _local2 = _local3.scrollPosition;
if (_local3 == vScroller) {
var _local4 = "vertical";
var _local5 = "__vPosition";
} else {
var _local4 = "horizontal";
var _local5 = "__hPosition";
}
this[_local5] = _local2;
dispatchEvent({type:"scroll", direction:_local4, position:_local2});
}
function setEnabled(v) {
vScroller.enabled = (hScroller.enabled = v);
}
function childLoaded(obj) {
super.childLoaded(obj);
obj.setMask(mask_mc);
}
static var symbolName = "ScrollView";
static var symbolOwner = mx.core.ScrollView;
static var version = "2.0.2.127";
var className = "ScrollView";
var __vScrollPolicy = "auto";
var __hScrollPolicy = "off";
var __vPosition = 0;
var __hPosition = 0;
var numberOfCols = 0;
var rowC = 0;
var columnWidth = 1;
var rowH = 0;
var heightPadding = 0;
var widthPadding = 0;
var MASK_DEPTH = 10000;
}
Symbol 65 MovieClip [__Packages.mx.controls.streamingmedia.Chrome] Frame 0
class mx.controls.streamingmedia.Chrome extends MovieClip
{
var visible, width, height, _parent, _alpha, _chromeEdge, _chromeHilite, _chromeFill, showToggles, _toggleNW, _toggleSW, _toggleNE, _toggleSE;
function Chrome () {
super();
init();
}
function init() {
if (visible == null) {
visible = true;
}
if ((width != null) && (height != null)) {
draw();
}
mx.controls.streamingmedia.Tracer.trace("Chrome.init: setting enabled to " + _parent.enabled);
setEnabled(_parent.enabled);
}
function setSize(w, h) {
width = w;
height = h;
}
function draw() {
if (visible) {
_alpha = 100;
} else {
_alpha = 0;
}
_chromeEdge._width = width;
_chromeEdge._height = height;
_chromeEdge._x = 0;
_chromeEdge._y = 0;
_chromeHilite._width = width - 2;
_chromeHilite._x = 1;
_chromeHilite._y = 1;
_chromeFill._width = width - 2;
_chromeFill._height = height - 3;
_chromeFill._x = 1;
_chromeFill._y = 2;
if (visible && (showToggles)) {
_toggleNW._visible = true;
_toggleSW._visible = true;
_toggleNE._visible = true;
_toggleSE._visible = true;
_toggleNW._x = 0;
_toggleNW._y = 0;
_toggleNE._x = width;
_toggleNE._y = 0;
_toggleSW._x = 0;
_toggleSW._y = height;
_toggleSE._x = width;
_toggleSE._y = height;
} else {
_toggleNW._visible = false;
_toggleSW._visible = false;
_toggleNE._visible = false;
_toggleSE._visible = false;
}
}
function getAllToggles() {
return([_toggleNW, _toggleNE, _toggleSW, _toggleSE]);
}
function getOneToggle() {
return(_toggleNE);
}
function getEnabled() {
return(_parent.enabled);
}
function setEnabled(is) {
mx.controls.streamingmedia.Tracer.trace("Chrome.setEnabled: " + is);
_toggleNW.setEnabled(is);
_toggleNE.setEnabled(is);
_toggleSW.setEnabled(is);
_toggleSE.setEnabled(is);
}
}
Symbol 66 MovieClip [__Packages.mx.controls.Loader] Frame 0
class mx.controls.Loader extends mx.core.View
{
var _origWidth, _origHeight, __width, livePreview, __height, createTextField, contentHolder, childrenCreated, destroyChildAt, createChild, border_mc;
function Loader () {
super();
}
function init() {
super.init();
}
function setSize(w, h, noEvent) {
_origWidth = w;
_origHeight = h;
super.setSize(w, h, noEvent);
if (_global.isLivePreview) {
livePreview._width = __width - 1;
livePreview._height = __height - 1;
}
}
function draw() {
size();
}
function size() {
super.size();
if (__scaleContent) {
doScaleContent();
} else {
doScaleLoader();
}
}
function createChildren() {
super.createChildren();
if (_global.isLivePreview) {
createTextField("livePreview", -1000, 0, 0, 99, 99);
livePreview.text = "mx.controls.Loader";
livePreview.border = true;
}
if (__autoLoad) {
load();
}
}
function getAutoLoad() {
return(__autoLoad);
}
function get autoLoad() {
return(getAutoLoad());
}
function setAutoLoad(b) {
if (__autoLoad != b) {
__autoLoad = b;
if (__autoLoad && (!this[mx.core.View.childNameBase + 0]._complete)) {
load();
}
}
}
function set autoLoad(b) {
setAutoLoad(b);
//return(autoLoad);
}
function getBytesLoaded() {
return(__bytesLoaded);
}
function get bytesLoaded() {
return(getBytesLoaded());
}
function getBytesTotal() {
return(__bytesTotal);
}
function get bytesTotal() {
return(getBytesTotal());
}
function getContent() {
return(contentHolder);
}
function get content() {
return(getContent());
}
function getContentPath() {
return(__contentPath);
}
function get contentPath() {
return(getContentPath());
}
function setContentPath(url) {
if (__contentPath != url) {
__contentPath = url;
if (childrenCreated) {
if (__autoLoad) {
load();
}
}
}
}
function set contentPath(c) {
setContentPath(c);
//return(contentPath);
}
function getPercentLoaded() {
var _local2 = 100 * (__bytesLoaded / __bytesTotal);
if (isNaN(_local2)) {
_local2 = 0;
}
return(_local2);
}
function get percentLoaded() {
return(getPercentLoaded());
}
function get scaleContent() {
return(getScaleContent());
}
function getScaleContent() {
return(__scaleContent);
}
function setScaleContent(b) {
if (__scaleContent != b) {
__scaleContent = b;
if (__scaleContent) {
doScaleContent();
} else {
doScaleLoader();
}
}
}
function set scaleContent(b) {
setScaleContent(b);
//return(scaleContent);
}
function load(url) {
if (url != undefined) {
__contentPath = url;
}
if (this[mx.core.View.childNameBase + 0] != undefined) {
if (this[mx.core.View.childNameBase + 0]._complete) {
setSize(_origWidth, _origHeight);
}
destroyChildAt(0);
}
if ((__contentPath == undefined) || (__contentPath == "")) {
return(undefined);
}
createChild(__contentPath, "contentHolder");
}
function childLoaded(obj) {
super.childLoaded(obj);
obj._rotation = 0;
_origWidth = __width;
_origHeight = __height;
if (__scaleContent) {
doScaleContent();
} else {
doScaleLoader();
}
}
function dispatchEvent(obj) {
if ((obj.type == "progress") || (obj.type == "complete")) {
obj.target = this;
__bytesTotal = obj.total;
__bytesLoaded = obj.current;
}
super.dispatchEvent(obj);
}
function doScaleContent() {
if (!this[mx.core.View.childNameBase + 0]._complete) {
return(undefined);
}
unScaleContent();
var _local2 = border_mc.__get__borderMetrics();
var _local7 = (_origWidth - _local2.left) - _local2.right;
var _local6 = (_origHeight - _local2.top) - _local2.bottom;
var _local9 = _local2.left;
var _local8 = _local2.top;
var _local5 = _local7 / contentHolder._width;
var _local3 = _local6 / contentHolder._height;
var _local4;
if (_local5 > _local3) {
_local9 = _local2.left + Math.floor((_local7 - (contentHolder._width * _local3)) / 2);
_local4 = _local3;
} else {
_local8 = _local2.top + Math.floor((_local6 - (contentHolder._height * _local5)) / 2);
_local4 = _local5;
}
_local4 = _local4 * 100;
contentHolder._xscale = (contentHolder._yscale = _local4);
contentHolder._x = _local9;
contentHolder._y = _local8;
if ((__width != _origWidth) || (__height != _origHeight)) {
setSize(_origWidth, _origHeight);
}
}
function doScaleLoader() {
if (!this[mx.core.View.childNameBase + 0]._complete) {
return(undefined);
}
unScaleContent();
var _local2 = border_mc.__get__borderMetrics();
var _local4 = (contentHolder._width + _local2.left) + _local2.right;
var _local3 = (contentHolder._height + _local2.top) + _local2.bottom;
if ((__width != _local4) || (__height != _local3)) {
setSize(_local4, _local3);
}
contentHolder._x = _local2.left;
contentHolder._y = _local2.top;
}
function unScaleContent() {
contentHolder._xscale = (contentHolder._yscale = 100);
contentHolder._x = (contentHolder._y = 0);
}
static var symbolName = "Loader";
static var symbolOwner = mx.controls.Loader;
static var version = "2.0.2.127";
var className = "Loader";
var clipParameters = {autoLoad:1, scaleContent:1, contentPath:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Loader.prototype.clipParameters, mx.core.View.prototype.clipParameters);
var __autoLoad = true;
var __bytesLoaded = undefined;
var __bytesTotal = undefined;
var __contentPath = undefined;
var __scaleContent = true;
}
Symbol 67 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement
{
var getStyle, _color, onEnterFrame;
function ColoredSkinElement () {
}
function setColor(c) {
if (c != undefined) {
var _local2 = new Color(this);
_local2.setRGB(c);
}
}
function draw(Void) {
setColor(getStyle(_color));
onEnterFrame = undefined;
}
function invalidateStyle(Void) {
onEnterFrame = draw;
}
static function setColorStyle(p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mixins.setColor;
p.invalidateStyle = mixins.invalidateStyle;
p.draw = mixins.draw;
p.setColor(p.getStyle(colorStyle));
}
static var mixins = new mx.skins.ColoredSkinElement();
}
Symbol 68 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions
{
function UIObjectExtensions () {
}
static function addGeometry(tf, ui) {
tf.addProperty("width", ui.__get__width, null);
tf.addProperty("height", ui.__get__height, null);
tf.addProperty("left", ui.__get__left, null);
tf.addProperty("x", ui.__get__x, null);
tf.addProperty("top", ui.__get__top, null);
tf.addProperty("y", ui.__get__y, null);
tf.addProperty("right", ui.__get__right, null);
tf.addProperty("bottom", ui.__get__bottom, null);
tf.addProperty("visible", ui.__get__visible, ui.__set__visible);
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
var _local6 = mx.core.UIObject.prototype;
var _local9 = mx.skins.SkinElement.prototype;
addGeometry(_local9, _local6);
mx.events.UIEventDispatcher.initialize(_local6);
var _local13 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(_local6);
var _local5 = MovieClip.prototype;
_local5.getTopLevel = _local6.getTopLevel;
_local5.createLabel = _local6.createLabel;
_local5.createObject = _local6.createObject;
_local5.createClassObject = _local6.createClassObject;
_local5.createEmptyObject = _local6.createEmptyObject;
_local5.destroyObject = _local6.destroyObject;
_global.ASSetPropFlags(_local5, "getTopLevel", 1);
_global.ASSetPropFlags(_local5, "createLabel", 1);
_global.ASSetPropFlags(_local5, "createObject", 1);
_global.ASSetPropFlags(_local5, "createClassObject", 1);
_global.ASSetPropFlags(_local5, "createEmptyObject", 1);
_global.ASSetPropFlags(_local5, "destroyObject", 1);
_local5.__getTextFormat = _local6.__getTextFormat;
_local5._getTextFormat = _local6._getTextFormat;
_local5.getStyleName = _local6.getStyleName;
_local5.getStyle = _local6.getStyle;
_global.ASSetPropFlags(_local5, "__getTextFormat", 1);
_global.ASSetPropFlags(_local5, "_getTextFormat", 1);
_global.ASSetPropFlags(_local5, "getStyleName", 1);
_global.ASSetPropFlags(_local5, "getStyle", 1);
var _local7 = TextField.prototype;
addGeometry(_local7, _local6);
_local7.addProperty("enabled", function () {
return(this.__enabled);
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
_local7.move = _local9.move;
_local7.setSize = _local9.setSize;
_local7.invalidateStyle = function () {
this.invalidateFlag = true;
};
_local7.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var _local2 = this._getTextFormat();
this.setTextFormat(_local2);
this.setNewTextFormat(_local2);
this.embedFonts = _local2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == "") {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
_local7.setColor = function (color) {
this.textColor = color;
};
_local7.getStyle = _local5.getStyle;
_local7.__getTextFormat = _local6.__getTextFormat;
_local7.setValue = function (v) {
this.text = v;
};
_local7.getValue = function () {
return(this.text);
};
_local7.addProperty("value", function () {
return(this.getValue());
}, function (v) {
this.setValue(v);
});
_local7._getTextFormat = function () {
var _local2 = this.stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
this.__getTextFormat(_local2);
this.stylecache.tf = _local2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var _local4 = this.getTextFormat();
this.enabledColor = _local4.color;
}
var _local3 = this.getStyle("disabledColor");
_local2.color = _local3;
} else if (this.enabledColor != undefined) {
if (_local2.color == undefined) {
_local2.color = this.enabledColor;
}
}
return(_local2);
};
_local7.getPreferredWidth = function () {
this.draw();
return(this.textWidth + 4);
};
_local7.getPreferredHeight = function () {
this.draw();
return(this.textHeight + 4);
};
TextFormat.prototype.getTextExtent2 = function (s) {
var _local3 = _root._getTextExtent;
if (_local3 == undefined) {
_root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100);
_local3 = _root._getTextExtent;
_local3._visible = false;
}
_root._getTextExtent.text = s;
var _local4 = this.align;
this.align = "left";
_root._getTextExtent.setTextFormat(this);
this.align = _local4;
return({width:_local3.textWidth, height:_local3.textHeight});
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
if (_global._origWidth == undefined) {
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
}
var _local4 = _root;
while (_local4._parent != undefined) {
_local4 = _local4._parent;
}
_local4.addProperty("width", function () {
return(Stage.width);
}, null);
_local4.addProperty("height", function () {
return(Stage.height);
}, null);
_global.ASSetPropFlags(_local4, "width", 1);
_global.ASSetPropFlags(_local4, "height", 1);
return(true);
}
static var bExtended = false;
static var UIObjectExtended = Extensions();
static var UIObjectDependency = mx.core.UIObject;
static var SkinElementDependency = mx.skins.SkinElement;
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
static var UIEventDispatcherDependency = mx.events.UIEventDispatcher;
}
Symbol 69 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows
{
function OverlappedWindows () {
}
static function checkIdle(Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({type:"idle"});
} else {
mx.managers.SystemManager.idleFrames++;
}
}
static function __addEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
}
static function __removeEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
}
static function onMouseDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var _local5 = _root;
var _local3;
var _local8 = _root._xmouse;
var _local7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var _local6 = mx.managers.SystemManager.forms.length;
var _local4;
_local4 = 0;
while (_local4 < _local6) {
var _local2 = mx.managers.SystemManager.forms[_local4];
if (_local2._visible) {
if (_local2.hitTest(_local8, _local7)) {
if (_local3 == undefined) {
_local3 = _local2.getDepth();
_local5 = _local2;
} else if (_local3 < _local2.getDepth()) {
_local3 = _local2.getDepth();
_local5 = _local2;
}
}
}
_local4++;
}
if (_local5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(_local5);
}
}
}
var _local9 = mx.managers.SystemManager.form;
_local9.focusManager._onMouseDown();
}
static function onMouseMove(Void) {
mx.managers.SystemManager.idleFrames = 0;
}
static function onMouseUp(Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
}
static function activate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local1 = mx.managers.SystemManager.form;
_local1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
}
static function deactivate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local5 = mx.managers.SystemManager.form;
_local5.focusManager.deactivate();
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
var _local2;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
_local1 = _local1 + 1;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
mx.managers.SystemManager.form = _local2;
break;
}
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
_local5 = mx.managers.SystemManager.form;
_local5.focusManager.activate();
}
}
}
static function addFocusManager(f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
}
static function removeFocusManager(f) {
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
static function enableOverlappedWindows() {
if (!initialized) {
initialized = true;
mx.managers.SystemManager.checkIdle = checkIdle;
mx.managers.SystemManager.__addEventListener = __addEventListener;
mx.managers.SystemManager.__removeEventListener = __removeEventListener;
mx.managers.SystemManager.onMouseDown = onMouseDown;
mx.managers.SystemManager.onMouseMove = onMouseMove;
mx.managers.SystemManager.onMouseUp = onMouseUp;
mx.managers.SystemManager.activate = activate;
mx.managers.SystemManager.deactivate = deactivate;
mx.managers.SystemManager.addFocusManager = addFocusManager;
mx.managers.SystemManager.removeFocusManager = removeFocusManager;
}
}
static var initialized = false;
static var SystemManagerDependency = mx.managers.SystemManager;
}
Symbol 70 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent
{
var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, lastMouse, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, findFocusFromObject;
function FocusManager () {
super();
}
function get defaultPushButton() {
return(__defaultPushButton);
}
function set defaultPushButton(x) {
if (x != __defaultPushButton) {
__defaultPushButton.__set__emphasized(false);
__defaultPushButton = x;
defPushButton = x;
x.__set__emphasized(true);
}
//return(defaultPushButton);
}
function getMaxTabIndex(o) {
var _local3 = 0;
var _local6;
for (_local6 in o) {
var _local2 = o[_local6];
if (_local2._parent == o) {
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex > _local3) {
_local3 = _local2.tabIndex;
}
}
if (_local2.tabChildren == true) {
var _local4 = getMaxTabIndex(_local2);
if (_local4 > _local3) {
_local3 = _local4;
}
}
}
}
return(_local3);
}
function getNextTabIndex(Void) {
return(getMaxTabIndex(form) + 1);
}
function get nextTabIndex() {
return(getNextTabIndex());
}
function relocate(Void) {
var _local2 = mx.managers.SystemManager.__get__screen();
move(_local2.x - 1, _local2.y - 1);
}
function init(Void) {
super.init();
tabEnabled = false;
_width = (_height = 1);
_x = (_y = -1);
_alpha = 0;
_parent.focusManager = this;
_parent.tabChildren = true;
_parent.tabEnabled = false;
form = _parent;
_parent.addEventListener("hide", this);
_parent.addEventListener("reveal", this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(form);
tabCapture.tabIndex = 0;
watch("enabled", enabledChanged);
Selection.addListener(this);
lastMouse = new Object();
_global.ASSetPropFlags(_parent, "focusManager", 1);
_global.ASSetPropFlags(_parent, "tabChildren", 1);
_global.ASSetPropFlags(_parent, "tabEnabled", 1);
}
function enabledChanged(id, oldValue, newValue) {
_visible = newValue;
return(newValue);
}
function activate(Void) {
Key.addListener(this);
activated = (_visible = true);
if (lastFocus != undefined) {
bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
doLater(this, "restoreFocus");
}
}
}
function deactivate(Void) {
Key.removeListener(this);
activated = (_visible = false);
var _local2 = getSelectionFocus();
var _local3 = getActualFocus(_local2);
if (isOurFocus(_local3)) {
lastSelFocus = _local2;
lastFocus = _local3;
}
cancelAllDoLaters();
}
function isOurFocus(o) {
if (o.focusManager == this) {
return(true);
}
while (o != undefined) {
if (o.focusManager != undefined) {
return(false);
}
if (o._parent == _parent) {
return(true);
}
o = o._parent;
}
return(false);
}
function onSetFocus(o, n) {
if (n == null) {
if (activated) {
bNeedFocus = true;
}
} else {
var _local2 = getFocus();
if (isOurFocus(_local2)) {
bNeedFocus = false;
lastFocus = _local2;
lastSelFocus = n;
}
}
}
function restoreFocus(Void) {
var _local2 = lastSelFocus.hscroll;
if (_local2 != undefined) {
var _local5 = lastSelFocus.scroll;
var _local4 = lastSelFocus.background;
}
lastFocus.setFocus();
var _local3 = Selection;
Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex);
if (_local2 != undefined) {
lastSelFocus.scroll = _local5;
lastSelFocus.hscroll = _local2;
lastSelFocus.background = _local4;
}
}
function onUnload(Void) {
mx.managers.SystemManager.removeFocusManager(form);
}
function setFocus(o) {
if (o == null) {
Selection.setFocus(null);
} else if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
function getActualFocus(o) {
var _local1 = o._parent;
while (_local1 != undefined) {
if (_local1.focusTextField != undefined) {
while (_local1.focusTextField != undefined) {
o = _local1;
_local1 = _local1._parent;
if (_local1 == undefined) {
return(undefined);
}
if (_local1.focusTextField == undefined) {
return(o);
}
}
}
if (_local1.tabEnabled != true) {
return(o);
}
o = _local1;
_local1 = o._parent;
}
return(undefined);
}
function getSelectionFocus() {
var m = Selection.getFocus();
var o = eval (m);
return(o);
}
function getFocus(Void) {
var _local2 = getSelectionFocus();
return(getActualFocus(_local2));
}
function walkTree(p, index, groupName, dir, lookup, firstChild) {
var _local5 = true;
var _local11;
for (_local11 in p) {
var _local2 = p[_local11];
if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_local2 != _lastTarget) {
if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) {
continue;
}
if ((_local2 instanceof TextField) && (_local2.selectable == false)) {
continue;
}
if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) {
if (firstChild) {
_firstNode = _local2;
firstChild = false;
}
}
if (_nextIsNext == true) {
if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) {
_nextNode = _local2;
}
}
if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) {
if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) {
} else {
_lastx = _local2;
}
}
} else {
_prevNode = _lastx;
_needPrev = false;
_nextIsNext = true;
}
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex == index) {
if (_foundList[_local2._name] == undefined) {
if (_needPrev) {
_prevObj = _local2;
_needPrev = false;
}
_nextObj = _local2;
}
}
if (dir && (_local2.tabIndex > index)) {
if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) {
_nextObj = _local2;
}
} else if ((!dir) && (_local2.tabIndex < index)) {
if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) {
_prevObj = _local2;
}
}
if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) {
_firstObj = _local2;
}
if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) {
_lastObj = _local2;
}
}
if (_local2.tabChildren) {
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
} else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) {
if (_local2 == _lastTarget) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_prevNode == undefined) {
var _local3 = _lastx;
var _local7 = false;
while (_local3 != undefined) {
if (_local3 == _local2) {
_local7 = true;
break;
}
_local3 = _local3._parent;
}
if (_local7 == false) {
_prevNode = _lastx;
}
}
_needPrev = false;
if (_nextNode == undefined) {
_nextIsNext = true;
}
} else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
}
}
_lastNode = _lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != _parent) {
if ((_prevNode == undefined) && (dir)) {
_needPrev = true;
} else if ((_nextNode == undefined) && (!dir)) {
_nextIsNext = false;
}
_lastTarget = _lastTarget._parent;
getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
}
function getTabCandidate(o, index, groupName, dir, firstChild) {
var _local2;
var _local3 = true;
if (o == _parent) {
_local2 = o;
_local3 = false;
} else {
_local2 = o._parent;
if (_local2 == undefined) {
_local2 = o;
_local3 = false;
}
}
walkTree(_local2, index, groupName, dir, _local3, firstChild);
}
function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) {
walkTree(o, index, groupName, dir, false, firstChild);
}
function getFocusManagerFromObject(o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return(o.focusManager);
}
o = o._parent;
}
return(undefined);
}
function tabHandler(Void) {
bDrawFocus = true;
var _local5 = getSelectionFocus();
var _local4 = getActualFocus(_local5);
if (_local4 != _local5) {
_local5 = _local4;
}
if (getFocusManagerFromObject(_local5) != this) {
_local5 == undefined;
}
if (_local5 == undefined) {
_local5 = form;
} else if (_local5.tabIndex != undefined) {
if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) {
_foundList = new Object();
_foundList.tabIndex = _local5.tabIndex;
}
_foundList[_local5._name] = _local5;
}
var _local3 = Key.isDown(16) != true;
_searchKey = getTimer();
_needPrev = true;
_nextIsNext = false;
_lastx = undefined;
_firstNode = undefined;
_lastNode = undefined;
_nextNode = undefined;
_prevNode = undefined;
_firstObj = undefined;
_lastObj = undefined;
_nextObj = undefined;
_prevObj = undefined;
_lastTarget = _local5;
var _local6 = _local5;
getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true);
var _local2;
if (_local3) {
if (_nextObj != undefined) {
_local2 = _nextObj;
} else {
_local2 = _firstObj;
}
} else if (_prevObj != undefined) {
_local2 = _prevObj;
} else {
_local2 = _lastObj;
}
if (_local2.tabIndex != _local5.tabIndex) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
_foundList[_local2._name] = _local2;
} else {
if (_foundList == undefined) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
}
_foundList[_local2._name] = _local2;
}
if (_local2 == undefined) {
if (_local3 == false) {
if (_nextNode != undefined) {
_local2 = _nextNode;
} else {
_local2 = _firstNode;
}
} else if ((_prevNode == undefined) || (_local5 == form)) {
_local2 = _lastNode;
} else {
_local2 = _prevNode;
}
}
if (_local2 == undefined) {
return(undefined);
}
lastTabFocus = _local2;
setFocus(_local2);
if (_local2.emphasized != undefined) {
if (defPushButton != undefined) {
_local5 = defPushButton;
defPushButton = _local2;
_local5.emphasized = false;
_local2.emphasized = true;
}
} else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) {
_local5 = defPushButton;
defPushButton = __defaultPushButton;
_local5.emphasized = false;
__defaultPushButton.__set__emphasized(true);
}
}
function onKeyDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
if (defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (defaultPushButton != undefined) {
doLater(this, "sendDefaultPushButtonEvent");
}
}
}
}
function sendDefaultPushButtonEvent(Void) {
defPushButton.dispatchEvent({type:"click"});
}
function getMousedComponentFromChildren(x, y, o) {
for (var _local7 in o) {
var _local2 = o[_local7];
if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) {
_local2._searchKey = _searchKey;
if (_local2.hitTest(x, y, true)) {
if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) {
return(_local2);
}
var _local3 = getMousedComponentFromChildren(x, y, _local2);
if (_local3 != undefined) {
return(_local3);
}
return(_local2);
}
}
}
return(undefined);
}
function mouseActivate(Void) {
if (!bNeedFocus) {
return(undefined);
}
_searchKey = getTimer();
var _local2 = getMousedComponentFromChildren(lastMouse.x, lastMouse.y, form);
if (_local2 instanceof mx.core.UIComponent) {
return(undefined);
}
_local2 = findFocusFromObject(_local2);
if (_local2 == lastFocus) {
return(undefined);
}
if (_local2 == undefined) {
doLater(this, "restoreFocus");
return(undefined);
}
var _local3 = _local2.hscroll;
if (_local3 != undefined) {
var _local6 = _local2.scroll;
var _local5 = _local2.background;
}
setFocus(_local2);
var _local4 = Selection;
Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex);
if (_local3 != undefined) {
_local2.scroll = _local6;
_local2.hscroll = _local3;
_local2.background = _local5;
}
}
function _onMouseDown(Void) {
bDrawFocus = false;
if (lastFocus != undefined) {
lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var _local3 = Selection;
_local3.lastBeginIndex = Selection.getBeginIndex();
_local3.lastEndIndex = Selection.getEndIndex();
lastMouse.x = _root._xmouse;
lastMouse.y = _root._ymouse;
_root.localToGlobal(lastMouse);
}
function onMouseUp(Void) {
if (_visible) {
doLater(this, "mouseActivate");
}
}
function handleEvent(e) {
if (e.type == "reveal") {
mx.managers.SystemManager.activate(form);
} else {
mx.managers.SystemManager.deactivate(form);
}
}
static function enableFocusManagement() {
if (!initialized) {
initialized = true;
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
}
}
static var symbolName = "FocusManager";
static var symbolOwner = mx.managers.FocusManager;
static var version = "2.0.2.127";
var className = "FocusManager";
var bNeedFocus = false;
var bDrawFocus = false;
var defaultPushButtonEnabled = true;
var activated = true;
static var initialized = false;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 71 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle
{
var styleName, stylecache, _color, setColor, invalidateStyle;
function CSSSetStyle () {
}
function _setStyle(styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == "color") {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return(undefined);
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local7 = mx.styles.StyleManager.colorNames.haloBlue;
var _local6 = mx.styles.StyleManager.colorNames.haloGreen;
var _local8 = mx.styles.StyleManager.colorNames.haloOrange;
var _local4 = {};
_local4[_local7] = 12188666 /* 0xB9FBFA */;
_local4[_local6] = 13500353 /* 0xCDFFC1 */;
_local4[_local8] = 16766319 /* 0xFFD56F */;
var _local5 = {};
_local5[_local7] = 13958653 /* 0xD4FDFD */;
_local5[_local6] = 14942166 /* 0xE3FFD6 */;
_local5[_local8] = 16772787 /* 0xFFEEB3 */;
var _local9 = _local4[newValue];
var _local10 = _local5[newValue];
if (_local9 == undefined) {
_local9 = newValue;
}
if (_local10 == undefined) {
_local10 = newValue;
}
setStyle("selectionColor", _local9);
setStyle("rollOverColor", _local10);
}
_level0.changeColorStyleInChildren(styleName, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
_level0.notifyStyleChangeInChildren(styleName, styleProp, newValue);
}
}
function changeTextStyleInChildren(styleProp) {
var _local4 = getTimer();
var _local5;
for (_local5 in this) {
var _local2 = this[_local5];
if (_local2._parent == this) {
if (_local2.searchKey != _local4) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache.tf;
delete _local2.stylecache[styleProp];
}
_local2.invalidateStyle(styleProp);
_local2.changeTextStyleInChildren(styleProp);
_local2.searchKey = _local4;
}
}
}
}
function changeColorStyleInChildren(sheetName, colorStyle, newValue) {
var _local6 = getTimer();
var _local7;
for (_local7 in this) {
var _local2 = this[_local7];
if (_local2._parent == this) {
if (_local2.searchKey != _local6) {
if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[colorStyle];
}
if (typeof(_local2._color) == "string") {
if (_local2._color == colorStyle) {
var _local4 = _local2.getStyle(colorStyle);
if (colorStyle == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = _local4;
}
}
_local2.setColor(_local4);
}
} else if (_local2._color[colorStyle] != undefined) {
if (typeof(_local2) != "movieclip") {
_local2._parent.invalidateStyle();
} else {
_local2.invalidateStyle(colorStyle);
}
}
}
_local2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
_local2.searchKey = _local6;
}
}
}
}
function notifyStyleChangeInChildren(sheetName, styleProp, newValue) {
var _local5 = getTimer();
var _local6;
for (_local6 in this) {
var _local2 = this[_local6];
if (_local2._parent == this) {
if (_local2.searchKey != _local5) {
if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[styleProp];
delete _local2.stylecache.tf;
}
delete _local2.enabledColor;
_local2.invalidateStyle(styleProp);
}
_local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
_local2.searchKey = _local5;
}
}
}
}
function setStyle(styleProp, newValue) {
if (stylecache != undefined) {
delete stylecache[styleProp];
delete stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local10 = mx.styles.StyleManager.colorNames.haloBlue;
var _local9 = mx.styles.StyleManager.colorNames.haloGreen;
var _local11 = mx.styles.StyleManager.colorNames.haloOrange;
var _local6 = {};
_local6[_local10] = 12188666 /* 0xB9FBFA */;
_local6[_local9] = 13500353 /* 0xCDFFC1 */;
_local6[_local11] = 16766319 /* 0xFFD56F */;
var _local7 = {};
_local7[_local10] = 13958653 /* 0xD4FDFD */;
_local7[_local9] = 14942166 /* 0xE3FFD6 */;
_local7[_local11] = 16772787 /* 0xFFEEB3 */;
var _local12 = _local6[newValue];
var _local13 = _local7[newValue];
if (_local12 == undefined) {
_local12 = newValue;
}
if (_local13 == undefined) {
_local13 = newValue;
}
setStyle("selectionColor", _local12);
setStyle("rollOverColor", _local13);
}
if (typeof(_color) == "string") {
if (_color == styleProp) {
if (styleProp == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = newValue;
}
}
setColor(newValue);
}
} else if (_color[styleProp] != undefined) {
invalidateStyle(styleProp);
}
changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) {
var _local8;
var _local5 = newValue;
if (styleProp == "styleName") {
_local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5));
_local5 = _local8.themeColor;
if (_local5 != undefined) {
_local8.rollOverColor = (_local8.selectionColor = _local5);
}
}
notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
}
static function enableRunTimeCSS() {
}
static function classConstruct() {
var _local2 = MovieClip.prototype;
var _local3 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = _local3._setStyle;
_local2.changeTextStyleInChildren = _local3.changeTextStyleInChildren;
_local2.changeColorStyleInChildren = _local3.changeColorStyleInChildren;
_local2.notifyStyleChangeInChildren = _local3.notifyStyleChangeInChildren;
_local2.setStyle = _local3.setStyle;
_global.ASSetPropFlags(_local2, "changeTextStyleInChildren", 1);
_global.ASSetPropFlags(_local2, "changeColorStyleInChildren", 1);
_global.ASSetPropFlags(_local2, "notifyStyleChangeInChildren", 1);
_global.ASSetPropFlags(_local2, "setStyle", 1);
var _local4 = TextField.prototype;
_local4.setStyle = _local2.setStyle;
_local4.changeTextStyleInChildren = _local3.changeTextStyleInChildren;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
}
Symbol 72 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions
{
function UIComponentExtensions () {
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if (this.getFocusManager().bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
}
static var bExtended = false;
static var UIComponentExtended = Extensions();
static var UIComponentDependency = mx.core.UIComponent;
static var FocusManagerDependency = mx.managers.FocusManager;
static var OverlappedWindowsDependency = mx.managers.OverlappedWindows;
}
Symbol 73 MovieClip [__Packages.mx.events.LowLevelEvents] Frame 0
class mx.events.LowLevelEvents
{
var dispatchEvent, _onMouseMove, __q_mouseMove, _onRollOver, _onRollOut, _onPress, _onRelease, _onReleaseOutside, _onDragOver, _onDragOut, _onMouseDown, _onMouseUp;
function LowLevelEvents () {
}
static function addMouseEvents(obj) {
if (obj.refcntMouseEvents > 0) {
obj.refcntMouseEvents++;
return(undefined);
}
var _local2 = mx.events.UIEventDispatcher._fEventDispatcher;
obj.refcntMouseEvents = 1;
obj._onPress = obj.onPress;
obj.onPress = _local2.onPress;
obj._onRelease = obj.onRelease;
obj.onRelease = _local2.onRelease;
obj._onReleaseOutside = obj.onReleaseOutside;
obj.onReleaseOutside = _local2.onReleaseOutside;
obj._onRollOver = obj.onRollOver;
obj.onRollOver = _local2.onRollOver;
obj._onRollOut = obj.onRollOut;
obj.onRollOut = _local2.onRollOut;
obj._onDragOver = obj.onDragOver;
obj.onDragOver = _local2.onDragOver;
obj._onDragOut = obj.onDragOut;
obj.onDragOut = _local2.onDragOut;
}
static function removeMouseEvents(obj) {
if (obj.refcntMouseEvents > 1) {
obj.refcntMouseEvents--;
return(undefined);
}
obj.refcntMouseEvents = 0;
if (obj._onPress != undefined) {
obj.onPress = obj._onPress;
} else {
delete obj.onPress;
}
if (obj._onRelease != undefined) {
obj.onRelease = obj._onRelease;
} else {
delete obj.onRelease;
}
if (obj._onReleaseOutside != undefined) {
obj.onReleaseOutside = obj._onReleaseOutside;
} else {
delete obj.onReleaseOutside;
}
if (obj._onRollOver != undefined) {
obj.onRollOver = obj._onRollOver;
} else {
delete obj.onRollOver;
}
if (obj._onRollOut != undefined) {
obj.onRollOut = obj._onRollOut;
} else {
delete obj.onRollOut;
}
if (obj._onDragOver != undefined) {
obj.onDragOver = obj._onDragOver;
} else {
delete obj.onDragOver;
}
if (obj._onDragOut != undefined) {
obj.onDragOut = obj._onDragOut;
} else {
delete obj.onDragOut;
}
if (obj._onMouseMove != undefined) {
obj.onMouseMove = obj._onMouseMove;
} else {
delete obj.onMouseMove;
}
}
static function addSomewhereEvents(obj) {
if (obj.refcntSomewhereEvents > 0) {
obj.refcntSomewhereEvents++;
return(undefined);
}
var _local2 = mx.events.UIEventDispatcher._fEventDispatcher;
obj.refcntSomewhereEvents = 1;
obj._onMouseDown = obj.onMouseDown;
obj.onMouseDown = _local2.onMouseDown;
obj._onMouseUp = obj.onMouseUp;
obj.onMouseUp = _local2.onMouseUp;
}
static function removeSomewhereEvents(obj) {
if (obj.refcntSomewhereEvents > 1) {
obj.refcntSomewhereEvents--;
return(undefined);
}
obj.refcntSomewhereEvents = 0;
if (obj._onMouseDown != undefined) {
obj.onMouseDown = obj._onMouseDown;
} else {
delete obj.onMouseDown;
}
if (obj._onMouseUp != undefined) {
obj.onMouseUp = obj._onMouseUp;
} else {
delete obj.onMouseUp;
}
}
function onMouseMove(Void) {
dispatchEvent({type:"mouseMove"});
_onMouseMove();
}
function onRollOver(Void) {
dispatchEvent({type:"mouseOver"});
if (__q_mouseMove.length > 0) {
_onMouseMove = onMouseMove;
var _local2 = mx.events.UIEventDispatcher._fEventDispatcher;
onMouseMove = _local2.onMouseMove;
}
_onRollOver();
}
function onRollOut(Void) {
dispatchEvent({type:"mouseOut"});
if (__q_mouseMove.length > 0) {
if (_onMouseMove != undefined) {
onMouseMove == _onMouseMove;
} else {
delete onMouseMove;
}
}
_onRollOut();
}
function onPress(Void) {
dispatchEvent({type:"mouseDown"});
_onPress();
}
function onRelease(Void) {
dispatchEvent({type:"mouseUp"});
_onRelease();
}
function onReleaseOutside(Void) {
dispatchEvent({type:"mouseUp"});
_onReleaseOutside();
}
function onDragOver(Void) {
dispatchEvent({type:"mouseOver"});
_onDragOver();
}
function onDragOut(Void) {
dispatchEvent({type:"mouseOut"});
_onDragOut();
}
function onMouseDown(Void) {
dispatchEvent({type:"mouseDownSomewhere"});
_onMouseDown();
}
function onMouseUp(Void) {
dispatchEvent({type:"mouseUpSomewhere"});
_onMouseUp();
}
static function enableLowLevelEvents() {
}
static function classConstruct() {
var _local1 = mx.events.UIEventDispatcher;
var _local4 = mx.events.LowLevelEvents;
_local1.lowLevelEvents.mouseEvents = ["addMouseEvents", "removeMouseEvents"];
_local1.lowLevelEvents.somewhereEvents = ["addSomewhereEvents", "removeSomewhereEvents"];
_local1.mouseEvents = _local4.mouseEvents;
_local1.addMouseEvents = _local4.addMouseEvents;
_local1.removeMouseEvents = _local4.removeMouseEvents;
_local1.somewhereEvents = _local4.somewhereEvents;
_local1.addSomewhereEvents = _local4.addSomewhereEvents;
_local1.removeSomewhereEvents = _local4.removeSomewhereEvents;
if (_local1._fEventDispatcher == undefined) {
_local1._fEventDispatcher = new mx.events.UIEventDispatcher();
}
var _local3 = _local1._fEventDispatcher;
var _local2 = _local4.prototype;
_local3.onPress = _local2.onPress;
_local3.onRelease = _local2.onRelease;
_local3.onReleaseOutside = _local2.onReleaseOutside;
_local3.onRollOut = _local2.onRollOut;
_local3.onRollOver = _local2.onRollOver;
_local3.onDragOut = _local2.onDragOut;
_local3.onDragOver = _local2.onDragOver;
_local3.onMouseDown = _local2.onMouseDown;
_local3.onMouseMove = _local2.onMouseMove;
_local3.onMouseUp = _local2.onMouseUp;
return(true);
}
static var mouseEvents = {mouseMove:1, mouseDown:1, mouseUp:1, mouseOver:1, mouseOut:1};
static var somewhereEvents = {mouseDownSomewhere:1, mouseUpSomewhere:1};
static var classConstructed = classConstruct();
static var UIEventDispatcherDependency = mx.events.UIEventDispatcher;
}
Symbol 74 MovieClip [__Packages.mx.screens.Screen] Frame 0
class mx.screens.Screen extends mx.controls.Loader
{
var _childScreens, _parent, _loadExternalClass, __set__scaleContent, _name, __get__scaleContent, globalToLocal, x, y, border_mc, dispatchEvent;
function Screen () {
super();
}
function get indexInParent() {
return(_indexInParent);
}
function get numChildScreens() {
return(_childScreens.length);
}
function get parentIsScreen() {
var _local2 = (parentScreen != null) && (parentScreen._isScreen);
return(_local2);
}
function get parentScreen() {
var _local2 = _parent;
if (_local2 == null) {
return(null);
}
if (_local2._isScreen) {
return(_local2);
}
return(null);
}
function get rootScreen() {
var _local2 = this;
while (_local2.__get__parentIsScreen()) {
_local2 = _local2.parentScreen;
}
return(_local2);
}
function get transitionManager() {
return(__transitionManager);
}
static function get currentFocusedScreen() {
var curFocus;
curFocus = _root.focusManager.getFocus();
if ((!curFocus) || (curFocus == undefined)) {
curFocus = eval (Selection.getFocus());
}
while (curFocus && (!curFocus._isScreen)) {
curFocus = curFocus._parent;
}
if (curFocus == undefined) {
return(null);
}
return(curFocus);
}
function getChildScreen(childIndex) {
return(_childScreens[childIndex]);
}
function createChild(className, instanceName, initProps) {
var _local4;
_childLoading = instanceName;
return(super.createChild(className, instanceName, initProps));
}
function drawFocus() {
}
function init() {
mx.core.ext.UIObjectExtensions.Extensions();
mx.core.ext.UIComponentExtensions.Extensions();
mx.events.LowLevelEvents.enableLowLevelEvents();
_childScreens = [];
super.init();
_loadExternalClass = symbolName;
__set__scaleContent(false);
mx.events.UIEventDispatcher.initialize(this);
if (_parent._childLoading == _name) {
} else if (parentIsScreen) {
_parent.registerChildScreen(this);
}
}
function registerChildScreen(scrn) {
scrn._indexInParent = _childScreens.push(scrn) - 1;
}
function childLoaded(obj) {
super.childLoaded(obj);
var _local4;
var _local5 = null;
var _local7 = obj._parent;
for (_local4 in obj) {
if ((typeof(obj[_local4]) == "movieclip") && (obj[_local4]._isScreen)) {
_local5 = obj[_local4];
break;
}
}
if (_local5._isScreen) {
if (!__get__scaleContent()) {
var _local6 = new Object();
_local6.x = obj.x;
_local6.y = obj.y;
globalToLocal(_local6);
obj._x = _local6.x;
obj._y = _local6.y;
} else {
var _local6 = new Object();
_local6.x = x;
_local6.y = y;
_parent.localToGlobal(_local6);
obj.globalToLocal(_local6);
_local5._x = _local6.x;
_local5._y = _local6.y;
}
_local5._indexInParent = _local7._childScreens.push(_local5) - 1;
obj._isScreenContainer = true;
obj._containedScreen = _local5;
}
_local7._childLoading = "";
}
function doScaleLoader() {
}
function createChildren() {
border_mc = new mx.skins.RectBorder();
border_mc.__borderMetrics = {top:0, left:0, bottom:0, right:0};
super.createChildren();
}
function allTransitionsInDone() {
dispatchEvent({type:"allTransitionsInDone", target:this});
}
function allTransitionsOutDone() {
dispatchEvent({type:"allTransitionsOutDone", target:this});
}
function destroyChildAt(childIndex) {
_childScreens.splice(childIndex, 1);
super.destroyChildAt(childIndex);
}
static var symbolName = "Screen";
static var symbolOwner = mx.screens.Screen;
var className = "Screen";
var _isScreen = true;
var _indexInParent = 0;
var __transitionManager = null;
var _childLoading = "";
var borderStyle = "none";
}
Symbol 75 MovieClip [__Packages.mx.controls.streamingmedia.ScreenAccommodator] Frame 0
class mx.controls.streamingmedia.ScreenAccommodator
{
var containee, container, beforeInit, initId, wasAlreadyDisabled;
function ScreenAccommodator (aContainee) {
containee = aContainee;
container = getContainingScreen();
if (container != null) {
var _local2 = container.__get__visible();
beforeInit = false;
container.addEventListener("hide", this);
container.addEventListener("reveal", this);
if (!_local2) {
beforeInit = true;
initId = setInterval(this, "disableContainee", 50);
}
}
}
function disableContainee() {
if ((initAction == "nothing") || (initAction == "hide")) {
mx.controls.streamingmedia.Tracer.trace("ScreenAccommodator.disableContainee: disabling " + containee);
containee.enabled = false;
}
clearInterval(initId);
beforeInit = false;
}
function getContainingScreen() {
var _local4 = null;
var _local3 = containee._parent;
while ((_local4 == null) && (_local3 != _root)) {
if (_local3 instanceof mx.screens.Screen) {
_local4 = _local3;
} else {
_local3 = _local3._parent;
}
}
return(_local4);
}
function handleEvent(ev) {
mx.controls.streamingmedia.Tracer.trace((("ScreenAccommodator.handleEvent: " + ev.type) + " for ") + containee);
if (ev.type == "hide") {
if (beforeInit) {
initAction = "hide";
} else if (containee.enabled) {
wasAlreadyDisabled = false;
containee.enabled = false;
} else {
wasAlreadyDisabled = true;
}
} else if (ev.type == "reveal") {
if (beforeInit) {
initAction = "reveal";
} else if ((!wasAlreadyDisabled) && (containee.visible)) {
containee.enabled = true;
}
}
}
var initAction = "nothing";
}
Symbol 76 MovieClip [__Packages.mx.controls.streamingmedia.IPlayer] Frame 0
interface mx.controls.streamingmedia.IPlayer{}
Symbol 77 MovieClip [__Packages.mx.controls.streamingmedia.AbstractPlayer] Frame 0
class mx.controls.streamingmedia.AbstractPlayer
{
var _playing;
function AbstractPlayer () {
_playing = false;
}
function isPlaying() {
return(_playing);
}
function get playing() {
return(isPlaying());
}
function setPlaying(flag) {
_playing = flag;
}
}
Symbol 78 MovieClip [__Packages.mx.controls.streamingmedia.RTMPPlayer] Frame 0
class mx.controls.streamingmedia.RTMPPlayer extends mx.controls.streamingmedia.AbstractPlayer
{
var _mediaUrl, _mediaType, _videoHolder, _video, _totalTime, _listeners, _connectTimeOutId, _protocol, _port, _appUrl, _streamName, setPlaying, _isLoaded, _isLoading, _isPlayPending, _nc_rtmp, _nc_rtmpt, _playHeadPos, _isPausing, _sound, isPlaying, _ns, _videoHeight, _videoWidth, _conn_Id, _isSeeking, _momentaryPlayId, _statusCount, _checkCompleteId;
function RTMPPlayer (aMediaUrl, aMediaType, aVideoHolder, aTotalTime) {
super();
if (((aMediaUrl == null) || (aVideoHolder == null)) || (aTotalTime == null)) {
}
_mediaUrl = aMediaUrl;
_mediaType = aMediaType;
_videoHolder = aVideoHolder;
_video = _videoHolder._video;
_totalTime = aTotalTime;
_listeners = new Array();
_connectTimeOutId = null;
init();
}
function init() {
var _local2;
_local2 = _mediaUrl.indexOf(":");
if (_local2 == -1) {
}
_protocol = _mediaUrl.substring(0, _local2).toLowerCase();
if (((_protocol != "rtmp") && (_protocol != "rtmps")) && (_protocol != "rtmpt")) {
}
var _local3 = _mediaUrl.substring(_local2 + 1, _mediaUrl.length);
_port = null;
var _local5 = _local3.indexOf(":");
if (_local5 != -1) {
_port = _local3.substring(_local5 + 1, _local3.length);
var _local4 = _port.indexOf("/");
if ((_local4 != -1) && (_local4 < _local5)) {
_port = _port.substring(0, _local4);
} else {
_port = null;
}
}
_local2 = _local3.lastIndexOf("/");
if (_local2 == -1) {
}
_appUrl = _local3.substring(0, _local2);
_streamName = _local3.substring(_local2 + 1, _local3.length);
if (_streamName.length == 0) {
}
if (_mediaType == mx.controls.streamingmedia.StreamingMediaConstants.FLV_MEDIA_TYPE) {
_local2 = _streamName.indexOf(".");
if (_local2 != -1) {
var _local6;
_local6 = _streamName.substring(_local2).toLowerCase();
if (_local6 == ".flv") {
_streamName = _streamName.substring(0, _local2);
}
}
_streamName = "flv:" + _streamName;
} else if (_mediaType == mx.controls.streamingmedia.StreamingMediaConstants.MP3_MEDIA_TYPE) {
_local2 = _streamName.indexOf(".");
if (_local2 != -1) {
var _local6 = _streamName.substring(_local2).toLowerCase();
if (_local6 == ".mp3") {
_streamName = _streamName.substring(0, _local2);
}
}
_streamName = "mp3:" + _streamName;
}
setPlaying(false);
_isLoaded = false;
_isLoading = false;
_isPlayPending = false;
_nc_rtmp = null;
_nc_rtmpt = null;
_playHeadPos = 0;
setSeeking(false);
_isPausing = false;
_sound = new Sound(_videoHolder);
setVolume(mx.controls.streamingmedia.StreamingMediaConstants.DEFAULT_VOLUME);
}
function addListener(aListener) {
_listeners.push(aListener);
}
function removeAllListeners() {
_listeners.length = 0;
}
function broadcastEvent(status) {
var _local2 = 0;
while (_local2 < _listeners.length) {
_listeners[_local2].handlePlayer(this, status);
_local2++;
}
}
function bufferIsFull() {
broadcastEvent("start");
if (!isPlaying()) {
pause();
}
}
function resizeVideo() {
broadcastEvent("resizeVideo");
if (!isPlaying()) {
pause();
}
}
function toString() {
return("RTMPPlayer: Playing " + getMediaUrl());
}
function close() {
_ns.onStatus = null;
_ns.close();
_ns = null;
if (_nc_rtmp != null) {
_nc_rtmp.onStatus = null;
_nc_rtmp.close();
_nc_rtmp = null;
}
if (_nc_rtmpt != null) {
_nc_rtmpt.onStatus = null;
_nc_rtmpt.close();
_nc_rtmpt = null;
}
_video.clear();
}
function load() {
_isLoading = true;
actualConnect();
if (_connectTimeOutId != null) {
clearInterval(_connectTimeOutId);
_connectTimeOutId = null;
}
_connectTimeOutId = setInterval(this, "onConnectTimeOut", 60000);
}
function startStream(nc) {
clearInterval(_connectTimeOutId);
_connectTimeOutId = null;
_ns = new mx.controls.streamingmedia.PlayerNetStream(nc, this);
if (_mediaType == mx.controls.streamingmedia.StreamingMediaConstants.FLV_MEDIA_TYPE) {
_video.attachVideo(_ns);
}
_video.attachVideo(_ns);
_videoHeight = _video.height;
_videoWidth = _video.width;
_ns.setBufferTime(5);
_videoHolder.attachAudio(_ns);
_ns.play(_streamName, 0, -1);
_isLoading = false;
_isLoaded = true;
_videoHolder._visible = false;
setPlaying(false);
if (_isPlayPending) {
play(null);
} else {
_isPausing = false;
pause();
}
}
function onConnectTimeOut() {
clearInterval(_connectTimeOutId);
_connectTimeOutId = null;
if (_nc_rtmpt != null) {
_nc_rtmpt.onStatus = null;
_nc_rtmpt.close();
_nc_rtmpt = null;
}
if (_nc_rtmp != null) {
_nc_rtmp.onStatus = null;
_nc_rtmp.close();
_nc_rtmp = null;
}
_isLoading = false;
_isLoaded = false;
}
function actualConnect() {
if (_protocol == "rtmp") {
_nc_rtmp = new mx.controls.streamingmedia.RTMPConnection(this);
_nc_rtmp.onStatus = function (info) {
if (info.code == "NetConnection.Connect.Success") {
clearInterval(this._player._conn_Id);
this._nc_rtmpt.onStatus = null;
this._nc_rtmpt.close();
this._nc_rtmpt = null;
this._player.startStream(this);
this.popConnection();
}
};
_nc_rtmp.connect("rtmp:" + _appUrl, _streamName);
}
if ((_protocol == "rtmpt") || ((_protocol == "rtmp") && (_port == null))) {
_nc_rtmpt = new mx.controls.streamingmedia.RTMPConnection(this);
_nc_rtmpt.onStatus = function (info) {
if (info.code == "NetConnection.Connect.Success") {
this._nc_rtmp.onStatus = null;
this._nc_rtmp.close();
this._nc_rtmp = null;
this._player.startStream(this);
this.popConnection();
}
};
if (_protocol == "rtmpt") {
_nc_rtmpt.connect("rtmpt:" + _appUrl, _streamName);
} else {
clearInterval(_conn_Id);
_conn_Id = setInterval(this, "connectRtmpt", 3000);
}
}
}
function connectRtmpt() {
clearInterval(_conn_Id);
_nc_rtmpt.connect("rtmpt:" + _appUrl, _streamName);
}
function play(startingPoint) {
setPlaying(true);
if (startingPoint != null) {
_playHeadPos = startingPoint;
}
if (_isLoading || (!_isLoaded)) {
_isPlayPending = true;
if (!_isLoaded) {
load();
}
return(undefined);
}
_isPlayPending = false;
_isPausing = false;
_ns.pause(false);
_ns.seek(_playHeadPos);
}
function pause() {
if (!_isPausing) {
_ns.pause(true);
_isPausing = true;
_isPlayPending = false;
_playHeadPos = _ns.time;
setPlaying(false);
}
}
function stop() {
pause();
setPlayheadTime(0);
}
function getPlayheadTime() {
return(_ns.time);
}
function setPlayheadTime(position) {
_playHeadPos = position;
if (!_isSeeking) {
_ns.seek(position);
setSeeking(true);
}
if (mx.controls.streamingmedia.StreamingMediaConstants.SCRUBBING) {
} else if (!isPlaying()) {
_ns.pause(false);
clearInterval(_momentaryPlayId);
_momentaryPlayId = setInterval(this, "doneUpdateFrame", 50);
}
}
function doneUpdateFrame() {
clearInterval(_momentaryPlayId);
_momentaryPlayId = null;
_ns.pause(true);
}
function playStopped() {
_statusCount = 2;
clearInterval(_checkCompleteId);
_checkCompleteId = setInterval(this, "checkComplete", 50);
}
function checkComplete() {
if (_ns.bufferLength <= 0.001) {
if (_statusCount <= 0) {
clearInterval(_checkCompleteId);
_checkCompleteId = null;
pause();
broadcastEvent("complete");
} else {
_statusCount = _statusCount - 1;
}
}
}
function getMediaUrl() {
return(_mediaUrl);
}
function setMediaUrl(aUrl) {
_mediaUrl = aUrl;
_isLoaded = false;
var _local3 = isPlaying();
var _local2 = getVolume();
close();
init();
setVolume(_local2);
if (_local3) {
play(0);
} else {
load();
}
}
function getVolume() {
return(_sound.getVolume());
}
function setVolume(aVol) {
_sound.setVolume(aVol);
}
function getMediaBytesLoaded() {
return(_ns.bytesLoaded);
}
function getMediaBytesTotal() {
return(_ns.bytesTotal);
}
function getTotalTime() {
return(_totalTime);
}
function setTotalTime(aTime) {
_totalTime = aTime;
}
function mediaLoaded() {
}
function logError(error) {
}
function isSizeSet() {
if ((_video.width > 0) && (_video.height > 0)) {
return(true);
}
return(false);
}
function isSizeChange() {
if ((_video.width != _videoWidth) || (_video.height != _videoHeight)) {
_videoWidth = _video.width;
_videoHeight = _video.height;
return(true);
}
return(false);
}
function setSeeking(isSeeking) {
_isSeeking = isSeeking;
}
}
Symbol 79 MovieClip [__Packages.mx.controls.streamingmedia.RTMPConnection] Frame 0
class mx.controls.streamingmedia.RTMPConnection extends NetConnection
{
static var _connectFlag;
var _player, _targetURI, _streamName;
function RTMPConnection (player) {
super();
_player = player;
}
function onMetaData(info) {
_player.setTotalTime(info.duration);
}
function connect(targetURI, streamName) {
if (_connectFlag == true) {
pushConnection(targetURI, streamName);
return(undefined);
}
_connectFlag = true;
super.connect(targetURI, streamName);
popConnection();
}
function pushConnection(targetURI, streamName) {
_targetURI = targetURI;
_streamName = streamName;
_connectorQueue.push(this);
}
function popConnection() {
_connectFlag = false;
if (_connectorQueue.length != 0) {
var _local1 = _connectorQueue.pop();
_local1.connect(_local1._targetURI, _local1._streamName);
}
}
static var _connectorQueue = new Array();
}
Symbol 80 MovieClip [__Packages.mx.controls.streamingmedia.PlayerNetStream] Frame 0
class mx.controls.streamingmedia.PlayerNetStream extends NetStream
{
var _player, detectedFirstBuffer, initId, checkSizeInterval;
function PlayerNetStream (nc, aPlayer) {
super(nc);
setPlayer(aPlayer);
}
function getPlayer() {
return(_player);
}
function get player() {
return(getPlayer());
}
function setPlayer(aPlayer) {
_player = aPlayer;
}
function set player(aPlayer) {
setPlayer(aPlayer);
//return(player);
}
function pause(shouldPause) {
super.pause(shouldPause);
}
function setBufferTime(time) {
super.setBufferTime(time);
}
function play(name, st, len, reset) {
super.play(name, st, len, reset);
}
function seek(offset) {
super.seek(offset);
}
function close() {
super.close();
}
function attachAudio(theMicrophone) {
super.attachAudio(theMicrophone);
}
function attachVideo(theCamera, snapshotMilliseconds) {
super.attachVideo(theCamera, snapshotMilliseconds);
}
function onStatus(info) {
var _local2 = getPlayer();
switch (info.code) {
case "NetStream.Buffer.Full" :
break;
case "NetStream.Play.Start" :
detectedFirstBuffer = false;
clearInterval(initId);
checkSizeInterval = 10;
initId = setInterval(this, "detect", checkSizeInterval);
break;
case "NetStream.Pause.Notify" :
break;
case "NetStream.Play.Stop" :
clearInterval(initId);
_local2.playStopped();
break;
case "NetStream.Play.Failed" :
case "NetStream.Play.StreamNotFound" :
var _local3;
_local3 = "Error playing URL: " + info.description;
_local2.logError(_local3);
break;
case "NetStream.Seek.Notify" :
_local2.setSeeking(false);
}
}
function detect() {
var _local2 = getPlayer();
if ((!detectedFirstBuffer) && (_local2.isSizeSet())) {
detectedFirstBuffer = true;
_local2.bufferIsFull();
}
if (_local2.isSizeChange()) {
_local2.resizeVideo();
}
clearInterval(initId);
checkSizeInterval = checkSizeInterval * 2;
initId = setInterval(this, "detect", checkSizeInterval);
}
function onMetaData(info) {
var _local2 = getPlayer();
if (_local2 instanceof mx.controls.streamingmedia.FLVPlayer) {
var _local3 = _local2;
_local3.setTotalTime(info.duration);
} else if (_local2 instanceof mx.controls.streamingmedia.RTMPPlayer) {
var _local4 = _local2;
_local4.setTotalTime(info.duration);
}
}
}
Symbol 81 MovieClip [__Packages.mx.controls.streamingmedia.FLVPlayer] Frame 0
class mx.controls.streamingmedia.FLVPlayer extends mx.controls.streamingmedia.AbstractPlayer
{
var _mediaUrl, _videoHolder, _video, _totalTime, _listeners, setPlaying, _isLoaded, _sound, isPlaying, _ns, _nc, _videoHeight, _videoWidth, _momentaryPlayId;
function FLVPlayer (aMediaUrl, aVideoHolder, aTotalTime) {
super();
if (((aMediaUrl == null) || (aVideoHolder == null)) || (aTotalTime == null)) {
}
_mediaUrl = aMediaUrl;
_videoHolder = aVideoHolder;
_video = _videoHolder._video;
_totalTime = aTotalTime;
init();
}
function init() {
_listeners = new Array();
setPlaying(false);
_isLoaded = false;
_sound = new Sound(_videoHolder);
setVolume(mx.controls.streamingmedia.StreamingMediaConstants.DEFAULT_VOLUME);
}
function addListener(aListener) {
_listeners.push(aListener);
}
function removeAllListeners() {
_listeners.length = 0;
}
function broadcastEvent(status) {
var _local2 = 0;
while (_local2 < _listeners.length) {
_listeners[_local2].handlePlayer(this, status);
_local2++;
}
}
function bufferIsFull() {
broadcastEvent("start");
if (!isPlaying()) {
pause();
}
}
function resizeVideo() {
broadcastEvent("resizeVideo");
if (!isPlaying()) {
pause();
}
}
function toString() {
return("FLVPlayer: Playing " + getMediaUrl());
}
function close() {
_ns.close();
_nc.close();
_video.clear();
}
function load() {
_nc = new NetConnection();
_nc.connect(null);
_ns = new mx.controls.streamingmedia.PlayerNetStream(_nc, this);
assignBufferTime();
_video.attachVideo(_ns);
_videoHeight = _video.height;
_videoWidth = _video.width;
_videoHolder.attachAudio(_ns);
_ns.play(_mediaUrl);
_isLoaded = true;
_videoHolder._visible = false;
setPlaying(false);
}
function assignBufferTime() {
var _local2 = _totalTime / 4;
if (_local2 < 0.1) {
_local2 = 0.1;
} else if (_local2 > 5) {
_local2 = 5;
}
_ns.setBufferTime(_local2);
}
function play(startingPoint) {
if (!_isLoaded) {
load();
}
if (startingPoint != null) {
_ns.seek(startingPoint);
}
_ns.pause(false);
setPlaying(true);
}
function pause() {
_ns.pause(true);
setPlaying(false);
}
function stop() {
pause();
setPlayheadTime(0);
}
function getPlayheadTime() {
return(_ns.time);
}
function setPlayheadTime(position) {
_ns.seek(position);
if (mx.controls.streamingmedia.StreamingMediaConstants.SCRUBBING) {
} else if (!isPlaying()) {
_ns.pause(false);
_momentaryPlayId = setInterval(this, "doneUpdateFrame", 50);
}
}
function doneUpdateFrame() {
clearInterval(_momentaryPlayId);
_momentaryPlayId = null;
_ns.pause(true);
}
function playStopped() {
pause();
broadcastEvent("complete");
}
function getMediaUrl() {
return(_mediaUrl);
}
function setMediaUrl(aUrl) {
_mediaUrl = aUrl;
_isLoaded = false;
if (isPlaying()) {
play(0);
} else {
load();
}
}
function getVolume() {
return(_sound.getVolume());
}
function setVolume(aVol) {
_sound.setVolume(aVol);
}
function getMediaBytesLoaded() {
return(_ns.bytesLoaded);
}
function getMediaBytesTotal() {
return(_ns.bytesTotal);
}
function getTotalTime() {
return(_totalTime);
}
function setTotalTime(aTime) {
_totalTime = aTime;
assignBufferTime();
}
function mediaLoaded() {
}
function logError(error) {
}
function isSizeSet() {
if ((_video.width > 0) && (_video.height > 0)) {
return(true);
}
return(false);
}
function isSizeChange() {
if ((_video.width != _videoWidth) || (_video.height != _videoHeight)) {
_videoWidth = _video.width;
_videoHeight = _video.height;
return(true);
}
return(false);
}
function setSeeking(isSeeking) {
}
}
Symbol 82 MovieClip [__Packages.mx.controls.streamingmedia.MP3Player] Frame 0
class mx.controls.streamingmedia.MP3Player extends mx.controls.streamingmedia.AbstractPlayer
{
var _mediaUrl, _soundHolder, _positionOnLoad, _listeners, _sound, _volume, _recentPosition, _loaded, setPlaying, isPlaying;
function MP3Player (aMediaUrl, aSoundHolder) {
super();
if ((aMediaUrl == null) || (aSoundHolder == null)) {
}
_mediaUrl = aMediaUrl;
_soundHolder = aSoundHolder;
init();
}
function willStop() {
return(_positionOnLoad == STOP);
}
function init() {
_listeners = new Array();
_sound = new Sound(_soundHolder);
_volume = mx.controls.streamingmedia.StreamingMediaConstants.DEFAULT_VOLUME;
var _local4 = Object(_sound);
_local4.player = this;
_sound.onSoundComplete = function () {
var _local3 = Object(this);
var _local2 = _local3.player;
_local2.setPlaying(false);
_local2.broadcastEvent("complete");
};
_recentPosition = 0;
_loaded = false;
_positionOnLoad = STOP;
setPlaying(false);
}
function playStarted() {
_loaded = true;
initializeVolume();
if (_positionOnLoad == STOP) {
stop();
} else {
play(_positionOnLoad);
}
}
function addListener(aListener) {
_listeners.push(aListener);
}
function removeAllListeners() {
_listeners.length = 0;
}
function broadcastEvent(status) {
var _local2 = 0;
while (_local2 < _listeners.length) {
_listeners[_local2].handlePlayer(this, status);
_local2++;
}
}
function load() {
setPlaying(true);
_positionOnLoad = STOP;
_sound.loadSound(_mediaUrl, true);
_sound.setVolume(0);
}
function play(startingPoint) {
if (startingPoint == null) {
startingPoint = _recentPosition;
}
if (_loaded) {
_sound.start(startingPoint);
} else {
_positionOnLoad = startingPoint;
_sound.loadSound(_mediaUrl, true);
_sound.setVolume(0);
}
setPlaying(true);
}
function pause() {
_recentPosition = _sound.position / 1000;
_sound.stop();
setPlaying(false);
}
function stop() {
_recentPosition = 0;
_sound.stop();
setPlaying(false);
}
function getPlayheadTime() {
var _local2 = (isPlaying() ? (_sound.position / 1000) : (_recentPosition));
return(_local2);
}
function setPlayheadTime(aPosition) {
_recentPosition = aPosition;
if (isPlaying()) {
play(aPosition);
}
}
function getMediaUrl() {
return(_mediaUrl);
}
function setMediaUrl(aUrl) {
_loaded = false;
_mediaUrl = aUrl;
if (isPlaying()) {
play(0);
} else {
_recentPosition = 0;
load();
}
}
function getVolume() {
return(_volume);
}
function setVolume(aVol) {
_sound.setVolume(aVol);
_volume = aVol;
}
function initializeVolume() {
setVolume(_volume);
}
function getMediaBytesLoaded() {
return(_sound.getBytesLoaded());
}
function getMediaBytesTotal() {
return(_sound.getBytesTotal());
}
function getTotalTime() {
var _local2 = (_sound.duration * _sound.getBytesTotal()) / _sound.getBytesLoaded();
return(_local2 / 1000);
}
function bufferIsFull() {
}
function resizeVideo() {
}
function playStopped() {
}
function mediaLoaded() {
}
function close() {
_sound.stop();
}
function logError(error) {
}
function isSizeSet() {
return(false);
}
function isSizeChange() {
return(false);
}
function setSeeking(isSeeking) {
}
static var STOP = -1;
}
Symbol 83 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults
{
var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill;
function Defaults () {
}
static function setThemeDefaults() {
var _local2 = _global.style;
_local2.themeColor = 8453965 /* 0x80FF4D */;
_local2.disabledColor = 8684164 /* 0x848284 */;
_local2.modalTransparency = 0;
_local2.filled = true;
_local2.stroked = true;
_local2.strokeWidth = 1;
_local2.strokeColor = 0;
_local2.fillColor = 16777215 /* 0xFFFFFF */;
_local2.repeatInterval = 35;
_local2.repeatDelay = 500;
_local2.fontFamily = "_sans";
_local2.fontSize = 12;
_local2.selectionColor = 13500353 /* 0xCDFFC1 */;
_local2.rollOverColor = 14942166 /* 0xE3FFD6 */;
_local2.useRollOver = true;
_local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDuration = 200;
_local2.openDuration = 250;
_local2.borderStyle = "inset";
_local2.color = 734012 /* 0x0B333C */;
_local2.textSelectedColor = 24371;
_local2.textRollOverColor = 2831164 /* 0x2B333C */;
_local2.textDisabledColor = 16777215 /* 0xFFFFFF */;
_local2.vGridLines = true;
_local2.hGridLines = false;
_local2.vGridLineColor = 6710886 /* 0x666666 */;
_local2.hGridLineColor = 6710886 /* 0x666666 */;
_local2.headerColor = 15395562 /* 0xEAEAEA */;
_local2.indentation = 17;
_local2.folderOpenIcon = "TreeFolderOpen";
_local2.folderClosedIcon = "TreeFolderClosed";
_local2.defaultLeafIcon = "TreeNodeIcon";
_local2.disclosureOpenIcon = "TreeDisclosureOpen";
_local2.disclosureClosedIcon = "TreeDisclosureClosed";
_local2.popupDuration = 150;
_local2.todayColor = 6710886 /* 0x666666 */;
_local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration());
_local2.backgroundColor = 16777215 /* 0xFFFFFF */;
_local2.borderColor = 13290186 /* 0xCACACA */;
_local2.borderStyle = "inset";
_local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration());
_local2.borderStyle = "inset";
_local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration());
_local2.textAlign = "center";
_local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration());
_local2.borderColor = 14015965 /* 0xD5DDDD */;
_local2.buttonColor = 7305079 /* 0x6F7777 */;
_local2.shadowColor = 15658734 /* 0xEEEEEE */;
_local2.highlightColor = 12897484 /* 0xC4CCCC */;
_local2.shadowCapColor = 14015965 /* 0xD5DDDD */;
_local2.borderCapColor = 9542041 /* 0x919999 */;
var _local4 = new Object();
_local4.borderColor = 16711680 /* 0xFF0000 */;
_local4.buttonColor = 16711680 /* 0xFF0000 */;
_local4.shadowColor = 16711680 /* 0xFF0000 */;
_local4.highlightColor = 16711680 /* 0xFF0000 */;
_local4.shadowCapColor = 16711680 /* 0xFF0000 */;
_local4.borderCapColor = 16711680 /* 0xFF0000 */;
mx.core.UIComponent.prototype.origBorderStyles = _local4;
var _local3;
_local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration());
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderStyle = "inset";
_global.styles.TextArea = _global.styles.TextInput;
_local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "default";
_local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "alert";
_local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "inset";
_local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "none";
_local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration());
_local3.color = 11187123 /* 0xAAB3B3 */;
_local3.fontWeight = "bold";
_local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = "11";
_local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "solid";
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderColor = 9081738 /* 0x8A938A */;
_local3.headerHeight = 22;
_local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1)));
_local3.verticalGap = -1;
_local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration());
_local3.borderColor = 9542041 /* 0x919999 */;
_local3.headerColor = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 10;
_local3.textAlign = "right";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = 11;
_local3.textAlign = "center";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration());
_local3.color = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 12;
_local3.fontWeight = "bold";
_local3.textAlign = "center";
}
function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof(r) == "object") {
var _local18 = r.br;
var _local16 = r.bl;
var _local15 = r.tl;
var _local10 = r.tr;
} else {
var _local10 = r;
var _local15 = _local10;
var _local16 = _local15;
var _local18 = _local16;
}
if (typeof(c) == "object") {
if (typeof(alpha) != "object") {
var _local9 = [alpha, alpha];
} else {
var _local9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var _local14 = h * 0.7;
if (typeof(rot) != "object") {
var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */};
} else {
var _local11 = rot;
}
if (gradient == "radial") {
beginGradientFill("radial", c, _local9, ratios, _local11);
} else {
beginGradientFill("linear", c, _local9, ratios, _local11);
}
} else if (c != undefined) {
beginFill(c, alpha);
}
r = _local18;
var _local13 = r - (r * 0.707106781186547);
var _local12 = r - (r * 0.414213562373095);
moveTo(x + w, (y + h) - r);
lineTo(x + w, (y + h) - r);
curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13);
curveTo((x + w) - _local12, y + h, (x + w) - r, y + h);
r = _local16;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x + r, y + h);
curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13);
curveTo(x, (y + h) - _local12, x, (y + h) - r);
r = _local15;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x, y + r);
curveTo(x, y + _local12, x + _local13, y + _local13);
curveTo(x + _local12, y, x + r, y);
r = _local10;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo((x + w) - r, y);
curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13);
curveTo(x + w, y + _local12, x + w, y + r);
lineTo(x + w, (y + h) - r);
if (c != undefined) {
endFill();
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
static var UIObjectDependency = mx.core.UIObject;
}
Symbol 84 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement
{
var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible;
function FocusRect () {
super();
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function draw(o) {
o.adjustFocusRect();
}
function setSize(w, h, r, a, rectCol) {
_xscale = (_yscale = 100);
clear();
if (typeof(r) == "object") {
r.br = ((r.br > 2) ? (r.br - 2) : 0);
r.bl = ((r.bl > 2) ? (r.bl - 2) : 0);
r.tr = ((r.tr > 2) ? (r.tr - 2) : 0);
r.tl = ((r.tl > 2) ? (r.tl - 2) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
r.br = ((r.br > 1) ? (r.br + 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl + 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr + 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl + 1) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = ((r.br > 1) ? (r.br - 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl - 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr - 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl - 1) : 0);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
} else {
var _local5;
if (r != 0) {
_local5 = r - 2;
} else {
_local5 = 0;
}
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
beginFill(rectCol, a * 0.3);
if (r != 0) {
_local5 = r - 2;
r = r - 1;
} else {
_local5 = 0;
r = 0;
}
drawRoundRect(1, 1, w - 2, h - 2, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
}
}
function handleEvent(e) {
if (e.type == "unload") {
_visible = true;
} else if (e.type == "resize") {
e.target.adjustFocusRect();
} else if (e.type == "move") {
e.target.adjustFocusRect();
}
}
static function classConstruct() {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var _local2 = this._parent.focus_mc;
if (!focused) {
_local2._visible = false;
this.removeEventListener("unload", _local2);
this.removeEventListener("move", _local2);
this.removeEventListener("resize", _local2);
} else {
if (_local2 == undefined) {
_local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop);
_local2.tabEnabled = false;
this._parent.focus_mc = _local2;
} else {
_local2._visible = true;
}
_local2.draw(this);
if (_local2.getDepth() < this.getDepth()) {
_local2.setDepthAbove(this);
}
this.addEventListener("unload", _local2);
this.addEventListener("move", _local2);
this.addEventListener("resize", _local2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var _local2 = this.getStyle("themeColor");
if (_local2 == undefined) {
_local2 = 8453965 /* 0x80FF4D */;
}
var _local3 = this._parent.focus_mc;
_local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2);
_local3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var DefaultsDependency = mx.skins.halo.Defaults;
static var UIComponentDependency = mx.core.UIComponent;
}
Symbol 188 MovieClip Frame 15
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 10
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 2
play();
Symbol 393 MovieClip Frame 161
stop();
_root.gotoAndStop(4);
Symbol 400 MovieClip Frame 57
stop();
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
play();
Symbol 403 MovieClip Frame 144
stop();
_root.gotoAndStop(11);
Symbol 405 Button
on (release) {
_root.dropitem();
}
Symbol 417 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 422 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 423 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 424 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 427 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 430 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 433 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 436 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 440 MovieClip Frame 150
stop();
_root.gamedata[10].onstage = false;
_root.setstage();
Symbol 441 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 417 MovieClip "mc_item39" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(20);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 422 MovieClip "mc_item81" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(25);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 423 MovieClip "mc_item2" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
_root.debug(current);
_root.hidedescription();
_root.gotoAndStop(14);
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item40" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(23);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item286" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 427 MovieClip "mc_item11" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.hidedescription();
_root.executeitem(current);
_root.gotoAndStop(15);
}
}
on (rollOver) {
current = 11;
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 430 MovieClip "mc_item19" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(17);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 436 MovieClip "mc_item17" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[4].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(19);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 441 MovieClip "mc_item10" in Symbol 442 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = 10;
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 458 Button
on (release) {
_root.gotoAndStop(51);
_root.sfx.stop();
}
Symbol 467 Button
on (release) {
gotoAndPlay (1);
}
Symbol 468 Button
on (release) {
_root.playbackmc = _root.mc_inventory;
_root.mc_inventorytimer.play();
}
Instance of Symbol 266 MovieClip [inventory_item4] "inventory_item4" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 269 MovieClip [inventory_item5] "inventory_item5" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 272 MovieClip [inventory_item14] "inventory_item14" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 275 MovieClip [inventory_item20] "inventory_item20" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 277 MovieClip [inventory_item21] "inventory_item21" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 280 MovieClip [inventory_item25] "inventory_item25" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 286 MovieClip [inventory_item54] "inventory_item54" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 283 MovieClip [inventory_item48] "inventory_item48" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 289 MovieClip [inventory_item59] "inventory_item59" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 292 MovieClip [inventory_item62] "inventory_item62" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 295 MovieClip [inventory_item63] "inventory_item63" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 301 MovieClip [inventory_item72] "inventory_item72" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 304 MovieClip [inventory_item74] "inventory_item74" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 307 MovieClip [inventory_item76] "inventory_item76" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 310 MovieClip [inventory_item78] "inventory_item78" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 313 MovieClip [inventory_item84] "inventory_item84" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 316 MovieClip [inventory_item86] "inventory_item86" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 319 MovieClip [inventory_item87] "inventory_item87" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 322 MovieClip [inventory_item90] "inventory_item90" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 325 MovieClip [inventory_item91] "inventory_item91" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 328 MovieClip [inventory_item92] "inventory_item92" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 329 MovieClip [inventory_item94] "inventory_item94" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 332 MovieClip [inventory_item100] "inventory_item100" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 335 MovieClip [inventory_item101] "inventory_item101" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 298 MovieClip [inventory_item67] "inventory_item67" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 338 MovieClip [inventory_item118] "inventory_item118" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 341 MovieClip [inventory_item120] "inventory_item120" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 342 MovieClip [inventory_item121] "inventory_item121" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 343 MovieClip [inventory_item122] "inventory_item122" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 344 MovieClip [inventory_item130] "inventory_item130" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 347 MovieClip [inventory_item131] "inventory_item131" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 348 MovieClip [inventory_item138] "inventory_item138" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 349 MovieClip [inventory_item144] "inventory_item144" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 352 MovieClip [inventory_item143] "inventory_item143" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 353 MovieClip [inventory_item150] "inventory_item150" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.gamedata[116].onstage = true;
_root.gotoAndStop(56);
}
Instance of Symbol 356 MovieClip [inventory_item158] "inventory_item158" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 194 MovieClip [inventory_item159] "inventory_item159" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 197 MovieClip [inventory_item164] "inventory_item164" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 200 MovieClip [inventory_item166] "inventory_item166" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.gotoAndStop(57);
}
Instance of Symbol 203 MovieClip [inventory_item168] "inventory_item168" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 206 MovieClip [inventory_item173] "inventory_item173" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 209 MovieClip [inventory_item175] "inventory_item175" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 212 MovieClip [inventory_item176] "inventory_item176" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 215 MovieClip [inventory_item180] "inventory_item180" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 218 MovieClip [inventory_item182] "inventory_item182" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 221 MovieClip [inventory_item183] "inventory_item183" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 224 MovieClip [inventory_item185] "inventory_item185" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 228 MovieClip [inventory_item187] "inventory_item187" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 231 MovieClip [inventory_item188] "inventory_item188" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 227 MovieClip [inventory_item186] "inventory_item186" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 232 MovieClip [inventory_item192] "inventory_item192" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 235 MovieClip [inventory_item194] "inventory_item194" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 238 MovieClip [inventory_item198] "inventory_item198" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 242 MovieClip [inventory_item204] "inventory_item204" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 245 MovieClip [inventory_item205] "inventory_item205" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 248 MovieClip [inventory_item206] "inventory_item206" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 249 MovieClip [inventory_item220] "inventory_item220" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.gotoAndStop(58);
}
Instance of Symbol 252 MovieClip [inventory_item226] "inventory_item226" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 255 MovieClip [inventory_item229] "inventory_item229" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 261 MovieClip [inventory_item239] "inventory_item239" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 258 MovieClip [inventory_item235] "inventory_item235" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 239 MovieClip [inventory_item199] "inventory_item199" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Instance of Symbol 191 MovieClip [inventory_item111] "inventory_item111" in Symbol 471 MovieClip Frame 1
on (rollOver) {
current = this._name.slice(14, 17);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
on (release) {
_root.combine(current, _root.iteminhand);
}
Symbol 472 MovieClip Frame 1
stop();
_root.playbackmc = undefined;
_root.mc_inventorytimer.stop();
_root.mc_inventory.bt_inveleft._visible = false;
_root.updateinventory();
Instance of Symbol 471 MovieClip "mc_inventorycontainer" in Symbol 472 MovieClip Frame 1
/* no clip actions */
Symbol 472 MovieClip Frame 11
stop();
_root.playbackmc = undefined;
_root.mc_inventorytimer.stop();
_root.mc_inventory.bt_inveleft._visible = true;
_root.mc_inventory.bt_invright._visible = false;
Symbol 477 Button
on (release) {
if (_root.iteminhand != 0) {
_root.showitem(_root.iteminhand);
_root.dropitem();
} else {
_root.displaymessage(278, 0);
}
}
Symbol 481 MovieClip Frame 751
stop();
Symbol 484 Button
on (release) {
_root.showhint();
}
Symbol 485 Button
on (release) {
_root.mc_mainmenu._visible = true;
_root.mc_mainmenu.mc_mainmenuanim.mc_menu_close.gotoAndStop(1);
_root.mc_mainmenu.gotoAndPlay(2);
}
Symbol 486 Button
on (release) {
_root.mc_soundsettings._visible = true;
_root.mc_soundsettings.gotoAndPlay(1);
}
Symbol 487 Button
on (release) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1362&subid=playmore_main", "_blank");
}
Symbol 488 Button
on (release) {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1362&subid=walkthrough&action=walkthrough_morningstar", "_blank");
}
Symbol 495 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 10
stop();
Symbol 503 MovieClip Frame 20
stop();
_root.mc_showitem._visible = false;
_root.mc_showitem.gotoAndStop(1);
Symbol 509 Button
on (release) {
_root.mc_soundsettings.play();
}
Symbol 510 Button
on (release) {
if (_root.ambienceon) {
_root.ambienceon = false;
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_sound._visible = false;
_root.ambience.setVolume(0);
_root.sfx.setVolume(0);
} else {
_root.ambienceon = true;
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_sound._visible = true;
_root.ambience.setVolume(_root.ambiencevolume);
_root.sfx.setVolume(_root.ambiencevolume - 20);
}
}
Symbol 511 Button
on (release) {
if (_root.musicon) {
_root.musicon = false;
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_music._visible = false;
_root.music.setVolume(0);
} else {
_root.musicon = true;
_root.mc_soundsettings.mc_soundsettingsanim.mc_tick_music._visible = true;
_root.music.setVolume(_root.musicvolume);
}
}
Symbol 512 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1362&subid=play_at_bubblebox&action=play_morningstar", "_blank");
};
Symbol 515 MovieClip Frame 7
stop();
Symbol 515 MovieClip Frame 13
stop();
_root.mc_soundsettings._visible = false;
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 2
play();
Symbol 518 MovieClip Frame 25
stop();
_root.mc_blindness._visible = false;
Symbol 522 Button
on (release) {
_root.music.stop();
_root.ambience.stop();
_root.mc_mainmenu.play();
_root.gotoAndStop(60);
}
Symbol 525 MovieClip Frame 1
stop();
Symbol 528 Button
on (release) {
_root.mc_mainmenu.play();
}
Symbol 531 MovieClip Frame 1
stop();
Symbol 537 Button
on (release) {
if (_root.gamsaav.data.gamesaved) {
_root.mc_confirmsavegame.gotoAndStop(1);
_root.mc_confirmsavegame._visible = true;
} else {
_root.savegame();
_root.mc_confirmsavegame.gotoAndStop(2);
_root.mc_confirmsavegame._visible = true;
}
}
Symbol 540 MovieClip Frame 1
stop();
Symbol 543 Button
on (release) {
_root.mc_confirmloadgame._visible = true;
}
Symbol 546 MovieClip Frame 1
stop();
Symbol 547 Button
on (release) {
_root.mc_confirmnewgame._visible = true;
}
Symbol 548 Button
on (release) {
_root.music.stop();
_root.ambience.stop();
_root.mc_mainmenu.play();
_root.gotoAndStop(59);
}
Symbol 549 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1362&subid=playmore_menu", "_blank");
};
Symbol 552 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 2
play();
if (_root.gamsaav.data.gamesaved) {
_root.mc_mainmenu.mc_mainmenuanim.mc_loadgame.gotoAndStop(1);
} else {
_root.mc_mainmenu.mc_mainmenuanim.mc_loadgame.gotoAndStop(2);
}
trace("248: " + _root.gamedata[248].inventory_happened);
trace("root currentframe: " + _root._currentframe);
if (_root.gamedata[248].inventory_happened) {
_root.mc_mainmenu.mc_mainmenuanim.mc_savegame.gotoAndStop(2);
_root.mc_mainmenu.mc_mainmenuanim.mc_playoutro.gotoAndStop(1);
} else {
_root.mc_mainmenu.mc_mainmenuanim.mc_savegame.gotoAndStop(1);
_root.mc_mainmenu.mc_mainmenuanim.mc_playoutro.gotoAndStop(2);
}
if (_root._currentframe == 12) {
_root.mc_mainmenu.mc_mainmenuanim.mc_savegame.gotoAndStop(2);
_root.mc_mainmenu.mc_mainmenuanim.mc_menu_close.gotoAndStop(2);
}
Symbol 552 MovieClip Frame 8
stop();
Symbol 552 MovieClip Frame 14
_root.mc_mainmenu._visible = false;
_root.updateinventory();
Symbol 556 Button
on (release) {
_root.mc_confirmnewgame._visible = false;
_root.initgamedata();
_root.music.stop();
_root.music.start(0, 999999);
_root.ambienceid = "shiphum";
_root.ambience.stop();
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.mc_mainmenu.play();
_root.gotoAndStop(12);
_root.gotoAndStop(13);
}
Symbol 557 Button
on (release) {
_root.mc_confirmnewgame._visible = false;
}
Symbol 561 Button
on (release) {
_root.mc_confirmloadgame._visible = false;
_root.mc_mainmenu.play();
_root.loadgame();
}
Symbol 562 Button
on (release) {
_root.mc_confirmloadgame._visible = false;
}
Symbol 566 Button
on (release) {
_root.savegame();
this.gotoAndStop(2);
}
Symbol 567 Button
on (release) {
_root.mc_confirmsavegame._visible = false;
}
Symbol 570 Button
on (release) {
_root.mc_confirmsavegame._visible = false;
this.gotoAndStop(1);
_root.mc_mainmenu.play();
}
Symbol 571 MovieClip Frame 1
stop();
Symbol 574 Button
on (release) {
_root.mc_flusherror._visible = false;
}
Symbol 578 Button
on (release) {
_root.mc_flushpending._visible = false;
}
Instance of Symbol 591 MovieClip "mc_exit" in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._xmouse < 270) {
if (_root._ymouse < 210) {
this._rotation = 225;
}
if ((_root._ymouse > 210) and (_root._ymouse < 390)) {
this._rotation = 180;
}
if (_root._ymouse > 390) {
this._rotation = 135;
}
}
if ((_root._xmouse > 270) and (_root._xmouse < 530)) {
if (_root._ymouse < 210) {
this._rotation = 270;
}
if ((_root._ymouse > 210) and (_root._ymouse < 390)) {
this._rotation = 270;
}
if (_root._ymouse > 390) {
this._rotation = 90;
}
}
if (_root._xmouse > 530) {
if (_root._ymouse < 210) {
this._rotation = 335;
}
if ((_root._ymouse > 210) and (_root._ymouse < 390)) {
this._rotation = 0;
}
if (_root._ymouse > 390) {
this._rotation = 45;
}
}
}
Symbol 601 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 602 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 605 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 606 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 609 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 601 MovieClip "mc_item6" in Symbol 610 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (!_root.gamedata[current].inventory_happened) {
_root.playsfx("glass", false);
}
_root.executeitem(current);
_root.executeitem(11);
_root.executeitem(9);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 602 MovieClip "mc_item3" in Symbol 610 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
if (!_root.gamedata[4].inventory_happened) {
_root.executeitem(4);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item287" in Symbol 610 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 605 MovieClip "mc_item5" in Symbol 610 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 606 MovieClip "mc_item8" in Symbol 610 MovieClip Frame 1
on (release) {
_root.hidedescription();
_root.gotoAndStop(13);
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 609 MovieClip "mc_item9" in Symbol 610 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.hidedescription();
_root.executeitem(current);
_root.gotoAndStop(15);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 611 MovieClip Frame 124
stop();
Symbol 619 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 622 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 623 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 623 MovieClip "mc_item12" in Symbol 624 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_root.gotoAndStop(16);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item16" in Symbol 624 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(13);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item32" in Symbol 624 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_root.gotoAndStop(19);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item95" in Symbol 624 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[96].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item96" in Symbol 624 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item288" in Symbol 624 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item289" in Symbol 624 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 629 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 632 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 629 MovieClip "mc_item14" in Symbol 633 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 632 MovieClip "mc_item73" in Symbol 633 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[283].onstage = true;
_root.gamedata[72].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(74);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item15" in Symbol 633 MovieClip Frame 1
on (release) {
_root.hidedescription();
_root.gotoAndStop(15);
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item290" in Symbol 633 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 638 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 641 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 638 MovieClip "mc_item20" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 641 MovieClip "mc_item21" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item26" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(13);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item28" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(18);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item22" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item24" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item27" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(25);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item245" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[235].visibleininventory = false;
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item291" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item246" in Symbol 642 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[143].visibleininventory = false;
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 647 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item29" in Symbol 648 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (_root.executeitem(current)) {
_root.gamedata[29].onstage = false;
_root.gamedata[30].onstage = true;
_root.setstage();
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item31" in Symbol 648 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(17);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 647 MovieClip "mc_item30" in Symbol 648 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (!_root.gamedata[current].inventory_happened) {
_root.playsfx("metal", false);
}
_root.executeitem(current);
_root.executeitem(39);
_root.executeitem(40);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item245" in Symbol 648 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[235].visibleininventory = false;
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item292" in Symbol 648 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 654 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 655 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 660 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 665 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 666 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 667 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item38" in Symbol 668 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(15);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 654 MovieClip "mc_item33" in Symbol 668 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[34].onstage = true;
_root.gamedata[current].onstage = false;
_root.gamedata[95].onstage = true;
_root.gamedata[97].onstage = true;
_root.gamedata[51].onstage = true;
_root.gamedata[56].onstage = true;
_root.gamedata[35].onstage = true;
_root.gamedata[7].onstage = false;
_root.gamedata[284].onstage = true;
_root.gamedata[285].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 655 MovieClip "mc_item23" in Symbol 668 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 660 MovieClip "mc_item34" in Symbol 668 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (_root.executeitem(current)) {
_root.gamedata[54].onstage = true;
} else {
_root.gamedata[54].onstage = false;
}
_root.executeitem(43);
_root.executeitem(52);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 665 MovieClip "mc_item35" in Symbol 668 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 666 MovieClip "mc_item248" in Symbol 668 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.music.stop();
_root.ambience.stop();
_root.previousroom = 12;
_root.dropitem();
_root.hidedescription();
_root.gotoAndStop(60);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 667 MovieClip "mc_item105" in Symbol 668 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (_root.executeitem(current)) {
_root.executeitem(103);
_root.executeitem(104);
_root.executeitem(35);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 673 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 676 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 679 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 689 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 692 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 695 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 698 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 701 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 713 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 676 MovieClip "mc_item41" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(22);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item46" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(13);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 679 MovieClip "mc_item42" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(22);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 689 MovieClip "mc_item43" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(21);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item45" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(21);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item47" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 695 MovieClip "mc_item57" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(21);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 713 MovieClip "mc_item104" in Symbol 714 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(21);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 719 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 729 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 732 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 735 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 747 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item106" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 719 MovieClip "mc_item48" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[44].onstage = false;
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item50" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item51" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 729 MovieClip "mc_item52" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item53" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(20);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item56" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(81);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 732 MovieClip "mc_item7" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item54" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[102].onstage = true;
_root.gamedata[57].onstage = true;
_root.gamedata[52].onstage = false;
_root.gamedata[43].onstage = false;
_root.gamedata[34].onstage = false;
_root.gamedata[105].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 735 MovieClip "mc_item102" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[101].visibleininventory = false;
_root.executeitem(current);
_root.gamedata[103].onstage = true;
_root.gamedata[104].onstage = true;
_root.gamedata[current].onstage = false;
_root.gamedata[57].onstage = false;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 747 MovieClip "mc_item103" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item247" in Symbol 748 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 753 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 756 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 759 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 762 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 765 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 753 MovieClip "mc_item58" in Symbol 766 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (!_root.gamedata[59].inventory_happened) {
_root.executeitem(current);
}
_root.gamedata[59].onstage = true;
_root.executeitem(41);
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 756 MovieClip "mc_item59" in Symbol 766 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 759 MovieClip "mc_item61" in Symbol 766 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(42);
_root.gamedata[62].onstage = true;
_root.gamedata[66].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item60" in Symbol 766 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(20);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item99" in Symbol 766 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 762 MovieClip "mc_item63" in Symbol 766 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[99].onstage = true;
_root.gamedata[65].onstage = false;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 765 MovieClip "mc_item62" in Symbol 766 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[63].onstage = true;
_root.gamedata[65].onstage = true;
_root.gamedata[66].onstage = false;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 773 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 774 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 773 MovieClip "mc_item79" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(24);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 774 MovieClip "mc_item75" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[79].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "ma_item68" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(111);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item71" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item69" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[59].visibleininventory = false;
_root.executeitem(72);
_root.gamedata[current].onstage = false;
_root.gamedata[93].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item64" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(67);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item70" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(13);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item93" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[92].visibleininventory = false;
_root.executeitem(94);
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item293" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item294" in Symbol 775 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 780 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 783 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 787 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 788 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 780 MovieClip "mc_item109" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(26);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 783 MovieClip "mc_item76" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item77" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(78);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item80" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.sfx.stop();
_root.gotoAndStop(23);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item97" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[98].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item98" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 787 MovieClip "mc_item107" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[87].visibleininventory = false;
_root.executeitem(current);
_root.sfx.stop();
_root.gamedata[current].onstage = false;
_root.gamedata[108].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 788 MovieClip "mc_item108" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(109);
_root.executeitem(79);
_root.mc_satmap.gotoAndStop(1);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 788 MovieClip "mc_item275" in Symbol 789 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 792 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 795 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 798 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 801 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 804 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 792 MovieClip "mc_item82" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[76].visibleininventory = false;
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[83].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item296" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 795 MovieClip "mc_item83" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(84);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 798 MovieClip "mc_item87" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item88" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(13);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item89" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[48].visibleininventory = false;
_root.executeitem(90);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 801 MovieClip "mc_item86" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 804 MovieClip "mc_item85" in Symbol 805 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 810 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item244" in Symbol 811 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[28].onstage = false;
_root.gamedata[106].onstage = false;
_root.gamedata[109].onstage = false;
_root.gamedata[108].onstage = false;
_root.gamedata[12].onstage = false;
_root.gamedata[23].onstage = false;
_root.gamedata[2].onstage = false;
_root.gamedata[275].onstage = true;
_root.gamedata[276].onstage = true;
_root.gamedata[277].onstage = true;
_root.gamedata[247].onstage = true;
_root.gamedata[248].onstage = true;
_root.gamedata[322].onstage = true;
_root.gamedata[79].itemstate = 1;
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "shiphum";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(24);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item110" in Symbol 811 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(51);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item273" in Symbol 811 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item295" in Symbol 811 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item297" in Symbol 811 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item190" in Symbol 814 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(41);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item315" in Symbol 814 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(42);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 821 MovieClip Frame 1
stop();
Instance of Symbol 424 MovieClip in Symbol 821 MovieClip Frame 1
on (release) {
}
Symbol 821 MovieClip Frame 2
_root.mc_waiter._visible = true;
play();
trace("nightfallanim frame 2");
Symbol 821 MovieClip Frame 620
stop();
_root.mc_waiter._visible = false;
_root.mc_nightfallanim._visible = false;
_root.mc_cursor.mc_crosshair._visible = true;
_root.mc_cursor.mc_ora._visible = false;
Symbol 826 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 829 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 826 MovieClip "mc_item124" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[154].itemstate = 2;
_root.gamedata[154].inventory_happened = true;
_root.gamedata[67].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(125);
_root.playsfx("explosion", false);
_root.mc_blindness._visible = true;
_root.mc_blindness.gotoAndPlay(2);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item123" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[122].visibleininventory = false;
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[124].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item119" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(120);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item117" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[118].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item125" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(29);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item161" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(28);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item298" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item118" in Symbol 830 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 841 MovieClip Frame 1
stop();
Instance of Symbol 424 MovieClip "mc_item162" in Symbol 843 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(27);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item300" in Symbol 843 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item299" in Symbol 843 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item301" in Symbol 843 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 848 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item126" in Symbol 849 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(51);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item253" in Symbol 849 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(27);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item302" in Symbol 849 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 848 MovieClip "mc_item151" in Symbol 849 MovieClip Frame 1
on (release) {
if ((_root.iteminhand == 168) and (!_root.gamedata[current].inventory_happened)) {
_root.displaymessage(current, 3);
} else if (_root.checkrequisites(current)) {
if (_root.gamedata[current].inventory_happened == true) {
} else {
_root.gamedata[131].visibleininventory = false;
_root.gamedata[154].itemstate = 3;
_root.gamedata[154].inventory_happened = true;
_root.executeitem(current);
_root.executeitem(160);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item255" in Symbol 849 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(30);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 854 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item155" in Symbol 855 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(158);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item156" in Symbol 855 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(159);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item157" in Symbol 855 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(29);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 854 MovieClip "mc_item201" in Symbol 855 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[168].visibleininventory = false;
_root.gamedata[154].itemstate = 4;
_root.gamedata[154].inventory_happened = true;
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item202" in Symbol 855 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (_root.gamedata[current].inventory_happened) {
_root.gotoAndStop(31);
} else {
_root.gamedata[154].itemstate = 5;
_root.gamedata[154].inventory_happened = true;
_root.gamedata[199].visibleininventory = false;
_root.executeitem(current);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item303" in Symbol 858 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item203" in Symbol 858 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(204);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item257" in Symbol 858 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(30);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item304" in Symbol 858 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item127" in Symbol 861 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(33);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item128" in Symbol 861 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(51);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item305" in Symbol 861 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item306" in Symbol 861 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item307" in Symbol 861 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 866 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item132" in Symbol 867 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.ambience.stop();
_root.ambienceid = "armstrong";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(34);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item139" in Symbol 867 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.ambience.stop();
_root.ambienceid = "armstrong";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(52);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item153" in Symbol 867 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(32);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 866 MovieClip "mc_item131" in Symbol 867 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item129" in Symbol 867 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(130);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 872 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 875 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 878 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 878 MovieClip "mc_item133" in Symbol 879 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(35);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item152" in Symbol 879 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(33);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item169" in Symbol 879 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(36);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item308" in Symbol 879 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item309" in Symbol 879 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 884 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 887 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item137" in Symbol 888 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(34);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 887 MovieClip "mc_item138" in Symbol 888 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item136" in Symbol 888 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[130].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(133);
_root.executeitem(134);
_root.gamedata[135].onstage = false;
_root.gamedata[136].onstage = false;
_root.gamedata[138].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item135" in Symbol 888 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 893 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 896 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item170" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[164].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(171);
_root.executeitem(272);
_root.gamedata[172].onstage = true;
_root.gamedata[current].onstage = false;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item172" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(173);
_root.gamedata[current].onstage = false;
_root.gamedata[174].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item174" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(175);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item196" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(198);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item197" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[192].visibleininventory = false;
_root.gamedata[current].onstage = false;
_root.executeitem(current);
_root.executeitem(195);
_root.executeitem(200);
_root.gamedata[196].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item254" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(34);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item323" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item324" in Symbol 897 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item310" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(186);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item311" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item312" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item313" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item313" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item163" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(164);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item165" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(166);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item167" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(38);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item177" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(39);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item184" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(185);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item128" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(51);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item128" in Symbol 900 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(51);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 905 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item312" in Symbol 906 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item314" in Symbol 906 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 905 MovieClip "mc_item168" in Symbol 906 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item256" in Symbol 906 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(37);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 911 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 911 MovieClip "mc_item178" in Symbol 912 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[179].onstage = true;
_root.gamedata[13].onstage = false;
_root.gamedata[18].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item256" in Symbol 912 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(37);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item179" in Symbol 912 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(180);
_root.gamedata[current].onstage = false;
_root.gamedata[181].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item181" in Symbol 912 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(182);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item18" in Symbol 912 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item13" in Symbol 912 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 917 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item193" in Symbol 918 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(194);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item191" in Symbol 918 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(192);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 917 MovieClip "mc_item207" in Symbol 918 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (_root.gamedata[current].inventory_happened) {
_root.ambience.stop();
_root.ambienceid = "gravity";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(43);
} else {
_root.gamedata[206].visibleininventory = false;
_root.playsfx("explosion", false);
_root.mc_blindness._visible = true;
_root.mc_blindness.gotoAndPlay(2);
_root.executeitem(current);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item317" in Symbol 918 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(40);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item316" in Symbol 921 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item317" in Symbol 921 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(40);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 931 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 931 MovieClip "mc_item270" in Symbol 932 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item208" in Symbol 932 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(49);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item208" in Symbol 932 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(45);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item232" in Symbol 932 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(44);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item271" in Symbol 932 MovieClip Frame 1
on (release) {
if ((_root.gamedata[240].inventory_happened and _root.gamedata[235].inventory_happened) and _root.gamedata[226].inventory_happened) {
_root.gotoAndStop(50);
} else {
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(41);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 947 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 950 MovieClip Frame 1
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 954 MovieClip Frame 1
stop();
Symbol 954 MovieClip Frame 75
_root.executeitem(240);
Symbol 956 MovieClip Frame 2
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item231" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[229].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(230);
_root.gamedata[234].onstage = true;
_root.gamedata[current].onstage = false;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item234" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[21].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(230);
_root.gamedata[current].onstage = false;
_root.gamedata[236].onstage = true;
_root.setstage();
_root.debug(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 950 MovieClip "mc_item235" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
if (_root.gamedata[226].inventory_happened and _root.gamedata[240].inventory_happened) {
_root.mc_satmap.gotoAndStop(2);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item236" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item237" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item260" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(43);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item318" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(1);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(2);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(3);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(4);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item233" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep2", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(5);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
if (_root.gravitykod.toString() == "9,9,8,1,3,5") {
trace("energy off");
if (_root.gamedata[230].itemstate == 1) {
_root.executeitem(230);
_root.executeitem(270);
_root.displaymessage(238, 1);
_root.gamedata[281].itemstate = 2;
_root.playsfx("reactoroff", false);
}
if (_root.gamedata[230].itemstate == 2) {
_root.displaymessage(238, 2);
}
if (_root.gamedata[230].itemstate == 3) {
_root.displaymessage(238, 3);
}
if (_root.gamedata[230].itemstate == 4) {
_root.displaymessage(238, 4);
}
if (_root.gamedata[230].itemstate == 5) {
_root.executeitem(270);
_root.executeitem(230);
_root.gamedata[235].onstage = true;
_root.gamedata[236].onstage = false;
_root.gamedata[237].onstage = false;
_root.setstage();
_root.displaymessage(238, 5);
_root.gamedata[281].itemstate = 2;
_root.playsfx("reactoroff", false);
}
if (_root.gamedata[230].itemstate == 6) {
_root.displaymessage(238, 6);
}
}
if (_root.gravitykod.toString() == "9,9,8,1,2,5") {
trace("energy on");
if (_root.gamedata[230].itemstate == 1) {
_root.displaymessage(264, 1);
}
if (_root.gamedata[230].itemstate == 2) {
_root.displaymessage(264, 2);
}
if (_root.gamedata[230].itemstate == 3) {
_root.displaymessage(264, 3);
}
if (_root.gamedata[230].itemstate == 4) {
_root.executeitem(270);
_root.executeitem(230);
_root.gamedata[236].onstage = false;
_root.gamedata[237].onstage = true;
_root.setstage();
_root.displaymessage(264, 4);
_root.gamedata[281].itemstate = 1;
_root.playsfx("reactoron", false);
}
if (_root.gamedata[230].itemstate == 5) {
_root.displaymessage(264, 5);
}
if (_root.gamedata[230].itemstate == 6) {
_root.displaymessage(264, 6);
}
}
if (_root.gravitykod.toString() == "4,6,7,1,3,5") {
trace("gravity off");
if (_root.gamedata[235].inventory_happened) {
_root.gamedata[240].onstage = true;
_root.setstage();
_root.mc_allstage.mc_item240.k1anim.gotoAndPlay(1);
_root.displaymessage(241, 0);
_root.playsfx("reactoroff", false);
} else {
_root.displaymessage(241, 1);
}
}
if (_root.gravitykod.toString() == "4,6,7,1,2,5") {
trace("gravity on");
if (_root.gamedata[235].inventory_happened) {
_root.displaymessage(241, 2);
} else {
_root.displaymessage(241, 3);
}
if (_root.gamedata[240].itemstate > 1) {
_root.displaymessage(241, 4);
}
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(6);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(7);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(8);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 957 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gravitykod.push(9);
_root.gravitykod.shift();
trace(_root.gravitykod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 956 MovieClip "mc_item240" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (!_root.gamedata[current].inventory_happened) {
_root.playsfx("laser", false);
_root.mc_blindness._visible = true;
_root.mc_blindness.gotoAndPlay(2);
}
_root.executeitem(current);
if (_root.gamedata[226].inventory_happened and _root.gamedata[235].inventory_happened) {
_root.mc_satmap.gotoAndStop(2);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item282" in Symbol 957 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(55);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 962 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item319" in Symbol 963 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 962 MovieClip "mc_item261" in Symbol 963 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item260" in Symbol 963 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(43);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item262" in Symbol 963 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(46);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 968 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 971 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(1);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(2);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(3);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(4);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item265" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep2", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(5);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
if (_root.hengerkod.toString() == "7,9,3,5") {
trace("Earth");
_root.executeitem(215);
_root.executeitem(216);
_root.executeitem(222);
_root.gamedata[218].onstage = true;
_root.setstage();
if (_root.gamedata[215].itemstate == 2) {
_root.gamedata[219].onstage = true;
_root.gamedata[221].onstage = true;
_root.displaymessage(265, 1);
} else {
_root.gamedata[219].onstage = false;
_root.gamedata[221].onstage = false;
_root.displaymessage(265, 2);
}
}
if (_root.hengerkod.toString() == "8,3,9,5") {
trace("Formalhaut");
_root.executeitem(223);
_root.executeitem(227);
_root.executeitem(228);
_root.executeitem(269);
_root.gamedata[218].onstage = true;
_root.setstage();
if (_root.gamedata[223].itemstate == 2) {
_root.gamedata[224].onstage = true;
_root.displaymessage(265, 1);
} else {
_root.gamedata[224].onstage = false;
_root.displaymessage(265, 2);
}
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(6);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(7);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(8);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item214" in Symbol 972 MovieClip Frame 1
on (release) {
_root.playsfx("beep1", false);
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hengerkod.push(9);
_root.hengerkod.shift();
trace(_root.hengerkod.toString());
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item263" in Symbol 972 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(45);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item320" in Symbol 972 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item321" in Symbol 972 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item218" in Symbol 972 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(47);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 977 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 980 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 985 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item221" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item219" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(220);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item222" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item224" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[90].visibleininventory = false;
_root.executeitem(current);
_root.executeitem(226);
_root.gamedata[223].onstage = false;
_root.gamedata[227].onstage = true;
_root.gamedata[224].onstage = false;
_root.gamedata[225].onstage = true;
_root.setstage();
if (_root.gamedata[235].inventory_happened and _root.gamedata[240].inventory_happened) {
_root.mc_satmap.gotoAndStop(2);
}
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item225" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(48);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item269" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 977 MovieClip "mc_item215" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item217" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(46);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 980 MovieClip "mc_item223" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 985 MovieClip "mc_item227" in Symbol 986 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item268" in Symbol 989 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item266" in Symbol 989 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(47);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item267" in Symbol 989 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 1008 MovieClip Frame 1
stop();
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(2);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(6);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(8);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(5);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(7);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(9);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(4);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item212" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.hidedescription();
_parent.gotoAndStop(3);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item260" in Symbol 1008 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(43);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item211" in Symbol 1008 MovieClip Frame 2
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_parent.gotoAndStop(1);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item210" in Symbol 1008 MovieClip Frame 2
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 1012 MovieClip Frame 1
stop();
Symbol 1012 MovieClip Frame 242
_root.mc_waiter._visible = false;
_root.mc_cursor.mc_crosshair._visible = true;
_root.mc_cursor.mc_ora._visible = false;
_root.executeitem(242);
Symbol 1015 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 1015 MovieClip Frame 2
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
_root.gamedata[243].onstage = true;
_root.setstage();
Instance of Symbol 1015 MovieClip "mc_item242" in Symbol 1016 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (!_root.gamedata[current].inventory_happened) {
_root.playsfx("laser", false);
_root.mc_blindness._visible = true;
_root.mc_blindness.gotoAndPlay(2);
_root.mc_allstage.mc_item242.mc_robotanim.gotoAndPlay(1);
_root.mc_waiter._visible = true;
}
}
_root.debug(current);
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item243" in Symbol 1016 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[110].onstage = false;
_root.gamedata[273].onstage = true;
_root.executeitem(current);
_root.executeitem(274);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(26);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item260" in Symbol 1016 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(43);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 1021 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 1022 Button
on (release) {
_root.gotoAndStop(_root.previousroom);
_root.mc_satmap._visible = true;
}
Instance of Symbol 424 MovieClip "mc_item189" in Symbol 1023 MovieClip Frame 1
on (release) {
if ((_root.iteminhand == 187) and (!_root.gamedata[current].inventory_happened)) {
_root.displaymessage(current, 3);
} else if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[115].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1021 MovieClip "mc_item113" in Symbol 1023 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(26);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1021 MovieClip "mc_item114" in Symbol 1023 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(27);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1021 MovieClip "mc_item251" in Symbol 1023 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[252].onstage = true;
_root.setstage();
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(32);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1021 MovieClip "mc_item252" in Symbol 1023 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(32);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1021 MovieClip "mc_item250" in Symbol 1023 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(27);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1021 MovieClip "mc_item116" in Symbol 1023 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(37);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1021 MovieClip "mc_item115" in Symbol 1023 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(40);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 1028 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Symbol 1031 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 1028 MovieClip "mc_item140" in Symbol 1032 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gamedata[138].visibleininventory = false;
if (!_root.gamedata[current].inventory_happened) {
_root.playsfx("laser", false);
_root.mc_blindness._visible = true;
_root.mc_blindness.gotoAndPlay(2);
}
_root.executeitem(current);
_root.executeitem(144);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item142" in Symbol 1032 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.ambience.stop();
_root.ambienceid = "wind";
_root.ambience.attachSound(_root.ambienceid);
_root.ambience.start(0, 999999);
_root.gotoAndStop(33);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1031 MovieClip "mc_item141" in Symbol 1032 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
if (_root.gamedata[current].inventory_happened == true) {
_root.gotoAndStop(53);
}
_root.executeitem(current);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item147" in Symbol 1035 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(52);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item148" in Symbol 1035 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gotoAndStop(54);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 1040 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item145" in Symbol 1041 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.gamedata[current].onstage = false;
_root.gamedata[146].onstage = true;
_root.setstage();
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 1040 MovieClip "mc_item146" in Symbol 1041 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(143);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item149" in Symbol 1041 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.executeitem(current);
_root.executeitem(150);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item31" in Symbol 1041 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(53);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 1046 MovieClip Frame 1
stop();
this.hitArea = mc_hitarea;
mc_hitarea._visible = false;
Instance of Symbol 424 MovieClip "mc_item279" in Symbol 1047 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Instance of Symbol 424 MovieClip "mc_item280" in Symbol 1047 MovieClip Frame 1
on (release) {
if (_root.checkrequisites(current)) {
_root.gotoAndStop(44);
}
}
on (rollOver) {
current = this._name.slice(7, 13);
trace(current);
_root.showdescription(current);
}
on (rollOut) {
_root.hidedescription();
}
Symbol 1050 Button
on (release) {
_root.gotoAndStop(_root.previousroom);
}
Symbol 1062 Button
on (rollOver) {
this.gotoAndPlay(1);
}
on (release) {
_root.my_ns.close();
if (_root.previousroom != 12) {
_root.music.start(0, 999999);
_root.ambience.start(0, 999999);
}
_root.mc_mainmenu._visible = true;
_root.mc_mainmenu.gotoAndPlay(2);
_root.gotoAndStop(_root.previousroom);
}
Symbol 1064 MovieClip Frame 75
stop();