Frame 1
total_bytes = this.getBytesTotal();
loaded_bytes = this.getBytesLoaded();
remaining_bytes = total_bytes - loaded_bytes;
percent_done = int((loaded_bytes / total_bytes) * 100);
movLoader.movLoadingBar._width = (percent_done / 100) * 306;
movLoader.percent_done = percent_done;
if (percent_done > 99) {
gotoAndPlay (4);
}
Frame 2
gotoAndPlay (1);
Frame 4
if (movSplash._currentframe == 99) {
gotoAndPlay (6);
}
Frame 5
gotoAndPlay (4);
Frame 6
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("332c0b73", this, 10301, true);
function startgame() {
begin();
}
function clickup() {
clicked = 0;
}
function clickdown() {
clicked = 1;
}
function setDetails() {
}
function game() {
tx = _root._xmouse;
ty = _root._ymouse;
if (ty < 1) {
ty = 1;
}
if (state == 0) {
door._visible = false;
if (GUI.pumBut.hitTest(tx, ty, true) and (clicked == 1)) {
GUI._visible = false;
GUI.gotoAndStop(2);
state = 1;
scan._visible = false;
}
}
if (state == 1) {
door._visible = true;
monner._visible = false;
timer = timer + 1;
if (timer > (0 + (Math.random(1) * 1))) {
timer = 0;
if (door._currentframe == 1) {
monNumRand = Math.floor(Math.random(1) * 4);
if (monNumRand == 0) {
sdoorbell_1.start();
state = 2;
}
if (monNumRand == 1) {
sdoorbell_2.start();
state = 2;
}
if (monNumRand == 2) {
sdoorbell_3.start();
state = 2;
}
if (monNumRand == 3) {
sdoorbell_4.start();
state = 2;
}
}
}
}
if (state == 2) {
if ((level == 1) and (BG.phone._currentframe == 1)) {
BG.phone.gotoAndPlay("ring");
BG.phone.tutText = "Dude, CLICK on the DOOR to open it. Are you going to TREAT EM or TRICK EM ?";
}
if ((door.hitTest(tx, ty, true) and (door._currentframe == 1)) and (clicked == 1)) {
if (level == 1) {
BG.phone.gotoAndPlay("ring");
BG.phone.tutText = "Wave the SCANNER around. If you see any RED it's a REAL MONSTER. ALL GREEN means it's a KID. ";
}
if ((monType == 13) and (monType == 13)) {
BG.phone.gotoAndPlay("ring2");
BG.phone.tutText = "BLAEQ**O@JGFOUUCHGGA!";
}
state = 2.5;
done = 0;
scan._x = 240;
scan._y = 580;
scan.gotoAndStop(1);
scan._visible = true;
BG.bonusBox.bonusNo.gotoAndStop(1);
trick._visible = true;
treat._visible = true;
trick.gotoAndStop(1);
treat.gotoAndStop(1);
monner._visible = true;
monNumMake();
timer = 0;
scan.monner.gotoAndStop("ambient");
scan.monner.monnerBits.heads.head.gotoAndStop(monType);
scan.monner.monnerBits.bodies.gotoAndStop(monType2);
bonus = 100;
}
}
if (state == 2.7) {
if (door._currentframe == 10) {
state = 3;
}
if (door._currentframe == 2) {
door.gotoAndPlay(3);
}
}
if (state == 2.5) {
door.gotoAndPlay("open");
state = 2.7;
}
if (state == 3) {
timer = timer + 1;
if ((timer == 2) and (level > 1)) {
timer = 0;
bonus = bonus - 1;
}
if ((timer == 6) and (level == 1)) {
timer = 0;
bonus = bonus - 1;
}
if (bonus == 40) {
BG.bonusBox.bonusNo.gotoAndPlay("alert");
if (level > 0) {
BG.phone.gotoAndPlay("ring2");
BG.phone.tutText = "TIME is RUNNING OUT - Pick a BOX !";
}
}
BG.bonusBox.bonusNo.bonus = "0" + bonus;
if (bonus < 10) {
BG.bonusBox.bonusNo.bonus = "00" + bonus;
}
if (bonus == 0) {
if (level == 1) {
BG.phone.gotoAndPlay("ring");
BG.phone.tutText = "AWWW - TOO LATE ! ";
}
BG.bonusBox.bonusNo.gotoAndStop(1);
if (visitor == 0) {
monner.gotoAndPlay("treated" + visitor);
monner.monnerBits.heads.gotoAndPlay("bad" + visitor);
monner.monnerBits.heads.head.gotoAndPlay(monType);
timer = 0;
choice = 10;
state = 5;
}
if (visitor == 1) {
monner.monnerBits.heads.gotoAndPlay("bad" + visitor);
monner.monnerBits.heads.head.gotoAndPlay(monType / 2);
BG.window.gotoAndPlay("egged");
timer = 0;
state = 5;
door.gotoAndPlay("close");
choice = 10;
}
}
monScan();
if (treat.hitTest(tx, ty, true) and (clicked == 1)) {
treat.gotoAndPlay("open");
scan.gotoAndPlay("treat");
state = 6;
choice = 1;
}
if (trick.hitTest(tx, ty, true) and (clicked == 1)) {
trick.gotoAndPlay("open");
scan.gotoAndPlay("trick");
state = 6;
choice = 0;
}
}
if (state == 4) {
monScan();
if (scan.hitTest(monner) and (clicked == 1)) {
if (choice == 0) {
monner.gotoAndPlay("zapped" + visitor);
monner.monnerBits.heads.gotoAndPlay("visitor" + visitor);
monner.monnerBits.heads.head.gotoAndPlay(monType);
updateScore();
if (choice != visitor) {
monner.monnerBits.heads.gotoAndPlay("bad" + visitor);
monner.monnerBits.heads.head.gotoAndPlay(monType / 2);
timer = 0;
}
state = 5;
}
if (choice == 1) {
monner.gotoAndPlay("treated" + visitor);
monner.monnerBits.heads.gotoAndPlay("visitor" + visitor);
monner.monnerBits.heads.head.gotoAndPlay(monType / 2);
if (choice != visitor) {
monner.monnerBits.heads.gotoAndPlay("bad" + visitor);
monner.monnerBits.heads.head.gotoAndPlay(monType);
monner.monnerBits.bodies.gotoAndPlay(monType2);
timer = 0;
}
state = 5;
}
}
}
if (state == 6) {
scan._x = 355;
scan._y = 290;
if (level == 1) {
BG.phone.gotoAndPlay("ring");
BG.phone.tutText = "HEY - Sounds like you did THE RIGHT THING - GOOD ONE!";
}
if (choice == 0) {
monner.gotoAndPlay("zapped" + visitor);
monner.monnerBits.heads.gotoAndPlay("visitor" + visitor);
monner.monnerBits.heads.head.gotoAndStop(monType);
monner.monnerBits.bodies.gotoAndStop(monType2);
if (choice != visitor) {
monner.monnerBits.heads.gotoAndStop("bad" + visitor);
monner.monnerBits.heads.head.gotoAndStop(monType / 2);
timer = 0;
if (level == 1) {
BG.phone.gotoAndPlay("ring");
BG.phone.tutText = "What that SCREAMING SOUND ?! - you want me to PHONE the COPS?";
}
}
state = 5;
}
if (choice == 1) {
monner.gotoAndPlay("treated" + visitor);
monner.monnerBits.heads.gotoAndStop("visitor" + visitor);
monner.monnerBits.heads.head.gotoAndStop(kidType);
if (choice != visitor) {
monner.monnerBits.heads.gotoAndPlay("bad" + visitor);
monner.monnerBits.heads.head.gotoAndStop(monType);
monner.monnerBits.bodies.gotoAndStop(monType2);
timer = 0;
if (level == 1) {
BG.phone.gotoAndPlay("ring");
BG.phone.tutText = "What GOING ON ?!?! - you want me to PHONE the COPS?";
}
}
state = 5;
}
}
if (state == 5) {
if (visitor == choice) {
if ((monner._currentframe == 50) or (monner._currentframe == 195)) {
updateScore();
door.gotoAndPlay("close");
state = 1;
scan.gotoAndPlay("scan");
scan._visible = false;
BG.bonusBox.bonusNo.gotoAndStop(1);
if (level == 1) {
BG.phone.gotoAndStop(1);
}
level = level + 1;
timer = 0;
if (visitor == 0) {
hotDots = hotDots - 1;
if (hotDots == 0) {
hotDots = 1;
}
}
if (((level / 2) == Math.floor(level / 2)) and (level < 7)) {
monNum = monNum + 1;
if (monNum == 13) {
monNum = 12;
}
monRange = monRange + 1;
if (monRange == 15) {
monRange = 14;
}
hotDots = 3;
}
if (((level / 3) == Math.floor(level / 3)) and (level > 6)) {
monNum = monNum + 1;
if (monNum == 13) {
monNum == 12;
}
monRange = monRange + 1;
if (monRange == 15) {
monNum == 14;
}
hotDots = 3;
}
}
}
if (visitor != choice) {
timer = timer + 1;
if ((timer == 40) and (GUI._visible == false)) {
GUI.gotoAndPlay("lose");
GUI._visible = true;
GUI.loseScreen.screen.newsHead.gotoAndPlay(monType);
GUI.loseScreen.screen.score = score;
GUI.loseScreen.screen.headLine = "Local Man jailed after attacking Child with TASER Device: claims 'I thought he was a NIGHT BEAST'";
GUI.backFill.gotoAndPlay("tears");
if (visitor == 0) {
GUI.loseScreen.screen.headLine = (("Local Man found completely ripped to shreds. Police suspect it the work of a half " + monNames[monType]) + ",half ") + monNames[monType2];
GUI.backFill.gotoAndPlay("blood");
}
if ((visitor == 0) and (monType == monType2)) {
GUI.loseScreen.screen.headLine = ("Local Man found completely ripped to shreds. Police suspect it the work of a really nasty " + monNames[monType]) + "";
GUI.backFill.gotoAndPlay("blood");
}
if ((visitor == 1) and (bonus == 0)) {
GUI.loseScreen.screen.headLine = "Local 'cheapskate' has home egged into the Stone Age by irate teenagers";
}
}
if (GUI.loseScreen.hiBut.hitTest(tx, ty, true) and (clicked == 1)) {
GUI.gotoAndPlay("hiScore");
GUI.backFill.gotoAndPlay("hiScore");
clicked = 0;
_root.hs.setDetails(15, "ttx", false, score, score, "points");
}
if (GUI.playBut.hitTest(tx, ty, true) and (clicked == 1)) {
hs._visible = false;
GUI._visible = true;
GUI.gotoAndStop("titles");
door.gotoAndStop(1);
state = 0;
reset();
BG.window.gotoAndStop(1);
scan._visible = false;
scan.gotoAndPlay(1);
}
if (GUI.loseScreen.pumBut.hitTest(tx, ty, true) and (clicked == 1)) {
GUI._visible = false;
GUI.gotoAndStop(2);
door.gotoAndStop(1);
state = 1;
reset();
}
}
}
}
function resetBG() {
BG.window.gotoAndStop(1);
BG.phone.gotoAndStop(1);
scan._visible = false;
scan.gotoAndPlay(1);
monner._visible = false;
BG.bonusBox.bonusNo.bonus = 100;
BG.scoreBoard.score = 0;
BG.bonusBox.bonusNo.gotoAndStop(1);
}
function updateScore() {
score = score + bonus;
BG.pumpkin.gotoAndPlay("scoreUp");
BG.scoreBoard.gotoAndPlay("scoreUp");
BG.scoreBoard.score = score;
BG.bonusBox.bonusNo.bonus = 100;
}
function monNumMake() {
visitor = Math.floor(Math.random(1) * 2);
if (visitor == 0) {
hotDotsArray = [];
i = 0;
while (i < hotDots) {
monNumRand = Math.floor(Math.random(1) * (monNum * monNum));
hotDotsArray.push(monNumRand);
i++;
}
}
if (visitor == 1) {
hotDotsArray = [];
monNumRand = -1;
kidType = 1 + Math.floor(Math.random(1) * 10);
}
monner.gotoAndPlay("ambient");
monner.monnerBits.heads.gotoAndStop(1);
i = 0;
while (i < 3) {
monType = 1 + Math.floor(Math.random(1) * monRange);
monType2 = 1 + Math.floor(Math.random(1) * monRange);
if ((monType != oldmonType) and (monType2 != oldmonType2)) {
break;
}
i++;
}
oldmonType = monType;
oldmonType2 = monType2;
monner.monnerBits.heads.head.gotoAndStop(monType);
monner.monnerBits.bodies.gotoAndStop(monType2);
}
function monScan() {
if ((scan._x < tx) or (scan._x > tx)) {
scan._x = scan._x + ((tx - scan._x) / 10);
}
if ((scan._y < ty) or (scan._y > ty)) {
scan._y = scan._y + ((ty - scan._y) / 10);
}
if (scan._x < 205) {
scan._x = 205;
}
if (scan._x > 425) {
scan._x = 425;
}
scan._rotation = -(Math.atan(((BG._width / 2) - scan._x) / 430) * 57.2957795130823);
scan.mWidth = 156;
scan.mHeight = 200;
scan.jx = Math.floor((scan._x - 240) / (scan.mWidth / monNum));
scan.jy = Math.floor((scan._y - 139) / (scan.mHeight / monNum));
if (scan.jx < 0) {
scan.jx = 0;
}
if (scan.jx > (monNum - 1)) {
scan.jx = monNum - 1;
}
if (scan.jy < 0) {
scan.jy = 0;
}
if (scan.jy > (monNum - 1)) {
scan.jy = monNum - 1;
}
scan.scanDot._x = (scan.jx * (scan.scanScreen._width / monNum)) - 53;
scan.scanDot._y = (scan.jy * (scan.scanScreen._height / monNum)) - 60.8;
scan.scanDot._width = scan.scanScreen._width / monNum;
scan.scanDot._height = scan.scanScreen._height / monNum;
done = 0;
i = 0;
while (i < hotDots) {
monNumRand = hotDotsArray[i];
if (((scan.jx + (scan.jy * monNum)) == monNumRand) and (scan.scanDot._currentframe < 11)) {
scan.scanDot.gotoAndPlay("evil");
scan.monDetect.gotoAndPlay("detected");
}
if ((scan.jx + (scan.jy * monNum)) == monNumRand) {
done = 1;
}
i++;
}
if ((((scan.jx + (scan.jy * monNum)) != monNumRand) and (done == 0)) and (scan.scanDot._currentframe > 10)) {
scan.scanDot.gotoAndPlay("good");
}
}
function begin() {
sdoorbell_1 = new Sound();
sdoorbell_1.attachSound("s_doorbell1");
sdoorbell_2 = new Sound();
sdoorbell_2.attachSound("s_doorbell2");
sdoorbell_3 = new Sound();
sdoorbell_3.attachSound("s_doorbell3");
sdoorbell_4 = new Sound();
sdoorbell_4.attachSound("s_doorbell4");
smusic = new Sound();
smusic.attachSound("s_music");
smusic.start(0, 1000);
monNames = new Array();
monNames = ["blank", "vampire", "franky's monster", "killer Jawa", "robot", "man-fly", "mummy", "deadly dolly", "cyberborg", "zombie monkey", "mad scientist", "mutant apple", "mad colossus", "scary chick", "teenage wolf"];
hotDotsArray = new Array();
state = 0;
reset();
}
function toggleSound() {
if (monNavBar.movSpeaker._currentFrame == 2) {
smusic.setVolume(0);
}
if (monNavBar.movSpeaker._currentFrame == 1) {
smusic.setVolume(100);
}
}
function reset() {
visitor = 0;
choice = 0;
timer = 0;
bonus = 0;
level = 1;
score = 0;
monType = 0;
monType2 = 0;
oldmonType = -1;
oldmonType2 = -1;
kidType = 0;
clicked = 0;
done = 0;
monNum = 3;
monRange = 4;
hotDots = 3;
resetBG();
}
startgame();
stop();
Instance of Symbol 87 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.game();
}
onClipEvent (mouseDown) {
_root.clickdown();
}
onClipEvent (mouseUp) {
_root.clickup();
}
Instance of Symbol 373 MovieClip [HiScores] "hs" in Frame 6
//component parameters
onClipEvent (construct) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 50
stop();
stop();
stop();
Symbol 24 MovieClip Frame 20
gotoAndPlay (1);
Symbol 24 MovieClip Frame 35
gotoAndPlay (1);
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 15
gotoAndPlay ("alert");
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 20
gotoAndPlay (1);
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 30
stop();
Symbol 44 MovieClip Frame 32
Symbol 44 MovieClip Frame 90
gotoAndStop (1);
Symbol 337 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 _local3 = __width;
var _local2 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2});
}
}
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 = mx.core.UIObject(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 338 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 339 MovieClip [__Packages.HiScores] Frame 0
class HiScores extends mx.core.UIComponent
{
var _visible, gameId, gameCode, lowIsBest, score, invalidate, getURL;
function HiScores () {
super();
_visible = false;
}
function setDetails(gameId, gameCode, lowIsBest, score, msg1, msg2) {
this.gameId = gameId;
this.gameCode = gameCode;
this.lowIsBest = lowIsBest;
this.score = score;
movEntryScreen = movEntryScreen;
movInfoScreen = movInfoScreen;
movEntryScreen.txtMsg1.text = msg1;
movEntryScreen.txtMsg2.text = msg2;
movEntryScreen.txtName.text = "";
movEntryScreen.txtCode.text = "";
movEntryScreen._visible = true;
movInfoScreen._visible = false;
secCodeLoad();
_visible = true;
}
function createChildren() {
size();
}
function size() {
super.size();
invalidate();
}
function secCodeLoad() {
var _local2 = new MovieClipLoader();
_local2.loadClip((HS_SERVLET_URL + "?type=genCode&cachebuster=") + new Date().getTime(), movEntryScreen.movCode);
}
function back() {
movEntryScreen._visible = true;
movInfoScreen._visible = false;
}
function viewScore() {
getURL((((((HI_SCORE_URL + gameCode) + "_hs") + "&name=") + movEntryScreen.txtName.text) + "&cachebuster=") + new Date().getTime(), "_blank");
}
function showInfoMessage(msg, error) {
movInfoScreen.txtInfo.text = msg;
movInfoScreen.btnBack._visible = error;
movInfoScreen.btnView._visible = !error;
}
function submitScore() {
movEntryScreen._visible = false;
movInfoScreen._visible = true;
var _local8 = true;
if (movEntryScreen.txtName.text.length == 0) {
showInfoMessage("Please enter your name.", true);
} else if (movEntryScreen.txtCode.text.length != 5) {
showInfoMessage("Please enter all 5 letters of the security code.", true);
} else {
showInfoMessage("Submitting hi-score details to the server, please wait.", true);
movInfoScreen.btnBack._visible = false;
_local8 = false;
}
if (!_local8) {
var _local9 = movEntryScreen.txtName.text;
var _local4 = (((((("save|" + _local9) + "|") + movEntryScreen.txtCode.text) + "|") + score) + "|") + gameId;
var _local5 = "";
var _local3 = 0;
var _local2 = 0;
while (_local3 < _local4.length) {
if (_local2 >= KEY.length) {
_local2 = 0;
}
_local5 = _local5 + String.fromCharCode((_local4.charCodeAt(_local3) ^ KEY.charCodeAt(_local2)) + 1);
_local3++;
_local2++;
}
var self = this;
var _local6 = new LoadVars();
_local6.ffdata = _local5;
_local6.lowIsBest = lowIsBest;
_local6.sendAndLoad(HS_SERVLET_URL, _local6, "POST");
_local6.onLoad = function (success) {
var _local2 = parseInt(this.res);
if (!success) {
self.showInfoMessage("A serious problem was encountered with the server, please try again in a few minutes.", true);
} else if (_local2 == -1) {
self.showInfoMessage("Could not store hi-score details. Click on back, generate a new security code and re-submit.", true);
} else if (_local2 == 0) {
self.showInfoMessage("Sorry, a better score already exists with that name.", false);
} else if (_local2 == 1) {
self.showInfoMessage("Congratulations! You made it into the hi-score table.", false);
}
};
}
}
static var symbolName = "HiScores";
static var symbolOwner = HiScores;
var className = "HiScores";
static var SERVER_URL = "http://www.gimme5games.com";
static var SERVLET_URL = SERVER_URL + "/servlet/otwServlet";
static var HS_SERVLET_URL = SERVER_URL + "/servlet/hiServlet";
static var HI_SCORE_URL = SERVER_URL + "/index.jsp?id=";
var KEY = "rocket";
var movEntryScreen = null;
var movInfoScreen = null;
}
Symbol 374 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 375 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 376 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 377 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 83 Button
on (release) {
_root.state = 2;
gotoAndPlay (2);
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 3
stop();
Symbol 117 MovieClip Frame 4
stop();
Symbol 117 MovieClip Frame 5
stop();
Symbol 117 MovieClip Frame 6
stop();
Symbol 117 MovieClip Frame 7
stop();
Symbol 117 MovieClip Frame 8
stop();
Symbol 117 MovieClip Frame 9
stop();
Symbol 117 MovieClip Frame 10
stop();
Symbol 117 MovieClip Frame 11
stop();
Symbol 117 MovieClip Frame 12
stop();
Symbol 117 MovieClip Frame 13
stop();
Symbol 117 MovieClip Frame 14
stop();
Symbol 117 MovieClip Frame 15
stop();
Symbol 117 MovieClip Frame 16
stop();
Symbol 117 MovieClip Frame 17
stop();
Symbol 117 MovieClip Frame 18
stop();
Symbol 117 MovieClip Frame 19
stop();
Symbol 117 MovieClip Frame 20
stop();
Symbol 117 MovieClip Frame 21
stop();
Symbol 117 MovieClip Frame 22
stop();
Symbol 117 MovieClip Frame 23
stop();
Symbol 117 MovieClip Frame 24
stop();
Symbol 117 MovieClip Frame 25
stop();
Symbol 117 MovieClip Frame 26
stop();
Symbol 117 MovieClip Frame 27
stop();
Symbol 117 MovieClip Frame 28
stop();
Symbol 117 MovieClip Frame 29
stop();
Symbol 117 MovieClip Frame 30
stop();
Symbol 117 MovieClip Frame 31
stop();
Symbol 117 MovieClip Frame 32
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 3
stop();
Symbol 146 MovieClip Frame 4
stop();
Symbol 146 MovieClip Frame 5
stop();
Symbol 146 MovieClip Frame 6
stop();
Symbol 146 MovieClip Frame 7
stop();
Symbol 146 MovieClip Frame 8
stop();
Symbol 146 MovieClip Frame 9
stop();
Symbol 146 MovieClip Frame 10
stop();
Symbol 146 MovieClip Frame 11
stop();
Symbol 146 MovieClip Frame 12
stop();
Symbol 146 MovieClip Frame 13
stop();
Symbol 146 MovieClip Frame 14
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
stop();
Symbol 171 MovieClip Frame 3
stop();
Symbol 171 MovieClip Frame 4
stop();
Symbol 171 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 6
stop();
Symbol 171 MovieClip Frame 7
stop();
Symbol 171 MovieClip Frame 8
stop();
Symbol 171 MovieClip Frame 9
stop();
Symbol 171 MovieClip Frame 10
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
stop();
Symbol 178 MovieClip Frame 3
stop();
Symbol 178 MovieClip Frame 4
stop();
Symbol 178 MovieClip Frame 5
stop();
Symbol 186 MovieClip Frame 18
gotoAndPlay (1);
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 20
gotoAndPlay ("ambient");
Symbol 187 MovieClip Frame 55
stop();
Symbol 187 MovieClip Frame 115
stop();
Symbol 187 MovieClip Frame 201
gotoAndStop (1);
Symbol 187 MovieClip Frame 248
gotoAndPlay ("kidcry");
Symbol 187 MovieClip Frame 260
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 10
stop();
Symbol 196 MovieClip Frame 20
gotoAndStop (1);
Symbol 204 MovieClip Frame 18
gotoAndPlay (1);
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 19
stop();
Symbol 214 MovieClip Frame 10
gotoAndPlay (1);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 19
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 14
stop();
Symbol 224 MovieClip Frame 10
gotoAndPlay ("good");
Symbol 224 MovieClip Frame 20
gotoAndPlay ("evil");
Symbol 231 MovieClip Frame 10
gotoAndPlay (1);
Symbol 232 MovieClip Frame 13
stop();
Symbol 233 MovieClip Frame 41
stop();
Symbol 248 MovieClip Frame 9
stop();
Symbol 250 MovieClip Frame 36
Symbol 250 MovieClip Frame 50
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 1
stop();
stop();
Symbol 252 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 3
stop();
Symbol 261 MovieClip Frame 5
gotoAndPlay (1);
Symbol 274 MovieClip Frame 65
Symbol 274 MovieClip Frame 82
gotoAndPlay ("roll");
Symbol 285 MovieClip Frame 8
stop();
Symbol 288 MovieClip Frame 7
stop();
Symbol 290 MovieClip Frame 20
stop();
Symbol 291 MovieClip Frame 25
stop();
Symbol 292 MovieClip Frame 1
Symbol 292 MovieClip Frame 20
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
stop();
Symbol 293 MovieClip Frame 3
stop();
Symbol 293 MovieClip Frame 4
stop();
Symbol 293 MovieClip Frame 15
stop();
Symbol 334 MovieClip Frame 28
stop();
Symbol 335 MovieClip Frame 34
gotoAndPlay ("roll");
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 15
stop();
Symbol 336 MovieClip Frame 20
stop();
Symbol 357 Button
on (release) {
_parent.submitScore();
}
Symbol 359 Button
on (release) {
_parent.secCodeLoad();
}
Symbol 366 Button
on (release) {
_parent.back();
}
Symbol 369 Button
on (release) {
_parent.viewScore();
}
Symbol 373 MovieClip [HiScores] Frame 1
#initclip 8
Object.registerClass("HiScores", HiScores);
#endinitclip
Symbol 378 Button
on (release) {
getURL ("http://www.gimme5games.com?ref=flash_dotb", "_blank");
}
Symbol 379 Button
on (release) {
getURL ("mailto:?subject=Play Trick or Treat Xtreme!&body=Hi, I found this great game, and thought you might like to play it: http://www.gimme5games.com/index.jsp?id=ttx", "_blank");
}
Symbol 380 Button
on (release) {
getURL ("http://www.gimme5games.com/index.jsp?id=codes&ref=flash_ttx", "_blank");
}
Symbol 381 Button
on (release) {
x = 5;
if ((movSpeaker._currentFrame == 2) and (x == 5)) {
movSpeaker.gotoAndStop(1);
x = 0;
}
if ((movSpeaker._currentFrame == 1) and (x == 5)) {
movSpeaker.gotoAndStop(2);
x = 0;
}
_root.toggleSound();
}
Symbol 387 MovieClip [movSpeaker] Frame 1
stop();
Symbol 387 MovieClip [movSpeaker] Frame 2
stop();
Symbol 388 MovieClip [movNavBar] Frame 1
function toggleSound() {
}