Frame 1
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
_root.ttt = 5;
var muted = false;
Instance of Symbol 96 MovieClip in Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
framesLoaded = Math.ceil((loaded / total) * 100);
gotoAndStop(framesLoaded);
status.text = framesLoaded + " % completed";
if (framesLoaded >= 99) {
_root.gotoAndStop(2);
}
}
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 113 MovieClip in Frame 3
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 4
stop();
Frame 5
nextFrame();
Frame 6
function killSwitch() {
for (var _local2 in _root) {
if (typeof(_root[_local2]) == "movieclip") {
_root[_local2].removeMovieClip();
}
}
}
function runHurt() {
var _local2 = new Sound(this);
_local2.attachSound("bitbox");
_local2.start(0, 1);
}
function fall() {
if (Key.isDown(32)) {
for (var _local1 in loader) {
if ((typeof(loader[_local1]) == "movieclip") && (loader[_local1]._y < 300)) {
loader[_local1].removeMovieClip();
}
}
}
}
function depths() {
turret.swapDepths(k++);
turretBody.swapDepths(k++);
healthB.swapDepths(k++);
}
function leveling() {
switch (level) {
case 1 :
break;
case 2 :
rank = "L0: Not so good :(";
break;
case 3 :
rank = "L1: Meh.";
break;
case 4 :
rank = "L2: Shunned";
break;
case 5 :
rank = "L3: Mediocre";
break;
case 6 :
rank = "L4: Okay";
break;
case 7 :
rank = "L5: Snore";
break;
case 8 :
rank = "L6: Yawn...";
break;
case 9 :
rank = "L7: Okay";
break;
case 10 :
rank = "L8: Pretty Good";
break;
case 11 :
rank = "L9: Very nice!";
break;
case 12 :
rank = "L10: Fantastic.";
break;
case 13 :
rank = "L11: Great";
break;
case 14 :
rank = "L12: Above Average";
break;
case 15 :
rank = "L13: Tubular!";
break;
case 16 :
rank = "L14: ABOVE THE REST!";
break;
case 17 :
rank = "L15: INCREDIBLE!";
break;
case 18 :
rank = "L16: WOWZERS!";
break;
case 19 :
rank = "L17: EXCELLENT!";
break;
case 20 :
rank = "L18: WOW!";
break;
case 21 :
rank = "L29: TOO AWESOME!";
break;
case 22 :
rank = "L20: THE BEST!";
}
if (eGoal < 1) {
eGoal = 1;
}
if (eKilled > (level * 2)) {
eKilled = 0;
level++;
levelPop.play();
levelDisp = "level " + level;
}
}
function eneKey() {
eCounter++;
if (eCounter >= eGoal) {
eCounter = 0;
k++;
pork = random(15);
if (pork == 0) {
shel = attachMovie("power", "e" + k, k);
shel.num = level * 5;
shel.specType = "killNumbers";
} else {
shel = attachMovie("enemy", "e" + k, k);
shel.num = random(level) + 2;
shel.specType = "none";
}
shel.org = shel.num;
shel._xscale = (shel._yscale = 100 + (3 * shel.num));
enemies.push(k);
shel._x = random(Stage.width);
shel._y = -20;
shel._rotation = 180 + rot(shel._x, shel._y, turret._x, turret._y);
}
}
function turretRot() {
turret._rotation = rot(turret._x, turret._y, _xmouse, _ymouse);
if (turret._rotation < -80) {
turret._rotation = -80;
}
if (turret._rotation > 80) {
turret._rotation = 80;
}
turHit = false;
i = 0;
while (i < 20) {
iInc = (turretBody._width / 20) * i;
while (loader.hitTest((turretBody._x - (turretBody._width / 2)) + iInc, turretBody._y, true)) {
turHit = true;
turretBody._y--;
turret._y--;
healthB._y--;
}
i++;
}
}
function bullShot(num) {
hardDown = false;
k++;
turret.play();
shel = attachMovie("bullet", "b" + k, k);
bullets.push(k);
bCounter++;
point = {};
point.x = turret.inside._x;
point.y = turret.inside._y;
turret.localToGlobal(point);
shel._x = point.x;
shel._y = point.y;
shel._rotation = turret._rotation;
shel.myType = num;
shel.checkType = num;
shel.bSide.cSide.texter.text = num;
}
function moveBullets() {
i = 0;
while (i < bullets.length) {
curBull = _root["b" + bullets[i]];
curBull.bSide._y = curBull.bSide._y - 5;
if (curBull.bSide._y < -500) {
curBull.removeMovieClip();
bullets.splice(i, 1);
}
i++;
}
}
function moveEnemies() {
i = 0;
while (i < enemies.length) {
curBull = _root["e" + enemies[i]];
if (curBull.specType == "none") {
curBull.inside._y = curBull.inside._y + (2 + (curBull.num * 0.1));
} else {
curBull.inside._y = curBull.inside._y + 1;
}
curBull._xscale = (curBull._yscale = 100 + (3 * curBull.num));
if (curBull.inside._y > 600) {
curBull.removeMovieClip();
enemies.splice(i, 1);
}
point = {};
point.x = curBull.inside._x;
point.y = curBull.inside._y;
curBull.localToGlobal(point);
if (turretBody.hitTest(point.x, point.y, true)) {
turretBody.play();
runHurt();
l = 0;
while (l < 10) {
k++;
myPoint = {};
myPoint.x = _root["e" + enemies[i]].inside._x;
myPoint.y = _root["e" + enemies[i]].inside._y;
_root["e" + enemies[i]].localToGlobal(myPoint);
explode = attachMovie("death1", "j" + k, k);
explode.myType = random(2) + 1;
explode.gotoAndStop(2);
junk.push(k);
explode._x = myPoint.x;
explode._y = myPoint.y;
explode._xscale = (explode._yscale = random(300) + 100);
explode._rotation = random(360);
explode.xVel = (random(40) - 20) / 10;
explode.yVel = (random(80) - 40) / 10;
l++;
}
_root["e" + enemies[i]].removeMovieClip();
enemies.splice(i, 1);
}
i++;
}
}
function collision() {
clear();
i = 0;
while (i < bullets.length) {
j = 0;
while (j < enemies.length) {
if (_root["e" + enemies[j]].inside.hitTest(_root["b" + bullets[i]].bSide)) {
_root["e" + enemies[j]].num = _root["e" + enemies[j]].num - _root["b" + bullets[i]].myType;
if (_root["e" + enemies[j]].num >= 0) {
eKilled++;
tempScore = level * _root["e" + enemies[j]].myType;
scorePop.gotoAndPlay(2);
k++;
myPoint = {};
myPoint.x = _root["e" + enemies[j]].inside._x;
myPoint.y = _root["e" + enemies[j]].inside._y;
_root["e" + enemies[j]].localToGlobal(myPoint);
explode = attachMovie("hit1", "j" + k, k);
tap = Math.round(Math.random() * 16777215);
altColor = new Color(explode);
altColor.setRGB(tap);
happy.push(k);
explode._x = myPoint.x;
explode._y = myPoint.y;
explode._xscale = (explode._yscale = random(50) + 100);
explode._rotation = random(360);
explode.xVel = (random(40) - 20) / 5;
explode.yVel = (random(80) - 40) / 5;
explode.myType = _root["b" + bullets[i]].checkType;
_root["b" + bullets[i]].removeMovieClip();
bullets.splice(i, 1);
myPoint = {};
myPoint.x = _root["e" + enemies[j]].inside._x;
myPoint.y = _root["e" + enemies[j]].inside._y;
_root["e" + enemies[j]].localToGlobal(myPoint);
if (_root["e" + enemies[j]].num == 0) {
l = 0;
while (l < 20) {
k++;
myPoint = {};
myPoint.x = _root["e" + enemies[j]].inside._x;
myPoint.y = _root["e" + enemies[j]].inside._y;
_root["e" + enemies[j]].localToGlobal(myPoint);
explode = attachMovie("hit1", "j" + k, k);
explode.myType = _root["e" + enemies[j]].org;
tap = Math.round(Math.random() * 16777215);
altColor = new Color(explode);
altColor.setRGB(tap);
happy.push(k);
explode._x = myPoint.x;
explode._y = myPoint.y;
explode._xscale = (explode._yscale = random(50) + 100);
explode._rotation = random(360);
explode.xVel = (random(40) - 20) / 5;
explode.yVel = (random(80) - 40) / 5;
l++;
}
finalScore = finalScore + _root["e" + enemies[j]].org;
tw = attachMovie("scoreUp", "scoreUp" + k, k + 100);
tw._x = myPoint.x;
tw._y = myPoint.y;
tw.scoreHer = "+" + _root["e" + enemies[j]].org;
switch (_root["e" + enemies[j]].specType) {
case "none" :
_root["e" + enemies[j]].removeMovieClip();
enemies.splice(j, 1);
break;
case "singles" :
curPower = "singles";
break;
case "killNumbers" :
trace("KILL");
curPower = "killNumbers";
pUp.play();
powMessage = "Enemies Erased!";
lineStyle(4, 16777215, 60 - powerUp._currentframe);
moveTo(_root["e" + enemies[j]]._x, _root["e" + enemies[j]]._y);
lineTo(pUp._x, pUp._y);
_root["e" + enemies[j]].removeMovieClip();
enemies.splice(j, 1);
break;
case "pause" :
curPower = "pause";
}
}
} else if (_root["e" + enemies[j]].num < 0) {
runHurt();
_root["b" + bullets[i]].removeMovieClip();
bullets.splice(i, 1);
l = 0;
while (l < 10) {
k++;
myPoint = {};
myPoint.x = _root["e" + enemies[j]].inside._x;
myPoint.y = _root["e" + enemies[j]].inside._y;
_root["e" + enemies[j]].localToGlobal(myPoint);
explode = attachMovie("death1", "j" + k, k);
explode.myType = random(2) + 1;
explode.gotoAndStop(explode.myType);
junk.push(k);
explode._x = myPoint.x;
explode._y = myPoint.y;
explode._xscale = (explode._yscale = random(300) + 100);
explode._rotation = random(360);
explode.xVel = (random(40) - 20) / 10;
explode.yVel = (random(80) - 40) / 10;
l++;
}
_root["e" + enemies[j]].removeMovieClip();
enemies.splice(j, 1);
}
}
j++;
}
i++;
}
}
function moveHappy() {
i = 0;
while (i < happy.length) {
_root["j" + happy[i]]._x = _root["j" + happy[i]]._x + _root["j" + happy[i]].xVel;
_root["j" + happy[i]]._y = _root["j" + happy[i]]._y + _root["j" + happy[i]].yVel;
_root["j" + happy[i]].yVel = _root["j" + happy[i]].yVel + gravity;
_root["j" + happy[i]]._alpha = _root["j" + happy[i]]._alpha - 2;
if (_root["j" + happy[i]]._alpha < 1) {
_root["j" + happy[i]].removeMovieClip();
happy.splice(i, 1);
}
i++;
}
}
function moveJunk() {
i = 0;
while (i < junk.length) {
_root["j" + junk[i]]._x = _root["j" + junk[i]]._x + _root["j" + junk[i]].xVel;
_root["j" + junk[i]]._y = _root["j" + junk[i]]._y + _root["j" + junk[i]].yVel;
_root["j" + junk[i]].yVel = _root["j" + junk[i]].yVel + gravity;
if ((_root["j" + junk[i]]._y > yLine) || (loader.hitTest(_root["j" + junk[i]]._x, _root["j" + junk[i]]._y, true))) {
res = loader.attachMovie("death1", "hit" + k, k++);
res._x = _root["j" + junk[i]]._x;
res._y = _root["j" + junk[i]]._y;
res._xscale = (res._yscale = _root["j" + junk[i]]._xscale);
res.gotoAndStop(_root["j" + junk[i]].myType);
res._rotation = _root["j" + junk[i]]._rotation;
_root["j" + junk[i]].removeMovieClip();
junk.splice(i, 1);
}
i++;
}
}
function easing(pro, mov1, mov2, drift) {
switch (pro) {
case "x" :
mov1._x = mov1._x - (drift * ((mov1._x - mov2) / 2));
break;
case "y" :
mov1._y = mov1._y - (drift * ((mov1._y - mov2) / 2));
break;
case "xscale" :
mov1._xscale = mov1._xscale - (drift * ((mov1._xscale - mov2) / 2));
break;
case "yscale" :
mov1._yscale = mov1._yscale - (drift * ((mov1._yscale - mov2) / 2));
break;
case "width" :
mov1._width = mov1._width - (drift * ((mov1._width - mov2) / 2));
break;
case "height" :
mov1._height = mov1._height - (drift * ((mov1._height - mov2) / 2));
break;
case "alpha" :
mov1._alpha = mov1._alpha - (drift * ((mov1._alpha - mov2) / 2));
break;
case "rotation" :
mov1._rotation = mov1._rotation - (drift * ((mov1._rotation - mov2) / 2));
}
}
function dist(x1, y1, x2, y2) {
return(Math.sqrt(((x2 - x1) * (x2 - x1)) + ((y2 - y1) * (y2 - y1))));
}
function rot(circx, circy, prevx, prevy) {
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / Math.PI;
return(degrees + 90);
}
if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / Math.PI;
return(90 - degrees);
}
if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / Math.PI;
return(-(180 - degrees));
}
if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / Math.PI;
return(-(90 - degrees));
}
}
stop();
_quality = "HIGH";
loader.cacheAsBitmap = true;
var bullets = new Array();
var happy = new Array();
var enemies = new Array();
var junk = new Array();
var key1 = 49;
var key2 = 50;
var key3 = 51;
var level = 1;
var k = 1;
var rank = "ZZZZZZzzzz";
var hardDown = true;
var bCounter = 0;
var eCounter = 0;
var eGoal = 50;
var gravity = 0.5;
var levelDisp = ("level " + level);
var scoreDisp = 0;
var finalScore = 0;
var health = 100;
var globalSound = new Sound();
var curPower = "none";
var bmp1 = (new flash.display.BitmapData(loader._width, loader._height));
var gameMode = "running";
onEnterFrame = function () {
if (gameMode == "running") {
turretRot();
eneKey();
moveBullets();
moveEnemies();
moveJunk();
moveHappy();
collision();
leveling();
depths();
fall();
healthB.gotoAndStop(100 - health);
bg.gotoAndStop(Math.round(((470 - turret._y) / 470) * 100));
if (turretBody._y < myLine._y) {
stopAllSounds();
_root.attachMovie("gameOver", "gameOver", k++);
gameMode = "gameOver";
Key.removeListener(myListener);
}
}
};
var dCounter = 0;
var eKilled = 0;
var myListener = new Object();
myListener.onKeyDown = function () {
if (hardDown) {
if (Key.isDown(key2) && (gameMode == "running")) {
bullShot(2);
} else if (Key.isDown(key3) && (gameMode == "running")) {
bullShot(3);
} else if (Key.isDown(81)) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
} else if (Key.isDown(77)) {
if (!muted) {
globalSound.setVolume(0);
muted = true;
} else {
globalSound.setVolume(100);
muted = false;
}
} else if (Key.isDown(80)) {
if (gameMode == "paused") {
gameMode = "running";
pauseScreen.removeMovieClip();
} else if (gameMode == "running") {
gameMode = "paused";
attachMovie("pauseScreen", "pauseScreen", k++);
}
}
}
};
myListener.onKeyUp = function () {
hardDown = true;
};
Key.addListener(myListener);
var tempScore;
var yLine = 500;
Symbol 34 MovieClip [death1] Frame 1
stop();
Symbol 44 MovieClip Frame 1
onEnterFrame = function () {
ref.text = _parent._parent.scoreHer;
};
Symbol 46 MovieClip [scoreUp] Frame 20
this.removeMovieClip();
Symbol 56 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4, par4n) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.c2NvcmUy = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4n + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = finalName;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.finalScore;
bXlnYW1lX3Njb3JlX3ZhcmlhYmx2 = _root.level;
__rankz_send__("MjMwMWolZSVhJW4lcw==", "c0djc3Fqa2I=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl, bXlnYW1lX3Njb3JlX3ZhcmlhYmx2);
subsub._x = 4000;
}
Symbol 60 Button
on (release) {
getURL ("http://rankz.armorbot.com/one2three/", "_blank");
}
Symbol 64 Button
on (release) {
_root.gotoAndStop("rightBefore");
_root.killSwitch();
}
Symbol 68 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 76 Button
on (release) {
getURL ("http://armorgames.com/store/", "_blank");
}
Symbol 79 MovieClip [gameOver] Frame 100
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 87 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 96 MovieClip Frame 100
_root.gotoAndStop(2);
stop();
Symbol 164 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 103 Button
on (release) {
play();
}
Symbol 113 MovieClip Frame 126
_root.nextFrame();
Symbol 123 Button
on (release) {
gotoAndPlay ("end");
}
Symbol 131 MovieClip Frame 292
_root.nextFrame();
Symbol 135 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 31
stop();