Frame 1
var KeyListener = new Object();
KeyListener.onKeyDown = function () {
if ((Key.getAscii() == 113) or (Key.getAscii() == 81)) {
if (_root._quality == "LOW") {
_root._quality = "HIGH";
} else if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
} else if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
}
}
};
Key.addListener(KeyListener);
stop();
Stage.showMenu = false;
Frame 2
stop();
Frame 3
stop();
Frame 4
gotoAndStop ("Menu");
Frame 5
function shoot() {
clearInterval(intr);
var _local3 = -280;
var _local1 = new Object();
_local1.x = xT - xB;
_local1.y = yT - yB;
_local1.z = _local3 - zB;
_local1.l = Math.sqrt(((_local1.x * _local1.x) + (_local1.y * _local1.y)) + (_local1.z * _local1.z));
_local1.x = _local1.x / _local1.l;
_local1.y = _local1.y / _local1.l;
_local1.z = _local1.z / _local1.l;
_local1.x = _local1.x * power;
_local1.y = _local1.y * power;
_local1.z = _local1.z * power;
incX = _local1.x;
incY = _local1.y;
incZ = _local1.z;
shooting = true;
var _local4 = false;
redAim._visible = false;
blueAim._visible = false;
var _local2 = new Object();
_local2.x = xGT - keeper._x;
_local2.y = yGT - keeper._y;
_local2.l = Math.sqrt((_local2.x * _local2.x) + (_local2.y * _local2.y));
_local2.x = _local2.x / _local2.l;
_local2.y = _local2.y / _local2.l;
_local2.x = _local2.x * powerG;
_local2.y = _local2.y * powerG;
incXG = _local2.x;
incYG = _local2.y;
if (xGT < keeper._x) {
keeper.gotoAndPlay("crouchleft");
} else {
keeper.gotoAndPlay("crouchright");
}
if (((xGT > 260) && (xGT < 380)) && (yGT > 200)) {
keeper.gotoAndPlay("lownear");
} else {
keeper._rotation = ((Math.atan2(_local2.y, _local2.x) * 180) / Math.PI) + 90;
}
sndKick.start(0, 0);
}
var KeyListener = new Object();
KeyListener.onKeyDown = function () {
if ((Key.getAscii() == 113) or (Key.getAscii() == 81)) {
if (_root._quality == "LOW") {
_root._quality = "HIGH";
} else if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
} else if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
}
}
};
Key.addListener(KeyListener);
stop();
var stopBttn;
var shootBttn;
var aimX;
var aimY;
var redAim;
var blueAim;
var Ball;
var GoalArea;
var Shadow;
var powerBar;
var keeper;
var gShadow;
var scoreTxt = scoreDisp.scoreTxt;
var shooting = false;
var xOk = false;
var render = true;
var scored = false;
var touched = false;
var xB = 0;
var yB = 150;
var zB = 200;
var xT = 0;
var yT = 0;
var xGT = 0;
var yGT = 0;
var eyez = -300;
var power = 20;
var intr = 0;
var incX = 0;
var incY = 0;
var incZ = 0;
var incXG = 0;
var incYG = 0;
var powerG = 20;
var takeOff = false;
var landed = false;
var jump = false;
var kept = false;
var quitting = false;
var gavePts = false;
var missed = false;
var sndOne = false;
var unrInt = 0;
var cpuX = (random(578) + 25);
var cpuY = (random(284) + 3);
var bonus = 0;
if (shot == undefined) {
var sndCheer = new Sound(Shots);
sndCheer.attachSound("cheer");
var sndGoal = new Sound(Shots);
sndGoal.attachSound("goal");
var sndPole = new Sound(Shots);
sndPole.attachSound("pole");
var sndMiss = new Sound(Shots);
sndMiss.attachSound("nogoal");
var sndKick = new Sound(Shots);
sndKick.attachSound("kick");
sndCheer.setVolume(20);
var score = 0;
if (pussy) {
score = -500;
}
var shot = 1;
var switched = false;
}
sndCheer.start(0, 0);
shootBttn._visible = false;
aimY.stop();
GoalTxt.swapDepths(10);
fadeOut.swapDepths(this.getNextHighestDepth());
Ball.gotoAndStop(1);
if (switched) {
var trans = (new flash.geom.Transform(keeper));
var coltrans = trans.colorTransform;
coltrans.redOffset = 200;
coltrans.blueMultiplier = 0;
trans.colorTransform = coltrans;
shootBttn.label = "Dive";
}
if (switched && (pussy)) {
blueAim.gotoAndPlay(1);
blueAim._x = cpuX;
blueAim._y = cpuY;
}
this.onEnterFrame = function () {
var _local3 = keeper.getBounds(this);
gShadow._width = _local3.xMax - _local3.xMin;
gShadow._x = (_local3.xMin + _local3.xMax) / 2;
scoreTxt.text = score.toString();
if (shooting) {
incY = incY + 2.5;
xB = xB + incX;
yB = yB + incY;
zB = zB + incZ;
if (yB > 150) {
incY = incY * -0.7;
yB = 150;
}
if (zB <= -325) {
if (((xB >= -525) && (xB <= 525)) && (yB >= -315)) {
scored = true;
}
if (((yB >= -325) && (yB < -315)) && (zB > -370)) {
if (!sndOne) {
sndPole.start(0, 0);
}
sndOne = true;
bonus = 50;
incY = (-incY) - incZ;
}
if (((yB >= -430) && (yB < -320)) && (zB > -370)) {
if (!sndOne) {
sndPole.start(0, 0);
}
sndOne = true;
missed = true;
incY = -30;
incZ = -incZ;
}
if ((xB >= -600) && (xB < -525)) {
if (!sndOne) {
sndPole.start(0, 0);
}
sndOne = true;
bonus = 50;
incX = (-incX) - incZ;
}
if ((xB <= 600) && (xB > 525)) {
if (!sndOne) {
sndPole.start(0, 0);
}
sndOne = true;
bonus = 50;
incX = (-incX) + incZ;
}
if ((xB >= -650) && (xB < -600)) {
if (!sndOne) {
sndPole.start(0, 0);
}
sndOne = true;
missed = true;
incX = -50;
incZ = incZ * -1;
}
if ((xB <= 650) && (xB > 600)) {
if (!sndOne) {
sndPole.start(0, 0);
}
sndOne = true;
missed = true;
incX = 50;
incZ = incZ * -1;
}
}
if (((zB <= -330) && (!scored)) && (bonus == 0)) {
missed = true;
bonus = -50;
}
if (((xB <= -510) || (xB >= 510)) && (scored)) {
incX = 0;
bg.gotoAndPlay(2);
}
if (((zB < -520) || (touched)) && (scored)) {
Ball.gotoAndStop(2);
if (!touched) {
incY = 0;
incZ = incZ * -0.6;
incX = 0;
bg.gotoAndPlay(2);
}
if (zB > -520) {
incZ = incZ * 0.3;
}
touched = true;
} else if (zB < -900) {
zB = -900;
incZ = incZ * -0.8;
}
if (jump) {
if (keeper._y < 280) {
takeOff = true;
}
if (((_local3.yMax >= 300) && (takeOff)) || (keeper._y > 300)) {
if (((Math.round(keeper._rotation / 10) * 10) == -90) || ((Math.round(keeper._rotation / 10) * 10) == 90)) {
incYG = 0;
incXG = 0;
}
if ((keeper._rotation < 0) && (keeper._rotation > -90)) {
landed = true;
incXG = 0;
keeper._y = 280;
keeper._rotation = keeper._rotation + ((-90 - keeper._rotation) / 1.5);
} else if ((keeper._rotation > 0) && (keeper._rotation < 90)) {
landed = true;
incXG = 0;
keeper._y = 280;
keeper._rotation = keeper._rotation + ((90 - keeper._rotation) / 1.5);
}
} else if (!landed) {
incYG = incYG + 2;
keeper._x = keeper._x + incXG;
keeper._y = keeper._y + incYG;
}
}
if (((zB <= -310) && (zB >= -325)) || ((zB > -310) && ((zB + incZ) < -325))) {
var _local2 = Ball.getBounds(this);
if (keeper.hitTest(_local2.xMin, _local2.yMin, true)) {
kept = true;
}
if (keeper.hitTest(_local2.xMax, _local2.yMin, true)) {
kept = true;
}
if (keeper.hitTest(_local2.xMin, _local2.yMax, true)) {
kept = true;
}
if (keeper.hitTest(_local2.xMax, _local2.yMax, true)) {
kept = true;
}
if (keeper.hitTest(Ball._x, Ball._y, true)) {
kept = true;
}
if (kept) {
if (Ball._currentframe != 2) {
incX = incXG * 2;
incY = incYG * 2;
incZ = 0;
zB = -290;
}
Ball.gotoAndStop(2);
}
}
if (((!scored) && (!missed)) && (!kept)) {
unrInt++;
if (unrInt > 100) {
missed = true;
unrInt = 0;
}
}
}
if (scored && (!gavePts)) {
sndGoal.start(0, 0);
GoalTxt.gotoAndPlay("goal");
gavePts = true;
if (switched) {
score = score - 50;
Dives["l" + shot].gotoAndStop(2);
} else {
score = score + (150 + bonus);
Shots["l" + shot].gotoAndStop(2);
}
shot++;
shootBttn.label = "Next Kick";
if (shot == 6) {
if (switched) {
shootBttn.label = "End";
} else {
if (score >= 900) {
Zidane.play();
}
shootBttn.label = "Defend";
}
}
} else if ((kept || (missed)) && (!gavePts)) {
sndMiss.start(0, 0);
GoalTxt.gotoAndPlay("miss");
gavePts = true;
if (switched) {
score = score + 200;
Dives["l" + shot].gotoAndStop(3);
} else {
score = score - (100 - bonus);
Shots["l" + shot].gotoAndStop(3);
}
shot++;
shootBttn.label = "Next Kick";
if (shot == 6) {
if (switched) {
shootBttn.label = "End";
} else {
if (score >= 900) {
Zidane.play();
}
shootBttn.label = "Defend";
}
}
}
if (quitting) {
if (fadeOut._currentframe == 6) {
keeper.swapDepths(-10);
Ball.swapDepths(-11);
GoalFrame.swapDepths(-12);
GoalTxt.swapDepths(-13);
if (shootBttn.label == "Defend") {
switched = true;
shot = 1;
}
if (shootBttn.label == "End") {
keeper.swapDepths(10);
Ball.swapDepths(11);
GoalFrame.swapDepths(12);
GoalTxt.swapDepths(13);
keeper.removeMovieClip();
Ball.removeMovieClip();
GoalFrame.removeMovieClip();
GoalTxt.removeMovieClip();
stopAllSounds();
gotoAndStop ("ScoreCount");
return(undefined);
}
gotoAndPlay ("Clear");
}
}
};
powerBar.onEnterFrame = function () {
if (!switched) {
powerBar.bar._width = power - 20;
}
};
Ball.onEnterFrame = function () {
if (render) {
Ball._x = ((eyez * xB) / (zB + eyez)) + 325;
Ball._y = ((eyez * yB) / (zB + eyez)) + 200;
Shadow._x = ((eyez * xB) / (zB + eyez)) + 325;
Shadow._y = ((eyez * 200) / (zB + eyez)) + 200;
Ball._xscale = (35 * eyez) / (zB + eyez);
Ball._yscale = Ball._xscale;
Shadow._xscale = (250 * eyez) / (zB + eyez);
Shadow._yscale = Shadow._xscale;
if (((-zB) < eyez) || ((Ball._y - (Ball._height / 2)) > 360)) {
Ball._visible = false;
} else {
Ball._visible = true;
}
if (((-zB) < eyez) || ((Shadow._y - (Shadow._height / 2)) > 360)) {
Shadow._visible = false;
} else {
Shadow._visible = true;
}
if (zB < -350) {
Ball.swapDepths(2);
GoalFrame.swapDepths(3);
keeper.swapDepths(4);
} else {
Ball.swapDepths(3);
GoalFrame.swapDepths(1);
keeper.swapDepths(2);
}
}
};
shootBttn.onMouseDown = function () {
if (((((!this.hitTest(_xmouse, _ymouse, false)) || (!this._visible)) || (shootBttn.label == "Next Kick")) || (shootBttn.label == "Wait...")) || (shootBttn.label == "Defend")) {
return(undefined);
}
if (switched) {
power = random(180) + 20;
return(undefined);
}
intr = setInterval(function () {
power = power + 2;
if (power >= 200) {
power = 200;
}
}, 10);
};
shootBttn.onRelease = function () {
if (shootBttn.label == "Wait...") {
return(undefined);
}
if (((shootBttn.label == "Next Kick") || (shootBttn.label == "Defend")) || (shootBttn.label == "End")) {
fadeOut.play();
quitting = true;
return(undefined);
}
shoot();
shootBttn.label = "Wait...";
};
stopBttn.onRelease = function () {
if (!this.hitTest(_xmouse, _ymouse, false)) {
return(undefined);
}
if (!xOk) {
aimX.stop();
xOk = true;
aimY.play();
} else {
aimY.stop();
redAim.gotoAndPlay(1);
redAim._x = aimX.aimer._x;
redAim._y = aimY.aimer._y;
stopBttn.swapDepths(this.getNextHighestDepth());
stopBttn.removeMovieClip();
shootBttn._visible = true;
if (switched) {
xT = ((cpuX - 62) * 1.93548387096774) - 510;
yT = ((cpuY - 30) * 1.7816091954023) - 315;
xGT = aimX.aimer._x;
yGT = aimY.aimer._y;
} else {
xT = ((aimX.aimer._x - 62) * 1.93548387096774) - 510;
yT = ((aimY.aimer._y - 30) * 1.7816091954023) - 315;
xGT = random(500) + 50;
yGT = random(250) + 20;
}
if (yGT > 280) {
yGT = 280;
}
}
};
Instance of Symbol 16 MovieClip [NormalButton] "stopBttn" in Frame 5
//component parameters
onClipEvent (construct) {
glyph = "";
label = "Aim";
theme = "XP Silver";
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Instance of Symbol 16 MovieClip [NormalButton] "shootBttn" in Frame 5
//component parameters
onClipEvent (construct) {
glyph = "";
label = "Kick!";
theme = "XP Silver";
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Frame 6
gotoAndStop ("TheGame");
Frame 7
stop();
shot = undefined;
Frame 8
stop();
Symbol 8 MovieClip [GroupBox] Frame 1
#initclip 10
Object.registerClass("GroupBox", GroupBox);
#endinitclip
stop();
Symbol 16 MovieClip [NormalButton] Frame 1
#initclip 11
Object.registerClass("NormalButton", NormalButton);
#endinitclip
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
this.useHandCursor = false;
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
this.gotoAndStop(1);
_root.play();
};
this.onPress = function () {
this.gotoAndStop(3);
};
Symbol 30 MovieClip Frame 1
var loadedPercent = 0;
_root.stop();
this._x = Math.round(this._x);
this._y = Math.round(this._y);
stop();
this.onEnterFrame = function () {
loadedPercent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
this.progress_clps.gotoAndStop(Math.round((loadedPercent / 100) * 23));
this.loading_text = ("Loading..." + Math.round(loadedPercent)) + "%";
if (loadedPercent >= 100) {
this.gotoAndStop(2);
}
};
Symbol 30 MovieClip Frame 2
stop();
Symbol 40 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 45 Button
on (release) {
getURL ("http://www.macromedia.com", "_blank");
}
Symbol 3 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.126";
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 4 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.126";
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 5 MovieClip [__Packages.GroupBox] Frame 0
class GroupBox extends mx.core.UIComponent
{
var txtFormat, _label, isInit, invalidate, BoundingBox, createTextField, txtLabel, clear, lineStyle, moveTo, lineTo, curveTo, __get__height, __get__width, __width, __height;
function GroupBox () {
super();
txtFormat = new TextFormat();
}
function set label(l) {
_label = l;
if (isInit) {
draw();
}
invalidate();
//return(label);
}
function get label() {
return(_label);
}
function init() {
super.init();
BoundingBox.swapDepths(1);
BoundingBox.removeMovieClip();
}
function createChildren() {
isInit = true;
}
function draw() {
createTextField("txtLabel", 2, 6, 0, 10, 12);
txtFormat.font = "Tahoma";
txtFormat.size = 11;
txtFormat.color = 221;
txtLabel.setNewTextFormat(txtFormat);
txtLabel.text = _label;
txtLabel.selectable = false;
txtLabel.autoSize = true;
clear();
lineStyle(1, 9869238, 100, true);
moveTo(4, 8);
lineTo(3, 8);
curveTo(0, 8, 0, 11);
lineTo(0, __get__height() - 4);
curveTo(0, __get__height() - 1, 3, __get__height() - 1);
lineTo(__get__width() - 4, __get__height() - 1);
curveTo(__get__width() - 1, __get__height() - 1, __get__width() - 1, __get__height() - 4);
lineTo(__get__width() - 1, 11);
curveTo(__get__width() - 1, 8, __get__width() - 4, 8);
lineTo(txtLabel._width + 6, 8);
}
function setSize(w, h) {
__width = w;
__height = h;
invalidate();
}
}
Symbol 9 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 10 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 11 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 12 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 13 MovieClip [__Packages.NormalButton] Frame 0
class NormalButton extends mx.core.UIComponent
{
var txtFormat, colorDef, _label, isInit, invalidate, _glyph, _theme, bounding_box, createEmptyMovieClip, createTextField, useHandCursor, onRollOver, onRollOut, onPress, onRelease, onReleaseOutside, attachMovie, GlyphMC, txtField, __get__width, __get__height, hoverBorder, mainbutton_mc, __width, __height;
function NormalButton () {
super();
txtFormat = new TextFormat();
colorDef = new Object();
}
function set label(l) {
_label = l;
if (isInit) {
draw();
}
invalidate();
//return(label);
}
function get label() {
return(_label);
}
function set glyph(g) {
_glyph = g;
if (isInit) {
draw();
}
invalidate();
//return(glyph);
}
function get glyph() {
return(_glyph);
}
function set theme(s) {
_theme = s;
if (isInit) {
draw();
}
//return(theme);
}
function get theme() {
return(_theme);
}
function init() {
super.init();
bounding_box.swapDepths(1);
bounding_box.removeMovieClip();
mx.events.EventDispatcher.initialize(this);
}
function set_Theme(theme) {
if (((theme == "XP Silver") || (theme == "XP Blue")) || (theme == "XP Olive")) {
colorDef.bttnDark = 13750744 /* 0xD1D1D8 */;
colorDef.bttnLight = 15790324 /* 0xF0F0F4 */;
colorDef.bttnDarkD = 12566728 /* 0xBFC0C8 */;
colorDef.bttnLightD = 15658734 /* 0xEEEEEE */;
colorDef.brdrColr = 4867930 /* 0x4A475A */;
colorDef.txtColor = 0;
} else if (theme == "SleekBlack") {
colorDef.bttnDark = 1447446 /* 0x161616 */;
colorDef.bttnLight = 6710886 /* 0x666666 */;
colorDef.bttnDarkD = 1447446 /* 0x161616 */;
colorDef.bttnLightD = 6710886 /* 0x666666 */;
colorDef.brdrColr = 1118481 /* 0x111111 */;
colorDef.txtColor = 13421772 /* 0xCCCCCC */;
}
switch (theme) {
case "XP Silver" :
colorDef.highLight = 16755217 /* 0xFFAA11 */;
break;
case "XP Blue" :
colorDef.highLight = 26367;
break;
case "XP Olive" :
colorDef.highLight = 6736947 /* 0x66CC33 */;
break;
case "SleekBlack" :
colorDef.highLight = 16777215 /* 0xFFFFFF */;
}
}
function createChildren() {
createEmptyMovieClip("mainbutton_mc", 2);
createEmptyMovieClip("hoverBorder", 3);
createTextField("txtField", 4, 0, 0, 10, 10);
isInit = true;
useHandCursor = false;
onRollOver = function () {
this.drawButton("hover");
};
onRollOut = function () {
this.drawButton("normal");
};
onPress = function () {
this.drawButton("down");
};
onRelease = function () {
this.drawButton("normal");
};
onReleaseOutside = function () {
this.drawButton("normal");
};
}
function draw() {
set_Theme(_theme);
drawButton("normal");
if (_glyph != "") {
attachMovie(_glyph, "GlyphMC", 5);
} else {
GlyphMC.removeMovieClip();
}
txtFormat.align = "center";
txtFormat.font = "Tahoma";
txtFormat.color = colorDef.txtColor;
txtFormat.size = 11;
txtField.setNewTextFormat(txtFormat);
txtField.text = _label;
txtField.autoSize = true;
txtField._x = (__get__width() / 2) - (txtField._width / 2);
if (_glyph != "") {
var _local2 = (txtField._width + GlyphMC._width) + 2;
if (_label == "") {
_local2 = GlyphMC._width;
}
GlyphMC._x = (__get__width() / 2) - (_local2 / 2);
txtField._x = (GlyphMC._x + GlyphMC._width) + 2;
GlyphMC._y = (__get__height() / 2) - (GlyphMC._height / 2);
}
txtField._y = (__get__height() / 2) - (txtField._height / 2);
txtField.selectable = false;
}
function drawButton(bttnState) {
if (bttnState == "normal") {
hoverBorder.clear();
}
var fillType = "linear";
var alphas = [100, 100];
var ratios = [0, 255];
var matrix = (new flash.geom.Matrix());
var colors = [colorDef.bttnLight, colorDef.bttnDark];
matrix.createGradientBox(__get__width(), __get__height(), (Math.PI/2));
if (bttnState == "down") {
colors = [colorDef.bttnLightD, colorDef.bttnDarkD];
matrix.createGradientBox(__get__width(), __get__height(), -1.5707963267949);
}
var spreadMethod = "pad";
if (bttnState == "hover") {
with (hoverBorder) {
moveTo(3, 1);
beginFill(_parent.colorDef.highLight, 60);
lineTo(1, 3);
lineTo(1, _parent.height - 3);
lineTo(3, _parent.height - 1);
lineTo(_parent.width - 3, _parent.height - 1);
lineTo(_parent.width - 1, _parent.height - 3);
lineTo(_parent.width - 1, 3);
lineTo(_parent.width - 3, 1);
lineTo(3, 1);
lineTo(3, 3);
lineTo(3, _parent.height - 3);
lineTo(_parent.width - 3, _parent.height - 3);
lineTo(_parent.width - 3, 3);
lineTo(3, 3);
endFill();
}
}
with (mainbutton_mc) {
clear();
lineStyle(1, _parent.colorDef.brdrColr, 100);
beginGradientFill(fillType, colors, alphas, ratios, matrix, spreadMethod);
moveTo(3, 1);
lineTo(1, 3);
lineTo(1, _parent.height - 3);
lineTo(3, _parent.height - 1);
lineTo(_parent.width - 3, _parent.height - 1);
lineTo(_parent.width - 1, _parent.height - 3);
lineTo(_parent.width - 1, 3);
lineTo(_parent.width - 3, 1);
lineTo(3, 1);
}
}
function setSize(w, h) {
__width = w;
__height = h;
invalidate();
}
}
Symbol 17 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 50 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 52 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 52 MovieClip in Symbol 137 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 137 MovieClip Frame 159
_root.play();
Symbol 149 MovieClip Frame 95
_parent.play();
Symbol 159 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 80
gotoAndPlay (20);
Symbol 171 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 15
stop();
Symbol 213 MovieClip Frame 30
stop();
Symbol 221 MovieClip Frame 1
var body = this.createEmptyMovieClip("body", 1);
this.onEnterFrame = function () {
with (body) {
clear();
lineStyle(15, 153);
moveTo(rft._x, rft._y);
lineTo(rkn._x, rkn._y);
lineTo(dck._x, dck._y);
lineTo(lkn._x, lkn._y);
lineTo(lft._x, lft._y);
moveTo(dck._x, dck._y);
lineTo(nck._x, nck._y);
lineTo(rel._x, rel._y);
lineTo(rhd._x, rhd._y);
moveTo(nck._x, nck._y);
lineTo(lel._x, lel._y);
lineTo(lhd._x, lhd._y);
}
};
Symbol 221 MovieClip Frame 30
gotoAndPlay (2);
Symbol 221 MovieClip Frame 33
gotoAndPlay ("jumpingfar");
Symbol 221 MovieClip Frame 37
gotoAndPlay ("jumpingfar");
Symbol 221 MovieClip Frame 38
_parent.jump = true;
stop();
Symbol 221 MovieClip Frame 39
_parent.jump = false;
Symbol 221 MovieClip Frame 43
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 230 Button
on (release) {
_root.gotoAndStop("TheGame");
}
Symbol 231 MovieClip Frame 1
stop();
var scre;
var s = 0;
var beep = new Sound(this);
beep.setVolume(50);
beep.attachSound("beep");
beep.start(0, 0);
beep.onSoundComplete = function () {
beep.start(0, 0);
};
this.onEnterFrame = function () {
if (_parent.score > 0) {
s = s + 10;
} else {
s = s - 10;
}
scre.text = s.toString();
if (((s >= _parent.score) && (_parent.score > 0)) || ((s <= _parent._score) && (_parent.score < 0))) {
s = _parent.score;
scre.text = _parent.score.toString();
beep.onSoundComplete = function () {
return(undefined);
};
gotoAndStop (2);
}
};
Symbol 231 MovieClip Frame 2
var rew = "";
if (s <= -500) {
rew = "You should stop playing this game and go outside... You suck!";
} else if (s <= -200) {
rew = "Have you slept at all last night?";
} else if (s <= -100) {
rew = "I hope you're stoned or drunk. It's humanly impossible to be so bad.";
} else if (s < 0) {
rew = "You should practice more because that's a terrible score.";
} else if (s == 0) {
rew = "Don't be sad. I'm sure you can do better if you try again!";
}
if (s >= 0) {
rew = "Maybe this is your first time. Practice more!";
}
if (s >= 100) {
rew = "This is a great score...for a 3 year old. For you, it's pretty bad.";
}
if (s >= 200) {
rew = "Keep practicing, maybe you'll get a higher score.";
}
if (s >= 300) {
rew = "I'm sure you can do better than that. Good effort nonetheless!";
}
if (s >= 400) {
rew = "This is pretty good if you're a begginer.";
}
if (s >= 500) {
rew = "Nice. I dare you to try to beat that score!";
}
if (s >= 600) {
rew = "You are pretty good at this game. I'm sure you can do much better, though!";
}
if (s >= 700) {
rew = "Those are some pretty agile fingers you've got there!";
}
if (s >= 800) {
rew = "This is a score worth spending time trying to beat!";
}
if (s >= 900) {
rew = "Keep playing and maybe you'll have a four-numbered score! Go you!";
}
if (s >= 1000) {
rew = "Wow! You've really got it! Play more!!!";
}
if (s >= 1200) {
rew = "Amazing score!";
}
if (s >= 1400) {
rew = "Please tell me you did not cheat! This is an incredible score!";
}
if (s >= 1600) {
rew = "JESUS CHRIST! How did you pull that off!?";
}
if (s >= 1800) {
rew = "You are so close to a perfect score, it's not even funny. Bless your soul!";
}
if (s == 2000) {
rew = "PERFECT SCORE! I adore you. Thanks for playing!";
}
Reward.text = rew;
Symbol 237 Button
on (release) {
_root.gotoAndStop("TheGame");
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 1
_root.pussy = true;
Instance of Symbol 240 MovieClip in Symbol 244 MovieClip Frame 1
on (release) {
if (!_root.pussy) {
_root.pussy = true;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.pussy) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 243 MovieClip in Symbol 244 MovieClip Frame 1
on (release) {
if (_root.pussy) {
_root.pussy = false;
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.pussy) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 250 Button
on (release) {
play();
}
Symbol 251 Button
on (release) {
gotoAndStop ("Help");
}
Symbol 255 Button
on (release) {
gotoAndStop (10);
}
Symbol 256 MovieClip Frame 10
stop();
Symbol 256 MovieClip Frame 11
_root.gotoAndStop("TheGame");