Frame 1
var cmVisit = new ContextMenu();
cmVisit.hideBuiltInItems();
var cm_website = new ContextMenuItem();
cm_website.caption = "Visit Pixel Populace for more games!";
cm_website.onSelect = function () {
getURL ("http://www.pixelpopulace.com", "_blank");
};
cmVisit.customItems.push(cm_website);
this.menu = cmVisit;
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.bar.gotoAndStop(percentLoaded);
_root.varper = _root.percentLoaded + "%";
Frame 2
if (_root.percentLoaded == 100) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
Frame 7
_root.stat = "GAMERUN";
function sps() {
if (_root.maxpar <= 5) {
h = num;
while (h > 0) {
speed = Math.random() * 60;
i++;
this.attachMovie("destroy", "destroy" + i, this.getNextHighestDepth());
targ = "destroy" + i;
_root[targ].angle = Math.random() * 9360;
_root[targ]._x = cx;
_root[targ]._y = cy;
_root[targ].xmov = speed * Math.cos(_root[targ].angle);
_root[targ].ymov = speed * Math.sin(_root[targ].angle);
_root[targ].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if (this._y >= 1000) {
this.removeMovieClip();
}
if (this._y <= 0) {
this.removeMovieClip();
}
if (this._x <= 0) {
this.removeMovieClip();
}
if (this._x >= 1000) {
this.removeMovieClip();
}
};
h--;
}
_root.maxpar++;
}
}
function sps2() {
if (_root.maxpar <= 5) {
h = num;
while (h > 0) {
speed = Math.random() * 60;
i++;
this.attachMovie("destroy2", "destroy2" + i, this.getNextHighestDepth());
targ = "destroy2" + i;
_root[targ].angle = Math.random() * 9360;
_root[targ]._x = cx;
_root[targ]._y = cy;
_root[targ].xmov = speed * Math.cos(_root[targ].angle);
_root[targ].ymov = speed * Math.sin(_root[targ].angle);
_root[targ].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if (this._y >= 1000) {
this.removeMovieClip();
}
if (this._y <= 0) {
this.removeMovieClip();
}
if (this._x <= 0) {
this.removeMovieClip();
}
if (this._x >= 1000) {
this.removeMovieClip();
}
};
h--;
}
_root.maxpar++;
}
}
i = 0;
var speed = 2;
i = 0;
var speed = 2;
function death() {
_root.cx = _root.stp._x;
_root.cy = _root.stp._y;
_root.num = 300;
_root.sps();
_root.energy = -5;
_root.stp._visible = false;
clearInterval(particelgoal);
clearInterval(powerup);
_root.gotoAndStop("go");
Mouse.show();
}
_root.cstatus = 1;
_root.counter = 0;
_root.energy = 0;
stop();
function particles() {
_root.attachMovie("par1", "part" + _root.count, _root.count, _root.i++, _root.count++, _root.counter++, (_root.stat = "GAMERUN"), _root.stp.play());
}
function pset() {
_root.attachMovie("powerup", "power" + _root.count2, _root.count2, _root.i2++, _root.count2++);
}
function schweif() {
_root.attachMovie("schweif", "schwief" + scount, dephcount, scount++, (dephcount = dephcount + 5));
_root.attachMovie("schweif2", "schwief2" + scount, dephcount, scount++, (dephcount = dephcount + 5));
}
_root.count = 0;
_root.count2 = 10000;
scount = 0;
dephcount = 10;
particelgoal = setInterval(particles, 1000);
p1 = random(3000);
powerup = setInterval(pset, 25000);
Instance of Symbol 110 MovieClip "stp" in Frame 7
onClipEvent (enterFrame) {
if (_root.energy >= 100) {
_root.death();
}
}
Instance of Symbol 111 MovieClip "rand2" in Frame 7
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 111 MovieClip "rand" in Frame 7
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 111 MovieClip "rand3" in Frame 7
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 111 MovieClip "rand4" in Frame 7
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 113 MovieClip "cur" in Frame 7
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
this.getNextHighestDepth();
_rotation = _root._xmouse;
Mouse.hide();
if (_root.powerstatus == "GROW") {
if (_root.ptime <= 250) {
_width = (_width + 0.2);
_width = (_width + 0.2);
_height = (_height + 0.2);
_height = (_height + 0.2);
_root.ptime++;
} else if (_root.ptime >= 250) {
_width = (_width - 0.2);
_width = (_width - 0.2);
_height = (_height - 0.2);
_height = (_height - 0.2);
_root.ptime++;
}
if (_root.ptime >= 500) {
_root.ptime = 1000;
}
}
}
}
onClipEvent (load) {
startDrag (this, true, 24, 25, 775, 726);
}
onClipEvent (mouseMove) {
_root.schweif();
}
Instance of Symbol 129 MovieClip "sound" in Frame 7
onClipEvent (load) {
this._visible = false;
}
Frame 8
_root.stat = "GAMEOVER";
_root.sound.gotoAndStop(1);
Symbol 2 MovieClip [/schweif2] Frame 1
this._x = _root.cur._x;
this._y = _root.cur._y;
this._rotation = _root.cur._rotation;
Symbol 2 MovieClip [/schweif2] Frame 99
this.unloadMovie();
Symbol 3 MovieClip [schweif] Frame 1
this._x = _root.cur._x;
this._y = _root.cur._y;
this._rotation = _root.cur._rotation;
Symbol 3 MovieClip [schweif] Frame 10
this.unloadMovie();
Symbol 6 MovieClip Frame 1
stop();
Instance of Symbol 6 MovieClip in Symbol 7 MovieClip [powerup] Frame 1
onClipEvent (load) {
this.r1 = random(30) / 2;
this.r2 = random(30) / 2;
this.r3 = random(30) / 2;
this.r4 = random(30) / 2;
this._visible = false;
_parent._x = 400;
_parent._y = 275;
}
onClipEvent (load) {
_parent._x = _root.stp._x;
_parent._y = _root.stp._y;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_parent._x = _parent._x + this.r1;
_parent._x = _parent._x - this.r2;
_parent._y = _parent._y + this.r3;
_parent._y = _parent._y - this.r4;
if (_root.stat == "GAMEOVER") {
_parent.removeMovieClip();
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rand)) {
this.r3 = -r3;
this.r4 = -r4;
}
if (this.hitTest(_root.rand2)) {
this.r3 = -r3;
this.r4 = -r4;
}
if (this.hitTest(_root.rand3)) {
this.r1 = -r1;
this.r2 = -r2;
}
if (this.hitTest(_root.rand4)) {
this.r1 = -r1;
this.r2 = -r2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cur)) {
_root.stat = "GAMEOVER";
_root.cx = _root.stp._x;
_root.cy = _root.stp._y;
_root.num = 170;
_root.sps2();
}
}
Symbol 7 MovieClip [powerup] Frame 106
this.unloadMovie();
Instance of Symbol 6 MovieClip in Symbol 9 MovieClip [par1] Frame 1
onClipEvent (load) {
this.r1 = random(30) / 2;
this.r2 = random(30) / 2;
this.r3 = random(30) / 2;
this.r4 = random(30) / 2;
this._visible = false;
_parent._x = 400;
_parent._y = 275;
}
onClipEvent (load) {
_parent._x = _root.stp._x;
_parent._y = _root.stp._y;
}
onClipEvent (enterFrame) {
if (_root.cstatus == 1) {
_parent._x = _parent._x + this.r1;
_parent._x = _parent._x - this.r2;
_parent._y = _parent._y + this.r3;
_parent._y = _parent._y - this.r4;
if (_root.stat == "GAMEOVER") {
_parent.removeMovieClip();
}
if (_root.stat == "INVISIBLE") {
this.visible = false;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rand)) {
this.r3 = -r3;
this.r4 = -r4;
}
if (this.hitTest(_root.rand2)) {
this.r3 = -r3;
this.r4 = -r4;
}
if (this.hitTest(_root.rand3)) {
this.r1 = -r1;
this.r2 = -r2;
}
if (this.hitTest(_root.rand4)) {
this.r1 = -r1;
this.r2 = -r2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.cur)) {
_root.energy = _root.energy + 5;
_parent.unloadMovie();
_root.blende.play();
}
}
Symbol 9 MovieClip [par1] Frame 11
stop();
Symbol 13 MovieClip [destroy2] Frame 1
this._width = this._width + 6;
this._height = this._height + 6;
Symbol 13 MovieClip [destroy2] Frame 212
this.unloadMovie();
Symbol 15 MovieClip [destroy] Frame 1
this._width = this._width + 6;
this._height = this._height + 6;
Symbol 15 MovieClip [destroy] Frame 196
this.unloadMovie();
Symbol 21 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Instance of Symbol 22 MovieClip "pixel_mc" in Symbol 23 MovieClip Frame 1
onClipEvent (load) {
function reset() {
this._y = Math.floor(Math.random() * 40) + 5;
this._x = -10;
pixel_speed = (Math.random() * 3) + 1;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
this._x = this._x + pixel_speed;
if (this._x > 296) {
reset();
}
}
Symbol 26 MovieClip Frame 1
function flying_pixels() {
j = 2;
while (j <= num_pixels) {
var _local1 = "flying_pixels_mc" + j;
pixel_layer_mc.pixel_mc.duplicateMovieClip(_local1, j);
j++;
}
}
pixel_speed = 1;
num_pixels = 16;
flying_pixels();
Symbol 32 Button
on (rollOver) {
this.play();
}
on (release) {
getURL ("http://www.robot-creations.com", "_blank");
}
Symbol 35 Button
on (rollOut) {
this.play();
}
on (release) {
getURL ("http://www.robot-creations.com", "_blank");
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 8
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 162 MovieClip [__Packages.ab20] Frame 0
class ab20
{
function ab20 () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Symbol 50 Button
on (release) {
_root.nextFrame();
}
Symbol 60 Button
on (release) {
getURL ("http://www.robot-creations.com", "_blank");
}
Symbol 61 MovieClip Frame 145
_root.nextFrame();
Symbol 64 MovieClip Frame 1
_root.stop();
Symbol 64 MovieClip Frame 26
stop();
Symbol 69 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 76 MovieClip Frame 380
stop();
_root.nextFrame();
Symbol 91 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=478", "_blank");
}
Symbol 100 Button
on (release) {
getURL ("http://www.robot-creations.com", "_blank");
}
Symbol 101 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 103 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 105 Button
on (release) {
_root.gotoAndStop("maingame");
}
Symbol 106 MovieClip Frame 101
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 1
stop();
Instance of Symbol 119 MovieClip "bar" in Symbol 121 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.energy);
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 51
this.unloadMovie();
Symbol 129 MovieClip Frame 1
stop();
Symbol 133 Button
on (press) {
if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
}
}
Symbol 137 Button
on (release) {
if (_root.sound._currentframe != 2) {
_root.sound.gotoAndStop(2);
} else {
_root.sound.gotoAndStop(1);
}
}
Symbol 153 Button
on (release) {
if (_root.myname != "") {
ab20_09 = new LoadVars();
ab20_09.z = _root.myname;
ab20_09.x = ab20.encodeNum(_root.counter);
ab20_09.c = 478;
ab20_09.v = "AIEKJZ";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
getURL ("http://www.armorbot.com/mytable/?id=478", "_blank");
this.gotoAndStop(2);
} else if (_root.myname == "") {
_root.noname.play();
}
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 156 Button
on (release) {
_root.gotoAndStop("maingame");
}
Symbol 157 Button
on (release) {
getURL ("http://www.pixelpopulace.com", "_blank");
}
Symbol 158 MovieClip Frame 1
_root.myname = "";
Instance of Symbol 155 MovieClip "sscoremc" in Symbol 158 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 158 MovieClip Frame 52
stop();
Symbol 160 MovieClip Frame 1
stop();