Frame 1 (3.21 KiB) ●
function SoundStart(type) {
var _local1 = new Sound();
if (SoundON) {
_local1.attachSound(type);
_local1.start(0, 1);
_local1.setVolume(VolumeVar);
}
}
function MusicStart(type) {
if (SoundON) {
MusicPlay.stop;
MusicPlay.attachSound(type);
MusicPlay.start(0, 100);
MusicPlay.setVolume(VolumeVar);
}
}
function MenuBegin() {
stopAllSounds();
MusicStart("mySong2");
}
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);
}
var SoundON = new Boolean();
SoundON = true;
var MusicPlay = new Sound();
var VolumeVar = new Number(50);
VolumeVar = 50;
__com_mochibot__("c62a4f36", this, 10301, true);
loadMenu();
function SquareFunctions() {
if (makeLine) {
_root["line" + lineNum].lineTo(_xmouse, _ymouse);
newAppear = false;
lineNum = _level0.getNextHighestDepth();
allLines[visNum].removeMovieClip();
visNum++;
_root.createEmptyMovieClip("line" + lineNum, lineNum);
_root["line" + lineNum].lineStyle(5, 16777215, 100);
_root["line" + lineNum].moveTo(_xmouse, _ymouse);
allLines.push(_root["line" + lineNum]);
lineLife.push(25);
Ball._x = _xmouse;
Ball._y = _ymouse;
}
}
function onEnterFrame() {
SquareFunctions();
}
function Destroy() {
Mouse.hide();
Counter_o2._xscale = 0;
Counter_o2._visible = false;
Revert();
i = 0;
while (i < allSquares.length) {
allSquares[i].removeMovieClip();
i++;
}
i = 0;
while (i < allLines.length) {
allLines[i].removeMovieClip();
i++;
}
}
var bestScoreCount = new Number(-1);
bestScoreCount = -1;
var enterNumber = new Number(0);
var lineNum = new Number(1);
var makeLine = new Boolean(true);
var visNum = new Number(-10);
var allLines = new Array();
var lineLife = new Array();
var Level = new Number();
var newScoreCount = new Number(0);
newScoreCount = 0;
Mouse.hide();
Counter_o._xscale = 0;
_level0.attachMovie("Ball", "Ball", -10200);
var savefile = SharedObject.getLocal("Aqueous");
if (savefile.data.bestScoreCount == undefined) {
savefile.data.bestScoreCount = 0;
}
bestScoreCount = savefile.data.bestScoreCount;
enterNumber = bestScoreCount;
stop();
Frame 2 (8 B)
stop();
Frame 3 (55 B)
_level0.Text_a.gotoAndPlay(3);
Counter_o._xscale = 0;
Frame 4 (27 B)
TopP.Enter.enabled = true;
Frame 5 (13.41 KiB) ● ●
function FirstTime() {
Mouse.hide();
Revert();
_level0.attachMovie("Ball", "Ball", -10200);
ScoreCount = 0;
k = 0;
while (k < 1) {
SetUp();
k++;
}
}
function SetUp() {
if (allSpeed < 3) {
allSpeed = allSpeed + 0.025;
}
Mouse.hide();
SquareNum = _level0.getNextHighestDepth();
_level0.attachMovie("Square", "Square" + SquareNum, SquareNum);
allSquares.push(_level0["Square" + SquareNum]);
if ((Math.random() * 2) > 1) {
_level0["Square" + SquareNum]._x = Math.random() * 600;
_level0["Square" + SquareNum]._y = -20;
_level0["Square" + SquareNum].xType = true;
} else {
_level0["Square" + SquareNum]._y = Math.random() * 450;
_level0["Square" + SquareNum]._x = -20;
_level0["Square" + SquareNum].xType = false;
_level0["Square" + SquareNum].isHit = false;
}
if ((Math.random() * 2) > 1) {
_level0["Square" + SquareNum].rotations = 1;
} else {
_level0["Square" + SquareNum].rotations = -1;
}
_level0["Square" + SquareNum].Points = [false, false, false, false];
switch (_level0.Level) {
case 1 :
Depth = (Math.random() * 30) + 70;
_level0["Square" + SquareNum]._alpha = Depth;
_level0["Square" + SquareNum]._xscale = Depth;
_level0["Square" + SquareNum]._yscale = Depth;
_level0["Square" + SquareNum].Speed = allSpeed + (Math.random() * 1);
_level0["Square" + SquareNum].onEnterFrame = SquareMover1;
return;
case 2 :
if (myAction && (_level0["Square" + SquareNum].xType)) {
_level0["Square" + SquareNum]._x = XX;
}
if (myAction && (!_level0["Square" + SquareNum].xType)) {
_level0["Square" + SquareNum]._y = YY;
}
if (isBig) {
Depth = 150;
} else if (isTiny) {
Depth = 50;
} else {
Depth = (Math.random() * 30) + 70;
}
_level0["Square" + SquareNum]._alpha = Depth;
_level0["Square" + SquareNum]._xscale = Depth;
_level0["Square" + SquareNum]._yscale = Depth;
if (BonusGo) {
chance = Math.floor(Math.random() * 50);
bType = Math.floor(Math.random() * 7);
if (chance > 8) {
_level0["Square" + SquareNum].Bonus = true;
_level0["Square" + SquareNum].BonusType = Bonuses[bType];
}
_level0["Square" + SquareNum].bType = bType;
} else {
_level0["Square" + SquareNum].Bonus = false;
}
if (goQuick) {
_level0["Square" + SquareNum].Speed = 4;
} else if (goSlow) {
_level0["Square" + SquareNum].Speed = 0.3;
} else {
_level0["Square" + SquareNum].Speed = allSpeed + (Math.random() * 1);
}
_level0["Square" + SquareNum].onEnterFrame = SquareMover2;
return;
case 3 :
if (myAction && (_level0["Square" + SquareNum].xType)) {
_level0["Square" + SquareNum]._x = XX;
}
if (myAction && (!_level0["Square" + SquareNum].xType)) {
_level0["Square" + SquareNum]._y = YY;
}
if (isBig) {
Depth = 150;
} else if (isTiny) {
Depth = 50;
} else {
Depth = (Math.random() * 30) + 70;
}
_level0["Square" + SquareNum]._alpha = Depth;
_level0["Square" + SquareNum]._xscale = Depth;
_level0["Square" + SquareNum]._yscale = Depth;
if (BonusGo) {
chance = Math.floor(Math.random() * 10);
bType = Math.floor(Math.random() * 7);
if (chance > 8) {
_level0["Square" + SquareNum].Bonus = true;
_level0["Square" + SquareNum].BonusType = Bonuses[bType];
}
_level0["Square" + SquareNum].bType = bType;
} else {
_level0["Square" + SquareNum].Bonus = false;
}
if (goQuick) {
_level0["Square" + SquareNum].Speed = 4;
} else if (goSlow) {
_level0["Square" + SquareNum].Speed = 0.3;
} else {
_level0["Square" + SquareNum].Speed = allSpeed + (Math.random() * 1);
}
_level0["Square" + SquareNum].onEnterFrame = SquareMover2;
return;
case 4 :
if (myAction && (_level0["Square" + SquareNum].xType)) {
_level0["Square" + SquareNum]._x = XX;
}
if (myAction && (!_level0["Square" + SquareNum].xType)) {
_level0["Square" + SquareNum]._y = YY;
}
if (isBig) {
Depth = 150;
} else if (isTiny) {
Depth = 50;
} else {
Depth = (Math.random() * 30) + 70;
}
_level0["Square" + SquareNum]._alpha = Depth;
_level0["Square" + SquareNum]._xscale = Depth;
_level0["Square" + SquareNum]._yscale = Depth;
if (BonusGo) {
chance = Math.floor(Math.random() * 15000);
bType = Math.floor(Math.random() * 7);
if (chance > 8) {
_level0["Square" + SquareNum].Bonus = true;
_level0["Square" + SquareNum].BonusType = Bonuses[bType];
}
_level0["Square" + SquareNum].bType = bType;
} else {
_level0["Square" + SquareNum].Bonus = false;
}
if (goQuick) {
_level0["Square" + SquareNum].Speed = 4;
} else if (goSlow) {
_level0["Square" + SquareNum].Speed = 0.3;
} else {
_level0["Square" + SquareNum].Speed = (Math.random() * 4) + 2;
}
_level0["Square" + SquareNum].onEnterFrame = SquareMover2;
}
}
function doBonus(BonusType) {
Counter_o._xscale = 100;
BonusGo = false;
sp1 = 0;
while (sp1 < allSquares.length) {
allSquares[sp1].Bonus = false;
sp1++;
}
switch (BonusType) {
case "slow" :
Bonus.Bonus.Bonus.text = "Slow Mode";
Bonus.play();
sp = 0;
while (sp < allSquares.length) {
allSquares[sp].Speed = 0.3;
sp++;
}
goSlow = true;
break;
case "red" :
Counter_o._xscale = 20;
Bonus.Bonus.Bonus.text = "Frenzy";
Bonus.play();
isRed = true;
sp = 0;
while (sp < allSquares.length) {
allSquares[sp].gotoAndStop(2);
sp++;
}
break;
case "tiny" :
Bonus.Bonus.Bonus.text = "Tiny Mode";
Bonus.play();
isTiny = true;
lineSize = 1;
Ball._xscale = 50;
Ball._yscale = 50;
sp = 0;
while (sp < allSquares.length) {
allSquares[sp]._xscale = 50;
allSquares[sp]._yscale = 50;
sp++;
}
break;
case "invinicble" :
Bonus.Bonus.Bonus.text = "Invincibility";
Bonus.play();
Invince = true;
lineColour = 16711680 /* 0xFF0000 */;
Ball.gotoAndStop(2);
break;
case "fast" :
Bonus.Bonus.Bonus.text = "Fast Mode";
Bonus.play();
sp = 0;
while (sp < allSquares.length) {
allSquares[sp].Speed = 5;
sp++;
}
goQuick = true;
break;
case "giant" :
Bonus.Bonus.Bonus.text = "Giant Mode";
Bonus.play();
isBig = true;
lineSize = 10;
Ball._xscale = 150;
Ball._yscale = 150;
sp = 0;
while (sp < allSquares.length) {
allSquares[sp]._xscale = 150;
allSquares[sp]._yscale = 150;
sp++;
}
break;
case "reverse" :
Bonus.Bonus.Bonus.text = "Inverted";
Bonus.play();
Invert = true;
break;
case "action" :
Bonus.Bonus.Bonus.text = "Attack Mode";
Bonus.play();
myAction = true;
}
}
function downCount() {
Counter_o._xscale = Counter_o._xscale - 0.175;
if (Counter_o._xscale < 0) {
Revert();
Counter_o._xscale = 0;
}
}
function Revert() {
myAction = false;
isRed = false;
isBig = false;
isTiny = false;
Counter_o._xscale = 0;
goQuick = false;
goSlow = false;
BonusGo = true;
Invince = false;
Invert = false;
lineColour = 16777215 /* 0xFFFFFF */;
Ball._xscale = 100;
Ball._yscale = 100;
lineSize = 5;
Ball.gotoAndStop(1);
}
function SquareMover1() {
Speed = 20;
if ((XX < this._x) && (Math.abs(YY - this._y) < Speed)) {
this.Points[0] = true;
}
if ((XX > this._x) && (Math.abs(YY - this._y) < Speed)) {
this.Points[1] = true;
}
if ((YY < this._y) && (Math.abs(XX - this._x) < Speed)) {
this.Points[2] = true;
}
if ((YY > this._y) && (Math.abs(XX - this._x) < Speed)) {
this.Points[3] = true;
}
if (this.hitTest(_level0.Ball) && (!this.isHit)) {
if (this._currentframe > 1) {
if (this._currentframe < 3) {
this.isHit = true;
this.Points = [false, false, false, false];
this.gotoAndStop(8);
circled++;
ScoreCount++;
SetUp();
SoundStart("Swing");
if (ScoreCount < 20) {
SetUp();
}
if (_level0.Text_a._currentframe < 51) {
_level0.Text_a.gotoAndPlay(51);
}
}
} else {
makeLine = false;
SoundStart("Error");
Destroy();
_level0.gotoAndPlay("Game");
}
}
if (((((this.Points[0] + this.Points[1]) + this.Points[2]) + this.Points[3]) == 4) && (!this.isHit)) {
this.Points = [false, false, false, false];
this.gotoAndStop(2);
}
this._rotation = this._rotation + this.rotations;
if (this.xType) {
this._y = this._y + (this.Speed * 2.5);
if (this._y > 470) {
SetUp();
this.removeMovieClip();
}
} else {
this._x = this._x + (this.Speed * 2.5);
if (this._x > 620) {
SetUp();
this.removeMovieClip();
}
}
}
function SquareMover2() {
Speed = 20;
if ((XX < this._x) && (Math.abs(YY - this._y) < Speed)) {
this.Points[0] = true;
}
if ((XX > this._x) && (Math.abs(YY - this._y) < Speed)) {
this.Points[1] = true;
}
if ((YY < this._y) && (Math.abs(XX - this._x) < Speed)) {
this.Points[2] = true;
}
if ((YY > this._y) && (Math.abs(XX - this._x) < Speed)) {
this.Points[3] = true;
}
if (this.hitTest(_level0.Ball) && (!this.isHit)) {
if (this._currentframe > 1) {
if (this._currentframe < 7) {
if (this.Bonus && (!isRed)) {
SoundStart("Whaa");
doBonus(this.BonusType);
} else {
SoundStart("Swing");
}
this.isHit = true;
this.Points = [false, false, false, false];
this.gotoAndStop(8);
circled++;
ScoreCount++;
SetUp();
if (ScoreCount < 20) {
SetUp();
}
if (Level == 3) {
Counter_o2._xscale = Counter_o2._xscale + 2.5;
}
if (_level0.Text_a._currentframe < 51) {
_level0.Text_a.gotoAndPlay(51);
}
}
} else if (!Invince) {
makeLine = false;
Destroy();
SoundStart("Error");
_level0.gotoAndPlay("Game");
}
}
if (!isRed) {
if (((((this.Points[0] + this.Points[1]) + this.Points[2]) + this.Points[3]) == 4) && (!this.isHit)) {
this.Points = [false, false, false, false];
if (this.Bonus) {
if (this.bType < 5) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(6);
}
} else {
this.gotoAndStop(2);
}
}
} else if (!this.isHit) {
this.gotoAndStop(2);
}
this._rotation = this._rotation + this.rotations;
if (this.xType) {
this._y = this._y + (this.Speed * 2.5);
if (this._y > 470) {
SetUp();
this.removeMovieClip();
}
} else {
this._x = this._x + (this.Speed * 2.5);
if (this._x > 620) {
SetUp();
this.removeMovieClip();
}
}
}
function threeFun() {
Counter_o2._xscale = Counter_o2._xscale - 0.05;
if (Counter_o2._xscale < 0) {
Revert();
Destroy();
Counter_o2._xscale = 100;
}
}
function onEnterFrame() {
if (!BonusGo) {
downCount();
}
if (Level == 3) {
threeFun();
}
if (!Invert) {
XX = _xmouse;
YY = _ymouse;
} else {
XX = Stage.width - _xmouse;
YY = Stage.height - _ymouse;
}
if ((bestScoreCount < ScoreCount) && (Level == 1)) {
bestScoreCount = ScoreCount;
savefile.data.bestScoreCount = bestScoreCount;
}
newScoreCount = ScoreCount;
TopP.Score.text = ScoreCount;
TopP.bestScore.text = bestScoreCount;
_level0.SquareFunctions();
if (bestScoreCount > enterNumber) {
TopP.Enter._visible = true;
} else {
TopP.Enter._visible = false;
}
}
function SquareFunctions() {
if (makeLine) {
_root["line" + lineNum].lineTo(XX, YY);
newAppear = false;
lineNum = _level0.getNextHighestDepth();
allLines[visNum].removeMovieClip();
visNum++;
_root.createEmptyMovieClip("line" + lineNum, lineNum);
_root["line" + lineNum].lineStyle(lineSize, lineColour, 100);
_root["line" + lineNum].moveTo(XX, YY);
allLines.push(_root["line" + lineNum]);
lineLife.push(400);
Ball._x = XX;
Ball._y = YY;
}
}
function Destroy() {
_level0.TopP.Enter._visible = false;
allSpeed = 0.5;
Mouse.hide();
TopP.newScore.text = newScoreCount;
Counter_o2._xscale = 0;
Counter_o2._visible = false;
_level0.Bonus.gotoAndStop(1);
Revert();
i = 0;
while (i < allSquares.length) {
allSquares[i].removeMovieClip();
i++;
}
i = 0;
while (i < allLines.length) {
allLines[i].removeMovieClip();
i++;
}
}
var ScoreCount = new Number(0);
var allSquares = new Array();
var lineNum = new Number(1);
var Counter = new Number();
var newScoreCount = new Number(0);
var makeLine = new Boolean(true);
var goQuick = new Boolean();
var myAction = new Boolean();
var isRed = new Boolean();
var goSlow = new Boolean();
var isTiny = new Boolean();
var isBig = new Boolean();
var BonusGo = new Boolean();
var visNum = new Number(-10);
var lineSize = new Number(5);
var allLines = new Array();
var lineLife = new Array();
var XX = new Number();
var allSpeed = new Number();
allSpeed = 0.5;
var YY = new Number();
var Invince = new Boolean();
var Invert = new Boolean();
var lineColour = 16777215;
var Bonuses = new Array("slow", "red", "tiny", "invinicble", "action", "fast", "giant", "reverse");
op = 0;
while (op < 1000) {
_root["line" + op].removeMovieClip();
op++;
}
FirstTime();
if (Level == 3) {
Counter_o2._xscale = 100;
Counter_o2._visible = true;
} else {
Counter_o2._visible = false;
}
stop();
Frame 6 (1.35 KiB) ●
function menu_Link() {
getURL ("http://www.Peturo.com", _blank);
}
function menu_Link2() {
getURL ("http://www.Peturo.com", _blank);
}
function menu_Sound() {
if (_level0.SoundON) {
stopAllSounds();
_level0.SoundON = false;
} else {
_level0.SoundON = true;
_level0.MusicStart("mySong");
}
loadMenu();
}
function menu_High() {
_quality = "HIGH";
}
function menu_Med() {
_quality = "MEDIUM";
}
function menu_Low() {
_quality = "LOW";
}
function loadMenu() {
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Quality = new ContextMenuItem("High", menu_High, true);
Quality2 = new ContextMenuItem("Medium", menu_Med);
Quality3 = new ContextMenuItem("Low", menu_Low);
if (!_level0.SoundON) {
Sound_c = new ContextMenuItem("Sound On", menu_Sound, true);
} else {
Sound_c = new ContextMenuItem("Sound Off", menu_Sound, true);
}
Peturo_c = new ContextMenuItem("Visit Peturo", menu_Link);
Max_c = new ContextMenuItem("Play more games", menu_Link2);
MENU.customItems.push(Peturo_c);
MENU.customItems.push(Max_c);
MENU.customItems.push(Sound_c);
MENU.customItems.push(Quality);
MENU.customItems.push(Quality2);
MENU.customItems.push(Quality3);
_root.menu = MENU;
}
stopAllSounds();
_level0.MusicStart("mySong");
loadMenu();
_level0.TopP.Enter._visible = false;
_level0.TopP.Enter.enabled = false;
Symbol 3 MovieClip [Ball] Frame 1 (8 B)
stop();
Symbol 3 MovieClip [Ball] Frame 2 (8 B)
stop();
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip Frame 1 (76 B)
onClipEvent (load) {
_parent.gotoAndPlay(Math.floor(Math.random() * 20));
}
Symbol 9 MovieClip [Splode] Frame 47 (27 B)
_parent.removeMovieClip();
Symbol 13 MovieClip [Square] Frame 1 (8 B)
stop();
Symbol 18 Button (61 B)
on (release) {
_level0.Destroy();
_level0.gotoAndStop(6);
}
Symbol 21 Button (171 B)
on (release) {
_level0.enterNumber = _level0.bestScoreNumber;
_level0.Destroy();
Click.enabled = false;
_level0.TopP.Enter.enabled = false;
_level0.HS_Score.play();
}
Symbol 35 Button (102 B)
on (release) {
_level0.Destroy();
_level0.play();
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 40 Button (33 B)
on (release) {
_level0.play();
}
Symbol 41 Button (102 B)
on (release) {
_level0.Destroy();
_level0.play();
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 42 MovieClip Frame 1 (700 B)
_level0.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
Loading = PercentLoaded - (PercentLoaded % 1);
LNUM.text = Loading;
PercentLoaded2 = (PercentLoaded / 100) * 360;
Loading2 = PercentLoaded2 - (PercentLoaded2 % 1);
j = 1;
while (j < Bars.length) {
Bars[j].removeMovieClip();
j++;
}
var Bars = new Array(Bar);
_level0.All.OL.swapDepths(1000000);
i = 0;
while (i < PercentLoaded2) {
duplicateMovieClip (Bar, "Bar" + i, i);
Bars.push(_level0.All["Bar" + i]);
i++;
}
var Rotate = new Number(0);
c = 0;
while (c < Bars.length) {
Bars[c]._rotation = Rotate;
Rotate++;
c++;
}
if (PercentLoaded > 99) {
gotoAndPlay (3);
}
Instance of Symbol 30 MovieClip "OL" in Symbol 42 MovieClip Frame 1 (47 B)
onClipEvent (enterFrame) {
this._rotation++;
}
Symbol 42 MovieClip Frame 2 (17 B)
gotoAndPlay (1);
Symbol 42 MovieClip Frame 30 (8 B)
stop();
Symbol 46 Button (61 B)
on (release) {
getURL ("http://www.maxgames.com/", blank);
}
Symbol 53 Button (63 B)
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 56 MovieClip Frame 60 (8 B)
stop();
Symbol 70 MovieClip Frame 14 (8 B)
stop();
Symbol 71 MovieClip Frame 241 (23 B)
_level0.Intros.play();
Symbol 81 Button (58 B)
on (release) {
getURL ("http://www.Peturo.com", blank);
}
Symbol 83 MovieClip Frame 110 (29 B)
_level0.gotoAndStop("Menu");
Symbol 84 MovieClip Frame 1 (127 B)
stop();
function onEnterFrame() {
if (Key.isDown(83) && (Key.isDown(75))) {
_level0.gotoAndStop("Menu");
}
}
Symbol 84 MovieClip Frame 2 (8 B)
stop();
Symbol 87 MovieClip Frame 1 (8 B)
stop();
Symbol 91 MovieClip Frame 50 (8 B)
stop();
Symbol 91 MovieClip Frame 301 (8 B)
stop();
Symbol 99 MovieClip Frame 1 (8 B)
stop();
Symbol 106 Button (76 B)
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=821", blank);
}
Symbol 109 Button (321 B)
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = inputted.text;
ab20_09.x = _level0.bestScoreCount;
ab20_09.c = 821;
ab20_09.v = "AGVFHU";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_level0.enterNumber = _level0.bestScoreCount;
_level0.gotoAndStop(6);
_level0.HS_Score.gotoAndStop(1);
}
Symbol 110 MovieClip Frame 1 (43 B)
Score.text = _level0.bestScoreCount + "!";
Symbol 111 MovieClip Frame 1 (8 B)
stop();
Symbol 111 MovieClip Frame 100 (8 B)
stop();
Symbol 112 Button (61 B)
on (release) {
getURL ("http://www.maxgames.com/", blank);
}
Symbol 124 Button (76 B)
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=821", blank);
}
Symbol 131 Button (88 B)
on (release) {
_quality = "MEDIUM";
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 133 Button (86 B)
on (release) {
_quality = "HIGH";
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 135 Button (85 B)
on (release) {
_quality = "LOW";
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 138 Button (86 B)
on (press) {
MouseMove = true;
}
on (release, releaseOutside) {
MouseMove = false;
}
Symbol 141 Button (86 B)
on (press) {
MouseMove = true;
}
on (release, releaseOutside) {
MouseMove = false;
}
Symbol 142 MovieClip Frame 1 (825 B)
function onEnterFrame() {
if (MouseMove) {
if (_level0.Settings.Settings.Settings.Volume._xmouse > -30) {
if (_level0.Settings.Settings.Settings.Volume._xmouse < 30) {
_level0.Settings.Settings.Settings.Volume.Slider._x = _level0.Settings.Settings.Settings.Volume._xmouse;
} else {
_level0.Settings.Settings.Settings.Volume.Slider._x = 30;
}
} else {
_level0.Settings.Settings.Settings.Volume.Slider._x = -30;
}
}
_level0.VolumeVar = (_level0.Settings.Settings.Settings.Volume.Slider._x + 30) * 1.66666666666667;
_level0.MusicPlay.setVolume(_level0.VolumeVar);
_level0.savefile.data.VolumeVar = _level0.VolumeVar;
}
var MouseMove = new Boolean(false);
MouseMove = false;
_level0.Settings.Settings.Settings.Volume.Slider._x = (_level0.VolumeVar / 1.66666666666667) - 30;
Symbol 144 MovieClip Frame 1 (8 B)
stop();
Symbol 144 MovieClip Frame 20 (8 B)
stop();
Symbol 147 MovieClip Frame 1 (8 B)
stop();
Symbol 147 MovieClip Frame 2 (751 B)
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 821;
__top10_send__.kid = "AGVFHU";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
var _local1 = new String();
_local1 = ("Your Top Score: " + _level0.bestScoreCount) + newline;
var _local2 = 1;
i = 1;
while (i < 11) {
_local1 = _local1 + (((_local2 + ". ") + __top10_receive__["name" + i]) + ": ");
_local1 = _local1 + (__top10_receive__["score" + i] + newline);
_local2++;
i++;
}
}
myText.text = _local1;
};
stop();
Symbol 148 MovieClip Frame 1 (36 B)
HighScores.gotoAndStop(1);
stop();
Symbol 148 MovieClip Frame 20 (36 B)
HighScores.gotoAndStop(2);
stop();
Symbol 152 MovieClip Frame 1 (8 B)
stop();
Symbol 152 MovieClip Frame 20 (8 B)
stop();
Symbol 156 Button (191 B)
on (release) {
if (_parent.doClick[3]) {
_level0.MenuBegin();
_level0.Level = 1;
_level0.Destroy();
_level0.gotoAndPlay("Game");
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 159 Button (191 B)
on (release) {
if (_parent.doClick[2]) {
_level0.MenuBegin();
_level0.Level = 2;
_level0.Destroy();
_level0.gotoAndPlay("Game");
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 162 Button (191 B)
on (release) {
if (_parent.doClick[1]) {
_level0.MenuBegin();
_level0.Level = 3;
_level0.Destroy();
_level0.gotoAndPlay("Game");
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 165 Button (209 B)
on (release) {
stopAllSounds();
if (_parent.doClick[0]) {
_level0.MenuBegin();
_level0.Level = 4;
_level0.Destroy();
_level0.gotoAndPlay("Game");
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 167 MovieClip Frame 1 (8 B)
stop();
Symbol 167 MovieClip Frame 2 (466 B)
var ClickArray = new Array(Play.d, Play.c, Play.b);
var doClick = new Array(true, true, true, true);
doClick = [true, true, true, true];
var goto = new Number();
goto = Math.floor((_level0.bestScoreCount - 10) / 10);
goto = 3 - goto;
jas = 0;
while (jas < ClickArray.length) {
ClickArray[jas]._alpha = 100;
doClick[jas] = true;
jas++;
}
k = 0;
while (k < goto) {
ClickArray[k]._alpha = 30;
doClick[k] = false;
k++;
}
doClick[3] = true;
Symbol 167 MovieClip Frame 20 (8 B)
stop();
Symbol 173 Button (110 B)
on (release) {
getURL ("http://www.maxgames.com/", blank);
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 174 Button (108 B)
on (release) {
getURL ("http://www.Peturo.com/", blank);
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 175 Button (141 B)
on (release) {
KillMenu();
HighScores.play();
if (_currentframe < 40) {
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 176 Button (143 B)
on (release) {
KillMenu();
Instructions.play();
if (_currentframe < 40) {
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 177 Button (139 B)
on (release) {
KillMenu();
Settings.play();
if (_currentframe < 40) {
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 178 Button (135 B)
on (release) {
KillMenu();
Play.play();
if (_currentframe < 40) {
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 180 Button (109 B)
on (release) {
getURL ("http://www.maxgames.com", blank);
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 181 Button (107 B)
on (release) {
getURL ("http://www.Peturo.com", blank);
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 182 Button (187 B)
on (release) {
if (HighScores._currentframe < 5) {
HighScores.play();
KillMenu(HighScores);
} else {
KillMenu();
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 183 Button (193 B)
on (release) {
if (Instructions._currentframe < 5) {
Instructions.play();
KillMenu(Instructions);
} else {
KillMenu();
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 184 Button (181 B)
on (release) {
if (Settings._currentframe < 5) {
Settings.play();
KillMenu(Settings);
} else {
KillMenu();
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 185 Button (169 B)
on (release) {
if (Play._currentframe < 5) {
Play.play();
KillMenu(Play);
} else {
KillMenu();
play();
}
}
on (rollOver) {
_level0.SoundStart("Switch");
}
Symbol 186 MovieClip Frame 1 (451 B)
function KillMenu(type) {
if ((Settings._currentframe > 2) && (Settings != type)) {
Settings.gotoAndPlay(21);
}
if ((Instructions._currentframe > 2) && (Instructions != type)) {
Instructions.gotoAndPlay(21);
}
if ((HighScores._currentframe > 2) && (HighScores != type)) {
HighScores.gotoAndPlay(21);
}
if ((Play._currentframe > 2) && (Play != type)) {
Play.gotoAndPlay(21);
}
}
Symbol 186 MovieClip Frame 30 (8 B)
stop();
Symbol 186 MovieClip Frame 48 (8 B)
stop();
Symbol 186 MovieClip Frame 65 (18 B)
gotoAndStop (30);