Section 1
//anotherbar_120 (Menu2_fla.anotherbar_120)
package Menu2_fla {
import flash.display.*;
public dynamic class anotherbar_120 extends MovieClip {
public var STAT:MovieClip;
public var LINEZ:MovieClip;
}
}//package Menu2_fla
Section 2
//combotshit_139 (Menu2_fla.combotshit_139)
package Menu2_fla {
import flash.display.*;
import flash.text.*;
public dynamic class combotshit_139 extends MovieClip {
public var COMBO_TT:TextField;
}
}//package Menu2_fla
Section 3
//F_116 (Menu2_fla.F_116)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class F_116 extends MovieClip {
public function F_116(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Menu2_fla
Section 4
//glowagain_150 (Menu2_fla.glowagain_150)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class glowagain_150 extends MovieClip {
public function glowagain_150(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Menu2_fla
Section 5
//glowyayy_133 (Menu2_fla.glowyayy_133)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class glowyayy_133 extends MovieClip {
public var BALL:MovieClip;
public function glowyayy_133(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Menu2_fla
Section 6
//Halo_115 (Menu2_fla.Halo_115)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class Halo_115 extends MovieClip {
public function Halo_115(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Menu2_fla
Section 7
//loadED_77 (Menu2_fla.loadED_77)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class loadED_77 extends MovieClip {
public function loadED_77(){
addFrameScript(39, frame40);
}
function frame40(){
stop();
}
}
}//package Menu2_fla
Section 8
//MainTimeline (Menu2_fla.MainTimeline)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class MainTimeline extends MovieClip {
public var pt:Number;
public var MUSIC:NG1;
public var ENEMIES:Array;
public var COMBO_MC:MovieClip;
public var SONGSAVI:int;
public var ARC:Array;
public var CUBE:CUB;
public var FIRE:BitmapData;
public var START_NECK:int;
public var ART:Array;
public var FULL_PRELOAD:MovieClip;
public var B:BitmapData;
public var C:int;
public var NECK:MovieClip;
public var GRAV:Number;
public var f:int;
public var BLUR:BlurFilter;
public var i:int;
public var HALO_MUSIC:Array;
public var REC:Rectangle;
public var t:Number;
public var tp:Number;
public var TT:MovieClip;
public var SONG_ID:int;
public var fps2:Number;
public var MM2:Matrix;
public var NECK_SPEED:Number;
public var GR2:FIRE_GR;
public var SCORE_BAR:Number;
public var PT2:Point;
public var FPSAR:Array;
public var STANDARD:Number;
public var SOUNDCHAN:SoundChannel;
public var FULL_SCORE:int;
public var FIRE2:Bitmap;
public var WAS:int;
public var MUSIC2:NG3;
public var MUSIC4:NG4;
public var MUSIC5:NG2;
public var HITNOT:Boolean;
public var SOUNDMENU:MENU_SONG;
public var ISDOWN:Boolean;
public var DMF:DisplacementMapFilter;
public var CHECKAVI2:MovieClip;
public var LOGORef:BitmapData;
public var GR:GGRADI;
public var FPSTT:TextField;
public var fps:Number;
public var FFSF:FFSFF;
public var MUSIC3:NG5;
public var HH:Sprite;
public var TIMER:int;
public var FULL_HUD:MovieClip;
public var PTAR:Array;
public var TYPE_MENU:int;
public var CHAN:SoundChannel;
public var LOGOBit:BitmapData;
public var DISTORT:Boolean;
public var SCORE_TT:TextField;
public var COMBO:Number;
public var POINT:Point;
public var COLORT:ColorTransform;
public var LB2:Bitmap;
public var LB:Bitmap;
public var DIS1:POP1;
public var keylist:Array;
public var DIS2:POP2;
public var MM:Matrix;
public var STREAK:int;
public var GRADI:MovieClip;
public var Mi:int;
public var MC:MovieClip;
public var FLASH:MovieClip;
public var GLOW:GlowFilter;
public var CONXX:ContextMenu;
public var RECT:Rectangle;
public var LINE:Sprite;
public var BALL:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 4, frame5, 5, frame6);
}
public function MOVE_NECK(_arg1:Event){
_arg1.target.y = (_arg1.target.y + NECK_SPEED);
if (Math.abs((_arg1.target.y - START_NECK)) > 150){
_arg1.target.y = (_arg1.target.y - 150);
};
}
public function PL_COMPLETE(_arg1:Event):void{
this.FULL_PRELOAD.BARZORZ.gotoAndPlay("loaded");
}
public function END_SONG(_arg1:Event):void{
gotoAndStop(5);
TYPE_MENU = 1;
i = 0;
while (i < ENEMIES.length) {
this.removeChild(ENEMIES[i]);
ENEMIES[i].removeEventListener(Event.ENTER_FRAME, MOVE_BALL);
i = (i + 1);
};
removeChild(BALL);
removeChild(GRADI);
BALL.removeEventListener(Event.ENTER_FRAME, OEF);
}
public function computeMixer(_arg1:Event){
if (DISTORT){
};
}
function frame2(){
stop();
LOGOBit = new BitmapData(550, 200, false, 0);
LOGORef = new BitmapData(550, 200, false, 0);
LB = new Bitmap(LOGOBit);
LB2 = new Bitmap(LOGORef);
MM = new Matrix(1, 0, 0, 1, 0, 0);
MM2 = new Matrix(1, 0, 0, 1, 0, -200);
BLUR = new BlurFilter(5, 5, 1);
COLORT = new ColorTransform(1, 1, 1, 1, -20, -20, -20, 0);
REC = new Rectangle(0, 0, 550, 400);
TIMER = 0;
CUBE = new CUB();
HH = new Sprite();
GR = new GGRADI();
FFSF = new FFSFF();
this.addChild(LB);
this.addChild(CUBE);
this.addChild(HH);
this.HH.addChild(LB2);
this.addChild(GR);
this.addChild(FFSF);
FFSF.IN.alpha = 0;
FFSF.visible = false;
GR.y = 200;
MM2.scale(1, -1);
HH.y = 200;
CUBE.visible = false;
ARC = new Array();
ART = [[0, 0], [0, 20], [0, 40], [0, 60], [0, 100], [0, 120], [0, 140], [0, 160], [0, 200], [0, 220], [0, 240], [0, 260], [20, 0], [20, 100], [20, 200], [40, 0], [40, 20], [40, 40], [40, 60], [40, 100], [40, 120], [40, 140], [40, 160], [40, 200], [40, 220], [40, 240], [40, 260], [60, 0], [60, 100], [60, 260], [80, 0], [80, 100], [80, 200], [80, 220], [80, 240], [80, 260]];
i = 0;
while (i < ART.length) {
ARC.push([(Math.random() * 550), (Math.random() * 400), ((Math.random() * 10) - 5), (Math.random() * 5)]);
i = (i + 1);
};
this.addEventListener(Event.ENTER_FRAME, OEN);
stage.addEventListener(MouseEvent.CLICK, PRESSLINK3);
}
function frame5(){
B = new BitmapData(100, 100);
FIRE = new BitmapData(100, 100);
FIRE2 = new Bitmap(FIRE);
POINT = new Point();
PTAR = new Array(POINT);
PT2 = new Point();
DMF = new DisplacementMapFilter(B, PT2, 1, 2.1, 30, 30, "ignore");
MC = new MovieClip();
RECT = new Rectangle(0, 0, 100, 100);
GR2 = new FIRE_GR();
WAS = 1;
SOUNDMENU = new MENU_SONG();
this.addChild(MC);
MC.addChild(FIRE2);
MC.scaleX = 5.5;
MC.scaleY = 4;
this.swapChildren(MC, TT);
this.TT.stop();
this.TT.PLAY_BTN.stop();
this.TT.CRED_BTN.stop();
this.TT.INST_BTN.stop();
SOUNDCHAN = new SoundChannel();
SOUNDCHAN = SOUNDMENU.play(0, 20);
stop();
if (TYPE_MENU == 1){
TT.gotoAndStop(8);
} else {
if (TYPE_MENU == 2){
TT.gotoAndStop(9);
};
};
this.addEventListener(Event.ENTER_FRAME, onEnterFram);
}
function frame3(){
MochiAd.showPreloaderAd({clip:this.root, id:"17ffb47daf97ec64", res:"550x400"});
}
public function CR(_arg1:int, _arg2:Number):void{
C = (C + 1);
if (C > 100){
C = 0;
};
this[("ball" + C)] = new NB();
this.addChild(this[("ball" + C)]);
swapChildren(this[("ball" + C)], GRADI);
swapChildren(BALL, GRADI);
this[("ball" + C)].timer = _arg2;
this[("ball" + C)].x = (380 - (_arg1 * 30));
this[("ball" + C)].y = -150;
this[("ball" + C)].gotoAndStop(_arg1);
this[("ball" + C)].addEventListener(Event.ENTER_FRAME, MOVE_BALL);
ENEMIES.push(this[("ball" + C)]);
}
function frame1(){
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
this.loaderInfo.addEventListener(Event.COMPLETE, PL_COMPLETE);
CONXX = new ContextMenu();
CONXX.hideBuiltInItems();
this.contextMenu = CONXX;
if (int((Capabilities.version.charAt(8) + Capabilities.version.charAt(9))) >= 45){
CHECKAVI2.visible = false;
};
this.FULL_PRELOAD.NG_BTN.addEventListener(MouseEvent.CLICK, PRESSLINK22);
this.FULL_PRELOAD.AG_BTN.addEventListener(MouseEvent.CLICK, PRESSLINK12);
}
function frame6(){
keylist = new Array(0xFF);
GRAV = 0.4;
t = getTimer();
fps = 0;
fps2 = 0;
FPSAR = new Array();
START_NECK = NECK.y;
NECK_SPEED = 1;
HALO_MUSIC = new Array();
MUSIC = new NG1();
MUSIC2 = new NG3();
MUSIC3 = new NG5();
MUSIC4 = new NG4();
MUSIC5 = new NG2();
if (SONG_ID == 1){
HALO_MUSIC = new Array([5, 972], [4, 2527], [3, 4083], [2, 5655], [2, 6520], [3, 6605], [4, 6750], [5, 7312], [4, 8944], [3, 10488], [2, 11711], [2, 12090], [2, 12499], [2, 12926], [3, 13027], [4, 13155], [5, 13722], [4, 14572], [3, 15382], [2, 16271], [3, 16363], [4, 16478], [5, 17103], [4, 17981], [3, 18879], [2, 19245], [2, 19661], [3, 19773], [4, 19935], [5, 20591], [4, 21423], [3, 22309], [2, 23110], [3, 23236], [4, 23413], [5, 23952], [4, 24890], [3, 25702], [2, 26063], [2, 26490], [3, 26626], [4, 26750], [5, 27044], [4, 27657], [3, 27792], [2, 27905], [1, 28484], [2, 28653], [3, 0x7070], [4, 28946], [5, 29176], [4, 29644], [3, 29831], [2, 29930], [3, 30450], [3, 31026], [2, 31170], [1, 31630], [3, 32020], [2, 32220], [1, 32418], [2, 32604], [2, 33001], [3, 33122], [2, 33275], [3, 33788], [2, 33956], [1, 34138], [3, 35322], [2, 35445], [1, 35571], [2, 35809], [3, 36163], [2, 36312], [1, 36443], [2, 36730], [3, 37033], [2, 37164], [1, 37260], [2, 37532], [3, 37771], [4, 38059], [5, 41137], [4, 42003], [3, 42868], [2, 43720], [3, 43830], [4, 43944], [5, 44548], [4, 45471], [3, 46222], [2, 46655], [2, 47106], [3, 47198], [4, 47320], [5, 47972], [4, 48804], [3, 49655], [2, 50511], [3, 50630], [4, 50758], [5, 51396], [4, 52236], [3, 53105], [3, 53525], [4, 53818], [5, 54157], [6, 54458]);
} else {
if (SONG_ID == 5){
HALO_MUSIC = new Array([3, 206], [4, 837], [5, 1327], [2, 1605], [3, 2144], [4, 2677], [1, 2990], [2, 3521], [3, 4025], [2, 4338], [3, 4841], [4, 5339], [3, 5674], [4, 6157], [5, 6648], [2, 6948], [3, 7504], [4, 7980], [1, 8291], [2, 8830], [3, 9319], [2, 9639], [3, 10151], [4, 10662], [3, 10970], [4, 11404], [5, 12000], [2, 12322], [3, 12841], [4, 13353], [1, 13659], [2, 14162], [3, 14672], [2, 14960], [3, 15505], [4, 16001], [3, 16276], [4, 16836], [5, 17354], [2, 17659], [3, 18190], [4, 18694], [1, 18938], [2, 19510], [3, 20004], [2, 20301], [3, 20831], [4, 21730], [3, 23010], [4, 23553], [5, 24058], [6, 24391], [6, 25306], [5, 25430], [4, 25594], [3, 25750], [5, 26172], [6, 26622], [5, 26979], [4, 27515], [5, 27997], [3, 28305], [4, 28646], [2, 28800], [3, 29172], [4, 29809], [6, 30579], [5, 30717], [4, 30882], [5, 31386], [6, 31981], [4, 32330], [5, 32795], [4, 33296], [3, 33670], [5, 33951], [4, 34145], [3, 34547], [5, 34996], [3, 36021], [2, 37223], [4, 37681], [1, 38653], [5, 40323], [6, 41218], [3, 42166], [2, 42389], [1, 42666], [4, 43003], [1, 43995], [6, 46744], [5, 46864], [4, 47013], [5, 47473], [6, 48010], [4, 48342], [5, 48824], [6, 49363], [4, 49663], [5, 49943], [6, 50096], [4, 50559], [5, 50998], [6, 51810], [5, 51955], [4, 52088], [3, 52298], [5, 52770], [3, 53241], [2, 53601], [3, 54161], [4, 54693], [3, 54960], [5, 55307], [4, 55505], [3, 55826], [5, 56339], [4, 57282], [3, 57429], [2, 57576], [1, 57948], [2, 58203], [3, 58597], [2, 58981], [3, 59477], [1, 59967], [2, 60337], [3, 60636], [1, 60838], [2, 61233], [4, 61668], [5, 62545], [4, 62718], [3, 62867], [2, 62989], [3, 63448], [4, 64041], [1, 64357], [2, 64845], [4, 65373], [3, 65697], [2, 65975], [1, 66292], [3, 66600], [2, 67207], [1, 67484], [2, 67856], [3, 67992], [2, 68361], [1, 68510], [2, 68663], [3, 68852], [3, 69207], [2, 69366], [2, 69739], [1, 69849], [1, 70055], [2, 70120], [2, 70542], [1, 70718], [3, 70975], [2, 71152], [3, 71326], [2, 71818], [3, 71964], [1, 72339], [2, 72499], [3, 72695], [1, 72827], [1, 73175], [2, 73310], [3, 73641], [2, 73802], [3, 73994], [2, 74137], [2, 74507], [3, 74670], [1, 74957], [2, 75522], [3, 76358], [1, 76884], [2, 80500], [3, 81282], [2, 81549], [3, 81925], [2, 82298], [3, 82520], [1, 83099], [3, 83998], [4, 84456], [5, 85056], [4, 85322], [1, 85728], [2, 86980], [3, 87742], [4, 88534], [3, 89628], [2, 90342], [3, 91069], [1, 92283], [2, 93034], [1, 93692], [3, 94863], [2, 95631], [1, 96317], [4, 97623], [5, 98279], [2, 99005], [3, 100224], [2, 100947], [3, 101744], [2, 102669], [3, 103530], [1, 104365], [2, 105622], [3, 106330], [2, 107084], [2, 108292], [3, 109002], [1, 109653], [2, 110934], [4, 111663], [5, 112352], [4, 113382], [5, 115009], [4, 115990], [4, 117554], [5, 118633], [3, 119270], [2, 119615], [1, 119988], [5, 120364], [4, 121311], [6, 122421], [3, 123125], [2, 124196], [1, 124346], [3, 124835], [2, 125362], [1, 125629], [3, 126159], [2, 126613], [3, 126971], [2, 127328], [1, 127485], [3, 127871], [4, 128325], [5, 129149], [4, 129299], [3, 129614], [4, 130108], [5, 130593], [4, 130962], [3, 131500], [5, 132025], [2, 132319], [3, 132638], [1, 132792], [2, 133137], [5, 133604], [6, 134996], [5, 136395], [4, 137351], [5, 138884], [6, 139970], [3, 140645], [2, 140964], [1, 141309], [5, 141654], [4, 142627], [6, 143689], [3, 145733], [5, 146646], [4, 146758], [2, 147017], [3, 147553], [5, 148017], [1, 148323], [4, 148876], [2, 149373], [3, 149703], [2, 149999], [1, 150138], [3, 150521], [5, 150964], [5, 151756], [4, 151961], [3, 152140], [2, 152320], [3, 152821], [5, 153305], [1, 153632], [3, 154127], [2, 154602], [3, 154962], [5, 155332], [4, 155493], [3, 155802], [2, 156326], [5, 157166], [4, 157330], [3, 157506], [2, 157714], [3, 158128], [5, 158612], [1, 158927], [4, 159506], [2, 159964], [3, 160330], [2, 160618], [1, 160829], [3, 161170], [5, 161580], [5, 162621], [4, 162727], [3, 162961], [5, 163465], [4, 164054], [2, 164348], [5, 164827], [1, 165364], [3, 165686], [2, 166005], [3, 166123], [4, 166520], [3, 167502], [3, 167840], [2, 167988], [1, 168175], [3, 168869], [2, 169355], [1, 169590], [3, 170163], [2, 170725], [3, 171027], [1, 171332], [2, 171463], [3, 171826], [5, 172287], [4, 173220], [3, 173362], [2, 173502], [1, 173622], [3, 174111], [2, 174599], [1, 174955], [3, 175427], [2, 176008], [3, 176331], [1, 176670], [2, 176808], [3, 177184], [5, 177826]);
} else {
if (SONG_ID == 2){
HALO_MUSIC = new Array([5, 4581], [6, 5125], [5, 5648], [6, 6208], [4, 6695], [5, 7354], [6, 7977], [5, 8466], [6, 8981], [3, 9513], [5, 10182], [6, 10768], [5, 11249], [6, 11788], [4, 12295], [5, 13025], [6, 13520], [5, 14018], [6, 14519], [3, 14988], [5, 15706], [6, 16259], [5, 16762], [6, 17268], [4, 17761], [5, 18431], [6, 19026], [5, 19517], [6, 20015], [3, 20515], [5, 21188], [6, 21751], [5, 22305], [6, 22830], [4, 23351], [5, 23951], [6, 24569], [5, 25100], [6, 25553], [5, 27985], [5, 28354], [6, 28555], [5, 29102], [5, 29487], [6, 29728], [4, 30254], [5, 31186], [5, 31578], [6, 31763], [5, 32326], [5, 32738], [6, 32963], [3, 33543], [5, 34335], [5, 34737], [6, 34978], [5, 35533], [5, 35923], [6, 36170], [4, 36696], [5, 37565], [5, 37984], [6, 38190], [5, 38752], [5, 39129], [6, 39383], [3, 39953], [5, 40755], [5, 41194], [6, 41378], [5, 41940], [5, 42339], [6, 42582], [4, 43154], [6, 43580], [6, 43764], [6, 43972], [6, 44183], [6, 44380], [6, 44586], [6, 44804], [6, 44979], [6, 45187], [6, 45393], [6, 45605], [6, 45745], [5, 45979], [4, 46168], [5, 46369], [6, 46746], [6, 46945], [6, 47137], [6, 47345], [6, 47548], [6, 47745], [6, 47978], [6, 48168], [6, 48379], [6, 48582], [6, 48780], [6, 48947], [5, 49182], [4, 49374], [5, 49583], [6, 50052], [6, 50366], [6, 50729], [6, 51126], [6, 51539], [6, 51979], [5, 52368], [4, 52589], [5, 52813], [6, 53181], [6, 53601], [6, 53994], [6, 54404], [6, 54814], [6, 55221], [5, 55579], [4, 55785], [5, 56012], [5, 56951], [5, 57361], [6, 57545], [5, 58118], [5, 58494], [6, 58723], [4, 59299], [5, 60092], [5, 60534], [6, 60745], [5, 61289], [5, 61714], [6, 61924], [3, 62559], [5, 63286], [5, 63703], [6, 63965], [5, 64473], [5, 64926], [6, 65143], [4, 65725], [5, 66488], [5, 66887], [6, 67103], [5, 67677], [5, 68115], [6, 68342], [3, 68942], [5, 69667], [5, 70101], [6, 70337], [5, 70891], [5, 71308], [6, 71547], [4, 72078], [5, 72327], [6, 97926], [6, 100089], [5, 100798], [4, 102278], [5, 102968], [6, 103717], [5, 106580], [4, 108028], [5, 108662], [6, 109449], [5, 112516], [4, 113802], [5, 114592], [6, 115396], [5, 116381], [6, 116950], [5, 117490], [4, 118041], [5, 118712], [6, 119239], [5, 119779], [6, 120281], [3, 120791], [5, 121522], [6, 122054], [5, 122581], [6, 123048], [4, 123778], [5, 124383], [6, 124886], [5, 125387], [6, 125822], [3, 126341], [5, 127081], [6, 127585], [5, 128109], [6, 128609], [4, 129074], [5, 129829], [6, 130359], [5, 130860], [6, 131367], [3, 131863], [5, 132541], [6, 133131], [5, 133624], [6, 134094], [4, 134604], [5, 135319], [6, 135841], [5, 136368], [6, 136856], [5, 139039], [5, 139442], [6, 139626], [5, 140188], [5, 140610], [6, 140836], [4, 141372], [5, 142173], [5, 142598], [6, 142867], [5, 143403], [5, 143812], [6, 144045], [3, 144605], [5, 145378], [5, 145805], [6, 146043], [5, 146573], [5, 147017], [6, 147231], [4, 147841], [5, 148609], [5, 148996], [6, 149265], [5, 149794], [5, 150216], [6, 150432], [3, 150979], [5, 151822], [5, 152208], [6, 152451], [5, 152921], [5, 153348], [6, 153577], [4, 154157], [6, 154516], [6, 154710], [6, 154909], [6, 155094], [6, 155310], [6, 155521], [6, 155733], [6, 155932], [6, 156124], [6, 156330], [6, 156529], [6, 156734], [5, 156951], [4, 157145], [5, 157353], [6, 157712], [6, 157925], [6, 158127], [6, 158317], [6, 158521], [6, 158729], [6, 158922], [6, 159126], [6, 159325], [6, 159525], [6, 159744], [6, 159924], [5, 160148], [4, 160326], [5, 160516], [6, 160962], [6, 161356], [6, 161783], [6, 162191], [6, 162578], [6, 162950], [5, 163330], [4, 163552], [5, 163764], [6, 164137], [6, 164537], [6, 164955], [6, 165353], [6, 165774], [6, 166163], [5, 166526], [4, 166744], [5, 166954], [5, 167666], [5, 168089], [6, 168303], [5, 168879], [5, 169317], [6, 169508], [4, 170086], [5, 170892], [5, 171307], [6, 171531], [5, 172047], [5, 172466], [6, 172711], [3, 173262], [5, 174069], [5, 174507], [6, 174689], [5, 175285], [5, 175717], [6, 175907], [4, 176430], [5, 177252], [5, 177660], [6, 177880], [5, 178468], [5, 178887], [6, 179112], [3, 179685], [5, 180457], [5, 180891], [6, 181117], [5, 181658], [5, 182098], [6, 182303], [4, 182867], [5, 183341]);
} else {
if (SONG_ID == 3){
HALO_MUSIC = new Array([6, 1848], [5, 4557], [6, 7246], [5, 9956], [6, 10998], [6, 11217], [6, 11695], [6, 11884], [6, 12355], [4, 15280], [6, 17777], [5, 18074], [5, 18414], [6, 18585], [5, 18833], [5, 19167], [5, 0x4C4C], [4, 19932], [6, 20412], [5, 20740], [5, 21066], [6, 21298], [5, 21543], [5, 21839], [5, 22189], [4, 22367], [6, 23068], [5, 23358], [5, 23721], [6, 23928], [5, 24216], [5, 24515], [4, 24971], [6, 25760], [5, 26052], [5, 26389], [6, 26567], [5, 26861], [5, 27202], [5, 27561], [1, 28003], [6, 28337], [5, 0x7000], [5, 29026], [6, 29193], [5, 29551], [5, 29881], [5, 30221], [1, 30697], [6, 30995], [5, 31329], [5, 31708], [6, 31890], [5, 32209], [5, 32558], [5, 32888], [1, 33356], [6, 33684], [5, 34024], [5, 34354], [6, 34571], [5, 34863], [5, 35191], [5, 35539], [1, 35961], [6, 36355], [5, 36668], [5, 37012], [6, 37194], [5, 37547], [5, 37892], [5, 38233], [1, 38701], [6, 39042], [5, 39415], [5, 39763], [6, 39954], [5, 40212], [5, 40563], [5, 40892], [1, 41395], [6, 41799], [5, 42088], [5, 42413], [6, 42597], [5, 42905], [5, 43247], [5, 43575], [1, 44042], [6, 46753], [6, 47028], [6, 47350], [6, 47674], [6, 47994], [6, 48274], [5, 48614], [4, 49001], [6, 49324], [6, 49657], [6, 49983], [6, 50316], [6, 50675], [6, 50983], [5, 51309], [4, 51656], [6, 52012], [6, 52340], [6, 52671], [6, 52982], [6, 53330], [6, 53643], [5, 53945], [4, 54269], [6, 53762], [6, 54066], [6, 54405], [6, 54766], [6, 55105], [6, 55403], [4, 55763], [5, 56083], [6, 56454], [6, 56793], [6, 57119], [6, 57439], [6, 57741], [6, 58044], [5, 58398], [4, 58720], [6, 59108], [6, 59434], [6, 59769], [6, 60109], [6, 60450], [6, 60774], [5, 61089], [4, 61445], [6, 61757], [6, 62090], [6, 62441], [6, 62785], [6, 63124], [6, 63439], [5, 63753], [4, 64092], [6, 64406], [6, 64756], [6, 65092], [6, 65402], [6, 65743], [6, 66056], [4, 66425], [5, 66738], [6, 67110], [5, 67578], [6, 68028], [5, 68602], [4, 69113], [5, 69397], [6, 69717], [5, 70228], [6, 70747], [5, 71320], [4, 71818], [5, 72157], [6, 72451]);
} else {
if (SONG_ID == 4){
HALO_MUSIC = new Array([6, 588], [4, 1338], [5, 1475], [6, 2786], [5, 3575], [4, 3721], [6, 5049], [4, 5989], [5, 6141], [6, 7335], [5, 8160], [4, 8311], [3, 8771], [2, 8947], [1, 9134], [2, 9319], [3, 9445], [6, 9664], [4, 10522], [5, 10631], [6, 11928], [5, 12701], [4, 12885], [3, 13323], [2, 13428], [1, 13573], [2, 13738], [3, 13902], [6, 14171], [4, 15117], [5, 15218], [1, 16027], [2, 16202], [3, 16470], [4, 16704], [3, 17393], [2, 17573], [1, 18814], [2, 19338], [3, 19936], [3, 20519], [2, 20696], [1, 20902], [1, 21713], [2, 21865], [3, 22036], [4, 22212], [3, 23349], [2, 23661], [3, 23934], [1, 24583], [2, 24969], [3, 25484], [2, 25635], [1, 25800], [1, 27981], [2, 28552], [1, 29004], [3, 29713], [1, 30317], [2, 30832], [1, 31289], [3, 31995], [1, 32559], [2, 33146], [3, 33739], [2, 34259], [4, 35049], [3, 37253], [2, 37647], [3, 38128], [4, 38636], [2, 39270], [3, 39770], [1, 40406], [2, 40719], [3, 40892], [2, 41753], [3, 42216], [1, 42822], [2, 43248], [1, 43940], [2, 44477], [1, 45102], [2, 45399], [3, 45786], [3, 46307], [2, 46818], [3, 47325], [2, 47797], [3, 48279], [2, 48853], [3, 49255], [2, 49573], [3, 50149], [1, 50823], [2, 51363], [3, 51777], [2, 52021], [3, 52252], [1, 52471], [2, 52862], [3, 53121], [2, 53322], [3, 53650], [2, 53943], [3, 54201], [2, 54425], [1, 54697], [2, 55096], [1, 58165], [2, 58453], [3, 58649], [1, 58831], [2, 59352], [3, 59784], [2, 60125], [3, 60501], [1, 61062], [2, 61390], [3, 61602], [3, 61900], [2, 62079], [3, 62408], [6, 64564], [4, 65409], [5, 65556], [6, 66816], [5, 67662], [4, 67828], [6, 69098], [4, 69917], [5, 70068], [6, 71409], [5, 72182], [4, 72375], [3, 72720], [2, 72870], [1, 73019], [2, 73226], [3, 73382], [6, 73704], [4, 74560], [5, 74682], [6, 75981], [5, 76832], [4, 76956], [3, 77426], [2, 77501], [1, 77592], [2, 77784], [3, 77982], [6, 78263], [4, 79106], [5, 79227], [6, 80764], [5, 81370], [4, 81587], [1, 82878], [2, 83389], [1, 83967], [3, 84547], [2, 84767], [1, 84993], [1, 85874], [2, 86062], [3, 86192], [1, 87435], [2, 88073], [1, 88614], [2, 89264], [3, 89478], [2, 89660], [3, 90048], [1, 92034], [2, 92558], [1, 93036], [3, 93707], [1, 94346], [2, 94899], [1, 95378], [2, 96068], [1, 96624], [2, 97162], [1, 97745], [2, 98236], [3, 99058], [3, 101295], [2, 101511], [3, 101679], [3, 101962], [1, 102109], [2, 102526], [3, 102658], [3, 103055], [3, 103374], [2, 103609], [3, 103721], [3, 104141], [1, 104347], [2, 104498], [3, 104664], [3, 104935], [3, 105707], [2, 106176], [3, 106717], [1, 107104], [2, 107297], [3, 107586], [1, 107928], [3, 108532], [2, 108797], [3, 109043], [1, 109577], [2, 109923], [3, 110217], [1, 110783], [2, 111296], [3, 111761], [1, 112485], [2, 112980], [3, 113321], [2, 113522], [3, 113906], [3, 114434], [1, 114765], [2, 115340], [3, 115965], [2, 116367], [1, 116559], [2, 116852], [3, 117149], [3, 117741], [3, 118273], [2, 118569], [1, 118731], [2, 119115], [3, 121645], [2, 122003], [3, 122339], [1, 122763], [2, 123243], [3, 123638], [1, 123971], [2, 124311], [1, 124582], [2, 125018], [3, 125241], [2, 125514], [3, 125871], [1, 126022], [2, 126281], [6, 128490]);
};
};
};
};
};
DISTORT = false;
LINE = new Sprite();
C = 0;
ENEMIES = new Array();
GLOW = new GlowFilter(0xFF00, 1, 5, 5, 3, 1, false, false);
pt = getTimer();
tp = ((getTimer() - pt) * 0.001);
DIS1 = new POP1();
DIS2 = new POP2();
COMBO = 1;
FULL_SCORE = 0;
SCORE_BAR = 160;
Mi = 0;
STANDARD = 10;
STREAK = 0;
this.addChild(LINE);
swapChildren(LINE, GRADI);
swapChildren(LINE, BALL);
i = 0;
while (i < 10) {
FPSAR.push(80);
i = (i + 1);
};
stop();
BALL.addEventListener(Event.ENTER_FRAME, OEF);
this.addEventListener(Event.ENTER_FRAME, START_UP_TIMER);
NECK.addEventListener(Event.ENTER_FRAME, MOVE_NECK);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keydown);
stage.addEventListener(KeyboardEvent.KEY_UP, keyup);
}
public function MOVE_SPARK(_arg1:Event):void{
_arg1.target.SPD = (_arg1.target.SPD - (_arg1.target.SPD / 50));
_arg1.target.y = (_arg1.target.y - _arg1.target.YY);
_arg1.target.YY = (_arg1.target.YY - GRAV);
_arg1.target.x = (_arg1.target.x + (_arg1.target.SPD * Math.cos((((_arg1.target.rotation - 90) * Math.PI) / 180))));
_arg1.target.y = (_arg1.target.y - (_arg1.target.SPD * Math.sin((((_arg1.target.rotation + 90) * Math.PI) / 180))));
_arg1.target.alpha = (_arg1.target.alpha - 0.02);
if (_arg1.target.alpha < 0){
_arg1.target.removeEventListener(Event.ENTER_FRAME, MOVE_SPARK);
this.removeChild(_arg1.target);
};
}
public function SPARK():void{
var _local1:SPARKMC;
_local1 = new SPARKMC();
this.addChild(_local1);
_local1.rotation = ((Math.random() * 100) - 50);
_local1.SPD = ((Math.random() * 3) + 4);
_local1.alpha = (1 - ((Math.random() * 6) / 10));
_local1.x = (BALL.x + (15 * Math.cos((((_local1.rotation - 90) * Math.PI) / 180))));
_local1.y = (BALL.y - (15 * Math.sin((((_local1.rotation + 90) * Math.PI) / 180))));
_local1.YY = ((Math.random() * 3) + 3);
_local1.addEventListener(Event.ENTER_FRAME, MOVE_SPARK);
}
public function isDown(_arg1:int):Boolean{
return (keylist[_arg1]);
}
public function OEF(_arg1:Event):void{
SCORE_TT.text = "";
i = 0;
while (i < (7 - FULL_SCORE.toString().length)) {
SCORE_TT.appendText("0");
i = (i + 1);
};
SCORE_TT.appendText(FULL_SCORE.toString());
COMBO_MC.COMBO_TT.text = (COMBO + "x");
if (COMBO >= 2){
} else {
if (COMBO == 1){
};
};
COMBO = (Math.floor((STREAK / 3)) + 1);
if (FULL_HUD.LINEZ.y < 80){
FULL_HUD.STAT.gotoAndStop(1);
} else {
if (FULL_HUD.LINEZ.y < 220){
FULL_HUD.STAT.gotoAndStop(2);
} else {
FULL_HUD.STAT.gotoAndStop(3);
};
};
if (FLASH.alpha > 0){
FLASH.alpha = (FLASH.alpha - 0.1);
};
tp = ((getTimer() - pt) * 0.001);
pt = getTimer();
NECK_SPEED = (tp * 130);
_arg1.target.x = mouseX;
HITNOT = false;
i = 0;
while (i < ENEMIES.length) {
if (((((((((_arg1.target.hitTestObject(ENEMIES[i])) && (!((ENEMIES[i].currentFrame == 7))))) && (!((ENEMIES[i].currentFrame == 8))))) && (isDown(Keyboard.SPACE)))) && (!(ISDOWN)))){
ISDOWN = true;
ENEMIES[i].gotoAndStop(7);
FLASH.alpha = 1;
HITNOT = true;
if (stage.quality == "HIGH"){
f = 0;
while (f < 5) {
SPARK();
f = (f + 1);
};
};
_arg1.target.gotoAndPlay(2);
FULL_SCORE = (FULL_SCORE + (STANDARD * COMBO));
SCORE_BAR = (SCORE_BAR - ((STANDARD * COMBO) / 5));
STREAK = (STREAK + 1);
};
i = (i + 1);
};
if (((((!(HITNOT)) && (isDown(Keyboard.SPACE)))) && (!(ISDOWN)))){
SCORE_BAR = (SCORE_BAR + (STANDARD / 2));
STREAK = 0;
this[("DIS" + Math.ceil((Math.random() * 2)))].play();
};
if (!isDown(Keyboard.SPACE)){
ISDOWN = false;
} else {
ISDOWN = true;
};
if (Mi < HALO_MUSIC.length){
if (getTimer() > (HALO_MUSIC[Mi][1] + t)){
CR(HALO_MUSIC[Mi][0], HALO_MUSIC[Mi][1]);
Mi = (Mi + 1);
};
};
if (isDown(81)){
TYPE_MENU = 0;
gotoAndStop(5);
if (getTimer() < (3900 + t)){
this.removeEventListener(Event.ENTER_FRAME, START_UP_TIMER);
} else {
CHAN.stop();
CHAN.removeEventListener(Event.SOUND_COMPLETE, END_SONG);
};
i = 0;
while (i < ENEMIES.length) {
this.removeChild(ENEMIES[i]);
ENEMIES[i].removeEventListener(Event.ENTER_FRAME, MOVE_BALL);
i = (i + 1);
};
removeChild(BALL);
removeChild(GRADI);
BALL.removeEventListener(Event.ENTER_FRAME, OEF);
};
FULL_HUD.LINEZ.y = (FULL_HUD.LINEZ.y + ((SCORE_BAR - FULL_HUD.LINEZ.y) / 10));
if (FULL_HUD.LINEZ.y < 12){
FULL_HUD.LINEZ.y = 12;
SCORE_BAR = 10;
} else {
if (FULL_HUD.LINEZ.y > 300){
FULL_HUD.LINEZ.y = 300;
SCORE_BAR = 300;
TYPE_MENU = 2;
gotoAndStop(5);
if (getTimer() < (3900 + t)){
this.removeEventListener(Event.ENTER_FRAME, START_UP_TIMER);
} else {
CHAN.stop();
CHAN.removeEventListener(Event.SOUND_COMPLETE, END_SONG);
};
i = 0;
while (i < ENEMIES.length) {
this.removeChild(ENEMIES[i]);
ENEMIES[i].removeEventListener(Event.ENTER_FRAME, MOVE_BALL);
i = (i + 1);
};
removeChild(BALL);
removeChild(GRADI);
BALL.removeEventListener(Event.ENTER_FRAME, OEF);
};
};
}
public function PRESSLINK3(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.futureflashstudio.com"), "_blank");
}
public function OEN(_arg1:Event):void{
TIMER = (TIMER + 1);
LOGORef.draw(LOGOBit, MM2);
LOGORef.applyFilter(LOGORef, REC, new Point(0, 0), BLUR);
LOGOBit.colorTransform(REC, COLORT);
i = 0;
while (i < ART.length) {
if (TIMER < 400){
ARC[i][0] = (ARC[i][0] - ((ARC[i][0] - (ART[i][1] + 140)) / 40));
ARC[i][1] = (ARC[i][1] - ((ARC[i][1] - (ART[i][0] + 110)) / 40));
} else {
ARC[i][3] = (ARC[i][3] - 0.1);
ARC[i][1] = (ARC[i][1] - ARC[i][3]);
ARC[i][0] = (ARC[i][0] + ARC[i][2]);
};
DRAWCUBE(ARC[i][0], ARC[i][1]);
i = (i + 1);
};
if ((((TIMER > 454)) && ((TIMER < 667)))){
MM.tx = 30;
MM.ty = 170;
if (FFSF.IN.alpha < 100){
FFSF.IN.alpha = (FFSF.IN.alpha + 2);
};
LOGOBit.draw(FFSF, MM);
} else {
if (TIMER >= 667){
MM.tx = 30;
MM.ty = 170;
LOGOBit.draw(FFSF, MM);
FFSF.IN.alpha = (FFSF.IN.alpha - 2);
};
};
if (TIMER > 750){
gotoAndPlay(3);
LOGORef.dispose();
LOGOBit.dispose();
removeChild(FFSF);
removeChild(HH);
GR.stop();
removeChild(GR);
removeChild(LB);
removeChild(CUBE);
stage.removeEventListener(MouseEvent.CLICK, PRESSLINK3);
removeEventListener(Event.ENTER_FRAME, OEN);
};
}
public function keyup(_arg1:KeyboardEvent):void{
keylist[_arg1.keyCode] = false;
}
public function DRAWCUBE(_arg1:Number, _arg2:Number):void{
MM.tx = _arg1;
MM.ty = _arg2;
LOGOBit.draw(CUBE, MM);
}
public function keydown(_arg1:KeyboardEvent):void{
keylist[_arg1.keyCode] = true;
}
public function PRESSLINK12(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.armorgames.com"), "_blank");
}
public function PRESSLINK22(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank");
}
public function MOVE_BALL(_arg1:Event):void{
_arg1.target.y = (_arg1.target.y + NECK_SPEED);
if (_arg1.target.y > 550){
_arg1.target.removeEventListener(Event.ENTER_FRAME, MOVE_BALL);
this.removeChild(_arg1.target);
ENEMIES.shift();
};
if ((((((_arg1.target.y > 350)) && (!((_arg1.target.currentFrame == 7))))) && (!((_arg1.target.currentFrame == 8))))){
_arg1.target.gotoAndStop(8);
SCORE_BAR = (SCORE_BAR + (STANDARD / 2));
this[("DIS" + Math.ceil((Math.random() * 2)))].play();
STREAK = 0;
};
}
public function onEnterFram(_arg1:Event):void{
PTAR[0].y = (PTAR[0].y + 5);
B.perlinNoise(20, 150, 2, 2, true, false, 7, false, PTAR);
FIRE.draw(GR2);
FIRE.applyFilter(FIRE, RECT, PT2, DMF);
}
public function PRESSPLAY(_arg1:MouseEvent):void{
if (!CHECKAVI2.visible){
this.FULL_PRELOAD.BARZORZ.play();
_arg1.target.removeEventListener(MouseEvent.CLICK, PRESSPLAY);
};
}
public function PL_LOADING(_arg1:ProgressEvent):void{
this.FULL_PRELOAD.BARZORZ.gotoAndStop(int(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100)));
}
public function START_UP_TIMER(_arg1:Event):void{
if (getTimer() > (3900 + t)){
if (SONG_ID == 1){
CHAN = MUSIC.play();
} else {
if (SONG_ID == 2){
CHAN = MUSIC2.play();
} else {
if (SONG_ID == 3){
CHAN = MUSIC3.play();
} else {
if (SONG_ID == 4){
CHAN = MUSIC4.play();
} else {
if (SONG_ID == 5){
CHAN = MUSIC5.play();
};
};
};
};
};
CHAN.addEventListener(Event.SOUND_COMPLETE, END_SONG);
this.removeEventListener(Event.ENTER_FRAME, START_UP_TIMER);
};
}
}
}//package Menu2_fla
Section 9
//ng_Drummer_5 (Menu2_fla.ng_Drummer_5)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class ng_Drummer_5 extends MovieClip {
public function ng_Drummer_5(){
addFrameScript(140, frame141);
}
function frame141(){
gotoAndPlay("bb");
}
}
}//package Menu2_fla
Section 10
//ng_preloader_73 (Menu2_fla.ng_preloader_73)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class ng_preloader_73 extends MovieClip {
public var PLAYBTN:SimpleButton;
public function ng_preloader_73(){
addFrameScript(129, frame130, 153, frame154);
}
function frame154(){
root.play();
}
function frame130(){
stop();
this.PLAYBTN.addEventListener(MouseEvent.CLICK, PRESSPLAY);
}
public function PRESSPLAY(_arg1:MouseEvent):void{
if (!root.CHECKAVI2.visible){
play();
_arg1.target.removeEventListener(MouseEvent.CLICK, PRESSPLAY);
};
}
}
}//package Menu2_fla
Section 11
//NGAGPreLoader_1 (Menu2_fla.NGAGPreLoader_1)
package Menu2_fla {
import flash.display.*;
public dynamic class NGAGPreLoader_1 extends MovieClip {
public var BARZORZ:MovieClip;
public var AG_BTN:SimpleButton;
public var NG_BTN:SimpleButton;
}
}//package Menu2_fla
Section 12
//Rectangle_112 (Menu2_fla.Rectangle_112)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class Rectangle_112 extends MovieClip {
public var BTN1:MovieClip;
public var BTN2:MovieClip;
public var BTN3:MovieClip;
public var BTN4:MovieClip;
public var BTN5:MovieClip;
public function Rectangle_112(){
addFrameScript(0, frame1);
}
function frame1(){
if (root.SONGSAVI < 1){
BTN2.gotoAndStop(2);
};
if (root.SONGSAVI < 2){
BTN3.gotoAndStop(2);
};
if (root.SONGSAVI < 3){
BTN4.gotoAndStop(2);
};
if (root.SONGSAVI < 4){
BTN5.gotoAndStop(2);
};
}
}
}//package Menu2_fla
Section 13
//RockBastard_117 (Menu2_fla.RockBastard_117)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class RockBastard_117 extends MovieClip {
public function RockBastard_117(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Menu2_fla
Section 14
//Symbol1_86 (Menu2_fla.Symbol1_86)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class Symbol1_86 extends MovieClip {
public var BACK_BTN:MovieClip;
public var PREV_BTN:MovieClip;
public var FULL_BTNS:MovieClip;
public var ARMORGAMES_BTN:MovieClip;
public var MENU_BTN:MovieClip;
public var FULL_TEXT_SCORE:TextField;
public var NEWGROUNDS_BTN:MovieClip;
public var PLAY_BTN:MovieClip;
public var SONG_UNLOCK:MovieClip;
public var INST_BTN:MovieClip;
public var CRED_BTN:MovieClip;
public var NEXT_BTN:MovieClip;
public function Symbol1_86(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
public function PRESSLINK2(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank");
}
public function PRESSLINK1(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.armorgames.com"), "_blank");
}
function frame3(){
this.MENU_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
this.PREV_BTN.addEventListener(MouseEvent.CLICK, PRESSP);
}
public function PRESS3(_arg1:MouseEvent):void{
_arg1.target.parent.gotoAndStop(2);
this.removeEventListener(Event.ENTER_FRAME, ONEOF);
}
function frame7(){
this.MENU_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
FULL_BTNS.BTN1.addEventListener(MouseEvent.CLICK, PRESSFULLBTN1);
FULL_BTNS.BTN2.addEventListener(MouseEvent.CLICK, PRESSFULLBTN2);
FULL_BTNS.BTN3.addEventListener(MouseEvent.CLICK, PRESSFULLBTN3);
FULL_BTNS.BTN4.addEventListener(MouseEvent.CLICK, PRESSFULLBTN4);
FULL_BTNS.BTN5.addEventListener(MouseEvent.CLICK, PRESSFULLBTN5);
}
public function PRESS1(_arg1:MouseEvent):void{
_arg1.target.parent.gotoAndStop(7);
this.removeEventListener(Event.ENTER_FRAME, ONEOF);
}
public function PRESS2(_arg1:MouseEvent):void{
_arg1.target.parent.gotoAndStop(4);
this.removeEventListener(Event.ENTER_FRAME, ONEOF);
}
function frame5(){
this.MENU_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
this.PREV_BTN.addEventListener(MouseEvent.CLICK, PRESSP);
this.NEXT_BTN.addEventListener(MouseEvent.CLICK, PRESSN);
}
function frame9(){
this.MENU_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
}
function frame1(){
this.addEventListener(Event.ENTER_FRAME, ONEOF);
this.NEWGROUNDS_BTN.addEventListener(MouseEvent.CLICK, PRESSLINK2);
this.ARMORGAMES_BTN.addEventListener(MouseEvent.CLICK, PRESSLINK1);
this.PLAY_BTN.addEventListener(MouseEvent.CLICK, PRESS1);
this.CRED_BTN.addEventListener(MouseEvent.CLICK, PRESS2);
this.INST_BTN.addEventListener(MouseEvent.CLICK, PRESS3);
}
function frame4(){
this.MENU_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
this.NEXT_BTN.addEventListener(MouseEvent.CLICK, PRESSN);
}
function frame8(){
this.MENU_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
FULL_TEXT_SCORE.text = root.FULL_SCORE;
if ((((root.SONG_ID == (root.SONGSAVI + 1))) && (!((root.SONG_ID == 5))))){
root.SONGSAVI = (root.SONGSAVI + 1);
SONG_UNLOCK.alpha = 1;
};
}
function frame2(){
this.NEXT_BTN.addEventListener(MouseEvent.CLICK, PRESSN);
this.BACK_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
}
public function PRESSM(_arg1:MouseEvent):void{
_arg1.target.parent.gotoAndStop(1);
_arg1.target.removeEventListener(MouseEvent.CLICK, PRESSM);
}
public function PRESSN(_arg1:MouseEvent):void{
_arg1.target.parent.nextFrame();
_arg1.target.removeEventListener(MouseEvent.CLICK, PRESSN);
}
public function PRESSFULLBTN1(_arg1:MouseEvent):void{
root.SONG_ID = 1;
root.gotoAndStop(6);
root.removeEventListener(Event.ENTER_FRAME, root.onEnterFram);
root.removeChild(root.MC);
root.MC.removeChild(root.FIRE2);
root.SOUNDCHAN.stop();
root.removeChild(root.TT);
}
public function ONEOF(_arg1:Event):void{
if (_arg1.target.PLAY_BTN.hitTestPoint(parent.mouseX, parent.mouseY, false)){
_arg1.target.PLAY_BTN.nextFrame();
} else {
_arg1.target.PLAY_BTN.prevFrame();
};
if (_arg1.target.CRED_BTN.hitTestPoint(parent.mouseX, parent.mouseY, false)){
_arg1.target.CRED_BTN.nextFrame();
} else {
_arg1.target.CRED_BTN.prevFrame();
};
if (_arg1.target.INST_BTN.hitTestPoint(parent.mouseX, parent.mouseY, false)){
_arg1.target.INST_BTN.nextFrame();
} else {
_arg1.target.INST_BTN.prevFrame();
};
}
public function PRESSP(_arg1:MouseEvent):void{
_arg1.target.parent.prevFrame();
_arg1.target.removeEventListener(MouseEvent.CLICK, PRESSP);
}
public function PRESSFULLBTN3(_arg1:MouseEvent):void{
if (root.SONGSAVI >= 2){
root.SONG_ID = 3;
root.gotoAndStop(6);
root.removeEventListener(Event.ENTER_FRAME, root.onEnterFram);
root.removeChild(root.MC);
root.MC.removeChild(root.FIRE2);
root.SOUNDCHAN.stop();
root.removeChild(root.TT);
};
}
public function PRESSFULLBTN2(_arg1:MouseEvent):void{
if (root.SONGSAVI >= 1){
root.SONG_ID = 2;
root.gotoAndStop(6);
root.removeEventListener(Event.ENTER_FRAME, root.onEnterFram);
root.removeChild(root.MC);
root.MC.removeChild(root.FIRE2);
root.SOUNDCHAN.stop();
root.removeChild(root.TT);
};
}
public function PRESSFULLBTN4(_arg1:MouseEvent):void{
if (root.SONGSAVI >= 3){
root.SONG_ID = 4;
root.gotoAndStop(6);
root.removeEventListener(Event.ENTER_FRAME, root.onEnterFram);
root.removeChild(root.MC);
root.MC.removeChild(root.FIRE2);
root.SOUNDCHAN.stop();
root.removeChild(root.TT);
};
}
public function PRESSFULLBTN5(_arg1:MouseEvent):void{
if (root.SONGSAVI >= 4){
root.SONG_ID = 5;
root.gotoAndStop(6);
root.removeEventListener(Event.ENTER_FRAME, root.onEnterFram);
root.removeChild(root.MC);
root.MC.removeChild(root.FIRE2);
root.SOUNDCHAN.stop();
root.removeChild(root.TT);
};
}
function frame6(){
this.MENU_BTN.addEventListener(MouseEvent.CLICK, PRESSM);
this.PREV_BTN.addEventListener(MouseEvent.CLICK, PRESSP);
}
}
}//package Menu2_fla
Section 15
//Symbol15_82 (Menu2_fla.Symbol15_82)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class Symbol15_82 extends MovieClip {
public var CURRENT_VER2:TextField;
public var CONT_BTN2:MovieClip;
public var FL_PLAYER2:MovieClip;
public function Symbol15_82(){
addFrameScript(0, frame1);
}
function frame1(){
CURRENT_VER2.text = (("Your current version is " + Capabilities.version) + " It should be 9,0,45,0 or higher");
FL_PLAYER2.addEventListener(MouseEvent.MOUSE_DOWN, LINK_TO_ADOBE);
CONT_BTN2.addEventListener(MouseEvent.CLICK, CONT_FUN2);
}
public function CONT_FUN2(_arg1:Event):void{
this.visible = false;
}
public function LINK_TO_ADOBE(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW"), "_blank");
}
}
}//package Menu2_fla
Section 16
//WaketheDead_114 (Menu2_fla.WaketheDead_114)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class WaketheDead_114 extends MovieClip {
public function WaketheDead_114(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Menu2_fla
Section 17
//windowshud1_98 (Menu2_fla.windowshud1_98)
package Menu2_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
import flash.accessibility.*;
import flash.errors.*;
public dynamic class windowshud1_98 extends MovieClip {
public function windowshud1_98(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package Menu2_fla
Section 18
//CUB (CUB)
package {
import flash.display.*;
public dynamic class CUB extends MovieClip {
}
}//package
Section 19
//FFSFF (FFSFF)
package {
import flash.display.*;
public dynamic class FFSFF extends MovieClip {
public var IN:MovieClip;
}
}//package
Section 20
//FIRE_GR (FIRE_GR)
package {
import flash.display.*;
public dynamic class FIRE_GR extends MovieClip {
}
}//package
Section 21
//GGRADI (GGRADI)
package {
import flash.display.*;
public dynamic class GGRADI extends MovieClip {
}
}//package
Section 22
//MENU_SONG (MENU_SONG)
package {
import flash.media.*;
public dynamic class MENU_SONG extends Sound {
}
}//package
Section 23
//MochiAd (MochiAd)
package {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
public class MochiAd {
public static function getVersion():String{
return ("1.5");
}
public static function showTimedAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
this.clip.stop();
}, ad_finished:function ():void{
this.clip.play();
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
var _local2:MovieClip;
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
_local2 = this.parent.parent;
MochiAd.unload(_local2);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
_local1 = this.parent._mochiad_ctr;
_local2 = (getTimer() - this.started);
_local3 = false;
if (!chk.showing){
_local4 = _local1.loaderInfo.bytesTotal;
if ((((_local4 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
_local3 = true;
};
};
};
if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local3 = true;
};
if (_local3){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _allowDomains(_arg1:String):String{
var _local2:String;
_local2 = _arg1.split("/")[2].split(":")[0];
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (!_arg1._mochiad){
return (false);
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
_arg1.removeChild(_arg1._mochiad);
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip;
_local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["sendHighScore", _arg1], _arg2, _arg3);
return (true);
}
public static function _parseOptions(_arg1:Object, _arg2:Object):Object{
var _local3:Object;
var _local4:String;
var _local5:Array;
var _local6:Number;
var _local7:Array;
_local3 = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
if (_arg1){
for (_local4 in _arg1) {
_local3[_local4] = _arg1[_local4];
};
};
_arg1 = _local3.clip.loaderInfo.parameters.mochiad_options;
if (_arg1){
_local5 = _arg1.split("&");
_local6 = 0;
while (_local6 < _local5.length) {
_local7 = _local5[_local6].split("=");
_local3[unescape(_local7[0])] = unescape(_local7[1]);
_local6++;
};
};
return (_local3);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function load(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var depth:Number;
var mc:MovieClip;
var wh:Array;
var lv:URLVariables;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var f:Function;
var req:URLRequest;
var v:Object;
var options = _arg1;
DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip._mochiad_loaded){
return (null);
};
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, "_mochiad", depth);
wh = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
lv = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
if (clip.loaderInfo.loaderURL.indexOf("http") != 0){
options.no_page = true;
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
mc["onEnterFrame"] = function ():void{
if (!this._mochiad_ctr){
delete this["onEnterFrame"];
MochiAd.unload(this.parent);
};
};
doOnEnterFrame(mc);
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lv.st = getTimer();
loader = new Loader();
f = function (_arg1:Object):void{
mc._mochiad_ctr_failed = true;
};
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f);
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.load(req);
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{
var _local4:MovieClip;
_local4 = new MovieClip();
if (((false) && (_arg3))){
_arg1.addChildAt(_local4, _arg3);
} else {
_arg1.addChild(_local4);
};
_arg1[_arg2] = _local4;
_local4["_name"] = _arg2;
return (_local4);
}
public static function _getRes(_arg1:Object, _arg2:Object):Array{
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Array;
_local3 = _arg2.getBounds(_arg2.root);
_local4 = 0;
_local5 = 0;
if (typeof(_arg1.res) != "undefined"){
_local6 = _arg1.res.split("x");
_local4 = parseFloat(_local6[0]);
_local5 = parseFloat(_local6[1]);
} else {
_local4 = (_local3.xMax - _local3.xMin);
_local5 = (_local3.yMax - _local3.yMin);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
public static function _loadCommunicator(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var clipname:String;
var server:String;
var depth:Number;
var mc:MovieClip;
var lv:URLVariables;
var k:String;
var lc:LocalConnection;
var name:String;
var req:URLRequest;
var loader:Loader;
var options = _arg1;
DEFAULTS = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
clipname = ("_mochiad_com_" + options.id);
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip[clipname]){
return (clip[clipname]);
};
server = (options.com_server + options.id);
MochiAd._allowDomains(server);
delete options.id;
delete options.com_server;
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, clipname, depth);
lv = new URLVariables();
for (k in options) {
lv[k] = options[k];
};
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.name = name;
mc.lc = lc;
lv.lc = name;
mc._id = 0;
mc._queue = [];
mc.rpcResult = function (_arg1:Object):void{
var _local3:Array;
var _local4:Array;
var _local5:Number;
var _local6:Object;
var _local7:Object;
_arg1 = parseInt(_arg1.toString());
_local3 = mc._callbacks[_arg1];
if (typeof(_local3) == "undefined"){
return;
};
delete mc._callbacks[_arg1];
_local4 = [];
_local5 = 2;
while (_local5 < _local3.length) {
_local4.push(_local3[_local5]);
_local5++;
};
_local5 = 1;
while (_local5 < arguments.length) {
_local4.push(arguments[_local5]);
_local5++;
};
_local6 = _local3[1];
_local7 = _local3[0];
if (((_local7) && ((typeof(_local6) == "string")))){
_local6 = _local7[_local6];
};
if (typeof(_local6) == "function"){
_local6.apply(_local7, _local4);
};
};
mc._didConnect = function (_arg1:String):void{
var _local2:Array;
var _local3:Function;
var _local4:Number;
var _local5:Array;
mc._endpoint = _arg1;
_local2 = mc._queue;
delete mc._queue;
_local3 = mc.doSend;
_local4 = 0;
while (_local4 < _local2.length) {
_local5 = _local2[_local4];
_local3.apply(this, _local5);
_local4++;
};
};
mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{
var _local5:Number;
var _local6:LocalConnection;
var _local7:Array;
var _local8:Number;
if (mc._endpoint == null){
_local7 = [];
_local8 = 0;
while (_local8 < arguments.length) {
_local7.push(arguments[_local8]);
_local8++;
};
mc._queue.push(_local7);
return;
};
mc._id = (mc._id + 1);
_local5 = mc._id;
mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))];
_local6 = new LocalConnection();
_local6.send(mc._endpoint, "rpc", _local5, _arg1);
};
mc._callbacks = {};
mc._callbacks[0] = [mc, "_didConnect"];
lv.st = getTimer();
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader = new Loader();
loader.load(req);
mc.addChild(loader);
mc._mochiad_com = loader;
return (mc);
}
public static function showPreloaderAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var bar:MovieClip;
var bar_color:Number;
var bar_background:Number;
var bar_outline:Number;
var backing_mc:MovieClip;
var backing:Object;
var inside_mc:MovieClip;
var inside:Object;
var outline_mc:MovieClip;
var outline:Object;
var options = _arg1;
DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, ad_started:function ():void{
this.clip.stop();
}, ad_finished:function ():void{
this.clip.play();
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
bar = createEmptyMovieClip(chk, "_mochiad_bar", 4);
bar.x = 10;
bar.y = (h - 20);
bar_color = options.color;
delete options.color;
bar_background = options.background;
delete options.background;
bar_outline = options.outline;
delete options.outline;
backing_mc = createEmptyMovieClip(bar, "_outline", 1);
backing = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo((w - 20), 0);
backing.lineTo((w - 20), 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
inside_mc = createEmptyMovieClip(bar, "_inside", 2);
inside = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo((w - 20), 0);
inside.lineTo((w - 20), 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
outline_mc = createEmptyMovieClip(bar, "_outline", 3);
outline = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo((w - 20), 0);
outline.lineTo((w - 20), 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
var _local2:MovieClip;
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
_local2 = this.parent.parent;
MochiAd.unload(_local2);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Object;
var _local3:Number;
var _local4:Boolean;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Object;
var _local10:Number;
var _local11:Number;
_local1 = this.parent.parent.root;
if (!_local1){
delete this["onEnterFrame"];
return;
};
_local2 = this.parent._mochiad_ctr;
_local3 = (getTimer() - this.started);
_local4 = false;
_local5 = _local1.loaderInfo.bytesTotal;
_local6 = _local1.loaderInfo.bytesLoaded;
_local7 = ((100 * _local6) / _local5);
_local8 = ((100 * _local3) / chk.ad_msec);
_local9 = this._mochiad_bar._inside;
_local10 = Math.min(100, Math.min(((_local7) || (0)), _local8));
_local10 = Math.max(this.last_pcnt, _local10);
this.last_pcnt = _local10;
_local9.scaleX = (_local10 * 0.01);
if (!chk.showing){
_local11 = _local2.loaderInfo.bytesTotal;
if ((((_local11 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local3 > chk.ad_timeout){
_local4 = true;
};
};
};
if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local4 = true;
};
if ((((((_local5 > 0)) && ((_local6 >= _local5)))) && (_local4))){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip;
_local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3);
return (true);
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var f:Function;
var mc = _arg1;
f = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
mc.removeEventListener(Event.ENTER_FRAME, f);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package
Section 24
//NB (NB)
package {
import flash.display.*;
public dynamic class NB extends MovieClip {
}
}//package
Section 25
//NG1 (NG1)
package {
import flash.media.*;
public dynamic class NG1 extends Sound {
}
}//package
Section 26
//NG2 (NG2)
package {
import flash.media.*;
public dynamic class NG2 extends Sound {
}
}//package
Section 27
//NG3 (NG3)
package {
import flash.media.*;
public dynamic class NG3 extends Sound {
}
}//package
Section 28
//NG4 (NG4)
package {
import flash.media.*;
public dynamic class NG4 extends Sound {
}
}//package
Section 29
//NG5 (NG5)
package {
import flash.media.*;
public dynamic class NG5 extends Sound {
}
}//package
Section 30
//POP1 (POP1)
package {
import flash.media.*;
public dynamic class POP1 extends Sound {
}
}//package
Section 31
//POP2 (POP2)
package {
import flash.media.*;
public dynamic class POP2 extends Sound {
}
}//package
Section 32
//SPARKMC (SPARKMC)
package {
import flash.display.*;
public dynamic class SPARKMC extends MovieClip {
}
}//package