Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("e1a687ae", this, 10301, true);
function setup() {
myFlag = 0;
Counter = -1;
totalFileSize = _root.getBytesTotal();
startBytes = _root.getBytesLoaded();
tickerStartLocationX = _root.theTicker._x;
tickerStartLocationY = _root.theTicker._y;
_global.up = 87;
_global.down = 83;
_global.rightward = 68;
_global.leftward = 65;
_global.jump = 32;
_global.hotKey_up = _global.up;
_global.hotKey_down = _global.down;
_global.hotKey_left = _global.leftward;
_global.hotKey_right = _global.rightward;
_global.hotKey_jump = _global.jump;
_root.crosshair.cacheAsBitmap = true;
Mouse.hide();
_global.FPSforTweenClass = 45;
_global.trailOn = true;
_global.soundOn = true;
_global.musicOn = true;
_global.myMusicPlayer = new Music();
_global.SoundManager = new SoundPlayer();
}
function run() {
mouseCurserAdjust();
preloaderStuff();
rotateAvatar();
}
function preloaderStuff() {
if (Counter == -1) {
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
myPercentLoaded = int(100 * amountLoaded);
_root.preload_txt.text = myPercentLoaded + "%";
tickerX = tickerStartLocationX + (myPercentLoaded * 2);
moveTicker(_root.theTicker, tickerX, tickerStartLocationY);
if ((amountLoaded >= 1) && (myFlag == 0)) {
myFlag = 1;
Counter = 30;
if (_global.latestLevel != 0) {
Counter = 0;
}
}
} else if (Counter == 0) {
okToPlay = true;
siteURL = "http://www.herointeractive.com";
siteURL2 = "http://herointeractive.com";
if ((_url.substr(0, siteURL.length) == siteURL) || (_url.substr(0, siteURL2.length) == siteURL2)) {
okToPlay = true;
}
if (okToPlay) {
if (_global.latestLevel == 0) {
_root.gotoAndPlay("loadSounds");
} else {
_root.gotoAndPlay("loadSounds");
}
}
} else {
Counter--;
}
}
function moveTicker(mc, xVal, yVal) {
var _local5 = xVal;
var _local6 = yVal;
var _local3 = 9E-5;
var _local4 = _global.FPSforTweenClass;
var _local7 = mc._x;
var _local8 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local7, _local5, _local3, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local8, _local6, _local3, true);
myTweening.FPS = _local4;
myTweening.FPS = _local4;
myTweening.onMotionFinished = function () {
};
}
function rotateAvatar() {
var _local2 = new Vector();
_local2._x = _xmouse - _root.pointer._x;
_local2._y = _ymouse - _root.pointer._y;
var _local3 = Math.atan2(_local2._y, _local2._x);
var _local4 = (360 * _local3) / (Math.PI*2);
_root.pointer._rotation = _local4;
}
function mouseCurserAdjust() {
_root.crosshair._x = _xmouse;
_root.crosshair._y = _ymouse;
}
function OpenArmorGames() {
getURL ("http://www.armorgames.com", "_blank");
}
function OpenHeroInteractive() {
getURL ("http://www.herointeractive.com", "_blank");
}
stop();
var myFlag;
var Counter;
var totalFileSize;
var startBytes;
var tickerStartLocationX;
var tickerStartLocationY;
var tickerX;
_global.dataVector = new DataObject();
_global.dataVector.mSet(9282);
var additionalMenu = new ContextMenu();
additionalMenu.hideBuiltInItems();
var NewItem = new ContextMenuItem("Play More Games!", OpenArmorGames);
additionalMenu.customItems.push(NewItem);
NewItem = new ContextMenuItem("This Game Developed by Hero Interactive", OpenHeroInteractive);
additionalMenu.customItems.push(NewItem);
_root.menu = additionalMenu;
Instance of Symbol 75 MovieClip in Frame 1
onClipEvent (load) {
_root.setup();
}
onClipEvent (enterFrame) {
_root.run();
}
Frame 3
function setup() {
killFakePointer();
_global.preloaderIsGone = false;
}
function run() {
mouseCurserAdjust();
rotateAvatar();
sendToAds();
}
function rotateAvatar() {
var _local2 = new Vector();
_local2._x = _xmouse - _root.pointer._x;
_local2._y = _ymouse - _root.pointer._y;
var _local3 = Math.atan2(_local2._y, _local2._x);
var _local4 = (360 * _local3) / (Math.PI*2);
_root.pointer._rotation = _local4;
}
function killFakePointer() {
_root.pointer.gotoAndPlay(2);
}
function moveLettersOff(mc, xVal, yVal) {
var _local5 = xVal;
var _local6 = yVal;
var _local3 = 0.75;
var _local4 = _global.FPSforTweenClass;
var _local7 = mc._x;
var _local8 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local7, _local5, _local3, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local8, _local6, _local3, true);
myTweening.FPS = _local4;
myTweening.FPS = _local4;
myTweening.onMotionFinished = function () {
};
}
function sendToAds() {
if (_global.preloaderIsGone) {
_root.gotoAndPlay("logos");
_global.preloaderIsGone = false;
}
}
function mouseCurserAdjust() {
_root.crosshair._x = _xmouse;
_root.crosshair._y = _ymouse;
}
stop();
Instance of Symbol 75 MovieClip in Frame 3
onClipEvent (load) {
_root.setup();
}
onClipEvent (enterFrame) {
_root.run();
}
Frame 5
function setup() {
}
function run() {
mouseCurserAdjust();
}
function mouseCurserAdjust() {
_root.crosshair._x = _xmouse;
_root.crosshair._y = _ymouse;
}
stop();
Instance of Symbol 75 MovieClip in Frame 5
onClipEvent (load) {
_root.setup();
}
onClipEvent (enterFrame) {
_root.run();
}
Frame 11
function setup() {
if (_global.musicOn == true) {
_global.myMusicPlayer.SetTrack("bluep_intro");
_global.myMusicPlayer.SetMaxVolume(100);
_global.myMusicPlayer.PlayWithCrossFade(0.5);
}
cacheItAll();
main_titleStartX = 118.8;
main_titleStartY = -129.6;
play_buttonStartX = 84;
play_buttonStartY = 521.4;
settings_buttonStartX = 166.5;
settings_buttonStartY = 521.4;
credits_buttonStartX = 247.7;
credits_buttonStartY = 521.4;
more_buttonStartX = 329.1;
more_buttonStartY = 521.4;
main_titleMainX = 118.8;
main_titleMainY = 170.4;
play_buttonMainX = 84;
play_buttonMainY = 291.4;
settings_buttonMainX = 166.5;
settings_buttonMainY = 291.4;
credits_buttonMainX = 247.7;
credits_buttonMainY = 291.4;
more_buttonMainX = 329.1;
more_buttonMainY = 291.4;
main_titleCreditsX = 123.8;
main_titleCreditsY = 33.4;
play_buttonCreditsX = 86;
play_buttonCreditsY = 441.4;
settings_buttonCreditsX = 168.5;
settings_buttonCreditsY = 441.4;
credits_buttonCreditsX = 249.7;
credits_buttonCreditsY = 441.4;
more_buttonCreditsX = 331.1;
more_buttonCreditsY = 441.4;
main_titleSettingsX = 89.8;
main_titleSettingsY = 80.4;
play_buttonSettingsX = 89;
play_buttonSettingsY = 179.3;
settings_buttonSettingsX = 171.5;
settings_buttonSettingsY = 179.3;
credits_buttonSettingsX = 252.7;
credits_buttonSettingsY = 179.3;
more_buttonSettingsX = 334.1;
more_buttonSettingsY = 179.3;
settings_menuStartX = 86.8;
settings_menuStartY = 517.3;
settings_menuEndX = 86.8;
settings_menuEndY = 217.3;
credits_menuStartX = 498.8;
credits_menuStartY = 165.8;
credits_menuEndX = 137.9;
credits_menuEndY = 165.8;
hotkeys_buttonStartX = 503.4;
hotkeys_buttonStartY = 213.9;
hotkeys_buttonEndX = 333.4;
hotkeys_buttonEndY = 213.9;
hotkeys_menuStartX = -290.6;
hotkeys_menuStartY = 247.6;
hotkeys_menuEndX = 99.4;
hotkeys_menuEndY = 247.6;
moveMe(_root.main_title, main_titleMainX, main_titleMainY);
moveMe(_root.play_button, play_buttonMainX, play_buttonMainY);
moveMe(_root.settings_button, settings_buttonMainX, settings_buttonMainY);
moveMe(_root.credits_button, credits_buttonMainX, credits_buttonMainY);
moveMe(_root.more_button, more_buttonMainX, more_buttonMainY);
hasFocus = "";
tweenClassBusy = false;
_global.goToGame = false;
_global.menuPage = "main";
_root.cleanupBullets();
_root.scaleIt(main_title, 100);
}
function run() {
_global.myMusicPlayer.RunPlayer();
mouseCurserAdjust();
}
function mouseCurserAdjust() {
_root.crosshair._x = _xmouse;
_root.crosshair._y = _ymouse;
}
function alphaIt(mc, scale) {
this.onEnterFrame = function () {
if (scale < mc._alpha) {
mc._alpha = mc._alpha - 3;
if (mc._alpha <= scale) {
mc._alpha = scale;
mc._alpha = scale;
delete this.onEnterFrame;
}
} else {
mc._alpha = mc._alpha + 3;
if (mc._alpha >= scale) {
mc._alpha = scale;
mc._alpha = scale;
delete this.onEnterFrame;
}
}
};
}
function scaleIt(mc, scale) {
this.onEnterFrame = function () {
if (scale < mc._xscale) {
mc._xscale = mc._xscale - 3;
mc._yscale = mc._yscale - 3;
if (mc._xscale <= scale) {
mc._xscale = scale;
mc._yscale = scale;
delete this.onEnterFrame;
}
} else {
mc._xscale = mc._xscale + 3;
mc._yscale = mc._yscale + 3;
if (mc._xscale >= scale) {
mc._xscale = scale;
mc._yscale = scale;
delete this.onEnterFrame;
}
}
};
}
function moveMe(mc, xVal, yVal) {
var _local6 = xVal;
var _local7 = yVal;
var _local4 = 0.9;
var _local5 = _global.FPSforTweenClass;
var _local8 = mc._x;
var _local9 = mc._y;
myTweening2 = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local8, _local6, _local4, true);
myTweening2 = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local9, _local7, _local4, true);
myTweening2.FPS = _local5;
myTweening2.FPS = _local5;
myTweening2.onMotionFinished = function () {
if (_global.goToGame) {
_root.gotoAndPlay("game");
_global.goToGame = false;
}
tweenClassBusy = false;
};
}
function OutputValue(fieldName, keyCode) {
var textRef = eval ("this." + fieldName);
var returnValue = "";
switch (keyCode) {
case 8 :
returnValue = "BACKSPACE";
break;
case 20 :
returnValue = "CAPSLOCK";
break;
case 17 :
returnValue = "CONTROL";
break;
case 46 :
returnValue = "DELETE";
break;
case 40 :
returnValue = "DOWN";
break;
case 35 :
returnValue = "END";
break;
case 13 :
returnValue = "ENTER";
break;
case 27 :
returnValue = "ESCAPE";
break;
case 36 :
returnValue = "HOME";
break;
case 45 :
returnValue = "INSERT";
break;
case 37 :
returnValue = "LEFT";
break;
case 34 :
returnValue = "PGDN";
break;
case 33 :
returnValue = "PGUP";
break;
case 39 :
returnValue = "RIGHT";
break;
case 16 :
returnValue = "SHIFT";
break;
case 32 :
returnValue = "SPACE";
break;
case 9 :
returnValue = "TAB";
break;
case 38 :
returnValue = "UP";
break;
case 186 :
returnValue = ";";
break;
case 187 :
returnValue = "=";
break;
case 189 :
returnValue = "-";
break;
case 191 :
returnValue = "/";
break;
case 192 :
returnValue = "`";
break;
case 219 :
returnValue = "[";
break;
case 220 :
returnValue = "\\";
break;
case 221 :
returnValue = "]";
break;
case 222 :
returnValue = "'";
break;
case 188 :
returnValue = ",";
break;
case 190 :
returnValue = ".";
break;
case 96 :
returnValue = "NUMPAD 0";
break;
case 97 :
returnValue = "NUMPAD 1";
break;
case 98 :
returnValue = "NUMPAD 2";
break;
case 99 :
returnValue = "NUMPAD 3";
break;
case 100 :
returnValue = "NUMPAD 4";
break;
case 101 :
returnValue = "NUMPAD 5";
break;
case 102 :
returnValue = "NUMPAD 6";
break;
case 103 :
returnValue = "NUMPAD 7";
break;
case 104 :
returnValue = "NUMPAD 8";
break;
case 105 :
returnValue = "NUMPAD 9";
break;
case 106 :
returnValue = "MULTIPLY";
break;
case 107 :
returnValue = "ADD";
break;
case 109 :
returnValue = "SUBTRACT";
break;
case 110 :
returnValue = "DECIMAL";
break;
case 111 :
returnValue = "DIVIDE";
break;
default :
returnValue = chr(keyCode);
returnValue.toUpperCase();
}
textRef.text = returnValue;
}
function UnselectOthers(myName) {
if (myName != "upClip") {
_root.hotkeys_menu.upClip.gotoAndStop(1);
} else {
hasFocus = myName;
}
if (myName != "downClip") {
_root.hotkeys_menu.downClip.gotoAndStop(1);
} else {
hasFocus = myName;
}
if (myName != "leftClip") {
_root.hotkeys_menu.leftClip.gotoAndStop(1);
} else {
hasFocus = myName;
}
if (myName != "rightClip") {
_root.hotkeys_menu.rightClip.gotoAndStop(1);
} else {
hasFocus = myName;
}
if (myName != "jumpClip") {
_root.hotkeys_menu.jumpClip.gotoAndStop(1);
} else {
hasFocus = myName;
}
}
function cacheItAll() {
_root.crosshair.cacheAsBitmap = true;
_root.play_button.cacheAsBitmap = true;
_root.settings_button.cacheAsBitmap = true;
_root.settings_button.cacheAsBitmap = true;
_root.credits_button.cacheAsBitmap = true;
_root.more_button.cacheAsBitmap = true;
_root.hotkeys_button.cacheAsBitmap = true;
}
stop();
var main_titleStartX;
var main_titleStartY;
var play_buttonStartX;
var play_buttonStartY;
var settings_buttonStartX;
var settings_buttonStartY;
var credits_buttonStartX;
var credits_buttonStartY;
var more_buttonStartX;
var more_buttonStartY;
var main_titleMainX;
var main_titleMainY;
var play_buttonMainX;
var play_buttonMainY;
var settings_buttonMainX;
var settings_buttonMainY;
var credits_buttonMainX;
var credits_buttonMainY;
var more_buttonMainX;
var more_buttonMainY;
var main_titleCreditsX;
var main_titleCreditsY;
var play_buttonCreditsX;
var play_buttonCreditsY;
var settings_buttonCreditsX;
var settings_buttonCreditsY;
var credits_buttonCreditsX;
var credits_buttonCreditsY;
var more_buttonCreditsX;
var more_buttonCreditsY;
var main_titleSettingsX;
var main_titleSettingsY;
var play_buttonSettingsX;
var play_buttonSettingsY;
var settings_buttonSettingsX;
var settings_buttonSettingsY;
var credits_buttonSettingsX;
var credits_buttonSettingsY;
var more_buttonSettingsX;
var more_buttonSettingsY;
var settings_menuStartX;
var settings_menuStartY;
var settings_menuEndX;
var settings_menuEndY;
var credits_menuStartX;
var credits_menuStartY;
var credits_menuEndX;
var credits_menuEndY;
var hotkeys_buttonStartX;
var hotkeys_buttonStartY;
var hotkeys_buttonEndX;
var hotkeys_buttonEndY;
var hotkeys_menuStartX;
var hotkeys_menuStartY;
var hotkeys_menuEndX;
var hotkeys_menuEndY;
var hasFocus;
var tweenClassBusy;
_root.onMouseDown = function () {
};
_root.play_button.onPress = function () {
if (!tweenClassBusy) {
tweenClassBusy = true;
moveMe(_root.credits_menu, credits_menuStartX, credits_menuStartY);
moveMe(_root.settings_menu, settings_menuEndX, settings_menuEndY + 300);
moveMe(_root.play_button, play_buttonStartX, play_buttonStartY);
moveMe(_root.settings_button, settings_buttonStartX, settings_buttonStartY);
moveMe(_root.credits_button, credits_buttonStartX, credits_buttonStartY);
moveMe(_root.more_button, more_buttonStartX, more_buttonStartY);
moveMe(_root.hotkeys_button, hotkeys_buttonStartX, hotkeys_buttonStartY);
moveMe(_root.hotkeys_menu, hotkeys_menuStartX, hotkeys_menuStartY);
_global.goToGame = true;
moveMe(_root.main_title, main_titleStartX, main_titleStartY);
_global.menuPage = "main";
}
};
_root.settings_button.onPress = function () {
if (!tweenClassBusy) {
tweenClassBusy = true;
scaleIt(main_title, 80);
moveMe(_root.credits_menu, credits_menuStartX, credits_menuStartY);
moveMe(_root.play_button, play_buttonSettingsX, play_buttonSettingsY);
moveMe(_root.settings_button, settings_buttonSettingsX, settings_buttonSettingsY);
moveMe(_root.credits_button, credits_buttonSettingsX, credits_buttonSettingsY);
moveMe(_root.more_button, more_buttonSettingsX, more_buttonSettingsY);
moveMe(_root.main_title, main_titleSettingsX, main_titleSettingsY);
moveMe(_root.settings_menu, settings_menuEndX, settings_menuEndY);
moveMe(_root.hotkeys_button, hotkeys_buttonEndX, hotkeys_buttonEndY);
moveMe(_root.hotkeys_menu, hotkeys_menuStartX, hotkeys_menuStartY);
_global.menuPage = "settings";
}
};
_root.credits_button.onPress = function () {
if (!tweenClassBusy) {
tweenClassBusy = true;
scaleIt(main_title, 100);
moveMe(_root.play_button, play_buttonCreditsX, play_buttonCreditsY);
moveMe(_root.settings_button, settings_buttonCreditsX, settings_buttonCreditsY);
moveMe(_root.credits_button, credits_buttonCreditsX, credits_buttonCreditsY);
moveMe(_root.more_button, more_buttonCreditsX, more_buttonCreditsY);
moveMe(_root.main_title, main_titleCreditsX, main_titleCreditsY);
moveMe(_root.settings_menu, settings_menuEndX, settings_menuEndY + 300);
moveMe(_root.credits_menu, credits_menuEndX, credits_menuEndY);
moveMe(_root.hotkeys_button, hotkeys_buttonStartX, hotkeys_buttonStartY);
moveMe(_root.hotkeys_menu, hotkeys_menuStartX, hotkeys_menuStartY);
_global.menuPage = "credits";
}
};
_root.hotkeys_button.onPress = function () {
if (!tweenClassBusy) {
tweenClassBusy = true;
moveMe(_root.settings_menu, settings_menuStartX, settings_menuStartY);
moveMe(_root.hotkeys_menu, hotkeys_menuEndX, hotkeys_menuEndY);
}
};
_root.more_button.onRelease = function () {
getURL ("http://www.armorgames.com/", "_blank");
};
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (hasFocus == "upClip") {
_global.hotKey_up = Key.getCode();
OutputValue("_root.hotkeys_menu.up_txt", _global.hotKey_up);
}
if (hasFocus == "downClip") {
_global.hotKey_down = Key.getCode();
OutputValue("_root.hotkeys_menu.down_txt", _global.hotKey_down);
}
if (hasFocus == "leftClip") {
_global.hotKey_left = Key.getCode();
OutputValue("_root.hotkeys_menu.left_txt", _global.hotKey_left);
}
if (hasFocus == "rightClip") {
_global.hotKey_right = Key.getCode();
OutputValue("_root.hotkeys_menu.right_txt", _global.hotKey_right);
}
if (hasFocus == "jumpClip") {
_global.hotKey_jump = Key.getCode();
OutputValue("_root.hotkeys_menu.jump_txt", _global.hotKey_jump);
}
};
Key.addListener(keyListener);
OutputValue("_root.hotkeys_menu.up_txt", _global.hotKey_up);
OutputValue("_root.hotkeys_menu.down_txt", _global.hotKey_down);
OutputValue("_root.hotkeys_menu.left_txt", _global.hotKey_left);
OutputValue("_root.hotkeys_menu.right_txt", _global.hotKey_right);
OutputValue("_root.hotkeys_menu.jump_txt", _global.hotKey_jump);
Instance of Symbol 75 MovieClip in Frame 11
onClipEvent (load) {
_root.setup();
}
onClipEvent (enterFrame) {
_root.run();
}
Frame 25
function setup() {
if (_global.musicOn == true) {
_global.myMusicPlayer.SetTrack("bluep_game");
_global.myMusicPlayer.SetMaxVolume(100);
_global.myMusicPlayer.PlayWithCrossFade(0.5);
}
cacheMovieClips();
maxSpeed = 6;
friction = 0.08;
numSensitivity = 0.6;
avatarLife = 1;
secondBulletCounter = 0;
numBulletDepth = 100000 /* 0x0186A0 */;
numBulletDepth2 = 200000 /* 0x030D40 */;
numEffectDepth = 500000 /* 0x07A120 */;
numEnemyDepth = 300000 /* 0x0493E0 */;
powerDepth = 400000 /* 0x061A80 */;
counter = 0;
minCounter = 200;
maxCounter = 400;
powerUpType = 1;
nextTween = 0;
isTouching = false;
isHeld = false;
parallel = false;
spread = false;
gun2 = false;
gun3 = false;
arrBullets = new Array();
arrEnemy = new Array();
lasersLeftPosX = _root.lazer._x - 600;
lasersLeftPosY = _root.lazer._y;
lasersRightPosX = _root.lazer._x;
lasersRightPosY = _root.lazer._y;
lasersTopPosX = _root.lazer2._x;
lasersTopPosY = _root.lazer2._y;
lasersBottomPosX = _root.lazer2._x;
lasersBottomPosY = _root.lazer2._y + 600;
_root.timer._visible = false;
startTime = getTimer();
myTime = getTimer();
stageState = 0;
verIndicator = 1;
horIndicator = 1;
newSecHitTest = 10;
secIncrem = 10;
prevScore = 0;
enemySetBase = _global.FPSforTweenClass * 5;
enemyIncrem = 0;
instDone = false;
startUpPeriod = true;
dyingProcess = false;
killAll = false;
enemyAppearSec = 1;
playerLives = 5;
_root.lives.lives_txt.text = "Lives: " + playerLives;
_global.jumping = false;
_global.jumping2 = false;
_global.mouseTest = false;
_global.shooting = false;
_global.oneTime = false;
_global.justGotHit = false;
_global.alreadyOut = true;
_global.cheat = false;
_global.up = _global.hotKey_up;
_global.down = _global.hotKey_down;
_global.rightward = _global.hotKey_right;
_global.leftward = _global.hotKey_left;
_global.jump = _global.hotKey_jump;
_root.powerUpMc.gotoAndPlay("instructions");
}
function run() {
_global.myMusicPlayer.RunPlayer();
myTime = getTimer();
circleTrapSnap();
enemyRandomness();
mouseCurserAdjust();
keepKeyboardInside();
keyboardListener();
moveKeyboardPointer();
rotateAvatar();
gunSizeAdjust();
shoootCheck();
lazerHitTest();
controlGameFlow();
getTimeString(myTime);
GetAndDisplayScore();
generatePowerUp();
powerUpHitTest();
controlInstruction();
}
function adjustLives() {
playerLives--;
_root.lives.lives_txt.text = "Lives: " + playerLives;
if (playerLives <= 0) {
_root.pointer.gotoAndPlay("dead");
} else {
_root.pointer.gotoAndPlay("hit");
}
}
function RunTimer() {
if (_root.timer._visible == true) {
var _local2 = Math.round(((effectTimer - getTimer()) / (effectLength * 1000)) * 100);
if (_local2 <= 0) {
HideTimer();
}
}
}
function HideTimer() {
_root.timer._visible = false;
}
function StartTimer() {
_root.timer._visible = true;
effectTimer = getTimer() + (effectLength * 1000);
}
function getTimeString(myTime) {
var _local4 = Math.floor(myTime / 1000);
if (_local4 > 60) {
var _local1 = myTime / 1000;
var _local3 = _local1 / 60;
if (_local1 > 59) {
_local1 = _local1 - (Math.floor(_local3) * 60);
}
var _local5;
var _local2;
if (_local3 < 10) {
_local2 = "0" + Math.floor(_local3);
} else {
_local2 = "" + Math.floor(_local3);
}
if (_local1 < 10) {
_local5 = (_local2 + ":0") + Math.floor(_local1);
} else if (_local1 == 0) {
_local5 = _local2 + ":00";
} else {
_local5 = (_local2 + ":") + Math.floor(_local1);
}
return(_local5);
}
if (_local4 < 10) {
var _local5 = "00:0" + Math.floor(_local4);
} else {
var _local5 = "00:" + Math.floor(_local4);
}
return(_local5);
}
function GetAndDisplayScore() {
var _local4 = getTimeString(myTime - startTime);
var _local3 = Math.round((((myTime - startTime) - 4000) / 1000) * 75);
if ((prevScore + 80) <= _local3) {
_global.cheat = true;
}
if (_local3 < 0) {
_local3 = 0;
}
_root.timerr.time_txt.text = "Time: " + _local4;
_root.score.score_txt.text = "Score: " + _local3;
_global.userScore = _local3;
prevScore = _local3;
}
function lazerHitTest() {
if (((((((((((((((((((_root.lazer.hitTest(_root.pointer) || (_root.lazer2.hitTest(_root.pointer))) || (_root.lazer3.hitTest(_root.pointer))) || (_root.lazer4.hitTest(_root.pointer))) || (_root.lazer5.hitTest(_root.pointer))) || (_root.lazer6.hitTest(_root.pointer))) || (_root.lazer7.hitTest(_root.pointer))) || (_root.lazer8.hitTest(_root.pointer))) || (_root.lazer9.hitTest(_root.pointer))) || (_root.lazer10.hitTest(_root.pointer))) || (_root.lazer11.hitTest(_root.pointer))) || (_root.lazer12.hitTest(_root.pointer))) || (_root.lazer13.hitTest(_root.pointer))) || (_root.lazer14.hitTest(_root.pointer))) || (_root.lazer15.hitTest(_root.pointer))) || (_root.lazer16.hitTest(_root.pointer))) || (_root.lazer17.hitTest(_root.pointer))) || (_root.lazer18.hitTest(_root.pointer))) || (_root.lazer19.hitTest(_root.pointer))) || (_root.lazer20.hitTest(_root.pointer))) {
if (((((!isTouching) && (!_global.jumping2)) && (!dyingProcess)) && (!_global.justGotHit)) && (!_global.shieldOn)) {
adjustLives();
cleanupBullets();
isTouching = true;
}
} else if (isTouching) {
isTouching = false;
}
}
function moveKeyboardPointer() {
_root.pointer._x = _root.pointer._x + vecMomentum._x;
_root.pointer._y = _root.pointer._y + vecMomentum._y;
}
function shoootCheck() {
_root.onMouseDown = function () {
if (((!startUpPeriod) && (!_global.justGotHit)) && (!dyingProcess)) {
_global.SoundManager.PlaySound("dink");
shootGun();
}
};
}
function keyboardListener() {
if ((!isHeld) && (!_global.justGotHit)) {
if (Key.isDown(_global.jump)) {
isHeld = true;
avatarJump();
}
if (!Key.isDown(_global.jump)) {
isHeld = false;
}
}
if (!Key.isDown(_global.jump)) {
isHeld = false;
}
if (Key.isDown(_global.up)) {
vecMomentum._y = vecMomentum._y - numSensitivity;
if (vecMomentum._y < (-1 * maxSpeed)) {
vecMomentum._y = -1 * maxSpeed;
}
} else if (Key.isDown(_global.down)) {
vecMomentum._y = vecMomentum._y + numSensitivity;
if (vecMomentum._y > maxSpeed) {
vecMomentum._y = maxSpeed;
}
} else if (vecMomentum._y > 0) {
vecMomentum._y = vecMomentum._y - friction;
if (Math.abs(vecMomentum._y) < 0.5) {
vecMomentum._y = 0;
}
} else {
vecMomentum._y = vecMomentum._y + friction;
if (Math.abs(vecMomentum._y) < 0.5) {
vecMomentum._y = 0;
}
}
if (Key.isDown(_global.leftward)) {
vecMomentum._x = vecMomentum._x - numSensitivity;
if (vecMomentum._x < (-1 * maxSpeed)) {
vecMomentum._x = -1 * maxSpeed;
}
} else if (Key.isDown(_global.rightward)) {
vecMomentum._x = vecMomentum._x + numSensitivity;
if (vecMomentum._x > maxSpeed) {
vecMomentum._x = maxSpeed;
}
} else if (vecMomentum._x > 0) {
vecMomentum._x = vecMomentum._x - friction;
if (Math.abs(vecMomentum._x) < 0.5) {
vecMomentum._x = 0;
}
} else {
vecMomentum._x = vecMomentum._x + friction;
if (Math.abs(vecMomentum._x) < 0.5) {
vecMomentum._x = 0;
}
}
}
function avatarJump() {
if (!_global.jumping) {
if (!dyingProcess) {
_global.SoundManager.PlaySound("hollow_push");
_root.pointer.gotoAndPlay("jump");
}
}
}
function gunSizeAdjust() {
if (_global.jumping) {
_root.pointer.gun._xscale = 140;
_root.pointer.gun._yscale = 140;
_root.pointer.gun._x = _root.pointer.gun._x + 0.2;
if (_root.pointer.gun._x >= 21) {
_global.jumping = false;
_root.pointer.gun._x = 19;
}
} else if (_root.pointer.gun._xscale >= 100) {
_root.pointer.gun._xscale = _root.pointer.gun._xscale - 15;
_root.pointer.gun._yscale = _root.pointer.gun._yscale - 15;
_root.pointer.gun._x = 19;
}
}
function keepKeyboardInside() {
if (_root.pointer._x <= _root.arena._x) {
_root.pointer._x = _root.arena._x;
if (_root.pointer._y <= _root.arena._y) {
_root.pointer._y = _root.arena._y;
} else if (_root.pointer._y >= (_root.arena._height + _root.arena._y)) {
_root.pointer._y = _root.arena._height + _root.arena._y;
}
} else if (_root.pointer._x >= (_root.arena._width + _root.arena._x)) {
_root.pointer._x = _root.arena._width + _root.arena._x;
if (_root.pointer._y <= _root.arena._y) {
_root.pointer._y = _root.arena._y;
} else if (_root.pointer._y >= (_root.arena._height + _root.arena._y)) {
_root.pointer._y = _root.arena._height + _root.arena._y;
}
} else if (_root.pointer._y <= _root.arena._y) {
_root.pointer._y = _root.arena._y;
} else if (_root.pointer._y >= (_root.arena._height + _root.arena._y)) {
_root.pointer._y = _root.arena._height + _root.arena._y;
}
}
function rotateAvatar() {
var _local2 = new Vector();
_local2._x = _xmouse - _root.pointer._x;
_local2._y = _ymouse - _root.pointer._y;
var _local3 = Math.atan2(_local2._y, _local2._x);
var _local4 = (360 * _local3) / (Math.PI*2);
_root.pointer._rotation = _local4;
}
function moveNavi_reset(mc) {
var _local5 = 51.7;
var _local6 = 460.2;
var _local3 = 0.75;
var _local4 = _global.FPSforTweenClass;
var _local7 = mc._x;
var _local8 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local7, _local5, _local3, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local8, _local6, _local3, true);
myTweening.FPS = _local4;
myTweening.FPS = _local4;
myTweening.onMotionFinished = function () {
};
}
function moveNavi_menu(mc) {
var _local5 = 52.7;
var _local6 = 460.2;
var _local3 = 0.75;
var _local4 = _global.FPSforTweenClass;
var _local7 = mc._x;
var _local8 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local7, _local5, _local3, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local8, _local6, _local3, true);
myTweening.FPS = _local4;
myTweening.FPS = _local4;
myTweening.onMotionFinished = function () {
};
}
function moveNavi_score(mc) {
var _local5 = 130.7;
var _local6 = 460.2;
var _local3 = 0.75;
var _local4 = _global.FPSforTweenClass;
var _local7 = mc._x;
var _local8 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local7, _local5, _local3, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local8, _local6, _local3, true);
myTweening.FPS = _local4;
myTweening.FPS = _local4;
myTweening.onMotionFinished = function () {
};
}
function moveNavi_back(mc) {
var _local5 = -100;
var _local6 = 460.2;
var _local3 = 0.75;
var _local4 = _global.FPSforTweenClass;
var _local7 = mc._x;
var _local8 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, _local7, _local5, _local3, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, _local8, _local6, _local3, true);
myTweening.FPS = _local4;
myTweening.FPS = _local4;
myTweening.onMotionFinished = function () {
};
}
function mouseCurserAdjust() {
_root.crosshair._x = _xmouse;
_root.crosshair._y = _ymouse;
}
function shootGun() {
var thisRef = this;
var _local6 = "avatarBullet_" + numBulletDepth;
var _local3 = new Vector();
_local3._x = Math.cos((Math.PI * _root.pointer._rotation) / 180) * 10;
_local3._y = Math.sin((Math.PI * _root.pointer._rotation) / 180) * 10;
var _local10 = {x:_root.pointer.emitter._x, y:_root.pointer.emitter._y};
_root.pointer.gun.localToGlobal(_local10);
_root.attachMovie("bullet_1", _local6, numBulletDepth);
_root[_local6]._x = _local10.x;
_root[_local6]._y = _local10.y;
_root[_local6].SetMovement(_local3._x, _local3._y);
_root[_local6]._enemy = false;
numBulletDepth++;
if (numBulletDepth >= 200000) {
numBulletDepth = 100000 /* 0x0186A0 */;
}
arrBullets.push(_local6);
_root[_local6].removeCallback = function (myName) {
thisRef.removeBullet(myName);
};
if (parallel) {
var _local5 = "avatarBullet_" + numBulletDepth;
var _local9 = {x:_root.pointer.emitter2._x, y:_root.pointer.emitter2._y};
_root.pointer.gun.localToGlobal(_local9);
_root.attachMovie("bullet_1", _local5, numBulletDepth);
_root[_local5]._x = _local9.x;
_root[_local5]._y = _local9.y;
_root[_local5].SetMovement(_local3._x, _local3._y);
_root[_local5]._enemy = false;
numBulletDepth++;
if (numBulletDepth >= 200000) {
numBulletDepth = 100000 /* 0x0186A0 */;
}
arrBullets.push(_local5);
_root[_local5].removeCallback = function (myName) {
thisRef.removeBullet(myName);
};
var _local4 = "avatarBullet_" + numBulletDepth;
var _local11 = {x:_root.pointer.emitter3._x, y:_root.pointer.emitter3._y};
_root.pointer.gun.localToGlobal(_local11);
_root.attachMovie("bullet_1", _local4, numBulletDepth);
_root[_local4]._x = _local11.x;
_root[_local4]._y = _local11.y;
_root[_local4].SetMovement(_local3._x, _local3._y);
_root[_local4]._enemy = false;
numBulletDepth++;
if (numBulletDepth >= 200000) {
numBulletDepth = 100000 /* 0x0186A0 */;
}
arrBullets.push(_local4);
_root[_local4].removeCallback = function (myName) {
thisRef.removeBullet(myName);
};
}
if (spread) {
var _local7 = new Vector();
var _local13 = _root.pointer._rotation - 10;
_local7._x = Math.cos((Math.PI * _local13) / 180) * 10;
_local7._y = Math.sin((Math.PI * _local13) / 180) * 10;
var _local5 = "avatarBullet_" + numBulletDepth;
var _local9 = {x:_root.pointer.emitter2._x, y:_root.pointer.emitter2._y};
_root.pointer.gun.localToGlobal(_local9);
_root.attachMovie("bullet_1", _local5, numBulletDepth);
_root[_local5]._x = _local9.x;
_root[_local5]._y = _local9.y;
_root[_local5].SetMovement(_local7._x, _local7._y);
_root[_local5]._enemy = false;
numBulletDepth++;
if (numBulletDepth >= 200000) {
numBulletDepth = 100000 /* 0x0186A0 */;
}
arrBullets.push(_local5);
_root[_local5].removeCallback = function (myName) {
thisRef.removeBullet(myName);
};
var _local8 = new Vector();
var _local12 = _root.pointer._rotation + 10;
_local8._x = Math.cos((Math.PI * _local12) / 180) * 10;
_local8._y = Math.sin((Math.PI * _local12) / 180) * 10;
var _local4 = "avatarBullet_" + numBulletDepth;
var _local11 = {x:_root.pointer.emitter3._x, y:_root.pointer.emitter3._y};
_root.pointer.gun.localToGlobal(_local11);
_root.attachMovie("bullet_1", _local4, numBulletDepth);
_root[_local4]._x = _local11.x;
_root[_local4]._y = _local11.y;
_root[_local4].SetMovement(_local8._x, _local8._y);
_root[_local4]._enemy = false;
numBulletDepth++;
if (numBulletDepth >= 200000) {
numBulletDepth = 100000 /* 0x0186A0 */;
}
arrBullets.push(_local4);
_root[_local4].removeCallback = function (myName) {
thisRef.removeBullet(myName);
};
}
}
function shootEnemyGun(vecDirX, vecDirY, ePosX, ePosY) {
var thisRef = this;
var _local4 = "enemyBullet_" + numBulletDepth2;
var _local5 = {x:ePosX, y:ePosY};
_root[_local4].localToGlobal(_local5);
_root.attachMovie("bullet_2", _local4, numBulletDepth2);
_root[_local4]._x = _local5.x;
_root[_local4]._y = _local5.y;
_root[_local4].SetMovement(vecDirX, vecDirY);
_root[_local4]._enemy = true;
numBulletDepth2++;
if (numBulletDepth2 >= 300000) {
numBulletDepth2 = 200000 /* 0x030D40 */;
}
arrBullets.push(_local4);
_global.SoundManager.PlaySound("blip_1");
_root[_local4].removeCallback = function (myName) {
thisRef.removeBullet(myName);
};
}
function removeBullet(strName) {
var _local1 = 0;
while (_local1 < arrBullets.length) {
if (strName == arrBullets[_local1]) {
arrBullets.splice(_local1, 1);
break;
}
_local1++;
}
}
function cleanupBullets() {
var _local2 = 0;
while (_local2 < arrBullets.length) {
_root[arrBullets[_local2]].removeMovieClip();
_local2++;
}
delete arrBullets;
arrBullets = new Array();
}
function moveLazerLeft(whichLazer) {
_root[whichLazer]._x = lasersRightX;
_root[whichLazer]._y = lasersRightY;
moveIt(_root[whichLazer], lasersLeftPosX, lasersLeftPosY, 3);
}
function moveLazerDown(whichLazer) {
_root[whichLazer]._x = lasersTopPosX;
_root[whichLazer]._y = lasersTopPosY;
moveIt(_root[whichLazer], lasersBottomPosX, lasersBottomPosY, 4);
}
function moveLazerRight(whichLazer) {
_root[whichLazer]._x = lasersLeftPosX;
_root[whichLazer]._y = lasersLeftPosY;
moveIt(_root[whichLazer], lasersRightPosX, lasersRightPosY, 3);
}
function moveLazerUp(whichLazer) {
_root[whichLazer]._x = lasersBottomPosX;
_root[whichLazer]._y = lasersBottomPosY;
moveIt(_root[whichLazer], lasersTopPosX, lasersTopPosY, 3);
}
function controlInstruction() {
if (!instDone) {
_root.powerUpMc.inst_up_txt.text = "Up: " + outputValue2(_global.up);
_root.powerUpMc.inst_down_txt.text = "Down: " + outputValue2(_global.down);
_root.powerUpMc.inst_left_txt.text = "Left: " + outputValue2(_global.leftward);
_root.powerUpMc.inst_right_txt.text = "Right: " + outputValue2(_global.rightward);
var _local3 = Math.round(myTime - startTime) / 1000;
if (_local3 >= 5) {
instDone = true;
_root.powerUpMc.gotoAndPlay("instructionsOut");
}
}
_root.powerUpMc.jumpText_txt.text = outputValue2(_global.jump);
}
function outputValue2(keyCode) {
var _local1 = "";
switch (keyCode) {
case 8 :
_local1 = "BACKSPACE";
break;
case 20 :
_local1 = "CAPSLOCK";
break;
case 17 :
_local1 = "CONTROL";
break;
case 46 :
_local1 = "DELETE";
break;
case 40 :
_local1 = "DOWN";
break;
case 35 :
_local1 = "END";
break;
case 13 :
_local1 = "ENTER";
break;
case 27 :
_local1 = "ESCAPE";
break;
case 36 :
_local1 = "HOME";
break;
case 45 :
_local1 = "INSERT";
break;
case 37 :
_local1 = "LEFT";
break;
case 34 :
_local1 = "PGDN";
break;
case 33 :
_local1 = "PGUP";
break;
case 39 :
_local1 = "RIGHT";
break;
case 16 :
_local1 = "SHIFT";
break;
case 32 :
_local1 = "SPACE";
break;
case 9 :
_local1 = "TAB";
break;
case 38 :
_local1 = "UP";
break;
case 186 :
_local1 = ";";
break;
case 187 :
_local1 = "=";
break;
case 189 :
_local1 = "-";
break;
case 191 :
_local1 = "/";
break;
case 192 :
_local1 = "`";
break;
case 219 :
_local1 = "[";
break;
case 220 :
_local1 = "\\";
break;
case 221 :
_local1 = "]";
break;
case 222 :
_local1 = "'";
break;
case 188 :
_local1 = ",";
break;
case 190 :
_local1 = ".";
break;
case 96 :
_local1 = "NUMPAD 0";
break;
case 97 :
_local1 = "NUMPAD 1";
break;
case 98 :
_local1 = "NUMPAD 2";
break;
case 99 :
_local1 = "NUMPAD 3";
break;
case 100 :
_local1 = "NUMPAD 4";
break;
case 101 :
_local1 = "NUMPAD 5";
break;
case 102 :
_local1 = "NUMPAD 6";
break;
case 103 :
_local1 = "NUMPAD 7";
break;
case 104 :
_local1 = "NUMPAD 8";
break;
case 105 :
_local1 = "NUMPAD 9";
break;
case 106 :
_local1 = "MULTIPLY";
break;
case 107 :
_local1 = "ADD";
break;
case 109 :
_local1 = "SUBTRACT";
break;
case 110 :
_local1 = "DECIMAL";
break;
case 111 :
_local1 = "DIVIDE";
break;
default :
_local1 = chr(keyCode);
_local1.toUpperCase();
}
return(_local1);
}
function controlGameFlow() {
var _local3 = Math.round(myTime - startTime) / 1000;
switch (stageState) {
case 0 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 30) {
_global.alreadyOut = false;
secIncrem = 4;
enemySetBase = _global.FPSforTweenClass * 4;
stageState = 1;
}
case 1 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 60) {
secIncrem = 3;
stageState = 2;
}
case 2 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 90) {
_root.pointer.gun2.gotoAndStop("on");
_root.pointer.gun3.gotoAndStop("on");
gun2 = true;
gun3 = true;
spread = true;
parallel = false;
_root.powerUpMc.gotoAndPlay("flash5");
_global.SoundManager.PlaySound("bloop");
secIncrem = 2.5;
stageState = 3;
enemyAppearSec = 2;
}
case 3 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 120) {
secIncrem = 2;
stageState = 4;
}
case 4 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 150) {
secIncrem = 1.5;
stageState = 5;
}
case 5 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 180) {
_root.pointer.gun2.gotoAndStop("on");
_root.pointer.gun3.gotoAndStop("on");
gun2 = true;
gun3 = true;
spread = false;
parallel = true;
_root.powerUpMc.gotoAndPlay("flash4");
_global.SoundManager.PlaySound("bloop");
secIncrem = 1;
stageState = 6;
}
case 6 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 210) {
secIncrem = 0.9;
stageState = 7;
}
case 7 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 240) {
secIncrem = 0.8;
stageState = 8;
}
case 8 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 270) {
secIncrem = 0.7;
stageState = 9;
}
case 9 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 300) {
secIncrem = 0.6;
stageState = 10;
}
case 10 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 330) {
secIncrem = 0.5;
stageState = 11;
}
case 11 :
if (_local3 >= newSecHitTest) {
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
if (_local3 >= 360) {
secIncrem = 0.4;
stageState = 12;
}
case 12 :
if (_local3 < newSecHitTest) {
break;
}
createRandomLazer();
newSecHitTest = newSecHitTest + secIncrem;
}
}
function createRandomLazer() {
var _local1 = 1 + Math.floor(Math.random() * 4);
if (_local1 == 1) {
moveLazerRight(getNextVerticalLazer());
} else if (_local1 == 2) {
moveLazerLeft(getNextVerticalLazer());
} else if (_local1 == 3) {
moveLazerUp(getNextHorizontalLazer());
} else if (_local1 == 4) {
moveLazerDown(getNextHorizontalLazer());
}
}
function getNextHorizontalLazer() {
var _local1;
if (horIndicator == 1) {
_local1 = "lazer2";
horIndicator = horIndicator + 1;
} else if (horIndicator == 2) {
_local1 = "lazer4";
horIndicator = horIndicator + 1;
} else if (horIndicator == 3) {
_local1 = "lazer6";
horIndicator = horIndicator + 1;
} else if (horIndicator == 4) {
_local1 = "lazer8";
horIndicator = horIndicator + 1;
} else if (horIndicator == 5) {
_local1 = "lazer10";
horIndicator = horIndicator + 1;
} else if (horIndicator == 6) {
_local1 = "lazer12";
horIndicator = horIndicator + 1;
} else if (horIndicator == 7) {
_local1 = "lazer14";
horIndicator = horIndicator + 1;
} else if (horIndicator == 8) {
_local1 = "lazer16";
horIndicator = horIndicator + 1;
} else if (horIndicator == 9) {
_local1 = "lazer18";
horIndicator = horIndicator + 1;
} else if (horIndicator == 10) {
_local1 = "lazer20";
horIndicator = 1;
}
return(_local1);
}
function getNextVerticalLazer() {
var _local1;
if (verIndicator == 1) {
_local1 = "lazer";
verIndicator = verIndicator + 1;
} else if (verIndicator == 2) {
_local1 = "lazer3";
verIndicator = verIndicator + 1;
} else if (verIndicator == 3) {
_local1 = "lazer5";
verIndicator = verIndicator + 1;
} else if (verIndicator == 4) {
_local1 = "lazer7";
verIndicator = verIndicator + 1;
} else if (verIndicator == 5) {
_local1 = "lazer9";
verIndicator = verIndicator + 1;
} else if (verIndicator == 6) {
_local1 = "lazer11";
verIndicator = verIndicator + 1;
} else if (verIndicator == 7) {
_local1 = "lazer13";
verIndicator = verIndicator + 1;
} else if (verIndicator == 8) {
_local1 = "lazer15";
verIndicator = verIndicator + 1;
} else if (verIndicator == 9) {
_local1 = "lazer17";
verIndicator = verIndicator + 1;
} else if (verIndicator == 10) {
_local1 = "lazer19";
verIndicator = 1;
}
return(_local1);
}
function createNewEnemy() {
var thisRef2 = this;
var _local3 = "enemyFighter_" + numEnemyDepth;
var _local4 = 1 + Math.floor(Math.random() * 4);
var _local6 = 0 + Math.floor(Math.random() * _root.arena._width);
var _local5 = 0 + Math.floor(Math.random() * _root.arena._height);
_root.enemyLayer.attachMovie("enemy_1", _local3, numEnemyDepth);
if (_local4 == 1) {
_root.enemyLayer[_local3]._x = 0;
_root.enemyLayer[_local3]._y = _local5;
} else if (_local4 == 2) {
_root.enemyLayer[_local3]._x = _root.arena._width;
_root.enemyLayer[_local3]._y = _local5;
} else if (_local4 == 3) {
_root.enemyLayer[_local3]._x = _local6;
_root.enemyLayer[_local3]._y = 0;
} else if (_local4 == 4) {
_root.enemyLayer[_local3]._x = _local6;
_root.enemyLayer[_local3]._y = _root.arena._height;
}
numEnemyDepth++;
arrEnemy.push(_local3);
_root[_local3].removeCallback = function (myName) {
thisRef2.removeEnemy(myName);
};
}
function ReportEnemyDeath(strName) {
var _local1 = 0;
while (_local1 < arrEnemy.length) {
if (arrEnemy[_local1] == strName) {
arrEnemy.splice(_local1, 1);
break;
}
_local1++;
}
}
function enemyRandomness() {
if (enemyIncrem >= enemySetBase) {
if (enemyAppearSec == 1) {
createNewEnemy();
enemyIncrem = 0;
} else if (enemyAppearSec == 2) {
var _local1 = 1 + Math.floor(Math.random() * 5);
if (_local1 == 1) {
createNewEnemy();
} else if (_local1 == 2) {
createNewEnemy();
} else if (_local1 == 3) {
createNewEnemy();
} else if (_local1 == 4) {
createNewEnemy();
} else if (_local1 == 5) {
createNewEnemy();
createNewEnemy();
}
enemyIncrem = 0;
} else if (createNewEnemy == 3) {
var _local1 = 1 + Math.floor(Math.random() * 4);
if (_local1 == 1) {
createNewEnemy();
} else if (_local1 == 2) {
createNewEnemy();
} else if (_local1 == 3) {
createNewEnemy();
} else if (_local1 == 4) {
createNewEnemy();
createNewEnemy();
}
enemyIncrem = 0;
}
}
enemyIncrem++;
}
function generatePowerUp() {
if (!_global.alreadyOut) {
if (counter == 0) {
var startX = (0 + Math.floor((Math.random() * _root.arena._width) / 2));
var startY = (0 + Math.floor((Math.random() * _root.arena._height) / 2));
var tempName = ("PowerUp_" + powerDepth);
powerUpType = 1 + Math.floor(Math.random() * 3);
if (powerUpType == 1) {
cleanupBullets();
_root.enemyLayer.attachMovie("power_up_killall", tempName, powerDepth);
} else if (powerUpType == 2) {
if (_global.shieldOn) {
powerUpType = 3;
_root.enemyLayer.attachMovie("plus_one_life", tempName, powerDepth);
} else {
_root.enemyLayer.attachMovie("power_up_shield", tempName, powerDepth);
}
} else if (powerUpType == 3) {
_root.enemyLayer.attachMovie("plus_one_life", tempName, powerDepth);
} else if (powerUpType == 4) {
if (parallel) {
powerUpType = 5;
_root.enemyLayer.attachMovie("spread_S", tempName, powerDepth);
} else {
_root.enemyLayer.attachMovie("parallel_P", tempName, powerDepth);
}
} else if (powerUpType == 5) {
if (spread) {
powerUpType = 4;
_root.enemyLayer.attachMovie("parallel_P", tempName, powerDepth);
} else {
_root.enemyLayer.attachMovie("spread_S", tempName, powerDepth);
}
}
_global.alreadyOut = true;
_root.enemyLayer[tempName]._x = startX;
_root.enemyLayer[tempName]._y = startY;
_root.powerRef = eval ("_root.enemyLayer." + tempName);
counter = Math.round(Math.random() * (maxCounter - minCounter)) + minCounter;
powerDepth++;
if (powerDepth >= 500000) {
powerDepth = 400000 /* 0x061A80 */;
}
} else {
counter--;
}
}
}
function killAllAnimations(xVal, yVal) {
var _local2 = "death_" + numEffectDepth;
_root.enemyLayer.attachMovie("enemy_1_death", _local2, numEffectDepth);
_root.enemyLayer[_local2]._x = xVal;
_root.enemyLayer[_local2]._y = yVal;
numEffectDepth++;
if (numEffectDepth >= 600000) {
numEffectDepth = 500000 /* 0x07A120 */;
}
}
function DestroyAllEnemies() {
var i = 0;
while (i < arrEnemy.length) {
var clipRef = eval ("_root.enemyLayer." + arrEnemy[i]);
clipRef.dieNow();
i++;
}
delete arrEnemy;
arrEnemy = new Array();
}
function powerUpHitTest() {
if (_global.alreadyOut) {
if (_root.powerRef.hitTest(_root.pointer)) {
_root.powerRef.removeMovieClip();
_global.alreadyOut = false;
if (powerUpType == 1) {
DestroyAllEnemies();
_root.powerUpMc.gotoAndPlay("flash3");
_global.SoundManager.PlaySound("bloop");
} else if (powerUpType == 2) {
if (!_global.shieldOn) {
_root.pointer.attachMovie("avatar_shield", "avatarShield", powerDepth);
_root.powerUpMc.gotoAndPlay("flash2");
_global.SoundManager.PlaySound("bloop");
} else {
playerLives++;
_root.lives.lives_txt.text = "Lives: " + playerLives;
_root.lives.attachMovie("plus1Life", "quick_white_flash", powerDepth);
_root.powerUpMc.gotoAndPlay("flash1");
_global.SoundManager.PlaySound("bloop");
}
} else if (powerUpType == 3) {
playerLives++;
_root.lives.lives_txt.text = "Lives: " + playerLives;
_root.lives.attachMovie("plus1Life", "quick_white_flash", powerDepth);
_root.powerUpMc.gotoAndPlay("flash1");
_global.SoundManager.PlaySound("bloop");
} else if (powerUpType == 4) {
_root.pointer.gun2.gotoAndStop("on");
_root.pointer.gun3.gotoAndStop("on");
gun2 = true;
gun3 = true;
spread = false;
parallel = true;
_root.powerUpMc.gotoAndPlay("flash4");
_global.SoundManager.PlaySound("bloop");
} else if (powerUpType == 5) {
_root.pointer.gun2.gotoAndStop("on");
_root.pointer.gun3.gotoAndStop("on");
gun2 = true;
gun3 = true;
parallel = false;
spread = true;
_root.powerUpMc.gotoAndPlay("flash5");
_global.SoundManager.PlaySound("bloop");
}
powerDepth++;
if (powerDepth >= 500000) {
powerDepth = 400000 /* 0x061A80 */;
}
}
}
}
function cacheMovieClips() {
_root.crosshair.cacheAsBitmap = true;
_root.lazer.cacheAsBitmap = true;
_root.lazer2.cacheAsBitmap = true;
_root.lazer3.cacheAsBitmap = true;
_root.lazer4.cacheAsBitmap = true;
_root.lazer5.cacheAsBitmap = true;
_root.lazer6.cacheAsBitmap = true;
_root.lazer7.cacheAsBitmap = true;
_root.lazer8.cacheAsBitmap = true;
_root.lazer9.cacheAsBitmap = true;
_root.lazer10.cacheAsBitmap = true;
_root.lazer11.cacheAsBitmap = true;
_root.lazer12.cacheAsBitmap = true;
_root.lazer13.cacheAsBitmap = true;
_root.lazer14.cacheAsBitmap = true;
_root.lazer15.cacheAsBitmap = true;
_root.lazer16.cacheAsBitmap = true;
_root.lazer17.cacheAsBitmap = true;
_root.lazer18.cacheAsBitmap = true;
_root.lazer19.cacheAsBitmap = true;
_root.lazer20.cacheAsBitmap = true;
_root.reset.cacheAsBitmap = true;
_root.mainMenu.cacheAsBitmap = true;
}
function moveIt(mClip, valX, valY, dur) {
nextTween++;
if (nextTween == 1) {
moveMe1(mClip, valX, valY, dur);
} else if (nextTween == 2) {
moveMe2(mClip, valX, valY, dur);
} else if (nextTween == 3) {
moveMe3(mClip, valX, valY, dur);
} else if (nextTween == 4) {
moveMe4(mClip, valX, valY, dur);
} else if (nextTween == 5) {
moveMe5(mClip, valX, valY, dur);
} else if (nextTween == 6) {
moveMe6(mClip, valX, valY, dur);
} else if (nextTween == 7) {
moveMe7(mClip, valX, valY, dur);
} else if (nextTween == 8) {
moveMe8(mClip, valX, valY, dur);
} else if (nextTween == 9) {
moveMe9(mClip, valX, valY, dur);
} else if (nextTween == 10) {
moveMe10(mClip, valX, valY, dur);
} else if (nextTween == 11) {
moveMe11(mClip, valX, valY, dur);
} else if (nextTween == 12) {
moveMe12(mClip, valX, valY, dur);
} else if (nextTween == 13) {
moveMe13(mClip, valX, valY, dur);
} else if (nextTween == 14) {
moveMe14(mClip, valX, valY, dur);
} else if (nextTween == 15) {
moveMe15(mClip, valX, valY, dur);
} else if (nextTween == 16) {
moveMe16(mClip, valX, valY, dur);
} else if (nextTween == 17) {
moveMe17(mClip, valX, valY, dur);
} else if (nextTween == 18) {
moveMe18(mClip, valX, valY, dur);
} else if (nextTween == 19) {
moveMe19(mClip, valX, valY, dur);
} else if (nextTween == 20) {
moveMe20(mClip, valX, valY, dur);
} else if (nextTween == 21) {
moveMe21(mClip, valX, valY, dur);
} else if (nextTween == 22) {
moveMe22(mClip, valX, valY, dur);
} else if (nextTween == 23) {
moveMe23(mClip, valX, valY, dur);
} else if (nextTween == 24) {
moveMe24(mClip, valX, valY, dur);
} else if (nextTween == 25) {
moveMe25(mClip, valX, valY, dur);
} else if (nextTween == 26) {
moveMe26(mClip, valX, valY, dur);
} else if (nextTween == 27) {
moveMe27(mClip, valX, valY, dur);
} else if (nextTween == 28) {
moveMe28(mClip, valX, valY, dur);
} else if (nextTween == 29) {
moveMe29(mClip, valX, valY, dur);
} else if (nextTween == 30) {
moveMe30(mClip, valX, valY, dur);
} else if (nextTween == 31) {
moveMe1(mClip, valX, valY, dur);
nextTween = 1;
}
}
function moveMe1(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe2(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe3(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe4(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe5(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe6(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe7(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe8(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe9(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe10(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe11(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe12(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe13(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe14(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe15(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe16(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe17(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe18(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe19(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe20(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe21(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe22(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe23(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe24(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe25(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe26(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe27(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe28(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe29(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
function moveMe30(mc, xVal, yVal, duration) {
var _local3 = mc._x;
var _local4 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.None.easeNone, _local3, xVal, duration, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.None.easeNone, _local4, yVal, duration, true);
myTweening.FPS = _global.FPSforTweenClass;
myTweening.onMotionFinished = function () {
};
}
stop();
var vecMomentum = new Vector();
var maxSpeed;
var friction;
var numSensitivity;
var avatarLife;
var secondBulletCounter;
var numBulletDepth;
var numBulletDepth2;
var numEffectDepth;
var arrBullets;
var arrEnemy;
var isTouching;
var isHeld;
var myTime;
var startTime;
var stageState;
var lasersLeftPosX;
var lasersLeftPosY;
var lasersRightPosX;
var lasersRightPosY;
var prevScore;
var lasersTopPosX;
var lasersTopPosY;
var lasersBottomPosX;
var lasersBottomPosY;
var verIndicator;
var horIndicator;
var newSecHitTest;
var secIncrem;
var enemySetBase;
var enemyIncrem;
var numEnemyDepth;
var startUpPeriod;
var dyingProcess;
var playerLives;
var powerDepth;
var counter;
var minCounter;
var maxCounter;
var powerRef;
var powerUpType;
var instDone;
var nextTween;
var killAll;
var enemyAppearSec;
var parallel;
var spread;
var gun2;
var gun3;
_root.navi_game.mainMenu.onPress = function () {
cleanupBullets();
_root.gotoAndPlay("main_menu");
};
_root.navi_game.mainMenu.onRollOver = function () {
moveNavi_menu(navi_pointer);
};
_root.navi_game.mainMenu.onRollOut = function () {
moveNavi_back(navi_pointer);
};
_root.navi_game.high_scores.onPress = function () {
_global.dataVector.Set(_global.userScore);
_root.gotoAndPlay("game_over");
getURL ("http://rankz.armorbot.com/blu3p/", "_blank");
};
_root.navi_game.high_scores.onRollOver = function () {
moveNavi_score(navi_pointer);
};
_root.navi_game.high_scores.onRollOut = function () {
moveNavi_back(navi_pointer);
};
_root.arena.onLoad = function () {
this.gotoAndPlay("fadeIn");
};
_root.small_title.onLoad = function () {
this.gotoAndPlay("fadeIn");
};
_root.pointer.onLoad = function () {
this.gotoAndPlay("fadeIn");
};
_root.arena_mask.onLoad = function () {
this._x = _root.arena._x;
this._y = _root.arena._y;
};
Instance of Symbol 75 MovieClip in Frame 25
onClipEvent (load) {
_root.setup();
}
onClipEvent (enterFrame) {
_root.run();
}
Frame 30
function setup() {
cacheItAllNow();
whichPageToGo = "";
_root.final_score_txt.text = _global.userScore;
moveMe(_root.end_main_menu, 125.8, _root.end_main_menu._y, 0.75);
moveMe(_root.replay_game, 209.8, _root.replay_game._y, 0.75);
moveMe(_root.submit_score, 293.8, _root.submit_score._y, 0.75);
moveMe(_root.text1, 127.1, _root.text1._y, 0.75);
moveMe(_root.textBar, 132.5, _root.textBar._y, 0.75);
moveMe(_root.text2, 198, _root.text2._y, 0.75);
moveMe(_root.final_score_txt, 145.8, _root.final_score_txt._y, 0.75);
}
function run() {
mouseCurserAdjust();
}
function mouseCurserAdjust() {
_root.crosshair._x = _xmouse;
_root.crosshair._y = _ymouse;
}
function moveIt(mc, xVal, yVal, durInSecs) {
var _local3 = _global.FPSforTweenClass;
var _local4 = mc._x;
var _local5 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeIn, _local4, xVal, durInSecs, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeIn, _local5, yVal, durInSecs, true);
myTweening.FPS = _local3;
myTweening.FPS = _local3;
myTweening.onMotionFinished = function () {
};
}
function moveItWithCondition(mc, xVal, yVal, durInSecs) {
var _local4 = _global.FPSforTweenClass;
var _local5 = mc._x;
var _local6 = mc._y;
myTweening = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeIn, _local5, xVal, durInSecs, true);
myTweening = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeIn, _local6, yVal, durInSecs, true);
myTweening.FPS = _local4;
myTweening.FPS = _local4;
myTweening.onMotionFinished = function () {
_root.gotoAndPlay(whichPageToGo);
};
}
function __rankz_send__(par1, par2, par3, par4) {
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.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");
}
function cacheItAllNow() {
_root.end_main_menu.cacheAsBitmap = true;
_root.replay_game.cacheAsBitmap = true;
_root.submit_score.cacheAsBitmap = true;
_root.textBar.cacheAsBitmap = true;
_root.text1.cacheAsBitmap = true;
_root.text2.cacheAsBitmap = true;
_root.crosshair.cacheAsBitmap = true;
}
stop();
var whichPageToGo;
_root.onMouseDown = function () {
};
_root.end_main_menu.onPress = function () {
_root.titleDuringGame.gotoAndPlay("fadeOut");
moveIt(_root.end_main_menu, _root.end_main_menu._x, _root.end_main_menu._y + 400, 0.5);
moveIt(_root.submit_score, _root.submit_score._x, _root.submit_score._y + 400, 0.5);
moveIt(_root.text1, _root.text1._x - 350, _root.text1._y, 0.5);
moveIt(_root.text2, _root.text2._x + 350, _root.text2._y, 0.5);
_root.final_score_txt.text = "";
_root.user_name_txt.text = "";
moveIt(_root.textBar, _root.textBar._x, _root.textBar._y + 300, 0.5);
moveItWithCondition(_root.replay_game, _root.replay_game._x, _root.replay_game._y + 400, 0.5);
whichPageToGo = "main_menu";
};
_root.replay_game.onPress = function () {
_root.titleDuringGame.gotoAndPlay("fadeOut");
moveIt(_root.end_main_menu, _root.end_main_menu._x, _root.end_main_menu._y + 400, 0.5);
moveIt(_root.submit_score, _root.submit_score._x, _root.submit_score._y + 400, 0.5);
moveIt(_root.text1, _root.text1._x - 350, _root.text1._y, 0.5);
moveIt(_root.text2, _root.text2._x + 350, _root.text2._y, 0.5);
_root.final_score_txt.text = "";
_root.user_name_txt.text = "";
moveIt(_root.textBar, _root.textBar._x, _root.textBar._y + 300, 0.5);
moveItWithCondition(_root.replay_game, _root.replay_game._x, _root.replay_game._y + 400, 0.5);
whichPageToGo = "reset";
};
_root.submit_score.onPress = function () {
if (_root.user_name_txt.text == "") {
} else {
if (!_global.cheat) {
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.user_name_txt.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _global.dataVector.Get();
_root.__rankz_send__("MjE5NWolZSVhJW4lcw==", "UHdlV1pBeGI=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL ("http://rankz.armorbot.com/blu3p/", "_blank");
}
moveIt(_root.end_main_menu, _root.end_main_menu._x, _root.end_main_menu._y + 400, 0.5);
moveIt(_root.submit_score, _root.submit_score._x, _root.submit_score._y + 400, 0.5);
moveIt(_root.text1, _root.text1._x - 350, _root.text1._y, 0.5);
moveIt(_root.text2, _root.text2._x + 350, _root.text2._y, 0.5);
_root.final_score_txt.text = "";
_root.user_name_txt.text = "";
moveIt(_root.textBar, _root.textBar._x, _root.textBar._y + 300, 0.5);
moveItWithCondition(_root.replay_game, _root.replay_game._x, _root.replay_game._y + 400, 0.5);
whichPageToGo = "main_menu";
}
};
Instance of Symbol 75 MovieClip in Frame 30
onClipEvent (load) {
_root.setup();
}
onClipEvent (enterFrame) {
_root.run();
}
Frame 36
gotoAndPlay ("doneLoading");
Frame 44
gotoAndPlay ("intro");
Frame 51
_root.gotoAndPlay("main_menu");
Symbol 5 MovieClip [enemy_1_death] Frame 1
#initclip 16
Object.registerClass("enemy_1_death", Enemy);
#endinitclip
Symbol 5 MovieClip [enemy_1_death] Frame 31
this.removeMovieClip();
Symbol 7 MovieClip Frame 5
stop();
Symbol 8 MovieClip Frame 20
stop();
Symbol 11 MovieClip [enemy_1] Frame 1
#initclip 13
Object.registerClass("enemy_1", Enemy);
#endinitclip
stop();
Symbol 14 MovieClip [bullet_2] Frame 1
#initclip 14
Object.registerClass("bullet_2", Bullet);
#endinitclip
Symbol 14 MovieClip [bullet_2] Frame 6
stop();
Symbol 17 MovieClip [bullet_1] Frame 1
#initclip 15
Object.registerClass("bullet_1", Bullet);
#endinitclip
Symbol 19 MovieClip [powerUp] Frame 21
gotoAndPlay (1);
Symbol 21 MovieClip [avatar_shield] Frame 1
_global.shieldOn = true;
Symbol 21 MovieClip [avatar_shield] Frame 398
_global.shieldOn = false;
this.removeMovieClip();
Symbol 24 MovieClip [plus1Life] Frame 16
this.removeMovieClip();
Symbol 38 MovieClip [shield_hits2] Frame 8
this.removeMovieClip();
stop();
Symbol 41 MovieClip [shield_hits] Frame 8
this.removeMovieClip();
stop();
Symbol 43 MovieClip Frame 29
_root.startUpPeriod = false;
Symbol 43 MovieClip Frame 30
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 49 MovieClip [pointer] Frame 50
stop();
Instance of Symbol 44 MovieClip "gun3" in Symbol 49 MovieClip [pointer] Frame 50
onClipEvent (load) {
if (_root.gun2 || (_root.gun3)) {
_root.pointer.gun2.gotoAndStop("on");
_root.pointer.gun3.gotoAndStop("on");
}
}
Symbol 49 MovieClip [pointer] Frame 53
_global.jumping = true;
_global.jumping2 = true;
Symbol 49 MovieClip [pointer] Frame 72
_global.jumping = false;
Symbol 49 MovieClip [pointer] Frame 76
gotoAndStop ("normal");
_global.jumping2 = false;
Symbol 49 MovieClip [pointer] Frame 77
_root.dyingProcess = true;
Symbol 49 MovieClip [pointer] Frame 90
stop();
_global.dataVector.Set(_global.userScore);
_root.gotoAndPlay("game_over");
Symbol 49 MovieClip [pointer] Frame 91
_global.justGotHit = true;
Symbol 49 MovieClip [pointer] Frame 109
_global.justGotHit = false;
gotoAndPlay ("normal");
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 56
_root.moveLettersOff(_root.b, -100, _root.b._y);
Symbol 60 MovieClip Frame 58
_root.moveLettersOff(_root.l, -100, _root.l._y);
Symbol 60 MovieClip Frame 60
_root.moveLettersOff(_root.u, -100, _root.u._y);
Symbol 60 MovieClip Frame 62
_root.moveLettersOff(_root.e, -100, _root.e._y);
Symbol 60 MovieClip Frame 64
_root.moveLettersOff(_root.p, -100, _root.p._y);
Symbol 60 MovieClip Frame 80
stop();
_global.preloaderIsGone = true;
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 52
this.gotoAndStop("normal");
_root.cursorMoveBackToMouse(_root.crosshair);
Symbol 319 MovieClip [__Packages.Vector] Frame 0
class Vector
{
var _x, _y;
function Vector () {
_x = 0;
_y = 0;
}
}
Symbol 320 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 321 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 322 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 323 MovieClip [__Packages.DataObject] Frame 0
class DataObject
{
var arrElements, indexOne, indexTwo;
function DataObject () {
var _local3 = RandNum(55, 66);
arrElements = new Array(_local3);
var _local2 = 0;
while (_local2 < _local3) {
arrElements[_local2] = 0;
_local2++;
}
indexOne = -1;
indexTwo = -1;
}
function Set(dataValue) {
var _local6 = Math.round(Math.random() * dataValue);
var _local7 = dataValue - _local6;
indexOne = RandNum(0, arrElements.length - 4);
indexTwo = RandNum(0, arrElements.length - 4);
if (indexOne == indexTwo) {
if (indexOne == (arrElements.length - 1)) {
indexTwo = indexOne - 1;
} else {
indexTwo = indexOne + 1;
}
}
var _local5 = dataValue / (arrElements.length - 2);
var _local4 = dataValue;
var _local9 = arrElements.length;
var _local2 = 0;
while (_local2 < arrElements.length) {
if (_local2 == indexOne) {
arrElements[_local2] = _local6;
} else if (_local2 == indexTwo) {
arrElements[_local2] = _local7;
} else {
var _local3 = 0;
if (_local4 > 0) {
_local3 = Math.round((Math.random() * _local5) + (_local5 * 0.5));
if (_local3 > _local4) {
_local3 = _local4;
}
if (_local2 == (arrElements.length - 1)) {
_local3 = _local4;
}
_local4 = _local4 - _local3;
}
arrElements[_local2] = _local3;
}
_local2++;
}
}
function mSet(dataValue) {
var _local7 = 0;
while (_local7 < 10) {
var _local5 = Math.round(Math.random() * dataValue);
var _local8 = dataValue - _local5;
indexOne = RandNum(0, arrElements.length - 4);
indexTwo = RandNum(0, arrElements.length - 4);
if (indexOne == indexTwo) {
if (indexOne == (arrElements.length - 1)) {
indexTwo = indexOne - 1;
} else {
indexTwo = indexOne + 1;
}
}
var _local4 = dataValue / (arrElements.length - 2);
var _local10 = dataValue;
var _local9 = arrElements.length;
var _local2 = 0;
while (_local2 < arrElements.length) {
if (_local2 == indexOne) {
arrElements[_local2] = _local5;
} else if (_local2 == indexTwo) {
arrElements[_local2] = _local8;
} else {
var _local3 = 0;
_local3 = Math.round((Math.random() * (_local4 * 1.23)) + (_local4 * 0.75));
arrElements[_local2] = _local3;
}
_local2++;
}
if (Get() == -1) {
break;
}
_local7++;
}
}
function Get() {
var _local3 = 0;
var _local4 = 0;
var _local2 = 0;
while (_local2 < arrElements.length) {
if (_local2 == indexOne) {
_local3 = _local3 + arrElements[_local2];
} else if (_local2 == indexTwo) {
_local3 = _local3 + arrElements[_local2];
} else {
_local4 = _local4 + arrElements[_local2];
}
_local2++;
}
if (_local3 == _local4) {
return(_local3);
}
return(-1);
}
function Store() {
var _local2 = arrElements.slice();
_local2.splice(2, 0, indexOne);
_local2.splice(7, 0, indexTwo);
return(_local2);
}
function Load(originalArray) {
indexOne = originalArray[2];
indexTwo = originalArray[7];
delete arrElements;
arrElements = originalArray.slice();
arrElements.splice(7, 1);
arrElements.splice(2, 1);
}
function RandNum(minVal, maxVal) {
return(Math.round(Math.random() * (maxVal - minVal)) + minVal);
}
}
Symbol 324 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 325 MovieClip [__Packages.SoundPlayer] Frame 0
class SoundPlayer
{
var channelsAvailable, channel1, channel2, channel3, externalSoundVolume;
function SoundPlayer () {
channelsAvailable = new Array(true, true, true);
channel1 = new Sound();
channel2 = new Sound();
channel3 = new Sound();
externalSoundVolume = 100;
}
function CleanSounds(intIndex) {
channelsAvailable[intIndex] = true;
}
function PlaySound(linkIdentifier) {
if (_global.soundOn == true) {
var thisRef = this;
if (channelsAvailable[0] == true) {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound();
channel1.attachSound(linkIdentifier);
channel1.setVolume(100);
channel1.start(0, 0);
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
} else if (channelsAvailable[1] == true) {
channelsAvailable[1] = false;
delete channel2;
channel2 = new Sound();
channel2.attachSound(linkIdentifier);
channel2.setVolume(100);
channel2.start(0, 0);
channel2.onSoundComplete = function () {
thisRef.CleanSounds(1);
};
} else {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound();
channel1.attachSound(linkIdentifier);
channel1.setVolume(100);
channel1.start(0, 0);
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
}
}
}
function PlayBubbleSound(linkIdentifier) {
if (_global.soundOn == true) {
var thisRef = this;
if (channelsAvailable[2] == true) {
channelsAvailable[2] = false;
delete channel3;
channel3 = new Sound();
channel3.attachSound(linkIdentifier);
channel3.setVolume(100);
channel3.start(0, 0);
channel3.onSoundComplete = function () {
thisRef.CleanSounds(2);
};
}
}
}
function PlayExternalSound(urlPath) {
var thisRef = this;
if (channelsAvailable[0] == true) {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound();
channel1.loadSound(urlPath, false);
channel1.setVolume(externalSoundVolume);
channel1.onLoad = function (loadedOK) {
if (loadedOK) {
this.start();
}
};
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
} else if (channelsAvailable[1] == true) {
channelsAvailable[1] = false;
delete channel2;
channel2 = new Sound();
channel2.loadSound(urlPath, false);
channel2.setVolume(externalSoundVolume);
channel2.onLoad = function (loadedOK) {
if (loadedOK) {
this.start();
}
};
channel2.onSoundComplete = function () {
thisRef.CleanSounds(1);
};
} else {
channelsAvailable[0] = false;
delete channel1;
channel1 = new Sound();
channel1.loadSound(urlPath, false);
channel1.setVolume(externalSoundVolume);
channel1.onLoad = function (loadedOK) {
if (loadedOK) {
this.start();
}
};
channel1.onSoundComplete = function () {
thisRef.CleanSounds(0);
};
}
}
}
Symbol 326 MovieClip [__Packages.Music] Frame 0
class Music
{
var mySound, volume, currentTrack, inCrossfade, state, changeSongs, maxVolume, targetVolume, volumeSpeed;
function Music () {
mySound = new Sound();
volume = 100;
currentTrack = "";
inCrossfade = false;
state = false;
changeSongs = true;
maxVolume = 60;
}
function SetMaxVolume(vol) {
maxVolume = vol;
}
function SetTrack(setMusic) {
trace(setMusic);
if (setMusic == currentTrack) {
changeSongs = false;
} else {
changeSongs = true;
currentTrack = setMusic;
}
}
function Play() {
mySound.stop();
mySound.attachSound(currentTrack);
volume = maxVolume;
mySound.setVolume(volume);
mySound.start(0, 2000);
state = true;
}
function Stop() {
mySound.stop();
state = false;
}
function PlayWithCrossFade(secondDuration) {
if (changeSongs == true) {
if (state == true) {
inCrossfade = true;
targetVolume = 0;
var _local2 = secondDuration * 30;
volumeSpeed = (targetVolume - volume) / (_local2 / 2);
} else {
mySound.stop();
mySound.attachSound(currentTrack);
mySound.start(0, 2000);
state = true;
inCrossfade = false;
targetVolume = maxVolume;
volume = 0;
mySound.setVolume(0);
var _local2 = secondDuration * 30;
volumeSpeed = (targetVolume - volume) / _local2;
}
}
}
function RunPlayer() {
if (targetVolume != volume) {
var _local2;
_local2 = volume + volumeSpeed;
if ((volumeSpeed < 0) && (_local2 < 0)) {
_local2 = 0;
} else if ((volumeSpeed > 0) && (_local2 > targetVolume)) {
_local2 = targetVolume;
}
volume = _local2;
mySound.setVolume(_local2);
}
if (inCrossfade == true) {
if (volume <= 0) {
volumeSpeed = volumeSpeed * -1;
inCrossfade = false;
targetVolume = maxVolume;
mySound.stop();
mySound.attachSound(currentTrack);
mySound.setVolume(0);
mySound.start(0, 2000);
state = true;
}
}
}
}
Symbol 327 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends MovieClip
{
var _damage, _life, _holdMovement, enemyIncrem2, enemySetBase2, _dead, hitTest, _x, _y, _name, removeMovieClip, _rotation;
function Enemy () {
super();
_damage = 1;
_life = 2;
_holdMovement = true;
enemyIncrem2 = 0;
enemySetBase2 = _global.FPSforTweenClass * 1;
_dead = false;
}
function onEnterFrame() {
rotateEnemy();
enemyShoot();
enemyDie();
}
function enemyDie() {
var i = 0;
while (i < _root.arrBullets.length) {
var ObjRef = eval ("_root." + _root.arrBullets[i]);
if (hitTest(ObjRef._x, ObjRef._y)) {
if (!ObjRef._enemy) {
var rotRan = (1 + Math.floor(Math.random() * 360));
if (_life >= 1) {
var hitAnName = ("shield_hits" + _root.getNextHighestDepth());
_root.attachMovie("shield_hits", hitAnName, _root.getNextHighestDepth());
_root[hitAnName]._x = ObjRef._x;
_root[hitAnName]._y = ObjRef._y;
_root[hitAnName]._rotation = rotRan;
}
if (_life > 0) {
_root.removeCallback(_root.arrBullets[i]);
_root[_root.arrBullets[i]].removeMovieClip();
_root.arrBullets.splice(i, 1);
_life--;
} else {
_dead = true;
_root.removeCallback(_root.arrBullets[i]);
_root[_root.arrBullets[i]].removeMovieClip();
_root.arrBullets.splice(i, 1);
var deathAnimationName = ("death_" + _root.getNextHighestDepth());
_root.enemyLayer.attachMovie("enemy_1_death", deathAnimationName, _root.getNextHighestDepth());
_root.enemyLayer[deathAnimationName]._x = _x;
_root.enemyLayer[deathAnimationName]._y = _y;
_root.enemyLayer[deathAnimationName]._rotation = rotRan;
_root.ReportEnemyDeath(_name);
removeMovieClip();
}
}
}
i++;
}
}
function dieNow() {
trace("die now called");
_root.killAllAnimations(_x, _y);
removeMovieClip();
}
function rotateEnemy() {
if (!_dead) {
var _local3 = new Vector();
_local3._x = (_root.pointer._x - _x) - _root.enemyLayer._x;
_local3._y = (_root.pointer._y - _y) - _root.enemyLayer._y;
var _local4 = Math.atan2(_local3._y, _local3._x);
var _local5 = (360 * _local4) / (Math.PI*2);
_rotation = _local5;
} else {
_rotation = _rotation;
}
}
function enemyShoot() {
if (enemyIncrem2 >= enemySetBase2) {
var _local3 = new Vector();
_local3._x = Math.cos((Math.PI * _rotation) / 180) * 7;
_local3._y = Math.sin((Math.PI * _rotation) / 180) * 7;
_root.shootEnemyGun(_local3._x, _local3._y, _x + _root.arena._x, _y + _root.arena._y);
enemyIncrem2 = 0;
}
enemyIncrem2++;
}
}
Symbol 328 MovieClip [__Packages.Bullet] Frame 0
class Bullet extends MovieClip
{
var moveX, moveY, _damage, _holdMovement, _x, _y, _enemy, hitTest, removeCallback, _name, removeMovieClip;
function Bullet () {
super();
moveX = 0;
moveY = 0;
_damage = 1;
_holdMovement = false;
}
function SetMovement(myX, myY) {
moveX = myX;
moveY = myY;
}
function onEnterFrame() {
if (_holdMovement == false) {
_x = _x + moveX;
_y = _y + moveY;
outOfBounds();
if (_enemy) {
ifHitAvatar();
}
}
}
function ifHitAvatar() {
if (hitTest(_root.pointer.pointerBody)) {
if (_root.playerLives >= 2) {
var _local4 = "shield_hits2" + _root.getNextHighestDepth();
var _local5 = 1 + Math.floor(Math.random() * 360);
_root.attachMovie("shield_hits2", _local4, _root.getNextHighestDepth());
_root[_local4]._rotation = _root.pointer._rotation + _local5;
_root[_local4]._x = _x;
_root[_local4]._y = _y;
}
removeCallback(_name);
removeMovieClip();
if (!_global.shieldOn) {
_root.adjustLives();
}
}
}
function outOfBounds() {
if (((((_x < -50) || (_x > 550)) || (_y < -50)) || (_y > 550)) || (_global.pauseClicked)) {
removeCallback(_name);
removeMovieClip();
}
}
}
Symbol 329 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 330 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 105 MovieClip Frame 45
stop();
Symbol 113 MovieClip Frame 220
stop();
Instance of Symbol 113 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 235
on (release) {
getURL ("http://www.herointeractive.com", "_blank");
}
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 264
on (release) {
getURL ("http://www.herointeractive.com", "_blank");
}
Symbol 118 MovieClip Frame 478
_root.gotoAndPlay("main_menu");
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
stop();
Instance of Symbol 148 MovieClip "low" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
if (_quality == "LOW") {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_quality != "LOW") {
this.gotoAndStop("off");
}
}
on (release) {
_quality = "LOW";
this._parent.high.gotoAndStop("off");
this._parent.med.gotoAndStop("off");
}
Instance of Symbol 148 MovieClip "med" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
if (_quality == "MEDIUM") {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_quality != "MEDIUM") {
this.gotoAndStop("off");
}
}
on (release) {
_quality = "MEDIUM";
this._parent.high.gotoAndStop("off");
this._parent.low.gotoAndStop("off");
}
Instance of Symbol 148 MovieClip "high" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
if (_quality == "HIGH") {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_quality != "HIGH") {
this.gotoAndStop("off");
}
}
on (release) {
_quality = "HIGH";
this._parent.low.gotoAndStop("off");
this._parent.med.gotoAndStop("off");
}
Instance of Symbol 148 MovieClip "musicOn" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
if (_global.musicOn == true) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.musicOn != true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.musicOn = true;
this._parent.musicOff.gotoAndStop("off");
_global.myMusicPlayer.SetTrack("titleMusic");
_global.myMusicPlayer.SetMaxVolume(100);
_global.myMusicPlayer.PlayWithCrossFade(3);
}
Instance of Symbol 148 MovieClip "musicOff" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
if (_global.musicOn == false) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.musicOn == true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.musicOn = false;
this._parent.musicOn.gotoAndStop("off");
_global.myMusicPlayer.Stop();
}
Instance of Symbol 148 MovieClip "soundsOn" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
if (_global.soundOn == true) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.soundOn != true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.soundOn = true;
this._parent.soundsOff.gotoAndStop("off");
}
Instance of Symbol 148 MovieClip "soundsOff" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
if (_global.soundOn == false) {
this.gotoAndStop("on");
}
}
on (rollOver) {
this.gotoAndStop("on");
}
on (rollOut) {
if (_global.soundOn == true) {
this.gotoAndStop("off");
}
}
on (release) {
_global.soundOn = false;
this._parent.soundsOn.gotoAndStop("off");
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Instance of Symbol 183 MovieClip "upClip" in Symbol 185 MovieClip Frame 1
on (release) {
this.gotoAndStop(2);
_root.UnselectOthers(this._name);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
Instance of Symbol 183 MovieClip "downClip" in Symbol 185 MovieClip Frame 1
on (release) {
this.gotoAndStop(2);
_root.UnselectOthers(this._name);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
Instance of Symbol 183 MovieClip "leftClip" in Symbol 185 MovieClip Frame 1
on (release) {
this.gotoAndStop(2);
_root.UnselectOthers(this._name);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
Instance of Symbol 183 MovieClip "rightClip" in Symbol 185 MovieClip Frame 1
on (release) {
this.gotoAndStop(2);
_root.UnselectOthers(this._name);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
Instance of Symbol 183 MovieClip "jumpClip" in Symbol 185 MovieClip Frame 1
on (release) {
this.gotoAndStop(2);
_root.UnselectOthers(this._name);
}
on (releaseOutside) {
this.gotoAndStop(1);
}
Symbol 189 MovieClip Frame 25
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 50
stop();
_root.playPauseMessage();
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 21
gotoAndStop ("blank");
Symbol 273 MovieClip Frame 42
gotoAndStop ("blank");
Symbol 273 MovieClip Frame 64
_root.killAll = false;
gotoAndStop ("blank");
Symbol 273 MovieClip Frame 86
gotoAndStop ("blank");
Symbol 273 MovieClip Frame 108
gotoAndStop ("blank");
Symbol 273 MovieClip Frame 109
stop();
Symbol 273 MovieClip Frame 235
gotoAndStop ("blank");
Symbol 275 MovieClip Frame 49
stop();
Symbol 275 MovieClip Frame 66
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 5
this.gotoAndPlay("paused");
Symbol 287 MovieClip Frame 116
stop();
Symbol 290 MovieClip Frame 15
stop();
Symbol 292 MovieClip Frame 15
stop();
Symbol 294 MovieClip Frame 15
stop();