Section 1
//bigskull_127 (ShredZonenew_fla.bigskull_127)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class bigskull_127 extends MovieClip {
public function bigskull_127(){
addFrameScript(38, frame39);
}
function frame39(){
stop();
}
}
}//package ShredZonenew_fla
Section 2
//comboBar_108 (ShredZonenew_fla.comboBar_108)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class comboBar_108 extends MovieClip {
public var masker:MovieClip;
public var waves:MovieClip;
public function comboBar_108(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package ShredZonenew_fla
Section 3
//comboBar2_120 (ShredZonenew_fla.comboBar2_120)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class comboBar2_120 extends MovieClip {
public var masker:MovieClip;
public var waves:MovieClip;
}
}//package ShredZonenew_fla
Section 4
//effect8_86 (ShredZonenew_fla.effect8_86)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class effect8_86 extends MovieClip {
public function effect8_86(){
addFrameScript(27, frame28);
}
function frame28(){
stop();
}
}
}//package ShredZonenew_fla
Section 5
//fadeoutstuff_119 (ShredZonenew_fla.fadeoutstuff_119)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class fadeoutstuff_119 extends MovieClip {
public var sp2:MovieClip;
public var sp3:MovieClip;
public var sp1:MovieClip;
public var sp5:MovieClip;
public var sp6:MovieClip;
public var sp4:MovieClip;
public var comboBar:MovieClip;
public var livesMC:MovieClip;
}
}//package ShredZonenew_fla
Section 6
//loadED_76 (ShredZonenew_fla.loadED_76)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class loadED_76 extends MovieClip {
public function loadED_76(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
}
}
}//package ShredZonenew_fla
Section 7
//logo5_81 (ShredZonenew_fla.logo5_81)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class logo5_81 extends MovieClip {
public function logo5_81(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
}
}
}//package ShredZonenew_fla
Section 8
//MainTimeline (ShredZonenew_fla.MainTimeline)
package ShredZonenew_fla {
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.display.*;
import flash.filters.*;
import flash.net.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.printing.*;
import flash.system.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public const CHANNEL_LENGTH:int = 0x0100;
public const PLOT_HEIGHT:int = 400;
public var menuMusic:SoundChannel;
public var homingActive:Boolean;
public var reloadTime:Number;
public var invincible:Number;
public var musicTimer:Number;
public var lazerFireMode:Boolean;
public var comboAdd:Number;
public var bg:Shape;
public var M:MovieClip;
public var V:MovieClip;
public var enemyHold:Sprite;
public var i:int;
public var blur:GradientGlowFilter;
public var t:Number;
public var option:Number;
public var preloader:MovieClip;
public var tripleShot:Boolean;
public var shotAng:Number;
public var g:MovieClip;
public var playAgain:SimpleButton;
public var shieldGlow:GlowFilter;
public var maxReloadTime:Number;
public var buddyHold:Sprite;
public var homingHold:Sprite;
public var powerUpTimer:Number;
public var songNumber:Number;
public var mouseTar:MovieClip;
public var xArray:Array;
public var twineHold:Sprite;
public var livesMC:MovieClip;
public var bytesTot:Number;
public var lazerHold:Sprite;
public var fps:TextField;
public var fireMode:Boolean;
public var lives:Number;
public var rArray:Array;
public var bigFormat:TextFormat;
public var scoreFormat:TextFormat;
public var boltHold:Sprite;
public var armor:SimpleButton;
public var doubleClickTimer:Number;
public var armorBanner:MovieClip;
public var menu:SimpleButton;
public var maxEnemyTime:Number;
public var sp1:MovieClip;
public var sp2:MovieClip;
public var fader:MovieClip;
public var sp4:MovieClip;
public var sp6:MovieClip;
public var sp3:MovieClip;
public var sp5:MovieClip;
public var colors:Array;
public var BlackAndWhite:Boolean;
public var yArray:Array;
public var context:SoundLoaderContext;
public var ng:SimpleButton;
public var lazerFireTimer:Number;
public var shielded:Boolean;
public var ratios:Array;
public var scoreBox:TextField;
public var songs:Array;
public var screenShake:Number;
public var levelTimer:Number;
public var shotNum:Number;
public var trophy:SimpleButton;
public var ngBanner:MovieClip;
public var grad:MovieClip;
public var arm:SimpleButton;
public var scoreHold:Sprite;
public var intro:MovieClip;
public var enemyTime:Number;
public var sizeUp:Boolean;
public var tr:SoundTransform;
public var score:Number;
public var PowerTimerBar:MovieClip;
public var options:MovieClip;
public var trans:SoundTransform;
public var square2:Sprite;
public var square3:Sprite;
public var square4:Sprite;
public var square5:Sprite;
public var square1:Sprite;
public var blinder:MovieClip;
public var howBttn:MovieClip;
public var newg:SimpleButton;
public var homingTimer:Number;
public var mousedown:Boolean;
public var livesText:TextField;
public var alphas:Array;
public var scoreText:TextField;
public var reverse:Boolean;
public var nameBox:TextField;
public var moreBttn:MovieClip;
public var partHold:Sprite;
public var bling:Sprite;
public var powerHold:Sprite;
public var rock:SoundChannel;
public var bombNums:Number;
public var filter:GradientGlowFilter;
public var squareHold:Sprite;
public var level:Number;
public var MetalMusic:SoundChannel;
public var playBttn:MovieClip;
public var comboBar:MovieClip;
public var filter2:GradientGlowFilter;
public var MainMusic:SoundChannel;
public var backBttn:MovieClip;
public var comboMult:Number;
public var ammoSize:Number;
public var format:TextFormat;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8);
}
public function framefour(_arg1:Event):void{
mouseTar.x = mouseX;
mouseTar.y = mouseY;
}
public function armorUP(_arg1:MouseEvent):void{
}
public function shoot(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
var rot:Number;
var c:*;
var l:dy;
var n = _arg1;
var d = _arg2;
var x = _arg3;
var y = _arg4;
var size = _arg5;
rot = ((square1.rotation - (d / 2)) + 180);
c = 1;
while (c < (n + 1)) {
l = new dy();
var _local7 = l.graphics;
with (_local7) {
moveTo(5, 0);
lineStyle(size, 0xFFFFFF);
lineTo(-5, 0);
};
l.timer = 60;
l.rotation = rot;
l.x = (x + (Math.cos(((l.rotation * Math.PI) / 180)) * 20));
l.y = (y + (Math.sin(((l.rotation * Math.PI) / 180)) * 20));
if ((n % 2) == 0){
rot = (rot + ((2 * d) / n));
} else {
rot = (rot + (d / n));
};
this.lazerHold.addChild(l);
l.addEventListener(Event.ENTER_FRAME, lazerFrame);
c = (c + 1);
};
}
public function loadFrame(_arg1:Event):void{
if ((this.loaderInfo.bytesLoaded / bytesTot) < 1){
this.preloader.gotoAndStop(Math.round(((this.loaderInfo.bytesLoaded / bytesTot) * 100)));
} else {
this.removeEventListener(Event.ENTER_FRAME, loadFrame);
preloader.addEventListener(Event.ENTER_FRAME, preloaderFrame);
this.preloader.gotoAndPlay(100);
};
}
public function playAgainUP(_arg1:MouseEvent):void{
this.removeEventListener(Event.ENTER_FRAME, framefour);
this.gotoAndStop(6);
}
public function menuUP(_arg1:MouseEvent):void{
this.removeEventListener(Event.ENTER_FRAME, framefour);
this.gotoAndStop(3);
}
public function framethree(_arg1:Event):void{
mouseTar.x = mouseX;
mouseTar.y = mouseY;
if (this.fader.currentFrame == 50){
this.removeEventListener(Event.ENTER_FRAME, framethree);
play();
};
}
public function resetPowerUps():void{
if (lazerFireMode){
toggleLazerFire();
};
if (fireMode){
toggleFireMode();
};
if (BlackAndWhite){
toggleBlackAndWhite();
};
homingActive = false;
shielded = false;
squareHold.filters = [];
bg.visible = false;
reverse = false;
shotNum = 1;
ammoSize = 2;
shotAng = 0;
}
function frame1(){
stop();
bytesTot = this.loaderInfo.bytesTotal;
this.addEventListener(Event.ENTER_FRAME, loadFrame);
this.arm.addEventListener(MouseEvent.CLICK, armClick);
this.newg.addEventListener(MouseEvent.CLICK, newgClick);
}
function frame5(){
stop();
this.addEventListener(Event.ENTER_FRAME, framehow);
this.backBttn.addEventListener(MouseEvent.CLICK, backClick);
}
function frame7(){
this.addEventListener(Event.ENTER_FRAME, framethree);
rock = new rockit().play();
tr = rock.soundTransform;
tr.volume = 3;
rock.soundTransform = tr;
}
function frame8(){
stop();
this.scoreBox.text = score.toString();
this.filters = [];
option = 1;
trophy.addEventListener(MouseEvent.MOUSE_OVER, trophyOver);
menu.addEventListener(MouseEvent.MOUSE_OVER, menuOver);
ng.addEventListener(MouseEvent.MOUSE_OVER, ngOver);
armor.addEventListener(MouseEvent.MOUSE_OVER, armorOver);
trophy.addEventListener(MouseEvent.MOUSE_UP, trophyUP);
menu.addEventListener(MouseEvent.MOUSE_UP, menuUP);
ng.addEventListener(MouseEvent.MOUSE_UP, ngUP);
armor.addEventListener(MouseEvent.MOUSE_UP, armorUP);
trophy.addEventListener(MouseEvent.MOUSE_OUT, mouseOut);
menu.addEventListener(MouseEvent.MOUSE_OUT, mouseOut);
ng.addEventListener(MouseEvent.MOUSE_OUT, mouseOut);
armor.addEventListener(MouseEvent.MOUSE_OUT, mouseOut);
playAgain.addEventListener(MouseEvent.MOUSE_UP, playAgainUP);
this.addEventListener(Event.ENTER_FRAME, framefour);
}
function frame2(){
stop();
addEventListener(Event.ENTER_FRAME, loader2);
}
public function toggleFireMode():void{
var _local1:SoundTransform;
if (fireMode){
stage.quality = "high";
bg.visible = false;
trans.volume = 1;
MainMusic.soundTransform = trans;
MetalMusic.stop();
fireMode = false;
squareHold.filters = [];
screenShake = 0;
} else {
stage.quality = "low";
powerUpTimer = 160;
bg.visible = true;
bg.graphics.beginFill(0x333333);
bg.graphics.drawRect(-10, -10, 600, 450);
trans.volume = 0;
MainMusic.soundTransform = trans;
MetalMusic = new Metal().play();
_local1 = MetalMusic.soundTransform;
_local1.volume = 0.6;
MetalMusic.soundTransform = _local1;
fireMode = true;
screenShake = 160;
squareHold.filters = [filter];
};
}
public function mouseOut(_arg1:MouseEvent):void{
this.options.gotoAndStop(1);
}
function frame3(){
stop();
menuMusic = new Sound(new URLRequest("http://www.inaflashstudios.net/NG81397.mp3")).play();
this.addEventListener(Event.ENTER_FRAME, frame);
}
function frame6(){
stop();
Mouse.hide();
this.addEventListener(Event.ENTER_FRAME, enterFrame);
stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseUp);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
this.filters = [];
bling = new Sprite();
squareHold = new Sprite();
enemyHold = new Sprite();
partHold = new Sprite();
lazerHold = new Sprite();
twineHold = new Sprite();
homingHold = new Sprite();
powerHold = new Sprite();
scoreHold = new Sprite();
buddyHold = new Sprite();
boltHold = new Sprite();
bg = new Shape();
grad = new Gradient();
blinder = new Blinder();
square1 = new Sprite();
square2 = new Sprite();
square3 = new Sprite();
square4 = new Sprite();
square5 = new Sprite();
fps = new TextField();
format = new TextFormat();
scoreText = new TextField();
livesText = new TextField();
bigFormat = new TextFormat("Neuropol", 25);
scoreFormat = new TextFormat();
lives = 5;
xArray = new Array();
yArray = new Array();
rArray = new Array();
mousedown = false;
sizeUp = false;
tripleShot = false;
reloadTime = 0;
maxReloadTime = 3;
maxEnemyTime = 25;
enemyTime = maxEnemyTime;
screenShake = 0;
lazerFireTimer = 8;
lazerFireMode = false;
invincible = 80;
fireMode = false;
musicTimer = 4;
shotAng = 0;
shotNum = 1;
level = 1;
levelTimer = 0;
powerUpTimer = 0;
t = getTimer();
homingTimer = 0;
homingActive = false;
comboMult = 1;
comboAdd = 0;
score = 0;
ammoSize = 2;
bombNums = 10;
shielded = false;
colors = [0x333333, 0xFF0000, 0xFF6600, 0xFFAA00, 0xFFCC00];
alphas = [0, 1, 1, 1, 1];
ratios = [0, 63, 126, 185, 0xFF];
reverse = false;
BlackAndWhite = false;
songNumber = 0;
songs = new Array("NG72647.mp3", "NG67696.mp3", "NG51270.mp3", "NG47570.mp3", "NG35828.mp3", "NG29108.mp3", "NG81930.mp3");
shieldGlow = new GlowFilter(14109385, 1, 15, 15);
blur = new GradientGlowFilter(0, 45, [0, 0xFF9900], [0, 1], [0, 185], 10, 10, 1, 1, "full", false);
filter = new GradientGlowFilter(0, 45, colors, alphas, ratios, 4, 4, 2.5, 2, "outer", false);
filter2 = new GradientGlowFilter(0, 45, colors, alphas, ratios, 2, 2, 1, 2, "full", false);
context = new SoundLoaderContext(1000, true);
MainMusic = new Sound(new URLRequest(("http://www.inaflashstudios.net/" + songs[songNumber]))).play();
MainMusic.addEventListener(Event.SOUND_COMPLETE, soundDone);
trans = MainMusic.soundTransform;
trans.volume = 1.5;
MainMusic.soundTransform = trans;
doubleClickTimer = 9;
bling.filters = [new BlurFilter(2, 2)];
bling.alpha = 1;
this.addChild(bg);
this.addChild(bling);
this.setChildIndex(bg, 0);
this.addChild(grad);
this.addChild(scoreHold);
this.addChild(partHold);
this.addChild(lazerHold);
this.addChild(scoreText);
this.addChild(livesText);
this.addChild(fps);
this.addChild(buddyHold);
this.addChild(twineHold);
this.addChild(powerHold);
this.addChild(homingHold);
this.addChild(enemyHold);
this.addChild(boltHold);
this.addChild(squareHold);
this.addChild(blinder);
format.font = "Neuropol";
format.color = 0xFFFFFF;
format.size = 15;
scoreFormat.font = "Neuropol";
scoreFormat.color = 0xFFFFFF;
scoreFormat.size = 15;
bigFormat.color = 0xFFFFFF;
fps.defaultTextFormat = format;
fps.x = 518;
fps.y = 382;
fps.selectable = false;
fps.embedFonts = true;
livesText.y = 10;
livesText.x = 100;
livesText.embedFonts = true;
livesText.selectable = false;
livesText.defaultTextFormat = bigFormat;
scoreText.y = 10;
scoreText.x = 400;
scoreText.embedFonts = true;
scoreText.defaultTextFormat = bigFormat;
scoreText.selectable = false;
i = 5;
while (i >= 1) {
var _local2 = this[("square" + i)];
with (_local2) {
g = new Blocks();
g.gotoAndStop(i);
addChild(g);
scaleX = 0.5;
scaleY = 0.5;
x = 275;
y = 200;
addEventListener(Event.ENTER_FRAME, squareFrame);
};
this.squareHold.addChild(this[("square" + i)]);
i--;
};
resetPowerUps();
}
public function armClick(_arg1):void{
navigateToURL(new URLRequest("http://www.armorgames.com"), "_blank");
}
function frame4(){
Mouse.hide();
playBttn.addEventListener(MouseEvent.MOUSE_UP, playClick);
howBttn.addEventListener(MouseEvent.CLICK, howClick);
moreBttn.addEventListener(MouseEvent.CLICK, moreClick);
ngBanner.addEventListener(MouseEvent.CLICK, ngClick);
armorBanner.addEventListener(MouseEvent.CLICK, armorClick);
this.addEventListener(Event.ENTER_FRAME, frametwo);
stop();
}
public function enemyUnload(_arg1:Event):void{
var _local2:Number;
var _local3:int;
var _local4:dy;
var _local5:Break;
var _local6:pow;
if (_arg1.target.level == 3){
_local3 = 0;
while (_local3 < 3) {
_local4 = new dy();
_local5 = new Break();
_local5.gotoAndStop(Math.ceil((Math.random() * _local5.totalFrames)));
_local4.addChild(_local5);
_local4.x = _arg1.target.x;
_local4.y = _arg1.target.y;
_local4.rotation = (Math.random() * 360);
_local4.speed = 2;
_local4.level = 1;
_local4.addEventListener(Event.ENTER_FRAME, enemyFrame);
_local4.addEventListener(Event.REMOVED_FROM_STAGE, enemyUnload);
this.enemyHold.addChild(_local4);
_local3++;
};
};
particle(_arg1.target.x, _arg1.target.y, 25);
_local2 = (Math.random() * 100);
if (_local2 > 95){
_local6 = new pow();
_local6.x = _arg1.target.x;
_local6.y = _arg1.target.y;
_local6.gotoAndStop(Math.ceil((Math.random() * _local6.totalFrames)));
_local6.addEventListener(Event.ENTER_FRAME, powerFrame);
this.powerHold.addChild(_local6);
};
addScore(_arg1.target.x, _arg1.target.y);
comboAdd = (comboAdd + 2);
}
public function trophyUP(_arg1:MouseEvent):void{
var ab20_09:URLVariables;
var request:URLRequest;
var loader:URLLoader;
var loadComplete:Function;
var event = _arg1;
loadComplete = function (_arg1:Event):void{
navigateToURL(new URLRequest("http://armorbot.com/mytable/?id=1213"));
};
ab20_09 = new URLVariables();
ab20_09.z = this.nameBox.text;
ab20_09.x = score;
ab20_09.c = 1213;
ab20_09.v = "LVWFOI";
request = new URLRequest("http://armorbot.com/s_b");
request.data = ab20_09;
request.method = URLRequestMethod.POST;
loader = new URLLoader(request);
loader.addEventListener(Event.COMPLETE, loadComplete);
loader.load(request);
}
public function spawnEnemy(_arg1:Number, _arg2:Number, _arg3:Number):void{
var e:dy;
var en:Enem;
var x = _arg1;
var y = _arg2;
var level = _arg3;
e = new dy();
var _local5 = e.graphics;
with (_local5) {
switch (level){
case 1:
e.speed = 5;
break;
case 2:
e.speed = 3;
break;
case 3:
e.speed = 5;
break;
case 4:
e.targetX = square1.x;
e.targetY = square1.y;
e.changeTimer = 40;
break;
case 5:
e.speed = 3;
break;
case 6:
e.speed = 5;
e.alphaSwitch = 1;
break;
case 7:
e.speed = 2;
break;
case 8:
e.speed = 4;
break;
};
};
en = new Enem();
en.gotoAndStop(level);
e.addChild(en);
e.x = x;
e.y = y;
e.level = level;
e.rotation = (Math.random() * 360);
e.addEventListener(Event.ENTER_FRAME, enemyFrame);
e.addEventListener(Event.REMOVED_FROM_STAGE, enemyUnload);
this.enemyHold.addChild(e);
}
public function backClick(_arg1:MouseEvent):void{
this.prevFrame();
this.removeEventListener(Event.ENTER_FRAME, framehow);
}
public function homingFrame(_arg1:Event):void{
var _local2:int;
_arg1.target.x = (_arg1.target.x + (Math.cos((((_arg1.target.rotation - 90) * Math.PI) / 180)) * 7));
_arg1.target.y = (_arg1.target.y + (Math.sin((((_arg1.target.rotation - 90) * Math.PI) / 180)) * 7));
if (!_arg1.target.lockedOn){
if (this.enemyHold.numChildren != 0){
_local2 = 0;
while (_local2 < this.enemyHold.numChildren) {
if (Math.sqrt((Math.pow((this.enemyHold.getChildAt(_local2).x - _arg1.target.x), 2) + Math.pow((this.enemyHold.getChildAt(_local2).y - _arg1.target.y), 2))) < _arg1.target.lowest){
_arg1.target.lowest = Math.sqrt((Math.pow((this.enemyHold.getChildAt(_local2).x - _arg1.target.x), 2) + Math.pow((this.enemyHold.getChildAt(_local2).y - _arg1.target.y), 2)));
_arg1.target.lowestSelect = _local2;
};
_local2++;
};
_arg1.target.lockedOn = true;
};
};
if (_arg1.target.lowestSelect > (this.enemyHold.numChildren - 1)){
_arg1.target.lockedOn = false;
} else {
if (_arg1.target.hitTestObject(this.enemyHold.getChildAt(_arg1.target.lowestSelect))){
this.enemyHold.getChildAt(_arg1.target.lowestSelect).removeEventListener(Event.ENTER_FRAME, enemyFrame);
this.enemyHold.removeChildAt(_arg1.target.lowestSelect);
_arg1.target.removeEventListener(Event.ENTER_FRAME, homingFrame);
this.homingHold.removeChild(DisplayObject(_arg1.target));
} else {
_arg1.target.rotation = (((Math.atan2((_arg1.target.y - this.enemyHold.getChildAt(_arg1.target.lowestSelect).y), (_arg1.target.x - this.enemyHold.getChildAt(_arg1.target.lowestSelect).x)) * 180) / Math.PI) - 90);
};
};
if (_arg1.target.x > 540){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.x = 539;
};
if (_arg1.target.x < 10){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.x = 11;
};
if (_arg1.target.y > 390){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.y = 389;
};
if (_arg1.target.y < 50){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.y = 51;
};
}
public function clearScreen():void{
var _local1:int;
blinder.play();
_local1 = 0;
while (_local1 < 30) {
if (this.enemyHold.numChildren != 0){
this.enemyHold.getChildAt(0).removeEventListener(Event.ENTER_FRAME, enemyFrame);
this.enemyHold.removeChildAt(0);
};
_local1++;
};
}
public function soundDone(_arg1){
if (songNumber != 6){
songNumber++;
} else {
songNumber = 0;
};
MainMusic = new Sound(new URLRequest(("http://www.inaflashstudios.net/" + songs[songNumber]))).play();
}
public function partFrame(_arg1:Event):void{
_arg1.target.visible = !(_arg1.target.visible);
_arg1.target.x = (_arg1.target.x + (Math.cos(((_arg1.target.rotation * Math.PI) / 180)) * 5));
_arg1.target.y = (_arg1.target.y + (Math.sin(((_arg1.target.rotation * Math.PI) / 180)) * 5));
_arg1.target.alpha = (_arg1.target.alpha - 0.05);
if (_arg1.target.x > 540){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.x = 539;
};
if (_arg1.target.x < 10){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.x = 11;
};
if (_arg1.target.y > 390){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.y = 389;
};
if (_arg1.target.y < 50){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.y = 51;
};
if (_arg1.target.alpha < 0){
_arg1.target.removeEventListener(Event.ENTER_FRAME, partFrame);
this.partHold.removeChild(DisplayObject(_arg1.target));
};
}
public function frame(_arg1:Event):void{
if (M.currentFrame == 50){
this.nextFrame();
this.removeEventListener(Event.ENTER_FRAME, frame);
};
}
public function toggleLazerFire():void{
if (lazerFireMode){
this.boltHold.visible = false;
this.removeEventListener(Event.ENTER_FRAME, lazerAttack);
lazerFireMode = false;
} else {
this.boltHold.visible = true;
this.addEventListener(Event.ENTER_FRAME, lazerAttack);
lazerFireMode = true;
};
}
public function enterFrame(_arg1:Event):void{
var _local2:uint;
var _local3:Number;
var _local4:Number;
if (comboAdd > 25){
comboAdd = (comboAdd - 22);
comboMult++;
};
if (comboAdd > -2){
comboAdd = (comboAdd - 0.05);
} else {
if (comboMult > 1){
comboMult--;
comboAdd = 25;
};
};
comboBar.waves.play();
comboBar.waves.x = ((comboAdd / 25) * 100);
scoreText.text = score.toString();
livesMC.gotoAndStop(lives);
_local2 = (1000 / (getTimer() - t));
fps.text = _local2.toString(10);
t = getTimer();
if (_local2 < 15){
stage.quality = "low";
} else {
if ((((_local2 >= 15)) && ((_local2 < 25)))){
stage.quality = "medium";
} else {
if ((((_local2 >= 25)) && ((_local2 < 35)))){
stage.quality = "high";
} else {
if (_local2 >= 35){
stage.quality = "best";
};
};
};
};
if (powerUpTimer > 0){
powerUpTimer--;
} else {
resetPowerUps();
};
if (levelTimer < 200){
levelTimer++;
} else {
level++;
levelTimer = 0;
};
if (musicTimer > 0){
musicTimer--;
};
if (doubleClickTimer < 9){
doubleClickTimer++;
};
if (invincible > 0){
invincible--;
if ((invincible / 4) != Math.round((invincible / 4))){
this.squareHold.alpha = 1;
} else {
this.squareHold.alpha = 0;
};
} else {
this.squareHold.alpha = 1;
};
if (screenShake > 0){
screenShake--;
x = ((Math.random() * 8) - (Math.random() * 8));
y = ((Math.random() * 8) - (Math.random() * 8));
} else {
x = 0;
y = 0;
};
if (reloadTime > maxReloadTime){
if (mousedown){
reloadTime = 0;
if (reverse){
shoot(1, 360, square1.x, square1.y, 2);
};
shoot(shotNum, shotAng, square1.x, square1.y, ammoSize);
};
} else {
reloadTime++;
};
if (!fireMode){
if ((((MainMusic.leftPeak > 0.85)) && ((musicTimer == 0)))){
musicTimer = 12;
_local3 = (Math.round((Math.random() * 5)) + 1);
spawnEnemy(this[("sp" + _local3)].x, this[("sp" + _local3)].y, Math.ceil((Math.random() * level)));
};
} else {
if ((((((MetalMusic.leftPeak > 0.5999)) && ((MetalMusic.rightPeak > 0.5999)))) && ((musicTimer == 0)))){
musicTimer = 16;
_local4 = (Math.round((Math.random() * 5)) + 1);
spawnEnemy(this[("sp" + _local4)].x, this[("sp" + _local4)].y, Math.ceil((Math.random() * level)));
};
};
}
public function addText(_arg1:Number, _arg2:Number, _arg3:String):void{
var _local4:TextField;
_local4 = new TextField();
_local4.embedFonts = true;
_local4.defaultTextFormat = scoreFormat;
_local4.x = _arg1;
_local4.y = _arg2;
_local4.text = _arg3;
_local4.selectable = false;
_local4.addEventListener(Event.ENTER_FRAME, scoreFrame);
this.scoreHold.addChild(_local4);
}
public function frametwo(_arg1:Event):void{
mouseTar.x = mouseX;
mouseTar.y = mouseY;
}
public function lazerAttack(_arg1:Event):void{
var dist:Number;
var lowestSelect:Number;
var lowestDist:Number;
var d:int;
var li:Shape;
var c:*;
var event = _arg1;
if (((!((this.enemyHold.numChildren == 0))) && (mousedown))){
lowestDist = 500;
d = 0;
while (d < this.enemyHold.numChildren) {
dist = Math.sqrt((Math.pow((square1.x - this.enemyHold.getChildAt(d).x), 2) + Math.pow((square1.y - this.enemyHold.getChildAt(d).y), 2)));
if ((((((dist < lowestDist)) && ((this.enemyHold.getChildAt(d).x > 10)))) && ((this.enemyHold.getChildAt(d).y > 50)))){
lowestSelect = i;
lowestDist = dist;
};
d = (d + 1);
};
if (this.boltHold.numChildren != 0){
if ((this.boltHold.getChildAt((this.boltHold.numChildren - 1)) is Shape)){
this.boltHold.removeChildAt((this.boltHold.numChildren - 1));
};
};
li = new Shape();
var _local3 = li.graphics;
with (_local3) {
c = 0;
while (c < 5) {
lineStyle((12 - (2 * c)), (Math.random() * 0xFFFFFF));
moveTo(square1.x, square1.y);
lineTo(this.enemyHold.getChildAt(lowestSelect).x, this.enemyHold.getChildAt(lowestSelect).y);
if ((c % 2) == 0){
lineStyle(1, 0xFFFFFF, Math.random());
curveTo((((Math.random() * (this.enemyHold.getChildAt(lowestSelect).x - square1.x)) * 2) + square1.x), ((Math.random() * (this.enemyHold.getChildAt(lowestSelect).y - square1.y)) + square1.y), square1.x, square1.y);
};
c++;
};
};
screenShake = 1;
this.boltHold.addChild(li);
if (lazerFireTimer > 0){
lazerFireTimer--;
} else {
this.enemyHold.getChildAt(lowestSelect).removeEventListener(Event.ENTER_FRAME, enemyFrame);
this.enemyHold.removeChildAt(lowestSelect);
lazerFireTimer = 8;
if ((this.boltHold.getChildAt((this.boltHold.numChildren - 1)) is Shape)){
this.boltHold.removeChildAt((this.boltHold.numChildren - 1));
};
};
};
}
public function scoreFrame(_arg1:Event):void{
if (_arg1.target.alpha > 0){
_arg1.target.alpha = (_arg1.target.alpha - 0.05);
_arg1.target.y = (_arg1.target.y - 3);
} else {
_arg1.target.removeEventListener(Event.ENTER_FRAME, scoreFrame);
this.scoreHold.removeChild(DisplayObject(_arg1.target));
};
}
public function ngUP(_arg1:MouseEvent):void{
}
public function mouseUp(_arg1:MouseEvent):void{
mousedown = false;
doubleClickTimer = 0;
if (this.boltHold.numChildren != 0){
if ((this.boltHold.getChildAt((this.boltHold.numChildren - 1)) is Shape)){
this.boltHold.removeChildAt((this.boltHold.numChildren - 1));
};
};
}
public function ngOver(_arg1:MouseEvent):void{
this.options.gotoAndStop(5);
}
public function squareFrame(_arg1:Event):void{
var _local2:int;
if (_arg1.target.parent.getChildIndex(_arg1.target) == (_arg1.target.parent.numChildren - 1)){
if ((((_arg1.target.x > 10)) && ((_arg1.target.x < 540)))){
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - this.mouseX) / 5));
} else {
_arg1.target.x = (_arg1.target.x + ((1 * int((_arg1.target.x <= 10))) - (1 * int((_arg1.target.x >= 540)))));
};
if ((((_arg1.target.y > 50)) && ((_arg1.target.y < 390)))){
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - this.mouseY) / 5));
} else {
_arg1.target.y = (_arg1.target.y + ((1 * int((_arg1.target.y <= 50))) - (1 * int((_arg1.target.y >= 390)))));
};
_arg1.target.rotation = ((Math.atan2((_arg1.target.y - this.mouseY), (_arg1.target.x - this.mouseX)) * 180) / Math.PI);
if (xArray.length <= 4){
xArray.push(_arg1.target.x);
yArray.push(_arg1.target.y);
rArray.push(_arg1.target.rotation);
} else {
xArray.shift();
yArray.shift();
rArray.shift();
xArray.push(_arg1.target.x);
yArray.push(_arg1.target.y);
rArray.push(_arg1.target.rotation);
};
if (Math.sqrt((Math.pow((xArray[4] - xArray[3]), 2) + Math.pow((yArray[4] - yArray[3]), 2))) <= 5){
_arg1.target.getChildAt(0).gotoAndStop(6);
} else {
_arg1.target.getChildAt(0).gotoAndStop(1);
};
_local2 = 0;
while (_local2 < this.enemyHold.numChildren) {
if (((((_arg1.target.hitTestObject(this.enemyHold.getChildAt(_local2))) && ((invincible == 0)))) && (!(shielded)))){
this.enemyHold.getChildAt(_local2).removeEventListener(Event.ENTER_FRAME, enemyFrame);
this.enemyHold.removeChildAt(_local2);
if (!fireMode){
loseLife();
};
};
_local2++;
};
if (_arg1.target.hitTestObject(this.twineHold)){
loseLife();
};
} else {
if (Math.sqrt((Math.pow((xArray[4] - xArray[3]), 2) + Math.pow((yArray[4] - yArray[3]), 2))) <= 5){
_arg1.target.visible = false;
} else {
_arg1.target.visible = true;
};
_arg1.target.x = xArray[(_arg1.target.parent.getChildIndex(_arg1.target) + 1)];
_arg1.target.y = yArray[(_arg1.target.parent.getChildIndex(_arg1.target) + 1)];
_arg1.target.rotation = rArray[(_arg1.target.parent.getChildIndex(_arg1.target) + 1)];
};
}
public function buddyFrame(_arg1:Event):void{
var l:dy;
var e:int;
var event = _arg1;
if (event.target.shotTimer <= 0){
l = new dy();
var _local3 = l.graphics;
with (_local3) {
moveTo(5, 0);
lineStyle(2, 0xFFFFFF);
lineTo(-5, 0);
};
l.timer = 60;
l.rotation = (event.target.rotation - 90);
l.x = (event.target.x + (Math.cos(((l.rotation * Math.PI) / 180)) * 20));
l.y = (event.target.y + (Math.sin(((l.rotation * Math.PI) / 180)) * 20));
this.lazerHold.addChild(l);
l.addEventListener(Event.ENTER_FRAME, lazerFrame);
event.target.shotTimer = 20;
} else {
event.target.shotTimer--;
};
event.target.x = (event.target.x + (Math.cos((((event.target.rotation - 90) * Math.PI) / 180)) * 3));
event.target.y = (event.target.y + (Math.sin((((event.target.rotation - 90) * Math.PI) / 180)) * 3));
if (this.enemyHold.numChildren != 0){
e = 0;
while (e < (this.enemyHold.numChildren - 1)) {
if (event.target.hitTestObject(this.enemyHold.getChildAt(e))){
this.enemyHold.getChildAt(e).removeEventListener(Event.ENTER_FRAME, enemyFrame);
this.enemyHold.removeChildAt(e);
event.target.removeEventListener(Event.ENTER_FRAME, buddyFrame);
if (event.target.parent == this.buddyHold){
this.buddyHold.removeChild(DisplayObject(event.target));
};
};
if ((((((Math.sqrt((Math.pow((this.enemyHold.getChildAt(e).x - event.target.x), 2) + Math.pow((this.enemyHold.getChildAt(e).y - event.target.y), 2))) < event.target.lowest)) && ((this.enemyHold.getChildAt(e).x > 15)))) && ((this.enemyHold.getChildAt(e).y > 60)))){
event.target.lowest = Math.sqrt((Math.pow((this.enemyHold.getChildAt(e).x - event.target.x), 2) + Math.pow((this.enemyHold.getChildAt(e).y - event.target.y), 2)));
event.target.lowestSelect = e;
};
e = (e + 1);
};
if (this.enemyHold.numChildren > event.target.lowestSelect){
event.target.rotation = (((Math.atan2((event.target.y - this.enemyHold.getChildAt(event.target.lowestSelect).y), (event.target.x - this.enemyHold.getChildAt(event.target.lowestSelect).x)) * 180) / Math.PI) - 90);
};
};
}
public function addScore(_arg1:Number, _arg2:Number):void{
var _local3:TextField;
_local3 = new TextField();
_local3.embedFonts = true;
_local3.defaultTextFormat = scoreFormat;
_local3.x = _arg1;
_local3.y = _arg2;
_local3.text = (50 * comboMult).toString();
score = (score + (50 * comboMult));
_local3.selectable = false;
_local3.addEventListener(Event.ENTER_FRAME, scoreFrame);
this.scoreHold.addChild(_local3);
}
public function loader2(_arg1:Event):void{
if (intro.currentFrame == intro.totalFrames){
play();
this.removeEventListener(Event.ENTER_FRAME, loader2);
};
}
public function particle(_arg1:Number, _arg2:Number, _arg3:Number):void{
var c:uint;
var i:int;
var p:dy;
var a:Number;
var x = _arg1;
var y = _arg2;
var n = _arg3;
c = (Math.random() * 0xFFFFFF);
i = 0;
while (i < n) {
p = new dy();
a = Math.round(Math.random());
var _local5 = p.graphics;
with (_local5) {
lineStyle(1, 0, 0);
beginFill(((c * a) + (0xFFFFFF * (1 - a))));
drawRect(-6, -6, 12, 12);
};
p.scaleX = (p.scaleY = Math.random());
p.x = x;
p.y = y;
p.rotation = (Math.random() * 360);
p.addEventListener(Event.ENTER_FRAME, partFrame);
this.partHold.addChild(p);
i = (i + 1);
};
}
public function preloaderFrame(_arg1:Event){
if (_arg1.target.currentFrame == _arg1.target.totalFrames){
play();
_arg1.target.removeEventListener(Event.ENTER_FRAME, preloaderFrame);
};
}
public function addBuddy():void{
var _local1:dy;
var _local2:buddyTar;
_local1 = new dy();
_local2 = new buddyTar();
_local2.scaleX = (_local2.scaleY = 0.5);
_local1.addChild(_local2);
_local1.x = ((Math.random() * 529) + 11);
_local1.y = ((Math.random() * 339) + 51);
_local1.dist = [];
_local1.lowest = 500;
_local1.lowestSelect = 0;
_local1.shotTimer = 40;
_local1.addEventListener(Event.ENTER_FRAME, buddyFrame);
this.buddyHold.addChild(_local1);
}
public function armorOver(_arg1:MouseEvent):void{
this.options.gotoAndStop(3);
}
public function playClick(_arg1:MouseEvent):void{
this.gotoAndStop(6);
menuMusic.stop();
this.removeEventListener(Event.ENTER_FRAME, frametwo);
this.removeEventListener(Event.ENTER_FRAME, framehow);
}
public function toggleBlackAndWhite():void{
if (BlackAndWhite){
BlackAndWhite = false;
this.filters = [];
} else {
this.filters = [new ColorMatrixFilter([0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0, 0, 0, 1, 0])];
BlackAndWhite = true;
bg.visible = true;
bg.graphics.beginFill(0x333333);
bg.graphics.drawRect(-10, -10, 600, 450);
};
}
public function enemyFrame(_arg1:Event):void{
var _local2:int;
if (BlackAndWhite == false){
if (_arg1.target.level != 4){
_arg1.target.x = (_arg1.target.x + (Math.cos((((_arg1.target.rotation - 90) * Math.PI) / 180)) * _arg1.target.speed));
_arg1.target.y = (_arg1.target.y + (Math.sin((((_arg1.target.rotation - 90) * Math.PI) / 180)) * _arg1.target.speed));
} else {
_arg1.target.x = (_arg1.target.x - ((_arg1.target.x - _arg1.target.targetX) / 15));
_arg1.target.y = (_arg1.target.y - ((_arg1.target.y - _arg1.target.targetY) / 15));
if (_arg1.target.changeTimer > 0){
_arg1.target.changeTimer--;
} else {
_arg1.target.changeTimer = 40;
_arg1.target.targetX = square1.x;
_arg1.target.targetY = square1.y;
};
};
};
if (_arg1.target.level == 6){
if (_arg1.target.alphaSwitch == 1){
if (_arg1.target.alpha > 0){
_arg1.target.alpha = (_arg1.target.alpha - 0.05);
} else {
_arg1.target.alphaSwitch = 0;
};
} else {
if (_arg1.target.alpha < 1){
_arg1.target.alpha = (_arg1.target.alpha + 0.05);
} else {
_arg1.target.alphaSwitch = 1;
};
};
};
if (_arg1.target.level == 7){
_arg1.target.scaleX = (_arg1.target.scaleX + 0.1);
_arg1.target.scaleY = (_arg1.target.scaleY + 0.1);
};
if (_arg1.target.level == 8){
_arg1.target.rotation = (((Math.atan2((_arg1.target.x - square1.x), (_arg1.target.y - square1.y)) * 180) / Math.PI) * -1);
};
if (_arg1.target.x > 540){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.x = 539;
};
if (_arg1.target.x < 10){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.x = 11;
};
if (_arg1.target.y > 390){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.y = 389;
};
if (_arg1.target.y < 50){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.y = 51;
};
_local2 = 0;
while (_local2 < this.lazerHold.numChildren) {
if (((_arg1.target.hitTestObject(this.lazerHold.getChildAt(_local2))) && ((_arg1.target.parent == enemyHold)))){
this.lazerHold.getChildAt(_local2).removeEventListener(Event.ENTER_FRAME, lazerFrame);
this.lazerHold.removeChildAt(_local2);
this.enemyHold.removeChild(DisplayObject(_arg1.target));
_arg1.target.removeEventListener(Event.ENTER_FRAME, enemyFrame);
};
_local2++;
};
}
public function menuOver(_arg1:MouseEvent):void{
this.options.gotoAndStop(2);
}
public function mouseDown(_arg1:MouseEvent):void{
Mouse.hide();
mousedown = true;
if (doubleClickTimer < 8){
if (bombNums > 0){
shoot(35, 360, square1.x, square1.y, 2);
bombNums--;
};
};
}
public function newgClick(_arg1):void{
navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank");
}
public function trophyOver(_arg1:MouseEvent):void{
this.options.gotoAndStop(4);
}
public function howClick(_arg1:MouseEvent):void{
this.nextFrame();
this.removeEventListener(Event.ENTER_FRAME, frametwo);
}
public function moreClick(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://armorbot.com/mytable/?id=1213"));
}
public function ngClick(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.newgrounds.com"));
}
public function powerFrame(_arg1:Event):void{
if (((_arg1.target.hitTestObject(this.square1)) && ((powerUpTimer < 10)))){
resetPowerUps();
if (PowerTimerBar.currentFrame == 1){
PowerTimerBar.play();
} else {
PowerTimerBar.gotoAndPlay(5);
};
powerUpTimer = 160;
PowerTimerBar.powerSymbol.gotoAndStop(_arg1.target.currentFrame);
switch (_arg1.target.currentFrame){
case 2:
shotNum = 3;
shotAng = 60;
addText(_arg1.target.x, _arg1.target.y, "Chorus");
break;
case 3:
toggleLazerFire();
addText(_arg1.target.x, _arg1.target.y, "Flanger");
break;
case 8:
clearScreen();
powerUpTimer = 0;
PowerTimerBar.gotoAndStop(1);
addText(_arg1.target.x, _arg1.target.y, "Big Bomb");
break;
case 1:
toggleFireMode();
addText(_arg1.target.x, _arg1.target.y, "Super Fuzz");
break;
case 6:
addBuddy();
addText(_arg1.target.x, _arg1.target.y, "Rhythm Guitar");
PowerTimerBar.gotoAndStop(1);
powerUpTimer = 0;
break;
case 4:
toggleBlackAndWhite();
addText(_arg1.target.x, _arg1.target.y, "Delay");
break;
case 7:
bombNums = (bombNums + 5);
PowerTimerBar.gotoAndStop(1);
powerUpTimer = 0;
addText(_arg1.target.x, _arg1.target.y, "+5 Bombs");
break;
case 5:
squareHold.filters = [shieldGlow];
shielded = true;
addText(_arg1.target.x, _arg1.target.y, "Pick-guard");
break;
};
_arg1.target.removeEventListener(Event.ENTER_FRAME, powerFrame);
this.powerHold.removeChild(DisplayObject(_arg1.target));
};
}
public function lazerFrame(_arg1:Event):void{
_arg1.target.x = (_arg1.target.x + (Math.cos(((_arg1.target.rotation * Math.PI) / 180)) * 5));
_arg1.target.y = (_arg1.target.y + (Math.sin(((_arg1.target.rotation * Math.PI) / 180)) * 5));
if (_arg1.target.x > 540){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.x = 539;
};
if (_arg1.target.x < 10){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.rotation = (_arg1.target.rotation + 180);
_arg1.target.x = 11;
};
if (_arg1.target.y > 390){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.y = 389;
};
if (_arg1.target.y < 50){
_arg1.target.rotation = (_arg1.target.rotation * -1);
_arg1.target.y = 51;
};
if (_arg1.target.timer > 0){
_arg1.target.timer--;
} else {
_arg1.target.alpha = (_arg1.target.alpha - 0.1);
};
if (_arg1.target.alpha < 0){
_arg1.target.removeEventListener(Event.ENTER_FRAME, lazerFrame);
this.lazerHold.removeChild(DisplayObject(_arg1.target));
};
}
public function armorClick(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.armorgames.com"));
}
public function keyDown(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 76){
toggleLazerFire();
};
if (_arg1.keyCode == 70){
toggleFireMode();
};
if (_arg1.keyCode == 77){
homingMissile();
};
if (_arg1.keyCode == 66){
addBuddy();
};
}
public function homingMissile():void{
var m:dy;
m = new dy();
var _local2 = m.graphics;
with (_local2) {
lineStyle(1);
moveTo(-5, 5);
lineTo(0, -5);
lineTo(5, 5);
lineTo(-5, 5);
};
m.x = square1.x;
m.y = square1.y;
m.dist = [];
m.lowest = 500;
m.lowestSelect = 0;
m.lockedOn = false;
this.homingHold.addChild(m);
m.addEventListener(Event.ENTER_FRAME, homingFrame);
}
public function loseLife():void{
var _local1:int;
var _local2:int;
var _local3:int;
if (lives == 1){
this.filters = [];
resetPowerUps();
blinder.play();
clearScreen();
this.removeEventListener(Event.ENTER_FRAME, enterFrame);
stage.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
stage.removeEventListener(MouseEvent.MOUSE_UP, mouseUp);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDown);
_local1 = 0;
while (_local1 < 15) {
if (this.powerHold.numChildren != 0){
this.powerHold.getChildAt(0).removeEventListener(Event.ENTER_FRAME, powerFrame);
this.powerHold.removeChildAt(0);
};
_local1++;
};
_local2 = 0;
while (_local2 < 5) {
if (this.squareHold.numChildren != 0){
this.squareHold.getChildAt(0).removeEventListener(Event.ENTER_FRAME, squareFrame);
this.squareHold.removeChildAt(0);
};
_local2++;
};
MainMusic.stop();
gotoAndStop((this.currentFrame + 1));
} else {
blinder.play();
clearScreen();
invincible = 40;
_local3 = 0;
while (_local3 < 3) {
particle(this.squareHold.getChildAt(0).x, this.squareHold.getChildAt(0).y, 10);
_local3++;
};
lives--;
};
}
public function framehow(_arg1:Event):void{
mouseTar.x = mouseX;
mouseTar.y = mouseY;
}
}
}//package ShredZonenew_fla
Section 9
//MENU_87 (ShredZonenew_fla.MENU_87)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class MENU_87 extends MovieClip {
public var ngBanner:MovieClip;
public var V:MovieClip;
public var armorBanner:MovieClip;
public function MENU_87(){
addFrameScript(49, frame50);
}
function frame50(){
stop();
}
}
}//package ShredZonenew_fla
Section 10
//ng_Drummer_3 (ShredZonenew_fla.ng_Drummer_3)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class ng_Drummer_3 extends MovieClip {
public function ng_Drummer_3(){
addFrameScript(140, frame141);
}
function frame141(){
gotoAndPlay("bb");
}
}
}//package ShredZonenew_fla
Section 11
//ng_preloader_72 (ShredZonenew_fla.ng_preloader_72)
package ShredZonenew_fla {
import flash.events.*;
import flash.display.*;
public dynamic class ng_preloader_72 extends MovieClip {
public var pbttn:MovieClip;
public function ng_preloader_72(){
addFrameScript(129, frame130, 153, frame154);
}
function frame154(){
play();
}
public function pclick(_arg1:MouseEvent):void{
this.pbttn.removeEventListener(MouseEvent.MOUSE_OUT, out);
this.pbttn.removeEventListener(MouseEvent.MOUSE_OVER, over);
this.play();
}
public function out(_arg1){
this.pbttn.gotoAndStop(1);
}
function frame130(){
this.stop();
this.pbttn.gotoAndStop(1);
this.pbttn.useHandCursor = true;
this.pbttn.addEventListener(MouseEvent.MOUSE_UP, pclick);
this.pbttn.addEventListener(MouseEvent.MOUSE_OVER, over);
this.pbttn.addEventListener(MouseEvent.MOUSE_OUT, out);
}
public function over(_arg1){
this.pbttn.gotoAndStop(2);
}
}
}//package ShredZonenew_fla
Section 12
//options_134 (ShredZonenew_fla.options_134)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class options_134 extends MovieClip {
public function options_134(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package ShredZonenew_fla
Section 13
//PowerTimerBar_115 (ShredZonenew_fla.PowerTimerBar_115)
package ShredZonenew_fla {
import flash.display.*;
public dynamic class PowerTimerBar_115 extends MovieClip {
public var PowerTimerBarA:MovieClip;
public var powerSymbol:pow;
public function PowerTimerBar_115(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package ShredZonenew_fla
Section 14
//Blinder (Blinder)
package {
import flash.display.*;
public dynamic class Blinder extends MovieClip {
public function Blinder(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package
Section 15
//Blocks (Blocks)
package {
import flash.display.*;
public dynamic class Blocks extends MovieClip {
}
}//package
Section 16
//Break (Break)
package {
import flash.display.*;
public dynamic class Break extends MovieClip {
}
}//package
Section 17
//buddyTar (buddyTar)
package {
import flash.display.*;
public dynamic class buddyTar extends MovieClip {
}
}//package
Section 18
//dy (dy)
package {
import flash.display.*;
public dynamic class dy extends MovieClip {
}
}//package
Section 19
//Enem (Enem)
package {
import flash.display.*;
public dynamic class Enem extends MovieClip {
}
}//package
Section 20
//Font1 (Font1)
package {
import flash.text.*;
public dynamic class Font1 extends Font {
}
}//package
Section 21
//Gradient (Gradient)
package {
import flash.display.*;
public dynamic class Gradient extends MovieClip {
}
}//package
Section 22
//Metal (Metal)
package {
import flash.media.*;
public dynamic class Metal extends Sound {
}
}//package
Section 23
//pow (pow)
package {
import flash.display.*;
public dynamic class pow extends MovieClip {
}
}//package
Section 24
//PulseShot (PulseShot)
package {
import flash.media.*;
public dynamic class PulseShot extends Sound {
}
}//package
Section 25
//rockit (rockit)
package {
import flash.media.*;
public dynamic class rockit extends Sound {
}
}//package