Frame 1
function handle1(obj, item) {
getURL ("http://afro-ninja.com");
}
function handle5(obj, item) {
getURL ("http://flashgn.com");
}
function handle2(obj, item) {
_quality = "LOW";
}
function handle3(obj, item) {
_quality = "MEDIUM";
}
function handle4(obj, item) {
_quality = "HIGH";
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("Visit Afro Ninja Productions!", handle1));
myMenu.customItems.push(new ContextMenuItem("Visit The Flash Gaming Network!", handle5));
myMenu.customItems.push(new ContextMenuItem("Low Quality", handle2));
myMenu.customItems.push(new ContextMenuItem("Medium Quality", handle3));
myMenu.customItems.push(new ContextMenuItem("High Quality", handle4));
myMenu.customItems[2].separatorBefore = true;
_root.menu = myMenu;
var cursorDepth = 10000;
Instance of Symbol 91 MovieClip "loadbar" in Frame 1
onClipEvent (enterFrame) {
_xscale = _root.loadPercent;
}
Instance of Symbol 94 MovieClip in Frame 1
onClipEvent (enterFrame) {
_x = (_root.loadbar._x + _root.loadbar._width);
this.txtPercent.text = _root.loadPercent + "%";
}
Instance of Symbol 65 MovieClip [CURSOR] in Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 3
var loadPercent;
loadPercent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_framesloaded >= _totalframes) {
gotoAndStop (4);
} else {
gotoAndPlay (1);
}
Frame 4
trans.play();
Instance of Symbol 65 MovieClip [CURSOR] in Frame 56
onClipEvent (load) {
}
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 275
stop();
var once = false;
Instance of Symbol 65 MovieClip [CURSOR] in Frame 275
onClipEvent (load) {
}
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 276
function showMessage(inMessage) {
_root.displayText.text = inMessage;
_root.messageTimer.gotoAndPlay(2);
}
function enterKey(key) {
if (_root.viewables.mycadet.txtNumpad.text.length < 6) {
_root.tone1.start();
_root.viewables.mycadet.txtNumpad.text = _root.viewables.mycadet.txtNumpad.text + key;
}
}
function clearScreen(Void) {
for (mc in _root) {
_root[mc].removeMovieClip();
}
}
function finish(Void) {
bmap = new flash.display.BitmapData(550, 400, true, 0);
bmap.draw(_root);
clearScreen();
_root.createEmptyMovieClip("bitmapData", 40);
_root.bitmapData.attachBitmap(bmap, 40);
}
function shake(Void) {
_root.shakes = 0;
_root.prevx = _root._x;
_root.onEnterFrame = function (Void) {
_root._x = _root.prevx + (random(3) - 2);
_root.shakes++;
if (_root.shakes == 4) {
_root._x = _root.prevx;
_root.onEnterFrame = null;
}
};
}
stop();
if (!once) {
var timeCheck = false;
var timeTick = true;
var elapsed;
var hours;
var minutes;
var displayTime;
var stringHours;
var stringMinutes;
var stringSeconds;
var oldStringSeconds;
var startTime;
var ticked = false;
var firstPass = true;
var cursorDepth = 10000;
var cursorMode = 1;
var curItem = "";
var clip = _root.attachMovie("CURSOR", "cursor", cursorDepth);
clip.onEnterFrame = function (Void) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
};
var myFilters = new Array();
myFilters.push(new flash.filters.DropShadowFilter());
clip.filters = myFilters;
var INV = new Inventory(-1, 50, 35, 321, 20, 7);
_root.onEnterFrame = function (Void) {
if (timeCheck) {
elapsed = Math.round((getTimer() / 1000) - startTime);
hours = Math.floor(elapsed / 3600);
elapsed = elapsed - (hours * 3600);
if (hours < 10) {
stringHours = "0" + String(hours);
} else {
stringHours = String(hours);
}
minutes = Math.floor(elapsed / 60);
elapsed = elapsed - (minutes * 60);
if (minutes < 10) {
stringMinutes = "0" + String(minutes);
} else {
stringMinutes = String(minutes);
}
if (elapsed < 10) {
stringSeconds = "0" + String(elapsed);
} else {
stringSeconds = String(elapsed);
}
displayTime = (((stringHours + ":") + stringMinutes) + ":") + stringSeconds;
_root.txtTimer.text = displayTime;
if (!firstPass) {
if ((oldStringSeconds != stringSeconds) && (timeTick)) {
_root.tick.start();
}
}
firstPass = false;
oldStringSeconds = stringSeconds;
for (mc in _root) {
_root[mc].tabEnabled = false;
}
if (Key.isDown(9)) {
_root.viewables.gotoAndStop("tabber");
}
}
};
var ComboItems = new Array();
ComboItems.push(new ComboItem("wirerod", "Wire Rod", true, "ruby", 1, "tinsnips", "coathanger", new Array("tinsnips")));
ComboItems.push(new ComboItem("rubykey", "Ruby Key", false, "", 1, "ruby", "wirerod", new Array("")));
var watchOpen = false;
var handsLocked = true;
var compartmentUnlocked = false;
var smallRot = 645;
var bigRot = 645;
var board1 = true;
var board2 = true;
var board3 = true;
var board4 = true;
var atticUnlocked = false;
var cameFrom = 1;
var timezone = 1;
var cadetOpen = false;
var tick = new Sound();
tick.attachSound("tick");
var unlock = new Sound();
unlock.attachSound("unlock");
var tone1 = new Sound();
tone1.attachSound("tone1");
var tone2 = new Sound();
tone2.attachSound("tone2");
var singlesnap = new Sound();
singlesnap.attachSound("singlesnap");
var woodbreak = new Sound();
woodbreak.attachSound("woodbreak");
var myclick = new Sound();
myclick.attachSound("click");
once = true;
}
Instance of Symbol 154 MovieClip in Frame 276
onClipEvent (load) {
if (_root.timezone == 2) {
this.nextFrame();
}
}
Instance of Symbol 250 MovieClip in Frame 276
on (press) {
if (_currentframe == 1) {
nextFrame();
_root.timeTick = false;
} else {
prevFrame();
_root.timeTick = true;
}
}
Instance of Symbol 252 MovieClip "arrowl" in Frame 276
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 252 MovieClip "arrowr" in Frame 276
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 254 MovieClip in Frame 276
onClipEvent (load) {
this.swapDepths(5100);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_currentframe != 10) {
nextFrame();
}
} else if (_currentframe != 1) {
prevFrame();
}
}
Instance of Symbol 272 MovieClip in Frame 276
onClipEvent (load) {
}
Instance of Symbol 65 MovieClip [CURSOR] in Frame 276
/* no clip actions */
Instance of Symbol 296 MovieClip "coathanger" in Frame 280
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Coat Hanger", 1, "tinsnips", 1);
}
Instance of Symbol 305 MovieClip in Frame 280
on (press) {
if (_root.cursorMode == 1) {
if (_currentframe == 1) {
nextFrame();
} else {
prevFrame();
}
}
}
Instance of Symbol 322 MovieClip "oldphoto" in Frame 283
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Old Photograph", 0, "", 2);
}
Frame 285
if (!_root.atticUnlocked) {
showMessage("There is a panel in the ceiling");
}
Instance of Symbol 342 MovieClip in Frame 285
onClipEvent (load) {
var rotMultiplier;
switch (_root.cameFrom) {
case 1 :
rotMultiplier = 2;
break;
case 3 :
rotMultiplier = 3;
break;
case 4 :
rotMultiplier = 1;
break;
case 5 :
rotMultiplier = 0;
break;
case 12 :
rotMultiplier = 0;
break;
case 13 :
rotMultiplier = 1;
break;
case 14 :
rotMultiplier = 3;
break;
default :
}
_rotation = (_rotation + (90 * rotMultiplier));
}
Instance of Symbol 349 MovieClip in Frame 286
onClipEvent (load) {
if (_root.timezone == 2) {
this.gotoAndStop(62);
}
}
on (press) {
if (_root.cursorMode == 1) {
if (_currentframe == 1) {
_root.cursor.gotoAndStop("wait");
play();
_root.timezone = 2;
}
if (_currentframe == 62) {
_root.cursor.gotoAndStop("wait");
play();
_root.timezone = 1;
}
}
}
Instance of Symbol 351 MovieClip in Frame 286
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("There is a lever here");
}
}
Instance of Symbol 360 MovieClip in Frame 286
onClipEvent (load) {
this.go = 0;
}
onClipEvent (enterFrame) {
if (this.go == 3) {
this.go = 0;
var rand = (random(30) + 1);
this.lightall.gotoAndStop(rand);
this.swing.light.gotoAndStop(rand);
}
this.go++;
}
Instance of Symbol 367 MovieClip "envelope" in Frame 287
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Envelope", 0, "", 2);
}
Instance of Symbol 36 MovieClip "shoehorn" in Frame 290
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Shoehorn", 0, "", 1);
}
Frame 293
function tempExit(Void) {
clearScreen();
gotoAndStop ("mymenu");
}
Instance of Symbol 413 MovieClip in Frame 293
onClipEvent (load) {
this.swapDepths(100);
}
Instance of Symbol 65 MovieClip [CURSOR] "cursor" in Frame 293
onClipEvent (load) {
this.swapDepths(_root.cursorDepth);
}
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 9 MovieClip in Symbol 12 MovieClip [INVkey1] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 13 MovieClip [INVbatteries] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 16 MovieClip [INVcoathanger] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 19 MovieClip [INVpocketwatch] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 22 MovieClip [INVminicrowbar] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 25 MovieClip [INVtinsnips] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 28 MovieClip [INVwirerod] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 31 MovieClip [INVtinykey] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 34 MovieClip [INVoldphoto] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 37 MovieClip [INVshoehorn] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 40 MovieClip [INVenvelope] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 43 MovieClip [INVcadet] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 46 MovieClip [INVrubyring] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 45 MovieClip in Symbol 46 MovieClip [INVrubyring] Frame 1
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Ruby Ring", 0, "", 2);
}
Instance of Symbol 9 MovieClip in Symbol 50 MovieClip [INVruby] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip in Symbol 54 MovieClip [INVrubykey] Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 65 MovieClip [CURSOR] Frame 1
stop();
Instance of Symbol 57 MovieClip "plus" in Symbol 65 MovieClip [CURSOR] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 65 MovieClip [CURSOR] Frame 5
_root.cursorMode = 3;
Symbol 88 Button
on (press) {
_root.play();
}
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 25
stop();
Symbol 415 MovieClip [__Packages.Inventory] Frame 0
class Inventory
{
var capacity, boxSize, startX, startY, spacing, maxDisplay, curIndex, curX, curY;
function Inventory (inCapacity, inBoxSize, inStartX, inStartY, inSpacing, inMaxDisplay) {
capacity = inCapacity;
boxSize = inBoxSize;
startX = inStartX;
startY = inStartY;
spacing = inSpacing;
maxDisplay = inMaxDisplay;
if (capacity == -1) {
capCheck = false;
}
Items = new Array();
isFull = false;
numItems = 0;
hidden = false;
Items = new Array();
spentItems = new Array();
var _local2;
_local2 = 0;
while (_local2 < capacity) {
Items[_local2] = null;
_local2++;
}
}
function DrawInventory(startIndex) {
if (startIndex < 0) {
startIndex = 0;
}
ClearInventory();
curIndex = startIndex;
var _local7 = startIndex + (maxDisplay - 1);
invDepths = 5000;
ManageArrows(startIndex, _local7);
curX = startX;
curY = startY;
var _local4 = startIndex;
while (_local4 <= _local7) {
if (Items[_local4] != null) {
var _local5 = "INV" + Items[_local4].itemName;
var _local3 = _root.attachMovie(_local5, _local5, invDepths);
invDepths++;
_local3._x = curX;
_local3._y = curY;
_local3.desc = Items[_local4].itemDescription;
_local3.iname = Items[_local4].itemName;
_local3.onRollOver = function (Void) {
if (_root.curItem != this.iname) {
_root.displayTimer.gotoAndStop(1);
_root.displayText.text = this.desc;
if (_root.cursorMode == 2) {
_root.cursor.plus._visible = true;
_root.displayTimer.gotoAndStop(1);
_root.displayText.text = (("Combine/Use " + _root.INV.findItem(_root.curItem).itemDescription) + " with ") + this.desc;
}
}
};
_local3.onRollOut = function (Void) {
_root.displayText.text = "";
_root.cursor.plus._visible = false;
};
_local3.onPress = function (Void) {
_root.INV.inventoryPress(this.iname);
};
if (_root.curItem == Items[_local4].itemName) {
_local3._alpha = 0;
}
curX = curX + (boxSize + spacing);
}
_local4++;
}
}
function ManageArrows(startI, endI) {
if (numItems > maxDisplay) {
_root.arrowl._visible = true;
_root.arrowr._visible = true;
if (startI == 0) {
_root.arrowl.onPress = null;
_root.arrowl._alpha = 15;
} else {
_root.arrowl._alpha = 100;
_root.arrowl.onPress = function (Void) {
_root.INV.ShiftLeft();
};
}
if (endI == (numItems - 1)) {
_root.arrowr.onPress = null;
_root.arrowr._alpha = 15;
} else {
_root.arrowr._alpha = 100;
_root.arrowr.onPress = function (Void) {
_root.INV.ShiftRight();
};
}
} else {
_root.arrowl._visible = false;
_root.arrowr._visible = false;
}
}
function ClearInventory(Void) {
var _local3 = 0;
while (_local3 < numItems) {
_root["INV" + Items[_local3].itemName].removeMovieClip();
_local3++;
}
}
function Add(inItem) {
var _local2 = nextAvailableIndex();
Items[_local2] = inItem;
numItems++;
if (capCheck) {
checkCapacity();
}
}
function Remove(itemName) {
var _local3;
_local3 = 0;
while (_local3 < Items.length) {
if (Items[_local3].itemName == itemName) {
_root["INV" + Items[_local3].itemName].removeMovieClip();
spentItems.push(Items[_local3].itemName);
Items[_local3] = null;
break;
}
_local3++;
}
numItems--;
if (capCheck) {
checkCapacity();
}
}
function findItem(itemName) {
var _local2;
_local2 = 0;
while (_local2 < Items.length) {
if (Items[_local2].itemName == itemName) {
break;
}
_local2++;
}
return(Items[_local2]);
}
function isItem(itemName) {
return(findItem(itemName).itemName == itemName);
}
function isSpentItem(itemName) {
var _local3 = false;
var _local2 = 0;
while (_local2 < spentItems.length) {
if (spentItems[_local2] == itemName) {
_local3 = true;
}
_local2++;
}
return(_local3);
}
function nextAvailableIndex(Void) {
var _local2;
_local2 = 0;
while (_local2 < Items.length) {
if (Items[_local2] == null) {
break;
}
_local2++;
}
return(_local2);
}
function CompressInventory(Void) {
var _local3 = new Array();
var _local2 = 0;
while (_local2 < Items.length) {
if (Items[_local2] != null) {
_local3.push(Items[_local2]);
}
_local2++;
}
Items = _local3;
}
function ShiftLeft(Void) {
curIndex--;
DrawInventory(curIndex);
}
function ShiftRight(Void) {
curIndex++;
DrawInventory(curIndex);
}
function handleLoad(targetMC) {
if (isItem(targetMC._name) || (isSpentItem(targetMC._name))) {
targetMC._visible = false;
}
}
function handlePress(targetMC, inDesc, inCombinable, inCombinesWith, inType) {
if (_root.cursorMode == 1) {
if (isFull) {
trace("Inventory is full");
} else {
targetMC._visible = false;
var _local3 = new Item(targetMC._name, inDesc, inCombinable, inCombinesWith, inType);
Add(_local3);
DrawInventory(numItems - maxDisplay);
}
}
}
function inventoryPress(itemName) {
if (_root.curItem == itemName) {
resetCursor();
} else if (_root.cursorMode == 1) {
if (findItem(itemName).type == 1) {
_root.curItem = itemName;
_root.displayText.text = "";
_root["INV" + itemName]._alpha = 0;
_root.cursor.gotoAndStop(itemName);
_root.cursorMode = 2;
} else {
_root.viewables.gotoAndStop(itemName);
}
} else if (_root.cursorMode == 3) {
} else if (findItem(_root.curItem).combinesWith == itemName) {
var _local3;
var _local8;
_local3 = 0;
while (_local3 < _root.ComboItems.length) {
if ((_root.ComboItems[_local3].item1 == itemName) || (_root.ComboItems[_local3].item1 == _root.curItem)) {
Add(_root.ComboItems[_local3]);
_local8 = _local3;
if ((_root.ComboItems[_local3].item1 == "coathanger") || (_root.ComboItems[_local3].item1 == "tinsnips")) {
_root.singlesnap.start();
}
}
_local3++;
}
var _local5 = _root.ComboItems[_local8].savedItems;
var _local6 = false;
var _local7 = false;
for (var _local9 in _local5) {
if (_local5[_local9] == itemName) {
_local6 = true;
}
if (_local5[_local9] == _root.curItem) {
_local7 = true;
}
}
if (!_local6) {
Remove(itemName);
}
if (!_local7) {
Remove(_root.curItem);
}
CompressInventory();
DrawInventory(0);
resetCursor();
} else {
_root.displayTimer.gotoAndStop(1);
_root.displayText.text = "These items do not combine";
}
}
function ToggleVisibility() {
hidden = !hidden;
var _local3;
_local3 = 0;
while (_local3 < capacity) {
_root["box" + _local3]._visible = !_root["box" + _local3]._visible;
if (Items[_local3] != null) {
_root["inv_" + Items[_local3].itemName]._visible = !_root["inv_" + Items[_local3].itemName]._visible;
}
_local3++;
}
}
function resetCursor(Void) {
_root.cursor.gotoAndStop("main");
_root.cursorMode = 1;
_root["INV" + _root.curItem]._alpha = 100;
_root.curItem = "";
_root.cursor.plus._visible = false;
}
function checkCapacity(Void) {
((numItems == capacity) ? ((isFull = true)) : ((isFull = false)));
}
var Items = new Array();
var spentItems = new Array();
var capCheck = true;
var isFull = false;
var numItems = 0;
var invDepths = 5000;
var hidden = false;
}
Symbol 416 MovieClip [__Packages.Item] Frame 0
class Item
{
var type;
function Item (inName, inDesc, inCombinable, inCombinesWith, inType) {
itemName = inName;
itemDescription = inDesc;
combinable = inCombinable;
combinesWith = inCombinesWith;
type = inType;
}
var itemName = "";
var itemDescription = "";
var combinable = false;
var combinesWith = "";
}
Symbol 417 MovieClip [__Packages.ComboItem] Frame 0
class ComboItem extends Item
{
var item1, item2, savedItems;
function ComboItem (inName, inDesc, inCombinable, inCombinesWith, inType, inI1, inI2, inSavedItems) {
super(inName, inDesc, inCombinable, inCombinesWith, inType);
item1 = inI1;
item2 = inI2;
savedItems = new Array();
savedItems = inSavedItems;
}
}
Symbol 106 Button
on (release) {
_parent.gotoAndStop("gamestart");
}
Symbol 121 Button
on (release) {
getURL ("http://www.addictinggames.com", _blank);
}
Symbol 122 MovieClip Frame 49
stop();
Symbol 136 MovieClip Frame 30
stop();
Symbol 139 MovieClip Frame 40
stop();
Symbol 141 Button
on (press) {
getURL ("http://flashgn.com", "blank");
}
Instance of Symbol 132 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1.5);
}
Symbol 148 Button
on (press) {
stopAllSounds();
play();
}
Symbol 149 MovieClip Frame 15
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 158 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goright");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
if (_root.timezone == 1) {
gotoAndStop ("area3");
} else {
gotoAndStop ("area14");
}
_root.cursor.gotoAndStop("main");
}
}
Symbol 159 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area2");
}
}
Symbol 160 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goleft");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
if (_root.timezone == 1) {
gotoAndStop ("area4");
} else {
gotoAndStop ("area13");
}
_root.cursor.gotoAndStop("main");
}
}
Symbol 161 Button
on (press) {
if (_root.cursorMode == 1) {
_root.cameFrom = 1;
gotoAndStop ("area10");
_root.cursor.gotoAndStop("main");
}
}
Symbol 162 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("The wall seems to be scratched up");
}
}
Symbol 169 MovieClip Frame 1
stop();
Instance of Symbol 30 MovieClip "tinykey" in Symbol 169 MovieClip Frame 2
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Tiny Key", 0, "", 1);
}
Symbol 172 MovieClip Frame 1
stop();
Instance of Symbol 9 MovieClip "hitbox" in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Instance of Symbol 9 MovieClip "hitbox" in Symbol 191 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 194 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("The cover to the watch is stuck shut");
}
}
Symbol 196 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("The cover latch seems to be jammed");
} else if (_root.curItem == "coathanger") {
_root.showMessage("The open end of this coathanger is too thick to use");
} else if (_root.curItem == "wirerod") {
_root.watchOpen = true;
_root.unlock.start();
nextFrame();
}
}
Symbol 198 MovieClip Frame 1
stop();
if (_root.watchOpen) {
nextFrame();
}
Instance of Symbol 172 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
if (!_root.handsLocked) {
nextFrame();
}
}
on (press) {
if (_root.cursorMode == 1) {
if (_root.watchOpen) {
if (_currentframe == 1) {
nextFrame();
_root.handsLocked = false;
_root.showMessage("Click and drag the hands to set the time");
_root.myclick.start();
} else {
prevFrame();
_root.handsLocked = true;
_root.showMessage("The watch hands are now locked");
_root.myclick.start();
}
} else {
_root.showMessage("The watch must be opened first");
}
}
}
Instance of Symbol 189 MovieClip "smallhand" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
if (_root.smallRot != 645) {
_rotation = _root.smallRot;
}
}
on (press) {
if (_root.cursorMode == 1) {
if (!_root.handsLocked) {
this.onEnterFrame = function (Void) {
xdiff = _parent._xmouse - this._x;
ydiff = _parent._ymouse - this._y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
this._rotation = angle;
};
}
}
}
Instance of Symbol 191 MovieClip "bighand" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
if (_root.smallRot != 645) {
_rotation = _root.bigRot;
}
}
on (press) {
if (_root.cursorMode == 1) {
if (!_root.handsLocked) {
this.onEnterFrame = function (Void) {
xdiff = _parent._xmouse - this._x;
ydiff = _parent._ymouse - this._y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
this._rotation = angle;
};
}
}
}
Symbol 198 MovieClip Frame 2
var mouseListen = new Object();
mouseListen.onMouseUp = function (Void) {
_root.viewables.watch.smallhand.onEnterFrame = null;
_root.viewables.watch.bighand.onEnterFrame = null;
if (_root.viewables._currentframe == 2) {
_root.smallRot = _root.viewables.watch.smallhand._rotation;
_root.bigRot = _root.viewables.watch.bighand._rotation;
}
if (!_root.compartmentUnlocked) {
if (((_root.smallRot > 4.5) && (_root.smallRot < 15)) && ((_root.bigRot > 117) && (_root.bigRot < 128))) {
_root.unlock.start();
_root.compartmentUnlocked = true;
_root.viewables.watch.compartment.gotoAndStop(2);
}
}
};
Mouse.addListener(mouseListen);
if (_root.compartmentUnlocked) {
compartment.nextFrame();
}
Symbol 201 Button
on (press) {
gotoAndStop (1);
}
Symbol 221 Button
on (press) {
if (txtNumpad.text == "111787") {
_root.unlock.start();
_root.cadetOpen = true;
nextFrame();
} else {
_root.tone2.start();
txtNumpad.text = "ERR";
}
}
Symbol 223 Button
on (press) {
_root.tone1.start();
txtNumpad.text = "";
}
Symbol 227 MovieClip Frame 1
stop();
Instance of Symbol 215 MovieClip "key1" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key3" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key2" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key4" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key6" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key5" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key7" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key9" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key8" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 215 MovieClip "key0" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
this.key = this._name.substr(3, 1);
this.num.text = this.key;
}
on (press) {
_root.enterKey(this.key);
}
Instance of Symbol 226 MovieClip "key1" in Symbol 227 MovieClip Frame 2
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Small Key", 1, "tinsnips", 1);
}
Symbol 230 Button
on (press) {
if (_root.cursorMode == 1) {
nextFrame();
}
}
Symbol 232 Button
on (press) {
if (_root.cursorMode == 1) {
prevFrame();
}
}
Symbol 239 MovieClip Frame 1
stop();
Instance of Symbol 238 MovieClip in Symbol 239 MovieClip Frame 3
on (press) {
if (_root.cursorMode == 1) {
_parent.prevFrame();
}
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
rubyrocks = 0;
stop();
Instance of Symbol 240 MovieClip in Symbol 243 MovieClip Frame 1
on (press) {
if ((_currentframe == 1) && (_root.cursorMode == 1)) {
play();
_parent.rubyrocks++;
}
if (_parent.rubyrocks > 4) {
_parent.play();
_root.singlesnap.start();
_root.INV.Remove("rubyring");
_root.INV.Add(new Item("ruby", "Ruby", true, "wirerod", 1));
_root.INV.CompressInventory();
_root.INV.DrawInventory(_root.INV.numItems - _root.INV.maxDisplay);
}
}
Symbol 243 MovieClip Frame 25
_parent.gotoAndStop(1);
Symbol 245 MovieClip Frame 1
Mouse.removeListener(mouseListen);
stop();
Instance of Symbol 167 MovieClip in Symbol 245 MovieClip Frame 2
on (press) {
}
Instance of Symbol 198 MovieClip "watch" in Symbol 245 MovieClip Frame 2
onClipEvent (load) {
if (_root.watchOpen) {
nextFrame();
}
}
Instance of Symbol 227 MovieClip "mycadet" in Symbol 245 MovieClip Frame 4
onClipEvent (load) {
if (_root.cadetOpen) {
nextFrame();
}
}
Symbol 246 Button
on (press) {
if (_root.cursorMode != 3) {
_root.INV.resetCursor();
}
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 259 Button
on (press) {
getURL ("http://afro-ninja.com/walkthroughs.php", "blank");
}
Symbol 261 Button
on (press) {
getURL ("http://flashgn.com", "blank");
}
Symbol 264 Button
on (press) {
getURL ("http://addictinggames.com", "blank");
}
Instance of Symbol 265 MovieClip in Symbol 272 MovieClip Frame 1
on (press) {
}
Symbol 272 MovieClip Frame 91
stop();
_root.timeCheck = true;
_root.heartBeat.start();
_root.startTime = getTimer() / 1000;
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 125
_root.displayText.text = "";
Symbol 276 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goback");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area1");
_root.cursor.gotoAndStop("main");
}
}
Symbol 277 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("There is a pentagonal opening above the door knob");
} else if (_root.curItem == "ruby") {
_root.showMessage("This needs to be combined with something first");
} else if (_root.curItem == "rubykey") {
_root.timeCheck = false;
_root.finalTime = _root.txtTimer.text;
_root.finish();
_root.gotoAndStop("win");
}
}
Symbol 278 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("The knob is tightly secured");
}
}
Symbol 281 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goright");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area5");
_root.cursor.gotoAndStop("main");
}
}
Symbol 282 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goleft");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area1");
_root.cursor.gotoAndStop("main");
}
}
Symbol 283 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area6");
}
}
Symbol 284 Button
on (press) {
if (_root.cursorMode == 1) {
_root.cameFrom = 3;
gotoAndStop ("area10");
_root.cursor.gotoAndStop("main");
}
}
Symbol 286 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goright");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area1");
_root.cursor.gotoAndStop("main");
}
}
Symbol 287 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goleft");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area5");
_root.cursor.gotoAndStop("main");
}
}
Symbol 288 Button
on (press) {
if (_root.cursorMode == 1) {
_root.cameFrom = 4;
gotoAndStop ("area10");
_root.cursor.gotoAndStop("main");
}
}
Instance of Symbol 292 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 297 Button
on (press) {
if (_root.cursorMode == 1) {
if (_root.coat._currentframe == 1) {
_root.coat.nextFrame();
} else {
_root.coat.prevFrame();
}
}
}
Symbol 302 MovieClip Frame 1
stop();
Instance of Symbol 301 MovieClip "pocketwatch" in Symbol 302 MovieClip Frame 2
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Pocket Watch", 0, "", 2);
}
Symbol 305 MovieClip Frame 1
stop();
Symbol 306 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goright");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area4");
_root.cursor.gotoAndStop("main");
}
}
Symbol 307 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goleft");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area3");
_root.cursor.gotoAndStop("main");
}
}
Symbol 308 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area8");
_root.cursor.gotoAndStop("main");
}
}
Symbol 309 Button
on (press) {
if (_root.cursorMode == 1) {
_root.cameFrom = 5;
gotoAndStop ("area10");
_root.cursor.gotoAndStop("main");
}
}
Symbol 310 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("A non-descript box");
}
}
Symbol 313 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area7");
}
}
Symbol 314 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goback");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area3");
_root.cursor.gotoAndStop("main");
}
}
Symbol 316 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goback");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area6");
_root.cursor.gotoAndStop("main");
}
}
Symbol 323 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area5");
_root.cursor.gotoAndStop("main");
}
}
Symbol 324 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area9");
_root.cursor.gotoAndStop("main");
}
}
Symbol 327 Button
on (press) {
if (_root.cursorMode == 1) {
nextFrame();
_root.cursor.gotoAndStop("main");
}
}
Symbol 330 Button
on (press) {
if (_root.cursorMode == 1) {
prevFrame();
_root.cursor.gotoAndStop("main");
}
}
Symbol 333 MovieClip Frame 1
stop();
Instance of Symbol 24 MovieClip "tinsnips" in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Tin Snips", 1, "coathanger", 1);
}
Symbol 333 MovieClip Frame 2
stop();
Symbol 334 MovieClip Frame 1
stop();
Instance of Symbol 21 MovieClip "minicrowbar" in Symbol 334 MovieClip Frame 2
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Mini-Crowbar", 0, "", 1);
}
Symbol 335 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goback");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area8");
_root.cursor.gotoAndStop("main");
}
}
Symbol 338 Button
on (press) {
if (_root.cursorMode == 1) {
if (((_root.board1 || (_root.board2)) || (_root.board3)) || (_root.board4)) {
_root.showMessage("The boards must be removed first");
} else if (_root.atticUnlocked) {
_root.gotoAndStop("area11");
} else {
_root.showMessage("This panel is locked shut");
}
}
}
Symbol 339 Button
on (press) {
if ((((!_root.board1) && (!_root.board2)) && (!_root.board3)) && (!_root.board4)) {
if (_root.cursorMode == 1) {
_root.showMessage("There is a small keyhole here");
} else if (_root.curItem == "wirerod") {
_root.showMessage("This lock cannot be picked");
} else if (_root.curItem == "tinykey") {
_root.unlock.start();
_root.atticUnlocked = true;
_root.gotoAndStop("area11");
}
} else if (_root.cursorMode == 1) {
_root.showMessage("The boards must be removed first");
}
}
Symbol 342 MovieClip Frame 1
if (_root.atticUnlocked) {
keyholebutton._visible = false;
keyholebutton.enabled = false;
}
Instance of Symbol 341 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.board1;
}
on (press) {
if (_root.curItem == "minicrowbar") {
_visible = false;
_root.board1 = false;
_root.woodbreak.start();
}
}
Instance of Symbol 341 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.board2;
}
on (press) {
if (_root.curItem == "minicrowbar") {
_visible = false;
_root.board2 = false;
_root.woodbreak.start();
}
}
Instance of Symbol 341 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.board3;
}
on (press) {
if (_root.curItem == "minicrowbar") {
_visible = false;
_root.board3 = false;
_root.woodbreak.start();
}
}
Instance of Symbol 341 MovieClip in Symbol 342 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.board4;
}
on (press) {
if (_root.curItem == "minicrowbar") {
_visible = false;
_root.board4 = false;
_root.woodbreak.start();
}
}
Symbol 343 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goback");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
_root.gotoAndStop("area" + _root.cameFrom);
_root.cursor.gotoAndStop("main");
}
}
Symbol 349 MovieClip Frame 1
stop();
_root.INV.resetCursor();
Symbol 349 MovieClip Frame 62
stop();
_root.INV.resetCursor();
Symbol 358 MovieClip Frame 1
stop();
Instance of Symbol 358 MovieClip "light" in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
this.go = 0;
}
onClipEvent (enterFrame) {
if (this.go == 3) {
this.go = 0;
var rand = (random(30) + 1);
this.gotoAndStop(rand);
}
this.go++;
}
Instance of Symbol 358 MovieClip "light" in Symbol 359 MovieClip Frame 90
onClipEvent (enterFrame) {
var rand = (random(30) + 1);
this.gotoAndStop(rand);
}
Instance of Symbol 359 MovieClip "swing" in Symbol 360 MovieClip Frame 1
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("The light appears to be shorted out");
}
}
Symbol 361 Button
on (press) {
if (_root.cursorMode == 1) {
if (_root.timezone == 1) {
_root.gotoAndStop("area5");
} else {
_root.gotoAndStop("area12");
}
}
}
Symbol 365 MovieClip Frame 1
stop();
Symbol 368 Button
on (press) {
if (_root.cursorMode == 1) {
if (_root.pocket._currentframe == 1) {
_root.pocket.nextFrame();
} else {
_root.pocket.prevFrame();
}
}
}
Symbol 374 MovieClip Frame 1
stop();
Instance of Symbol 373 MovieClip "cadet" in Symbol 374 MovieClip Frame 2
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Personal Organizer", 0, "", 2);
}
Symbol 375 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goright");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area13");
_root.cursor.gotoAndStop("main");
}
}
Symbol 376 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goleft");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area14");
_root.cursor.gotoAndStop("main");
}
}
Symbol 377 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area15");
_root.cursor.gotoAndStop("main");
}
}
Symbol 378 Button
on (press) {
if (_root.cursorMode == 1) {
_root.cameFrom = 12;
gotoAndStop ("area10");
_root.cursor.gotoAndStop("main");
}
}
Symbol 381 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goleft");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area12");
_root.cursor.gotoAndStop("main");
}
}
Symbol 382 Button
on (press) {
if (_root.cursorMode == 1) {
_root.cameFrom = 13;
gotoAndStop ("area10");
_root.cursor.gotoAndStop("main");
}
}
Symbol 383 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area16");
}
}
Symbol 385 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goright");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area12");
_root.cursor.gotoAndStop("main");
}
}
Symbol 386 Button
on (press) {
if (_root.cursorMode == 1) {
_root.cameFrom = 14;
gotoAndStop ("area10");
_root.cursor.gotoAndStop("main");
}
}
Symbol 389 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area12");
_root.cursor.gotoAndStop("main");
}
}
Symbol 390 Button
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area17");
_root.cursor.gotoAndStop("main");
}
}
Symbol 393 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goback");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area13");
_root.cursor.gotoAndStop("main");
}
}
Symbol 395 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("This box is locked");
}
}
Symbol 399 Button
on (press) {
if (_root.cursorMode == 1) {
_root.showMessage("There is a small keyhole here");
} else if (_root.curItem == "wirerod") {
_root.showMessage("This lock cannot be picked");
} else if (_root.curItem == "tinykey") {
_root.showMessage("This key does not fit");
} else if (_root.curItem == "key1") {
nextFrame();
_root.unlock.start();
}
}
Symbol 401 Button
on (press) {
if (_root.cursorMode == 1) {
prevFrame();
}
}
Symbol 402 MovieClip Frame 1
stop();
Instance of Symbol 45 MovieClip "rubyring" in Symbol 402 MovieClip Frame 2
onClipEvent (load) {
_root.INV.handleLoad(this);
}
on (press) {
_root.INV.handlePress(this, "Ruby Ring", 0, "", 2);
}
Symbol 403 Button
on (rollOver) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("goback");
}
}
on (rollOut) {
if (_root.cursorMode == 1) {
_root.cursor.gotoAndStop("main");
}
}
on (press) {
if (_root.cursorMode == 1) {
gotoAndStop ("area15");
_root.cursor.gotoAndStop("main");
}
}
Symbol 408 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 409 Button
on (press) {
_root.tempExit();
}
Symbol 412 Button
on (press) {
getURL ("http://afro-ninja.com", "blank");
getURL ("http://flashgn.com", "blank");
}
Instance of Symbol 405 MovieClip in Symbol 413 MovieClip Frame 80
onClipEvent (load) {
this.txtFinal.text = ("YOU ESCAPED IN " + _root.finalTime) + "!";
}
Symbol 413 MovieClip Frame 159
stop();