Symbol 2 MovieClip [__Packages.Preloader] Frame 0
#initclip
if (!Preloader) {
//(_global.Preloader = function () {
super();
}) extends MovieClip
var _local1 = (_global.Preloader /* register */).prototype;
_local1.onLoad = function () {
this.aC = this.attachMovie("bkm1.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.JA = this.createEmptyMovieClip("clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.OB = this.JA.attachMovie("bkm2.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.OB._x = (-this.OB._width) / 2;
this.OB._y = (-this.OB._height) / 2;
this.JA._x = Stage.width / 2;
this.JA._y = Stage.height / 2;
this.VB = this.createEmptyMovieClip("clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.TB = this.VB.attachMovie("bkm3.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.TB._x = (-this.TB._width) / 2;
this.TB._y = (-this.TB._height) / 2;
this.VB._x = Stage.width / 2;
this.VB._y = Stage.height / 2;
this.AD = this.attachMovie("bkm4.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.AD._x = (Stage.width - this.AD._width) / 2;
this.AD._y = (Stage.height - this.AD._height) / 2;
this.YA = this.createEmptyMovieClip("cli1", 16485);
this.YA.beginFill(16750080);
this.YA.moveTo(Stage.width * 0, Stage.height * 0.9);
this.YA.lineTo(Stage.width * 0.4, Stage.height * 0.9);
this.YA.lineTo(Stage.width * 0.4, Stage.height * 0.95);
this.YA.lineTo(Stage.width * 0, Stage.height * 0.95);
this.YA.lineTo(Stage.width * 0, Stage.height * 0.9);
this.YA.endFill();
this.YA._x = Stage.width * 0.3;
this.VD = this.createEmptyMovieClip("cli2", 16486);
this.VD.lineStyle(2, 9868950);
this.VD.moveTo(Stage.width * 0.3, Stage.height * 0.9);
this.VD.lineTo(Stage.width * 0.7, Stage.height * 0.9);
this.VD.lineTo(Stage.width * 0.7, Stage.height * 0.95);
this.VD.lineTo(Stage.width * 0.3, Stage.height * 0.95);
this.VD.lineTo(Stage.width * 0.3, Stage.height * 0.9);
this.K = this.createEmptyMovieClip("cli3", 16484);
this.K.beginFill(16777215, 50);
this.K.moveTo(Stage.width * 0, Stage.height * 0.9);
this.K.lineTo(Stage.width * 0.4, Stage.height * 0.9);
this.K.lineTo(Stage.width * 0.4, Stage.height * 0.95);
this.K.lineTo(Stage.width * 0, Stage.height * 0.95);
this.K.lineTo(Stage.width * 0, Stage.height * 0.9);
this.K.endFill();
this.K._x = Stage.width * 0.3;
this.yC = this.attachMovie("sponsorsml.png", "sponsor" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.yC._x = Stage.width - this.yC._width;
this.yC._y = Stage.height - this.yC._height;
this.yC.onPress = function () {
getURL ("http://www.maxgames.com", "_blank");
};
};
_local1.onEnterFrame = function () {
this.YA._width = ((_root.getBytesLoaded() / _root.getBytesTotal()) * Stage.width) * 0.4;
this.JA._rotation = this.JA._rotation - (5 / 30);
if (this.JA._rotation < 0) {
this.JA._rotation = this.JA._rotation + 360;
}
this.VB._rotation = (-this.JA._rotation) * 2;
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
this.wD++;
}
if ((1 == this.wD) || (2 == this.wD)) {
this.VD.removeMovieClip();
this.YA.removeMovieClip();
this.K.removeMovieClip();
_root.levelmenu._visible = false;
_root.mutebutton._visible = false;
_root.mutemusicbutton._visible = false;
if (2 == this.wD) {
var _local2 = this.attachMovie("button", "button" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local2.HE("Start", _root.menu.a, _root.menu.QD, _root.menu.UD[2], _root.menu.UD[2] + 40);
}
}
};
_local1.gC = function () {
for (var XD in this) {
if (this[XD] instanceof MovieClip) {
this[XD].removeMovieClip();
}
}
this.onEnterFrame = undefined;
_root.menu.tC = _root.menu.attachMovie("sponsorintro", "sponsorintro" + _root.menu.getNextHighestDepth(), _root.menu.getNextHighestDepth());
};
ASSetPropFlags(_local1, null, 1);
_local1.wD = 0;
}
#endinitclip
Symbol 19 MovieClip [__Packages.swfmill.registerClass.preloader] Frame 0
#initclip
Object.registerClass("preloader", Preloader);
#endinitclip
Symbol 21 MovieClip [__Packages.LevelMenu] Frame 0
#initclip
if (!LevelMenu) {
//(_global.LevelMenu = function () {
super();
}) extends MovieClip
var _local1 = (_global.LevelMenu /* register */).prototype;
_local1.onLoad = function () {
this.yC = this.attachMovie("sponsor.png", "sponsor" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.yC._x = _root.menu.QD + 2;
this.yC._y = Stage.height - this.yC._height;
this.yC.onPress = function () {
if (!_root.MA) {
_root.iB.start();
}
getURL ("http://www.maxgames.com", "_blank");
};
this.gD = this.attachMovie("dg.png", "dg" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.gD._x = (_root.menu.a - this.gD._width) - 2;
this.gD._y = Stage.height - this.gD._height;
this.gD.onPress = function () {
if (!_root.MA) {
_root.iB.start();
}
_root.menu.e(2);
};
this.DC = [];
this.IC = [];
this.IC[0] = ";;0,76,-324,75,-380,575,-119,2,575,-281,0,0,1,2,475,-380,0,0,1,2,375,-281,0,0,1,2,275,-381,0,0,1,2,175,-281,0,0,1,2,75,-380,0,0,1,1,!";
this.IC[1] = ";;1,124,-221,125,-455,525,-143,2,125,-455,0,0,1,2,525,-405,0,0,1,2,225,-430,0,0,1,2,300,-455,0,0,1,2,376,-429,0,0,1,2,450,-455,0,0,1,3,212,425,-294,39,0,0,1,1,!";
this.IC[2] = ";;0,66,-200,68,-378,564,-76,2,442,-242,0,0,1,2,441,-393,0,0,1,2,68,-378,0,0,1,2,274,-380,0,0,1,2,563,-417,0,0,1,3,337,388,-509,-330,0,0,1,3,139,188,-520,-332,0,0,1,3,488,528,-281,8,0,0,1,3,600,650,-280,30,0,0,1,4,272,-251,4,562,-195,1,!";
this.DC[3] = "Wall of Spikes";
this.IC[3] = ";;1,300,-200,300,-230,249,-310,2,150,-436,0,0,1,2,49,-414,0,0,1,2,250,-449,0,0,1,2,348,-447,0,0,1,2,450,-444,0,0,1,2,547,-417,0,0,1,2,463,-292,0,0,1,2,300,-230,0,0,1,3,11,74,-343,-5,526,-2,10,3,610,677,-505,20,0,0,1,3,284,474,-354,-318,0,0,1,3,281,320,-355,-273,0,0,1,3,195,300,-306,-268,0,0,1,3,186,225,-358,-281,0,0,1,3,100,225,-359,-317,0,0,1,3,392,432,-238,-198,0,0,1,4,50,-198,1,!";
this.IC[4] = ";;0,75,-331,75,-418,583,-51,2,228,-408,0,0,1,2,225,-465,0,0,1,2,450,-44,0,0,1,2,350,-44,0,0,1,2,250,-43,0,0,1,2,150,-43,0,0,1,2,50,-43,0,0,1,2,75,-418,0,0,1,2,586,-122,0,0,1,3,275,325,-535,-356,0,0,1,3,125,301,-394,-356,0,0,1,3,475,526,-207,11,0,0,1,3,375,425,-182,18,0,0,1,3,275,325,-157,22,0,0,1,3,175,225,-131,13,0,0,1,3,75,126,-106,28,0,0,1,3,125,175,-509,-356,0,0,1,4,224,-439,1,!";
this.IC[5] = ";;2,49,-218,50,-331,551,-156,5,300,-456,0,0,10,1,2,550,-331,0,0,1,5,425,-331,0,0,2,0,5,300,-331,0,0,2,1,5,175,-330,0,0,2,0,2,50,-331,0,0,1,3,-40,262,-522,-368,0,0,1,3,337,667,-509,-368,0,0,1,4,299,-430,1,!";
this.DC[6] = "Toggle";
this.IC[6] = ";;3,96,-263,125,-356,545,-319,2,542,-381,0,0,1,2,500,-331,0,0,1,5,525,-131,0,0,2,0,5,425,-131,0,0,2,1,5,325,-130,0,0,2,0,5,225,-130,0,0,2,1,5,125,-130,0,0,2,0,2,125,-356,0,0,5,3,-51,25,-549,45,0,0,1,3,612,668,-553,160,0,0,1,3,-40,676,-539,-455,0,0,1,3,175,475,-479,-280,0,0,1,4,325,-180,1,!";
this.DC[7] = "Between the Lines";
this.IC[7] = ";;2,92,-276,93,-331,574,-84,5,500,-330,0,0,2,1,5,400,-330,0,0,2,NaN,5,300,-330,0,0,2,1,5,200,-330,0,0,2,NaN,2,93,-331,0,0,1,2,575,-330,0,0,1,3,-1,37,-394,-181,462,-3,12,3,275,749,-207,-155,350,1,12,3,-87,653,-569,-379,0,0,1,3,-77,501,-205,23,0,0,1,3,299,338,-404,-175,524,5,12,4,136,-358,4,574,-29,1,!";
this.DC[8] = "Iron Web";
this.IC[8] = ";;3,112,-317,112,-368,526,-371,5,525,-431,0,0,5,0,2,526,-371,0,0,1,5,75,-67,0,0,1.5,0,5,150,-67,0,0,1.5,1,5,225,-67,0,0,1.5,0,5,301,-67,0,0,1.5,1,5,375,-68,0,0,1.5,0,5,450,-68,0,0,1.5,1,5,525,-68,0,0,1.5,0,2,112,-368,0,0,1,3,-21,694,-48,24,0,0,1,3,-18,665,-509,-455,0,0,1,3,250,401,-534,-306,0,0,1,4,524,-400,1,!";
this.DC[9] = "Endurance";
this.IC[9] = ";;2,200,-356,undefined,undefined,312,-428,5,87,-244,0,0,2.3,0,5,512,-243,0,0,2.72,0,5,213,-242,0,0,3,1,5,412,-243,0,0,2.5,1,5,312,-243,0,0,3.3,0,5,312,-468,0,0,25,1,4,151,-356,1,!";
this.IC[10] = ";;4,100,-306,101,-426,525,-342,2,101,-426,0,0,1,2,524,-430,0,0,1,2,550,-181,-475,0,7,3,272,376,-741,-490,0,0,1,3,162,437,-504,-243,0,0,1,4,362,-217,1,!";
this.DC[11] = "The Gateway";
this.IC[11] = ";;4,87,-293,87,-394,562,-318,2,562,-394,0,0,1,2,338,-194,249,-1,5,2,262,-193,-200,-2,5,2,87,-394,0,0,1,3,316,379,-763,-508,0,0,1,3,150,487,-510,-243,0,0,1,3,275,325,-81,46,0,0,1,3,274,326,-432,-279,1,189,5,4,81,-443,1,!";
this.IC[12] = ";;5,108,-415,107,-509,114,-139,2,107,-509,0,0,1,2,237,-513,0,0,1,2,400,-513,0,0,1,2,561,-512,0,0,1,2,700,-513,0,0,1,2,562,-214,0,0,1,2,387,-213,0,0,1,2,237,-213,0,0,1,2,112,-212,0,0,1,3,-55,25,-651,46,0,0,1,3,-61,-36,-510,-491,0,0,1,3,-14,625,-338,-263,0,0,1,3,767,829,-625,26,0,0,1,3,-3,828,-632,-568,0,0,1,3,200,274,-550,-475,0,456,5,3,362,438,-88,-13,0,-463,5,3,524,600,-550,-474,1,461,5,4,387,-243,1,!";
this.DC[13] = "Claustrophobia";
this.IC[13] = ";;6,49,-152,50,-252,83,-783,2,575,-442,-212,1,3,2,50,-442,224,0,3,2,611,-216,-236,1,3,2,25,-217,250,-2,3,2,50,-252,0,0,1,2,576,-790,0,0,1,2,50,-617,528,-2,9,2,425,-817,0,0,1,2,294,-817,0,0,1,2,177,-816,0,0,1,3,-55,683,-24,392,0,-702,33,3,-31,401,-328,-277,0,0,1,3,646,976,-319,-266,0,0,1,3,-54,26,-891,-668,0,0,1,3,301,349,-278,-130,-1,-201,5,3,140,626,-529,-477,0,0,1,3,605,664,-530,-264,0,0,1,3,-23,525,-715,-668,0,0,1,3,449,500,-847,-722,-449,-3,9.75,3,-25,18,-326,8,0,0,1,4,625,-214,1,!";
this.DC[14] = "Timing";
this.IC[14] = ";;6,338,-783,337,-816,324,-59,2,126,-692,374,0,4,2,150,-206,0,0,1,2,325,-351,0,0,1,2,137,-442,187,0,2.5,2,87,-442,0,0,1,2,337,-816,0,0,1,3,474,525,-755,-627,-374,2,4,3,386,655,-487,-340,0,0,1,3,-66,262,-392,-341,0,0,1,3,-49,25,-765,51,0,0,1,3,375,666,-899,-765,0,0,1,3,-33,300,-950,-715,0,0,1,3,155,666,-529,-476,0,0,1,3,62,112,-316,-266,488,0,4,3,501,584,-265,-215,-439,0,4,3,250,325,-203,-129,-200,-1,8,3,325,400,-203,-129,225,-1,8,3,549,600,-328,-127,-223,13,4,3,50,100,-328,-128,226,12,4,3,613,677,-783,60,0,0,1,4,236,-204,1,!";
this.IC[15] = ";;7,146,-95,150,-157,465,-130,2,256,-438,0,0,1,2,150,-157,0,0,1.5,2,150,-406,0,0,1,2,466,-406,0,0,1,2,358,-440,0,0,1,3,200,238,-117,16,0,0,1,3,275,350,-306,44,0,0,1,3,-60,50,-526,-251,0,0,1,3,-54,50,-207,12,0,0,1,3,588,660,-513,-248,0,0,1,3,587,656,-211,28,0,0,1,4,256,-53,6,613,-231,-378,-75,1,6,32,-230,315,-75,1,1,!";
this.DC[16] = "Dodge";
this.IC[16] = ";;9,473,-73,476,-163,516,-311,2,476,-163,0,0,1,2,329,-169,0,0,1,2,173,-170,0,0,1,2,170,-357,0,0,1,2,330,-354,0,0,1,2,493,-389,0,0,1,3,424,685,-239,-190,0,0,1,3,-51,49,-524,-226,0,0,1,3,-46,50,-179,15,0,0,1,3,-69,381,-552,-430,0,0,1,3,415,665,-535,-430,0,0,1,3,574,712,-558,33,0,0,1,4,401,-265,6,399,-456,3,336,1,6,25,-203,603,-177,1,1,!";
this.DC[17] = "Variables";
this.IC[17] = ";;7,148,-347,149,-399,162,-217,2,249,-187,0,0,1,2,362,-192,0,0,1,2,562,-405,0,0,1,2,460,-406,0,0,1,2,360,-404,0,0,1,2,250,-402,0,0,1,2,149,-399,0,0,1,2,163,-219,0,0,1,3,-97,743,-57,35,0,0,1,3,50,149,-106,-56,460,0,2,3,475,514,-205,53,0,0,1,3,475,525,-281,-231,0,0,1,3,712,783,-226,-85,0,0,1,3,225,275,-433,-292,0,277,3,3,-53,287,-287,-246,0,0,1,3,327,646,-526,-440,0,0,1,3,-51,297,-516,-438,0,0,1,3,-42,50,-540,81,0,0,1,3,475,525,-194,15,0,0,1,3,600,663,-542,-206,0,0,1,3,600,667,-161,9,0,0,1,4,562,-84,6,312,-460,3,300,1,6,75,-207,564,-108,1,1,!";
this.DC[18] = "The Friendly Spikes";
this.IC[18] = ";;9,61,-161,62,-257,586,-153,2,149,-256,0,0,1,2,249,-257,0,0,1,2,375,-256,0,0,1,2,62,-257,0,0,1,2,512,-256,0,0,1,3,474,626,-382,-330,-449,1,6,3,-36,106,-520,-431,0,0,1,3,143,231,-508,-431,0,0,1,3,268,356,-499,-431,0,0,1,3,393,481,-495,-431,0,0,1,3,518,646,-493,-430,0,0,1,4,444,-297,6,125,-456,3,225,1.5,6,249,-456,3,375,1,6,374,-456,3,525,1,6,499,-456,3,525,0.6,1,!";
this.IC[19] = ";;8,75,-510,75,-552,554,-307,2,496,-140,0,0,1,2,580,-136,0,0,1,2,408,-137,0,0,1,2,305,-134,0,0,1,2,213,-132,0,0,1,2,62,-205,0,0,1,2,132,-113,0,0,1,2,670,-131,0,0,1,2,567,-542,0,0,1,2,426,-537,0,0,1,2,288,-533,0,0,1,2,500,-353,0,0,1,2,359,-353,0,0,1,2,220,-349,0,0,1,2,82,-312,0,0,1,2,698,-517,0,0,1,2,175,-533,0,0,1,2,75,-552,0,0,1,3,0,175,-610,-570,612,-1,4,3,756,798,-176,-7,0,-423,4,3,484,650,-452,-401,0,0,1,3,334,467,-452,-401,0,0,1,3,184,316,-452,-400,0,0,1,3,-41,167,-451,-401,0,0,1,3,599,650,-452,-177,0,0,1,3,150,650,-226,-176,0,0,1,3,-42,25,-620,-401,0,0,1,4,775,-182,6,835,-225,-330,-42,1,6,174,-632,3,321,0.5,6,324,-630,3,312,0.3,6,474,-628,3,306,0.3,6,842,-376,-351,-39,0.4,6,838,-326,-339,-39,0.5,6,838,-273,-339,-45,0.3,1,!";
this.DC[20] = "Loss of Momentum";
this.IC[20] = ";;11,250,-429,undefined,undefined,553,-314,2,174,-342,0,0,1,2,244,-163,0,0,1,2,418,-384,0,0,1,2,502,-353,0,0,1,3,-29,664,-537,-444,0,0,1,3,300,350,-465,-232,0,0,1,3,126,350,-256,-230,0,0,1,3,125,175,-256,-206,0,0,1,3,137,201,-465,-406,0,0,1,3,476,635,-256,-4,0,0,1,3,476,638,-463,-380,0,0,1,4,101,-378,1,!";
this.DC[21] = "Rushed";
this.IC[21] = ";;11,159,-395,160,-455,334,-76,2,500,-343,0,0,1,5,550,-269,0,0,5,1,5,450,-268,0,0,5,1,5,350,-269,0,0,5,1,5,250,-270,0,0,5,1,5,150,-270,0,0,5,1,5,362,-130,0,0,5,0,5,263,-129,0,0,5,0,5,175,-130,0,0,5,0,5,75,-131,0,0,5,0,2,112,-181,0,0,4,5,450,-455,0,0,5,0,5,350,-455,0,0,5,0,5,250,-455,0,0,5,0,2,160,-455,0,0,1,3,225,275,-497,74,482,1,5,3,-25,25,-499,15,450,9,5,3,250,712,-193,-142,0,0,1,3,262,337,-480,-356,0,325,8,3,-58,375,-355,-305,0,0,1,4,587,-294,1,!";
this.DC[22] = "Insight";
this.IC[22] = ";;13,95,-778,95,-801,490,-780,2,587,-422,-207,-2,3.5,2,375,-468,0,0,1,2,591,-464,0,0,1,2,489,-464,0,0,1,2,251,-270,0,0,1,2,75,-485,174,0,3,2,250,-447,0,0,1,2,80,-604,0,0,40,2,162,-601,0,0,1,2,95,-801,0,0,1,2,238,-763,0,0,1,2,225,-129,0,0,1,2,425,-140,0,0,1,2,424,-228,0,0,1,2,541,-330,0,0,1,2,381,-548,0,0,1,2,587,-549,0,0,1,2,492,-551,0,0,1,2,488,-826,0,0,1,2,488,-724,0,0,1,2,589,-724,0,0,1,2,381,-731,0,0,1,3,518,624,-696,-654,0,0,1,3,341,462,-693,-651,0,0,1,3,518,568,-694,-454,0,0,1,3,412,462,-692,-454,0,0,1,3,-55,664,-596,-135,-1,567,40,3,300,349,-117,32,0,0,1,3,-2,200,-443,-282,0,0,1,3,124,307,-541,-503,0,0,1,3,125,200,-804,-705,1,169,3,3,-11,201,-686,-653,0,0,1,3,614,653,-871,7,0,0,1,3,-36,25,-891,4,0,0,1,3,300,350,-879,-277,0,0,1,3,300,475,-354,-304,0,0,1,3,-39,659,-1309,-844,-4,657,40,4,591,-521,4,76,-454,1,!";
this.DC[23] = "Rain of Arrows";
this.IC[23] = ";;11,35,-235,35,-314,600,-228,2,284,-204,0,0,1,2,589,-324,0,0,1,2,537,-215,0,0,1,2,464,-265,0,0,1,2,434,-168,0,0,1,2,361,-268,0,0,1,2,254,-291,0,0,1,2,182,-187,0,0,1,2,133,-298,0,0,1,2,35,-314,0,0,1,3,550,667,-131,27,0,0,1,3,500,550,-106,17,0,0,1,3,450,500,-82,13,0,0,1,3,401,450,-57,12,0,0,1,3,350,400,-81,17,0,0,1,3,275,350,-106,18,0,0,1,3,225,275,-81,10,0,0,1,3,175,225,-56,14,0,0,1,3,125,175,-81,17,0,0,1,3,75,125,-106,11,0,0,1,3,-17,75,-130,8,0,0,1,3,275,350,-491,-406,0,0,1,3,350,400,-490,-381,0,0,1,3,400,450,-491,-357,0,0,1,3,450,500,-490,-381,0,0,1,3,500,550,-491,-406,0,0,1,3,550,653,-496,-430,0,0,1,3,224,275,-493,-381,0,0,1,3,175,225,-492,-356,0,0,1,3,125,175,-490,-381,0,0,1,3,75,125,-490,-406,0,0,1,3,-43,75,-537,-431,0,0,1,4,337,-125,6,524,-406,3,225,2,6,474,-381,3,222,1,6,424,-356,3,222,2,6,374,-381,3,225,1,6,312,-406,3,228,2,6,249,-381,3,222,1,6,199,-356,3,225,2,6,149,-381,3,222,1,6,100,-405,3,225,2,1,!";
this.IC[24] = ";;13,23,-33,25,-291,601,-817,2,112,-827,0,0,1,2,372,-315,0,0,1,5,441,-302,0,0,1,0,2,302,-304,0,0,1,2,137,-284,0,0,1,2,25,-291,0,0,1,2,127,-641,0,0,1,2,200,-503,0,0,1,2,25,-514,1,-287,3,2,26,-829,0,0,1,2,27,-473,0,0,1,2,400,-776,-225,-14,3,2,452,-439,0,0,1,5,404,-530,0,0,2,0,2,352,-539,0,0,1,2,600,-815,0,0,1,5,204,-610,0,0,1,NaN,5,167,-627,0,0,2,0,2,240,-469,66,40,2,2,347,-419,0,0,1,5,511,-439,0,0,2,1,5,451,-503,0,0,1,NaN,2,499,-738,0,0,1,5,597,-337,0,0,3,0,5,84,-302,0,0,1,NaN,2,54,-386,0,0,1,2,243,-553,0,0,1,2,592,-485,0,0,1,2,271,-69,0,0,1,5,434,-65,0,0,4,1,2,204,-94,0,0,1,2,540,-129,0,0,1,3,49,100,-242,18,0,0,1,3,143,181,-579,-416,0,0,1,3,56,106,-729,-487,0,0,1,3,73,225,-730,-680,0,0,1,3,643,904,-566,-540,0,0,1,3,-232,-7,-374,-343,0,0,1,3,-2,115,-420,-380,266,1,3,3,274,325,-630,-479,0,0,1,3,274,450,-630,-579,0,0,1,3,200,299,-679,-629,0,0,1,3,381,419,-479,-359,0,0,1,3,-28,518,-379,-329,0,0,1,3,357,399,-259,13,0,0,1,3,424,658,-578,-532,0,0,1,3,181,231,-380,-129,0,0,1,3,625,687,-186,-146,-543,-1,7,4,270,-175,4,200,-403,4,622,-752,4,594,-743,4,606,-769,4,558,-755,4,581,-766,4,567,-787,4,549,-775,4,491,-229,6,500,-830,6,162,1,6,246,-214,15,-105,3,6,379,-243,198,-24,1,6,501,-320,-9,153,1,6,399,-829,3,225,1,6,299,-829,3,150,1.5,6,174,-841,3,186,3,1,!";
this.IC[25] = ";;14,50,-101,50,-389,200,-75,2,1274,-126,0,0,1,5,1350,-864,0,0,47.6,1,5,1258,-867,0,0,47.5,1,5,1163,-873,0,0,47.4,1,5,1075,-876,0,0,47.3,1,5,999,-936,0,0,47.2,1,5,1037,-1076,0,0,47.1,1,5,1150,-1076,0,0,47,1,2,1300,-1100,0,0,1,5,1150,-1138,0,0,35,0,5,1000,-1138,0,0,35,0,2,838,-1138,0,0,1,2,650,-1138,0,0,1,2,375,-901,0,0,1,2,462,-1138,0,0,1,2,287,-1138,0,0,1,2,176,-1138,0,0,1,5,75,-1126,0,325,10,0,5,525,-700,200,223,3,1,5,950,-476,-225,-224,3,0,5,950,-701,225,225,3,1,2,50,-389,0,0,1,5,200,-389,0,0,3,0,5,950,-226,0,0,1,0,5,1025,-226,0,0,1,1,5,875,-227,0,0,1,1,5,800,-227,0,0,1,0,5,725,-227,0,0,1,1,5,650,-227,0,0,1,0,5,575,-227,0,0,1,1,5,562,-402,0,0,4.5,1,5,450,-288,0,0,4.5,0,5,332,-357,0,0,3.75,0,2,75,-775,0,0,1,2,1062,-451,0,0,1,5,262,-700,0,223,3.5,0,5,412,-701,0,225,4,0,5,262,-477,0,-224,3.5,1,5,412,-476,0,-225,4,1,2,325,-14,0,0,1,2,418,-101,818,1,10,3,1300,1399,-751,-701,0,836,2.55,3,1406,1446,-1183,38,0,0,1,3,1211,1409,-916,-893,0,0,1,3,1025,1225,-952,-901,0,0,1,3,350,400,-1207,-1050,0,0,1,3,100,150,-201,30,0,0,1,3,100,1300,-201,-151,0,0,1,3,-48,1024,-475,-426,0,0,1,3,150,1300,-751,-701,0,0,1,3,1175,1300,-709,-194,0,0,1,3,-48,-11,-475,8,0,0,1,3,150,200,-1039,-701,0,0,1,3,-22,1177,0,53,-1,-1253,50,3,-33,1176,-1227,-1185,0,0,1,6,701,-787,123,-387,3,6,650,-789,-138,-384,3.5,6,1144,-233,-714,-138,7,6,575,-511,336,-132,3,6,1237,-938,-3,-390,49,6,1262,-938,-51,-363,49,6,1287,-939,30,-378,49,6,1312,-938,-42,-360,49,6,1338,-937,-21,-327,49,6,1363,-938,6,-285,49,6,1387,-937,-87,-294,49,1,!";
this.NE[24] = 10;
this.NE[23] = 1;
this.NE[22] = 2;
this.NE[21] = 1;
this.NE[20] = 1;
this.NE[19] = 1;
this.NE[18] = 1;
this.NE[17] = 1;
this.NE[16] = 1;
this.NE[15] = 1;
this.NE[14] = 1;
this.NE[13] = 1;
this.NE[12] = 1;
this.NE[11] = 1;
this.NE[10] = 1;
this.NE[9] = 1;
this.NE[8] = 1;
this.NE[7] = 2;
this.NE[6] = 1;
this.NE[5] = 1;
this.NE[4] = 1;
this.NE[3] = 1;
this.NE[2] = 2;
this.NE[1] = 0;
this.NE[0] = 0;
this.FD = [];
this.nB = [];
this.PE = [];
this.cD(324, 308);
this.cD(330, 266);
this.cD(309, 221);
this.cD(272, 201);
this.cD(326, 185);
this.cD(356, 165);
this.cD(397, 158);
this.cD(463, 158);
this.cD(435, 114);
this.cD(375, 109);
this.cD(332, 108);
this.cD(325, 135);
this.cD(306, 130);
this.cD(287, 131);
this.cD(270, 149);
this.cD(159, 334, true);
this.cD(155, 298);
this.cD(180, 277);
this.cD(158, 249);
this.cD(132, 239);
this.cD(77, 194);
this.cD(79, 166);
this.cD(95, 131);
this.cD(125, 129);
this.cD(115, 158);
this.cD(532, 311, true);
var _local2 = 0;
for ( ; _local2 <= 25 ; _local2++) {
var _local3 = this.attachMovie("dotbutton", "dotbutton" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local3._x = this.nB[_local2] - 8;
_local3._y = this.PE[_local2] - 8;
_local3.SC = _local2;
this.FD.push(_local3);
}
this.HA();
this.t();
};
_local1.t = function () {
var _local2 = this.U();
this.KB.removeMovieClip();
this.ZB.removeMovieClip();
if (undefined == _root.menu.P) {
this.KB = this.attachMovie("arrow", "arrow" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.KB.A = _root.menu.QD;
this.KB.IA = _root.menu.UD[3] + (40 * 0.5);
}
if (_local2 <= 25) {
this.ZB = this.attachMovie("arrow", "arrow" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.ZB.A = this.nB[_local2];
this.ZB.IA = this.PE[_local2];
}
};
_local1.U = function () {
var _local2 = 1;
// unexpected jump
do {
_local2--;
if (_local2 < 0) {
break;
}
} while (!_root.menu.gA[_local2]);
_local2++;
if (_local2 > 1) {
_local2 = 0;
// unexpected jump
do {
_local2++;
if (_local2 > 4) {
break;
}
} while (_root.menu.gA[_local2]);
if (_local2 > 1) {
_local2 = 25 + 1;
}
}
return(_local2);
};
_local1.cD = function (oA, ID, YD) {
if ((this.RC >= 0) && (!YD)) {
var _local5 = this.createEmptyMovieClip("sheng", this.getNextHighestDepth());
_local5.lineStyle(2, 16777215, 90);
_local5.moveTo(this.nB[this.RC], this.PE[this.RC]);
_local5.lineTo(oA, ID);
this.yD.push(_local5);
}
this.RC++;
this.nB[this.RC] = oA;
this.PE[this.RC] = ID;
};
_local1.HA = function () {
for (var XD in this.FD) {
if (_root.menu.gA[XD]) {
this.FD[XD].gotoAndStop(1);
} else {
this.FD[XD].gotoAndStop(2);
}
}
};
_local1.O = function () {
var _local2 = 0;
for ( ; _local2 < 25 ; _local2++) {
if ((_root.menu.T[_local2] != this.NE[_local2]) && (this.NE[_local2] != 0)) {
return(true);
}
}
return(false);
};
ASSetPropFlags(_local1, null, 1);
_local1.RC = -1;
_local1.NE = [];
}
#endinitclip
Symbol 22 MovieClip [__Packages.SwingDemo2] Frame 0
#initclip
if (!SwingDemo2) {
//(_global.SwingDemo2 = function () {
super();
}) extends MovieClip
var _local1 = (_global.SwingDemo2 /* register */).prototype;
_local1.onLoad = function () {
this.dD = Stage.height * 0.1;
this.qC = this.dD + (100 * 1);
this.q = this.attachMovie("keyanim", "keyanim" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.q._x = Stage.width - (this.q._width * 1.4);
this.q._y = Stage.height * 0.2;
this.tB = this.createEmptyMovieClip("clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
_root.menu.GE(this.tB, this.dD);
this.FD = [];
_root.game.uD = 0;
this.FD[0] = this.attachMovie("dot", "dot" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.FD[0].HE(Stage.width * 0.25, Stage.height / 15, 0, 0);
this.FD[1] = this.attachMovie("dot", "dot" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.FD[1].HE(Stage.width * 0.5, Stage.height / 5, 0, 0);
this.FD[2] = this.attachMovie("dot", "dot" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.FD[2].HE(Stage.width * 0.75, Stage.height / 10, 0, 0);
this.tB._x = this.FD[0]._x;
this.tB._y = this.FD[0]._y;
};
_local1.onEnterFrame = function () {
this.d++;
if (this.d < (1 * 30)) {
if (1 == this.d) {
this.q.gotoAndStop(1);
}
var _local2 = this.dD;
var _local3 = this.qC;
} else if (this.d < ((2 * 1) * 30)) {
if ((1 * 30) == this.d) {
this.q.nextFrame();
}
var _local2 = this.qC;
var _local3 = this.qC;
} else if (this.d < ((3 * 1) * 30)) {
if (((2 * 1) * 30) == this.d) {
this.q.nextFrame();
}
var _local2 = this.qC;
var _local3 = this.dD;
} else if (this.d < ((4 * 1) * 30)) {
if (((3 * 1) * 30) == this.d) {
this.q.nextFrame();
}
var _local2 = this.dD;
var _local3 = this.dD;
} else {
this.d = 0;
return(undefined);
}
this.tB.animc._y = _local2 + (((_local3 - _local2) * (this.d % (1 * 30))) / (1 * 30));
this.tB.ropec.removeMovieClip();
_root.menu.L(this.tB, _local2 + (((_local3 - _local2) * (this.d % (1 * 30))) / (1 * 30)));
};
ASSetPropFlags(_local1, null, 1);
_local1.d = 0;
}
#endinitclip
Symbol 23 MovieClip [__Packages.ButtonA] Frame 0
#initclip
if (!ButtonA) {
//(_global.ButtonA = function () {
super();
}) extends MovieClip
var _local1 = (_global.ButtonA /* register */).prototype;
_local1.yB = function () {
this._x = this.w;
this._y = this.QC;
var _local2 = this.createEmptyMovieClip("buttonbkgrnd", 16385);
if (2 == this.GB) {
_local2.beginFill(0, 10);
} else if (1 == this.GB) {
_local2.beginFill(16777215, 15);
}
_local2.moveTo(0, 0);
_local2.lineTo(this.rD - this.w, 0);
_local2.lineTo(this.rD - this.w, ((this.DA - this.QC) - 0) - 1);
_local2.lineTo(0, ((this.DA - this.QC) - 0) - 1);
_local2.lineTo(0, 0);
_local2.endFill();
with (this.createTextField("buttontxt", 16386, 0, 0, this.rD - this.w, ((this.DA - this.QC) - 0) - 1)) {
text = this.NC;
selectable = false;
setTextFormat(this.HB);
}
};
_local1.onRollOut = function () {
this.GB = 0;
this.yB();
};
_local1.onRollOver = function () {
this.GB = 1;
this.yB();
};
_local1.onPress = function () {
this.GB = 2;
this.yB();
};
_local1.onRelease = function () {
this.GB = 1;
this.yB();
if (!_root.MA) {
_root.iB.start();
}
if ("Start" == this.NC) {
_root.preloader.gC();
} else if ("Play More Games" == this.NC) {
this.getURL("http://www.maxgames.com", "_blank");
} else if (0 == _root.menu.bA) {
if ("Exit" == this.NC) {
_root.game.JE(false);
} else if ("e" == _root.game.SC.charAt(0)) {
if ("Done" == this.NC) {
_root.game.SB = false;
_root.game.FB.lbl.text = "press H to toggle help";
_root.game.FB.lbl.setTextFormat(_root.game.HB);
_root.game.I.removeMovieClip();
this.removeMovieClip();
}
}
} else if (1 == _root.menu.bA) {
if ("Reset Progress" == this.NC) {
_root.menu.GC();
} else if ("Load Level" == this.NC) {
_root.menu.e(3);
} else if ("Editor (beta)" == this.NC) {
_root.game.e("e");
} else if ("Skill Mode" == this.NC) {
_root.game.u("r");
}
} else if (2 == _root.menu.bA) {
if (_root.menu.OE(",d,x,0,k,a,k,e,e," + "n,j,i,v'L,e,j,n,a,q'V,h,x,j") == this.NC) {
this.getURL(_root.menu.OE(",j,n,a,q,z,x'D,d,x,0,k,a," + "k,e,e,n,j,i,v'L,e,j,n,a,q'V,h,x,j"));
} else if ("Back" == this.NC) {
_root.menu.e(1);
}
} else if (3 == _root.menu.bA) {
if ("Load Level" == this.NC) {
_root.game.e(_root.menu.inputtxt);
} else if ("Cancel" == this.NC) {
_root.menu.e(1);
}
} else if (4 == _root.menu.bA) {
if ("Play Again" == this.NC) {
_root.game.e(_root.game.SC);
} else if ("Play Levels" == this.NC) {
_root.game.u(";" + _root.levelmenu.U());
} else if ("Main Menu" == this.NC) {
_root.menu.e(1);
}
} else if (5 == _root.menu.bA) {
if ("Next Level" == this.NC) {
_root.game.u(";" + (_root.game.f + 1));
} else if ("Try Again" == this.NC) {
if (_global.isNaN(_root.game.f)) {
_root.game.e(_root.game.SC);
} else {
_root.game.e(";" + _root.game.f);
}
} else if ("Play Skill Mode" == this.NC) {
_root.game.u("r");
} else if ("Main Menu" == this.NC) {
_root.menu.e(1);
}
} else if (6 == _root.menu.bA) {
if ("Continue" == this.NC) {
if (";0" == _root.game.SC) {
_root.game.e(_root.game.SC);
} else {
_root.menu.e(7);
}
}
} else if (7 == _root.menu.bA) {
if ("Continue" == this.NC) {
_root.game.e(_root.game.SC);
}
} else if (9 == _root.menu.bA) {
if ("Main Menu" == this.NC) {
_root.menu.e(1);
}
}
};
_local1.HE = function (LB, H, kA, CD, YC) {
this.GB = 0;
this.NC = LB;
this.w = H;
this.rD = kA;
this.QC = CD;
this.DA = YC;
with (this.HB) {
font = "Palatino Linotype";
italic = true;
size = "22";
align = "center";
color = "0x000000";
}
var _local7 = this.attachMovie(("button" + (((Stage.width != this.rD) || ("Exit" != this.NC)) ? (Math.floor(this.QC / 40) % 4) : "0")) + ".png", "clip16384", 16384);
if (260 == (this.rD - this.w)) {
_local7._width = 260;
} else if ((Stage.width != this.rD) || ("Exit" != this.NC)) {
_local7._x = ((this.rD - this.w) - _local7._width) / 2;
}
_local7._y = ((this.DA - this.QC) - _local7._height) / 2;
this.yB();
};
ASSetPropFlags(_local1, null, 1);
_local1.HB = new TextFormat();
}
#endinitclip
Symbol 24 MovieClip [__Packages.Shooter] Frame 0
#initclip
if (!Shooter) {
//(_global.Shooter = function () {
super();
}) extends MovieClip
var _local1 = (_global.Shooter /* register */).prototype;
_local1.onLoad = function () {
this.dC = [];
this.dC[0] = new Sound(this);
this.dC[0].attachSound("shooter.mp3");
this.dC[1] = new Sound(this);
this.dC[1].attachSound("shooter2.mp3");
};
_local1.onEnterFrame = function () {
if (this._visible) {
this.wC = this.wC + (1 / 30);
if (this.wC >= this.CA) {
var _local2 = _root.game.attachMovie("sharrow", "sharrow" + _root.game.getNextHighestDepth(), _root.game.getNextHighestDepth());
_local2._x = this.F;
_local2._y = this.v;
_local2.WA = this.WA;
_local2.g = this.g;
this.eD.push(_local2);
this.wC = 0;
if (!_root.MA) {
this.dC[Math.round(Math.random())].start();
}
}
for (var XD in this.eD) {
if (this.eD[XD]._y > this.eD[XD]._height) {
this.eD[XD].removeMovieClip();
this.eD.splice(XD, 1);
}
for (var zC in _root.game.XE) {
if ((this.eD[XD]._x >= _root.game.XE[zC]._x) && ((this.eD[XD]._x <= ((_root.game.XE[zC]._x + _root.game.XE[zC].rD) - _root.game.XE[zC].w)) && ((this.eD[XD]._y >= _root.game.XE[zC]._y) && (this.eD[XD]._y <= ((_root.game.XE[zC]._y + _root.game.XE[zC].DA) - _root.game.XE[zC].QC))))) {
this.eD[XD].removeMovieClip();
this.eD.splice(XD, 1);
}
}
}
}
};
_local1.JE = function () {
for (var XD in this.eD) {
this.eD[XD].removeMovieClip();
}
this.removeMovieClip();
};
_local1.HE = function (oA, ID, OA, VE, PD) {
this._x = oA;
this._y = ID;
this.WA = OA;
this.g = VE;
this.CA = PD;
if (0 != this.WA) {
this._rotation = (Math.atan(this.g / this.WA) * 180) / Math.PI;
if (this.WA > 0) {
this._rotation = this._rotation + 180;
}
}
this.F = this._x + (Math.cos((this._rotation * Math.PI) / 180) * -40);
this.v = this._y + (Math.sin((this._rotation * Math.PI) / 180) * -40);
this.eD = [];
};
_local1.SE = function () {
if (this._visible) {
var _local2 = _root.game.tB.bC(this._x, this._y, 50, 50);
var _local3 = _local2 != 0;
if (1 == _local2) {
return(1);
}
if ((2 == _local2) && (_root.game.tB.rC != -1)) {
_root.game.tB.DD();
return(0);
}
for (var XD in this.eD) {
if (!_local3) {
_local2 = _root.game.tB.bC(this.eD[XD]._x, this.eD[XD]._y, 20, 20);
_local3 = _local2 != 0;
if (1 == _local2) {
return(1);
}
if ((2 == _local2) && (_root.game.tB.rC != -1)) {
_root.game.tB.DD();
return(0);
}
}
}
}
return(0);
};
_local1.CB = function (J) {
this._x = this._x + J;
this.F = this.F + J;
for (var XD in this.eD) {
this.eD[XD]._x = this.eD[XD]._x + J;
}
};
ASSetPropFlags(_local1, null, 1);
_local1.wC = 0;
}
#endinitclip
Symbol 25 MovieClip [__Packages.SwingDemo] Frame 0
#initclip
if (!SwingDemo) {
//(_global.SwingDemo = function () {
super();
}) extends MovieClip
var _local1 = (_global.SwingDemo /* register */).prototype;
_local1.onLoad = function () {
this.dD = Stage.height * 0.35;
this.rB = this.attachMovie("mouseanim", "mouseanim" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.rB._x = (Stage.width - this.rB._width) - 50;
this.rB._y = 0;
this.rB.gotoAndStop(1);
this.tB = this.createEmptyMovieClip("clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
_root.menu.GE(this.tB, this.dD);
this.tB.ropec._visible = false;
this.FD = [];
_root.game.uD = 0;
this.FD[0] = this.attachMovie("dot", "dot" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.FD[0].HE(Stage.width * 0.5, Stage.height / 20, 0, 0);
this.FD[1] = this.attachMovie("dot", "dot" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.FD[1].HE(Stage.width * 0.25, Stage.height / 10, 0, 0);
this.FD[2] = this.attachMovie("dot", "dot" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.FD[2].HE(Stage.width * 0.75, Stage.height / 3, 0, 0);
};
_local1.onEnterFrame = function () {
var _local6 = (this.dD * 2) * Math.SQRT1_2;
this.d++;
if (this.d < (1 * 30)) {
this.tB._x = this.FD[0]._x - _local6;
this.tB._y = this.FD[0]._y + _local6;
var _local2 = 135;
var _local3 = 225;
var _local4 = 225;
var _local5 = 180;
} else if (this.d < ((2 * 1) * 30)) {
if ((1 * 30) == this.d) {
this.tB.ropec._visible = true;
this.rB.gotoAndStop(2);
this.tB._x = this.FD[0]._x;
this.tB._y = this.FD[0]._y;
}
var _local2 = 45;
var _local3 = -45;
var _local4 = 0;
var _local5 = 0;
} else if (this.d < ((3 * 1) * 30)) {
if (((2 * 1) * 30) == this.d) {
this.tB.ropec._visible = false;
this.rB.gotoAndStop(1);
this.tB._x = this.FD[0]._x + _local6;
this.tB._y = this.FD[0]._y + _local6;
}
var _local2 = 135;
var _local3 = 225;
var _local4 = 180;
var _local5 = 0;
} else {
this.d = 0;
return(undefined);
}
this.tB._rotation = _local2 + (((_local3 - _local2) * (this.d % (1 * 30))) / (1 * 30));
this.tB.animc._rotation = _local4 + (((_local5 - _local4) * (this.d % (1 * 30))) / (1 * 30));
};
ASSetPropFlags(_local1, null, 1);
_local1.d = 0;
}
#endinitclip
Symbol 26 MovieClip [__Packages.Arrow] Frame 0
#initclip
if (!Arrow) {
//(_global.Arrow = function () {
super();
}) extends MovieClip
var _local1 = (_global.Arrow /* register */).prototype;
_local1.onEnterFrame = function () {
if (_root.levelmenu._visible) {
this._x = this.A + (Math.abs(Math.cos(this.d)) * 20);
this._y = this.IA - (Math.abs(Math.cos(this.d)) * 20);
this.d = this.d + (5 / 30);
if (this.d > (2 * Math.PI)) {
this.d = this.d - (2 * Math.PI);
}
} else {
this.removeMovieClip();
}
};
ASSetPropFlags(_local1, null, 1);
_local1.d = 0;
}
#endinitclip
Symbol 27 MovieClip [__Packages.MuteButton] Frame 0
#initclip
if (!MuteButton) {
//(_global.MuteButton = function () {
super();
}) extends MovieClip
var _local1 = (_global.MuteButton /* register */).prototype;
_local1.onLoad = function () {
_root.MA = false;
this.gotoAndStop(1);
this._x = 0;
this._y = Stage.height - this._height;
};
_local1.onPress = function () {
if (_root.MA) {
_root.MA = false;
this.gotoAndStop(1);
} else {
_root.MA = true;
this.gotoAndStop(2);
}
};
ASSetPropFlags(_local1, null, 1);
}
#endinitclip
Symbol 28 MovieClip [__Packages.WhiteFlash] Frame 0
#initclip
if (!WhiteFlash) {
//(_global.WhiteFlash = function () {
super();
}) extends MovieClip
var _local1 = (_global.WhiteFlash /* register */).prototype;
_local1.onEnterFrame = function () {
var _local2 = this.createEmptyMovieClip("mynewclip", 1);
_local2.beginFill(this.HC, 80 - (((this.d / 30) * 80) / 0.5));
_local2.moveTo(0, 0);
_local2.lineTo(Stage.width, 0);
_local2.lineTo(Stage.width, Stage.height);
_local2.lineTo(0, Stage.height);
_local2.lineTo(0, 0);
_local2.endFill();
if (this.d >= (30 * 0.5)) {
this.HC = 16777215 /* 0xFFFFFF */;
this.removeMovieClip();
}
this.d++;
};
ASSetPropFlags(_local1, null, 1);
_local1.d = 0;
_local1.HC = 16777215 /* 0xFFFFFF */;
}
#endinitclip
Symbol 29 MovieClip [__Packages.Background] Frame 0
#initclip
if (!Background) {
//(_global.Background = function () {
super();
}) extends MovieClip
var _local1 = (_global.Background /* register */).prototype;
_local1.NA = function (CE, XB, vB, ED) {
for (var XD in this) {
this[XD]._visible = false;
}
this[CE]._x = 0;
if (XB) {
this[CE]._y = -this[CE]._height;
}
this[CE]._visible = true;
this.uB = CE;
this.hA = this[CE]._width;
this.lC = vB;
this.b = ED;
if (vB) {
this[vB]._x = this[CE]._width;
if (XB) {
this[vB]._y = -this[vB]._height;
}
this[vB]._visible = true;
this.hA = this.hA + this[vB]._width;
}
if (ED) {
this[ED]._x = this[vB]._x + this[vB]._width;
if (XB) {
this[ED]._y = -this[ED]._height;
}
this[ED]._visible = true;
this.hA = this.hA + this[ED]._width;
}
};
ASSetPropFlags(_local1, null, 1);
}
#endinitclip
Symbol 30 MovieClip [__Packages.SponsorIntro] Frame 0
#initclip
if (!SponsorIntro) {
//(_global.SponsorIntro = function () {
super();
}) extends MovieClip
var _local1 = (_global.SponsorIntro /* register */).prototype;
_local1.onLoad = function () {
this.tB = this.createEmptyMovieClip("clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
_root.menu.GE(this.tB, Stage.height);
this.tB._visible = false;
this.tB._x = Stage.width * 0.5;
this.tB._y = (-Stage.height) * 0.2;
};
_local1.onEnterFrame = function () {
this.d++;
if (30 == this.d) {
this.tB._visible = true;
}
if ((30 + 60) == this.d) {
this.tB._visible = false;
}
if (this.tB._visible) {
this.tB._rotation = 50 - ((100 * (this.d - 30)) / 60);
}
if (this.d > 190) {
_root.menu.tC.maxgamesgradient._alpha = (-(this.d - 240)) * 2;
}
if (239 == this.d) {
_root.attachMovie("whiteflash", "whiteflash" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
if (240 == this.d) {
_root.mutebutton._visible = true;
_root.mutemusicbutton._visible = true;
_root.eC.start(0, 8);
_root.menu.e(1);
this.tB.removeMovieClip();
this.removeMovieClip();
}
};
ASSetPropFlags(_local1, null, 1);
_local1.d = 0;
}
#endinitclip
Symbol 31 MovieClip [__Packages.Menu] Frame 0
#initclip
if (!Menu) {
//(_global.Menu = function () {
super();
}) extends MovieClip
var _local1 = (_global.Menu /* register */).prototype;
_local1.onLoad = function () {
_root.JB = false;
_root.onMouseDown = function () {
_root.JB = true;
};
_root.onMouseUp = function () {
_root.JB = false;
};
_root.eC = new Sound(_root);
_root.eC.attachSound("music.mp3");
_root.iB = new Sound(_root);
_root.iB.attachSound("click.mp3");
_root.fB = new Sound(_root);
_root.fB.attachSound("attach.mp3");
_root.AB = new Sound(_root);
_root.AB.attachSound("detach.mp3");
_root.W = new Sound(_root);
_root.W.attachSound("crash.mp3");
this.gA = [];
this.T = [];
_root.game.aD(this.OE(this.XC.data.a) + "!");
if (!_global.isNaN(_root.game.PC[0])) {
this.P = _root.game.PC[0];
}
var _local12 = 0;
for ( ; _local12 <= 25 ; _local12++) {
if (!_global.isNaN(_root.game.PC[(_local12 * 2) + 1])) {
this.gA[_local12] = _root.game.PC[(_local12 * 2) + 1];
}
if (!_global.isNaN(_root.game.PC[(_local12 * 2) + 2])) {
this.T[_local12] = _root.game.PC[(_local12 * 2) + 2];
}
}
this.a = Stage.width * 0.35;
this.QD = Stage.width * 0.65;
this.UD = [];
_local12 = 0;
for ( ; _local12 <= (Stage.height / 40) ; _local12++) {
this.UD[_local12] = Stage.height - (_local12 * 40);
}
if (!this.GD(["www.kongregate.com"])) {
_root.preloader.gC();
this.tC.removeMovieClip();
this.e(10);
}
};
_local1.e = function (aE) {
this.JE();
this.bA = aE;
this.aC = this.attachMovie("backgroundmenu", "backgroundmenu" + this.getNextHighestDepth(), this.getNextHighestDepth());
if (1 == this.bA) {
this.aC.NA("bkmap", false);
} else if (6 == this.bA) {
this.aC.NA("bkd", false);
} else {
this.aC.NA("bkm", false);
}
if (1 == this.bA) {
_root.levelmenu.HA();
_root.levelmenu._visible = true;
_root.levelmenu.t();
this.TC(3, "Skill Mode");
this.TC(2, "Play More Games");
this.tB = this.aC.createEmptyMovieClip("clip" + this.aC.getNextHighestDepth(), this.aC.getNextHighestDepth());
this.GE(this.tB, Stage.height / 5);
this.tB._x = 212;
this.tB._y = 55;
this.tB.onEnterFrame = function () {
_root.menu.zB = _root.menu.zB + ((1 / 30) * 0.6);
if (_root.menu.zB > 2) {
_root.menu.zB = 0;
}
_root.menu.tB._rotation = Math.cos(_root.menu.zB * Math.PI) * 15;
};
} else if (2 == this.bA) {
this.TD(9, this.OE("'(,w,x,e,w,n,j,j,a,k,e"), false);
this.TD(8, this.OE("'R,k,d,w,i,0'z'F,x,0,k,a,k,e"), false);
this.TD(6, this.OE("'~,w,n,b,o,a,h,v'1'z'},x,],k,d'1'z,n,k,d'z'%,i,[,i,q,v"), false);
this.TD(5, this.OE("'^,n,z,z,o,i,0'z'F,x,0,k,a,k,e"), false);
this.TC(4, this.OE((("," + "d,x") + ",0,k,a,k,e,e,n,j,i,v'L,e,j,n") + ",a,q'V,h,x,j"));
this.TC(3, "Back");
} else if (3 == this.bA) {
this.TD(4, "Paste level data:", false);
this.TD(3, "", true);
this.TC(2, "Load Level");
this.TC(1, "Cancel");
} else if (4 == this.bA) {
var _local3 = 0;
if (_root.levelmenu.U() <= 25) {
_local3 = 1;
}
if (_root.game.xC > 1000) {
this.TD(7 + _local3, "You are a Momentum Master!", false);
this.uA(2);
} else if (_root.game.xC > 0) {
this.TD(7 + _local3, "Game Over", false);
this.uA(1);
} else {
this.uA(3);
}
if (1 == Math.ceil(_root.game.xC)) {
this.TD(6 + _local3, "You went 1 foot", false);
} else {
this.TD(6 + _local3, ("You went " + Math.ceil(_root.game.xC)) + " feet", false);
}
if (1 == Math.ceil(this.P)) {
this.TD(5 + _local3, "Your best distance is 1 foot", false);
} else {
this.TD(5 + _local3, ("Your best distance is " + Math.ceil(this.P)) + " feet", false);
}
this.TC(4 + _local3, "Play Again");
if (_local3) {
this.TC(4, "Play Levels");
}
this.TC(3, "Play More Games");
this.TC(2, "Main Menu");
} else if (5 == this.bA) {
var _local4 = 0;
var _local5 = 0;
if ((!_root.game.LD) || (_root.game.f != 25)) {
_local4 = 1;
}
if (this.gA[_root.game.f] != undefined) {
this.TD(5 + _local4, ("Your best time is " + (Math.round(this.gA[_root.game.f] * 100) / 100)) + " seconds", false);
_local5 = 1;
}
if (_root.game.LD) {
var _local6 = 0;
for ( ; _local6 < _root.game.N ; _local6++) {
var _local7 = this.attachMovie("fly", "fly" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local7._x = Math.random() * Stage.width;
_local7._y = Math.random() * Stage.height;
_local7.onEnterFrame = _local7.onEnterFrameTemp;
this.VC.push(_local7);
}
if (_root.game.f == 25) {
this.TD(6 + _local5, "Congratulations, you beat the last level!", false);
this.TC(4, "Play Skill Mode");
this.uA(2);
} else {
this.TD(7 + _local5, ("Level " + (_root.game.f + 1)) + " Completed", false);
if (!_global.isNaN(_root.game.f)) {
this.TC(5, "Next Level");
}
this.uA(1);
}
this.TD((5 + _local5) + _local4, ("You took " + (Math.round(_root.game.xC * 100) / 100)) + " seconds", false);
} else {
this.TD(6 + _local5, "You Lost", false);
this.TC(5, "Try Again");
this.uA(0);
}
if (_local4) {
this.TC(4, "Play Skill Mode");
}
this.TC(3, "Play More Games");
this.TC(2, "Main Menu");
} else if (6 == this.bA) {
this.dB = this.attachMovie("swingdemo", "swingdemo" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.TD(7, "CLICK and HOLD DOWN the mouse", false);
this.TD(6, "button near a dot to swing around it.", false);
this.TD(5, "RELEASE the mouse button to detach.", false);
this.TC(3, "Continue");
} else if (7 == this.bA) {
this.dB = this.attachMovie("swingdemo2", "swingdemo2" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.TD(6, "Press X or the UP key to go up.", false);
this.TD(5, "Press Z or the DOWN key to go down.", false);
this.TC(3, "Continue");
_root.game.QE = true;
} else if (9 == this.bA) {
this.TD(7, "Catch all flies to unlock the last level!", false);
this.TC(3, "Main Menu");
} else if (10 == this.bA) {
this.TD(7, "The developers should have already uploaded", false);
this.TD(6, "Momentum Master II to Kongregate.", false);
this.TD(5, "This copy is probably stolen.", false);
}
if ((4 == this.bA) || (5 == this.bA)) {
this.yC = this.attachMovie("sponsorsml.png", "sponsor" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.yC._x = Stage.width - this.yC._width;
this.yC._y = Stage.height - this.yC._height;
this.yC.onPress = function () {
if (!_root.MA) {
_root.iB.start();
}
getURL ("http://www.maxgames.com", "_blank");
};
}
};
_local1.JE = function () {
this.bA = 0;
for (var _local2 in this.UC) {
this.UC[_local2].removeMovieClip();
}
this.UC = [];
for (var _local2 in this.VC) {
this.VC[_local2].removeMovieClip();
}
this.VC = [];
this.aC.removeMovieClip();
this.dB.removeMovieClip();
this.yC.removeMovieClip();
this.WE.removeMovieClip();
_root.levelmenu._visible = false;
};
_local1.TD = function (JD, NC, FE) {
var _local7 = this.attachMovie("label", "label" + this.getNextHighestDepth(), this.getNextHighestDepth());
if (FE) {
var _local5 = this.a;
var _local6 = this.QD;
} else {
var _local5 = 0;
var _local6 = Stage.width;
}
_local7.HE(NC, FE, _local5, _local6, this.UD[JD], this.UD[JD] + 40);
this.UC.push(_local7);
};
_local1.TC = function (JD, NC) {
var _local4 = this.attachMovie("button", "button" + this.getNextHighestDepth(), this.getNextHighestDepth());
if (this.OE(",d,x,0,k,a,k,e,e,n,j,i,v'L,e,j,n,a," + "q'V,h,x,j") == NC) {
_local4.HE(NC, (Stage.width / 2) - 130, (Stage.width / 2) + 130, this.UD[JD], this.UD[JD] + 40);
} else {
_local4.HE(NC, this.a, this.QD, this.UD[JD], this.UD[JD] + 40);
}
this.UC.push(_local4);
};
_local1.uA = function (tA) {
this.WE.removeMovieClip();
this.WE = this.attachMovie(("end" + tA) + ".png", "end" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.WE._x = (Stage.width - this.WE._width) / 2;
this.WE._y = (Stage.height / 4) - (this.WE._height / 2);
};
_local1.GC = function () {
this.XC.data.a = undefined;
this.XC.data = undefined;
this.XC.flush();
};
_local1.OD = function () {
var _local3 = this.P + ",";
var _local2 = 0;
for ( ; _local2 <= 25 ; _local2++) {
_local3 = _local3 + (this.gA[_local2] + ",");
_local3 = _local3 + (this.T[_local2] + ",");
}
this.GC();
this.XC.data.a = this.UB(_local3);
this.XC.flush();
};
_local1.GE = function (tD, DE) {
this.L(tD, DE);
var _local4 = tD.attachMovie("playeranim", "animc", 2);
_local4._y = DE;
};
_local1.L = function (tD, DE) {
var _local4 = tD.createEmptyMovieClip("ropec", 1);
_local4.lineStyle(2, 16777215, 90);
_local4.moveTo(0, 0);
_local4.lineTo(0, DE);
};
_local1.GD = function (jD) {
var _local3 = true;
var _local4 = flash.external.ExternalInterface.call("function(){return window.location.href}").toString();
var _local5 = _local4.split("://");
var _local6 = _local5[1].split("/");
for (var XD in jD) {
if (jD[XD] == _local6[0]) {
_local3 = false;
break;
}
}
return(_local3);
};
_local1.UB = function (lD) {
var _local3 = "',.pyfgcrl/=snthdiueoa-;qjkxbmwvz][0987654321ZVWMBXKJQSNTHDIUEOALRCGFYP~!@#$%^&*(){}";
var _local4 = "";
var _local5 = 0;
for ( ; _local5 < lD.length ; _local5++) {
_local4 = _local4 + _local3.charAt(Math.floor(lD.charCodeAt(_local5) / _local3.length));
_local4 = _local4 + _local3.charAt(lD.charCodeAt(_local5) % _local3.length);
}
return(_local4);
};
_local1.OE = function (lD) {
var _local3 = "',.pyfgcrl/=snthdiueoa-;qjkxbmwvz][0987654321ZVWMBXKJQSNTHDIUEOALRCGFYP~!@#$%^&*(){}";
var _local4 = "";
var _local5 = 0;
for ( ; _local5 < (lD.length / 2) ; _local5++) {
_local4 = _local4 + String.fromCharCode((_local3.indexOf(lD.charAt(_local5 * 2)) * _local3.length) + _local3.indexOf(lD.charAt((_local5 * 2) + 1)));
}
return(_local4);
};
ASSetPropFlags(_local1, null, 1);
_local1.zB = 0;
_local1.XC = SharedObject.getLocal("ICh194VUY1", "/");
}
#endinitclip
Symbol 32 MovieClip [__Packages.Preloader] Frame 0
#initclip
if (!Preloader) {
//(_global.Preloader = function () {
super();
}) extends MovieClip
var _local1 = (_global.Preloader /* register */).prototype;
_local1.onLoad = function () {
this.aC = this.attachMovie("bkm1.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.JA = this.createEmptyMovieClip("clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.OB = this.JA.attachMovie("bkm2.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.OB._x = (-this.OB._width) / 2;
this.OB._y = (-this.OB._height) / 2;
this.JA._x = Stage.width / 2;
this.JA._y = Stage.height / 2;
this.VB = this.createEmptyMovieClip("clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.TB = this.VB.attachMovie("bkm3.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.TB._x = (-this.TB._width) / 2;
this.TB._y = (-this.TB._height) / 2;
this.VB._x = Stage.width / 2;
this.VB._y = Stage.height / 2;
this.AD = this.attachMovie("bkm4.png", "clip" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.AD._x = (Stage.width - this.AD._width) / 2;
this.AD._y = (Stage.height - this.AD._height) / 2;
this.YA = this.createEmptyMovieClip("cli1", 16485);
this.YA.beginFill(16750080);
this.YA.moveTo(Stage.width * 0, Stage.height * 0.9);
this.YA.lineTo(Stage.width * 0.4, Stage.height * 0.9);
this.YA.lineTo(Stage.width * 0.4, Stage.height * 0.95);
this.YA.lineTo(Stage.width * 0, Stage.height * 0.95);
this.YA.lineTo(Stage.width * 0, Stage.height * 0.9);
this.YA.endFill();
this.YA._x = Stage.width * 0.3;
this.VD = this.createEmptyMovieClip("cli2", 16486);
this.VD.lineStyle(2, 9868950);
this.VD.moveTo(Stage.width * 0.3, Stage.height * 0.9);
this.VD.lineTo(Stage.width * 0.7, Stage.height * 0.9);
this.VD.lineTo(Stage.width * 0.7, Stage.height * 0.95);
this.VD.lineTo(Stage.width * 0.3, Stage.height * 0.95);
this.VD.lineTo(Stage.width * 0.3, Stage.height * 0.9);
this.K = this.createEmptyMovieClip("cli3", 16484);
this.K.beginFill(16777215, 50);
this.K.moveTo(Stage.width * 0, Stage.height * 0.9);
this.K.lineTo(Stage.width * 0.4, Stage.height * 0.9);
this.K.lineTo(Stage.width * 0.4, Stage.height * 0.95);
this.K.lineTo(Stage.width * 0, Stage.height * 0.95);
this.K.lineTo(Stage.width * 0, Stage.height * 0.9);
this.K.endFill();
this.K._x = Stage.width * 0.3;
this.yC = this.attachMovie("sponsorsml.png", "sponsor" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.yC._x = Stage.width - this.yC._width;
this.yC._y = Stage.height - this.yC._height;
this.yC.onPress = function () {
getURL ("http://www.maxgames.com", "_blank");
};
};
_local1.onEnterFrame = function () {
this.YA._width = ((_root.getBytesLoaded() / _root.getBytesTotal()) * Stage.width) * 0.4;
this.JA._rotation = this.JA._rotation - (5 / 30);
if (this.JA._rotation < 0) {
this.JA._rotation = this.JA._rotation + 360;
}
this.VB._rotation = (-this.JA._rotation) * 2;
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
this.wD++;
}
if ((1 == this.wD) || (2 == this.wD)) {
this.VD.removeMovieClip();
this.YA.removeMovieClip();
this.K.removeMovieClip();
_root.levelmenu._visible = false;
_root.mutebutton._visible = false;
_root.mutemusicbutton._visible = false;
if (2 == this.wD) {
var _local2 = this.attachMovie("button", "button" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local2.HE("Start", _root.menu.a, _root.menu.QD, _root.menu.UD[2], _root.menu.UD[2] + 40);
}
}
};
_local1.gC = function () {
for (var XD in this) {
if (this[XD] instanceof MovieClip) {
this[XD].removeMovieClip();
}
}
this.onEnterFrame = undefined;
_root.menu.tC = _root.menu.attachMovie("sponsorintro", "sponsorintro" + _root.menu.getNextHighestDepth(), _root.menu.getNextHighestDepth());
};
ASSetPropFlags(_local1, null, 1);
_local1.wD = 0;
}
#endinitclip
Symbol 33 MovieClip [__Packages.ShArrow] Frame 0
#initclip
if (!ShArrow) {
//(_global.ShArrow = function () {
super();
}) extends MovieClip
var _local1 = (_global.ShArrow /* register */).prototype;
_local1.onLoad = function () {
this._alpha = 1;
this.onEnterFrame();
};
_local1.onEnterFrame = function () {
if (this._visible) {
this._x = this._x + (this.WA / 30);
this.g = this.g + 10;
this._y = this._y + (this.g / 30);
if (0 != this.WA) {
this._rotation = (Math.atan(this.g / this.WA) * 180) / Math.PI;
if (this.WA > 0) {
this._rotation = this._rotation + 180;
}
}
if (this._alpha < 100) {
this._alpha = this._alpha + (300 / 30);
}
}
};
ASSetPropFlags(_local1, null, 1);
}
#endinitclip
Symbol 34 MovieClip [__Packages.Fly] Frame 0
#initclip
if (!Fly) {
//(_global.Fly = function () {
super();
}) extends MovieClip
var _local1 = (_global.Fly /* register */).prototype;
_local1.onEnterFrameTemp = function () {
if (0 == this.wC) {
this.eB = Math.random() * Stage.width;
this.Q = Math.random() * Stage.height;
this.IB = (2 + (Math.random() * 2)) * 30;
}
this.wC++;
this._x = (this._x * (1 - (1 / 30))) + (this.eB / 30);
this._y = (this._y * (1 - (1 / 30))) + (this.Q / 30);
if (this.wC > this.IB) {
this.wC = 0;
}
};
_local1.onLoad = function () {
this.onEnterFrameTemp = undefined;
this.mC = new Sound(this);
this.mC.attachSound("flydie.mp3");
};
ASSetPropFlags(_local1, null, 1);
_local1.wC = 0;
}
#endinitclip
Symbol 35 MovieClip [__Packages.MuteMusicButton] Frame 0
#initclip
if (!MuteMusicButton) {
//(_global.MuteMusicButton = function () {
super();
}) extends MovieClip
var _local1 = (_global.MuteMusicButton /* register */).prototype;
_local1.onLoad = function () {
_root.mB = false;
this.gotoAndStop(1);
this._x = this._width;
this._y = Stage.height - this._height;
};
_local1.onPress = function () {
if (_root.mB) {
_root.mB = false;
this.gotoAndStop(1);
if (!_root.game._visible) {
_root.eC.start(0, 8);
}
} else {
_root.mB = true;
this.gotoAndStop(2);
if (!_root.game._visible) {
_root.eC.stop();
}
}
};
ASSetPropFlags(_local1, null, 1);
}
#endinitclip
Symbol 36 MovieClip [__Packages.Game] Frame 0
#initclip
if (!Game) {
//(_global.Game = function () {
super();
}) extends MovieClip
var _local1 = (_global.Game /* register */).prototype;
_local1.onLoad = function () {
this._visible = false;
this.Y = _root.createEmptyMovieClip("clip" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
};
_local1.u = function (mD) {
while (_root.levelmenu.onEnterFrame != undefined) {
_root.levelmenu.onEnterFrame();
}
if ((";" + 25) == mD) {
if (_root.levelmenu.O()) {
_root.menu.e(9);
return(undefined);
}
}
if ((undefined == this.SC) || (";0" == mD)) {
this.SC = mD;
_root.menu.e(6);
} else if ((!this.QE) || (";1" == mD)) {
this.SC = mD;
_root.menu.e(7);
} else {
this.e(mD);
}
};
_local1.e = function (mD) {
while (_root.levelmenu.onEnterFrame != undefined) {
_root.levelmenu.onEnterFrame();
}
this._visible = true;
this._x = 0;
this._y = Stage.height;
if (this.SC == mD) {
this.aB++;
} else {
this.aB = 0;
this.SC = mD;
}
this.xC = 0;
this.qD = 0;
this.LD = false;
this.N = 0;
this.IE = 0;
this.ZE = 0;
this.uD = 0;
this.SB = false;
this.fD = -1;
this.LA = -1;
this.KA = -1;
_root.eC.stop();
if (!_root.MA) {
_root.iB.start();
}
this.sD();
this.aC = this.attachMovie("background", "background" + this.getNextHighestDepth(), this.getNextHighestDepth());
if ("r" == this.SC.charAt(0)) {
this.BE = this.attachMovie("gosign0.png", "gosign" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
if ((this.SC == ";0") || (this.SC == _root.levelmenu.IC[0])) {
this.BE = this.attachMovie("gosign1.png", "gosign" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
if ((this.SC == ";2") || (this.SC == _root.levelmenu.IC[2])) {
this.BE = this.attachMovie("gofly.png", "gosign" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
this.ZA = this.attachMovie("endpt", "endpt" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.xD = this.createEmptyMovieClip("xi", this.getNextHighestDepth());
this.tB = this.attachMovie("player", "player" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.S = this.Y.attachMovie("button", "button" + this.Y.getNextHighestDepth(), this.Y.getNextHighestDepth());
this.S.HE("Exit", Stage.width - 60, Stage.width, Stage.height - 35, Stage.height + 5);
this.BA();
this.FB = this.Y.attachMovie("label", "label" + this.Y.getNextHighestDepth(), this.Y.getNextHighestDepth());
this.FB.HE("", false, 0, Stage.width, 0, 40);
if ("r" == this.SC.charAt(0)) {
this.DB(5, false);
} else {
this.BD = 0;
}
if ("r" == this.SC.charAt(0)) {
this.BE._x = Stage.width * 0.2;
this.BE._y = -this.BE._height;
} else if ((";0" == this.SC) || (this.SC == _root.levelmenu.IC[0])) {
this.BE._x = Stage.width * 0.5;
this.BE._y = -this.BE._height;
} else if ((";2" == this.SC) || (this.SC == _root.levelmenu.IC[2])) {
this.BE._x = Stage.width * 0.2;
this.BE._y = -this.BE._height;
}
with (this.HB) {
font = "Verdana";
size = "24";
align = "right";
color = "0xFF0000";
}
with (this.PB) {
font = "Verdana";
size = "24";
align = "left";
color = "0xFFFF00";
}
_root.keyevt = -1;
_root.keyevtcode = -1;
this.TE.onKeyDown = function () {
_root.keyevt = Key.getAscii();
_root.keyevtcode = Key.getCode();
};
Key.addListener(this.TE);
_root.menu.JE();
};
_local1.BA = function () {
this.qA();
if ("r" == this.SC.charAt(0)) {
var _local11 = this.uD;
var _local12 = this.ZE + 1;
var _local10 = this.aC[this.aC.uB]._width;
if (_local12 >= 10) {
_local12 = 0;
_local11++;
if (_local11 > 4) {
_local11 = 0;
}
}
var _local13 = _local11;
var _local14 = _local12 + 1;
if (_local14 >= 10) {
_local14 = 0;
_local13++;
if (_local13 > 4) {
_local13 = 0;
}
}
this.aC.NA((("bk" + this.uD) + "_") + this.ZE, true, (("bk" + _local11) + "_") + _local12, (("bk" + _local13) + "_") + _local14);
var _local7 = 0;
var _local8 = 0;
if ((2 == _local13) || (4 == _local13)) {
_local7 = -800;
_local8 = -200;
}
var _local6 = 0.8;
if ((2 == _local13) || (4 == _local13)) {
var _local3 = (Math.random() * 8) + 10;
} else if (3 == _local13) {
var _local3 = (Math.random() * 5) + 4;
} else {
var _local3 = (Math.random() * 8) + 4;
}
if (1 == _local13) {
var _local9 = _local3;
} else if (4 == _local13) {
var _local9 = Math.random() * _local3;
} else {
var _local9 = -1;
}
if (0 == this.FD.length) {
this.vC(this.aC.uB, _local3, _local6, _local7, _local8, _local9);
this.vC(this.aC.lC, _local3, _local6, _local7, _local8, _local9);
}
this.vC(this.aC.b, _local3, _local6, _local7, _local8, _local9);
if ((this.IE > 0) && (((_local13 >= 2) ? (Math.random() < 0.4) : (Math.random() < 0.7)))) {
var _local3 = this.aC[this.aC.b]._x + (Math.random() * this.aC[this.aC.b]._width);
var _local4 = (Math.random() * (-Stage.height)) * 0.8;
var _local5 = (Math.random() * 400) - 200;
if ((_local4 - Math.abs(_local5)) < ((-Stage.height) * 0.8)) {
_local5 = ((-Stage.height) * 0.8) - _local4;
}
this.zD(_local3, (_local3 + (Math.random() * 50)) + 50, _local4, (_local4 + (Math.random() * 50)) + 50, (Math.random() * 400) - 200, _local5, 2 + (Math.random() * 2));
}
if ((3 == _local13) || (4 == _local13)) {
if (3 == _local13) {
var _local3 = Math.random() * 2;
} else {
var _local3 = 1;
}
var _local2 = 0;
for ( ; _local2 < _local3 ; _local2++) {
var _local15 = this.attachMovie("shooter", "shooter" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local15.HE(this.aC[this.aC.b]._x + (Math.random() * this.aC[this.aC.b]._width), (Math.random() * (-Stage.height)) * 0.8, (Math.random() * 1000) - 500, (Math.random() * 700) - 500, 1 + Math.random());
this.QB.push(_local15);
}
}
this.tB.A = this.tB.A - _local10;
if (this.tB.A < 0) {
this.tB.A = 0;
}
this.tB.D = this.tB.A - this.tB.WA;
this.tB.JC = this.tB.IA - this.tB.g;
this.tB._x = (((this.tB.A * this.tB.d) / 30) * 10) + (this.tB.D * (1 - ((this.tB.d / 30) * 10)));
this.ZA._visible = false;
} else if ((";" == this.SC.charAt(0)) || ("e" == this.SC.charAt(0))) {
this.ZA._visible = true;
if ((";" == this.SC.charAt(0)) && (";" != this.SC.charAt(1))) {
this.f = _global.parseInt(this.SC.substr(1));
this.SC = _root.levelmenu.IC[this.f];
} else {
this.f = undefined;
}
if (";" == this.SC.charAt(1)) {
this.aD(this.SC);
this.uD = 0;
this.ZE = this.PC[0];
this.tB.A = this.PC[1];
this.tB.IA = this.PC[2];
this.tB.D = this.tB.A;
this.tB.JC = this.tB.IA;
this.tB.EB = this.PC[3] - this.tB.A;
this.tB.GA = this.PC[4];
this.ZA._x = this.PC[5];
this.ZA._y = this.PC[6];
var _local2 = 7;
while (1) {
if (2 == this.PC[_local2]) {
this.pD(this.PC[_local2 + 1], this.PC[_local2 + 2], this.PC[_local2 + 3], this.PC[_local2 + 4], this.PC[_local2 + 5]);
_local2 = _local2 + 6;
} else if (3 == this.PC[_local2]) {
this.zD(this.PC[_local2 + 1], this.PC[_local2 + 2], this.PC[_local2 + 3], this.PC[_local2 + 4], this.PC[_local2 + 5], this.PC[_local2 + 6], this.PC[_local2 + 7]);
_local2 = _local2 + 8;
} else if (4 == this.PC[_local2]) {
var _local3 = this.attachMovie("fly", "fly" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local3._x = this.PC[_local2 + 1];
_local3._y = this.PC[_local2 + 2];
this.VC.push(_local3);
_local2 = _local2 + 3;
} else if (5 == this.PC[_local2]) {
this.pD(this.PC[_local2 + 1], this.PC[_local2 + 2], this.PC[_local2 + 3], this.PC[_local2 + 4], this.PC[_local2 + 5], true, this.PC[_local2 + 6]);
_local2 = _local2 + 7;
} else if (6 == this.PC[_local2]) {
var _local16 = this.attachMovie("shooter", "shooter" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local16.HE(this.PC[_local2 + 1], this.PC[_local2 + 2], this.PC[_local2 + 3], this.PC[_local2 + 4], this.PC[_local2 + 5]);
this.QB.push(_local16);
_local2 = _local2 + 6;
} else {
break;
}
}
if (this.tB.rC != -1) {
this.tB.EB = this.FD[this.tB.rC]._x;
this.tB.GA = this.FD[this.tB.rC]._y;
this.tB.rC = -1;
}
}
this.aC.NA("bkl" + this.ZE, true);
}
this.tB.xB = 30 / 10;
if (this.BE._y != 0) {
this.BE.removeMovieClip();
}
};
_local1.qA = function (ZC) {
for (var _local3 in this.FD) {
if (ZC || ((this.FD[_local3].A < this.aC[this.aC.lC]._x) && ((this.FD[_local3].A + this.FD[_local3].TA) < this.aC[this.aC.lC]._x))) {
this.FD[_local3].removeMovieClip();
this.FD.splice(_local3, 1);
} else {
this.FD[_local3].A = this.FD[_local3].A - this.aC[this.aC.lC]._x;
this.FD[_local3]._x = (this.FD[_local3].TA * (this.FD[_local3].wC / this.FD[_local3].Z)) + this.FD[_local3].A;
}
}
for (var _local3 in this.VC) {
this.VC[_local3].removeMovieClip();
}
this.VC = [];
for (var _local3 in this.XE) {
if (ZC || ((this.XE[_local3].rD < this.aC[this.aC.lC]._x) && ((this.XE[_local3].rD + this.XE[_local3].TA) < this.aC[this.aC.lC]._x))) {
this.XE[_local3].removeMovieClip();
this.XE.splice(_local3, 1);
} else {
this.XE[_local3].w = this.XE[_local3].w - this.aC[this.aC.lC]._x;
this.XE[_local3].rD = this.XE[_local3].rD - this.aC[this.aC.lC]._x;
this.XE[_local3]._x = (this.XE[_local3].TA * (this.XE[_local3].wC / this.XE[_local3].Z)) + this.XE[_local3].w;
}
}
for (var _local3 in this.QB) {
if (ZC || (this.QB[_local3]._x < (-this.aC[this.aC.lC]._x))) {
this.QB[_local3].JE();
this.QB.splice(_local3, 1);
} else {
this.QB[_local3].CB(-this.aC[this.aC.lC]._x);
}
}
};
_local1.sD = function () {
for (var XD in this.FD) {
this.FD[XD].removeMovieClip();
}
this.FD = [];
for (var XD in this.XE) {
this.XE[XD].removeMovieClip();
}
this.XE = [];
for (var XD in this.QB) {
this.QB[XD].JE();
}
this.QB = [];
if ((_root.levelmenu.gD._width != 145) || ((_root.levelmenu.gD._height != 97) || ((_root.levelmenu.yC._width != 208) || (_root.levelmenu.yC._height != 66)))) {
_root.unloadMovie();
}
};
_local1.ME = function (oA) {
this.tB.A = oA;
if (0 == this.tB.xB) {
this.tB.IA = (-Stage.height) / 2;
this.tB.WA = 250 / 10;
this.tB.g = 0;
} else {
this.tB.IA = -Stage.height;
this.tB.UA = 0;
this.pD(oA + this.tB.EB, this.tB.GA, 0, 0, 1);
this.tB.WA = 0;
this.tB.g = 0;
}
this.tB.D = this.tB.A - this.tB.WA;
this.tB.JC = this.tB.IA - this.tB.g;
this.tB.DD();
};
_local1.JE = function (r) {
this._visible = false;
Key.removeListener(this.TE);
this.aC.removeMovieClip();
this.xD.removeMovieClip();
this.tB.JE();
this.ZA.removeMovieClip();
this.BE.removeMovieClip();
_root.game.Y.instructtxt.removeTextField();
this.I.removeMovieClip();
this.S.removeMovieClip();
this.FB.removeMovieClip();
for (var XD in this.SA) {
this.SA[XD].removeMovieClip();
}
this.SA = [];
if (r) {
if ((!_root.MA) && (("r" == this.SC.charAt(0)) || (!this.LD))) {
_root.W.start();
}
if ("r" == this.SC.charAt(0)) {
if ((this.xC > _root.menu.P) || (undefined == _root.menu.P)) {
_root.menu.P = this.xC;
_root.menu.OD();
}
_root.menu.e(4);
} else {
for (var XD in this.VC) {
if (!this.VC[XD]._visible) {
this.N++;
}
}
if (this.LD && ((this.xC < _root.menu.gA[this.f]) || (undefined == _root.menu.gA[this.f]))) {
_root.menu.gA[this.f] = this.xC;
_root.menu.OD();
}
if (this.LD && ((this.N > 0) && ((this.N > _root.menu.T[this.f]) || (undefined == _root.menu.T[this.f])))) {
_root.menu.T[this.f] = this.N;
_root.menu.OD();
}
_root.menu.e(5);
}
} else {
_root.menu.e(1);
}
this.qA(true);
if (!_root.mB) {
_root.eC.start(0, 8);
}
};
_local1.onEnterFrame = function () {
if (this._visible) {
if (Key.isDown(27)) {
this.JE(false);
}
if ("e" == this.SC.charAt(0)) {
} else {
if (("r" == this.SC.charAt(0)) && ((-1 == this.tB.rC) && (this._x < (-Stage.width)))) {
this.ZE++;
if (this.ZE >= 10) {
this.ZE = 0;
this.uD++;
if (this.uD > 4) {
this.uD = 0;
this.IE++;
}
}
this.BA();
}
if ("r" == this.SC.charAt(0)) {
this._x = (-this.tB._x) + (Stage.width * 0.2);
} else {
this._x = (-this.tB._x) + (Stage.width * 0.5);
}
this._y = (-this.tB._y) + (Stage.height * 0.5);
if (this._x > 0) {
this._x = 0;
}
if (this._y < Stage.height) {
this._y = Stage.height;
}
if (this._x < ((-this.aC.hA) + Stage.width)) {
this._x = (-this.aC.hA) + Stage.width;
}
if (this._y > this.aC[this.aC.uB]._height) {
this._y = this.aC[this.aC.uB]._height;
}
if (this.tB.JC > 10) {
this.DB(this.BD - 1, true);
}
if ("r" == this.SC.charAt(0)) {
if (this.qD > this.xC) {
this.xC = this.qD;
}
if (1 == Math.ceil(this.xC)) {
this.FB.lbl.text = "1 foot";
} else {
this.FB.lbl.text = Math.ceil(this.xC) + " feet";
}
this.FB.lbl.setTextFormat(this.HB);
} else if ((";" == this.SC.charAt(0)) && (";" == this.SC.charAt(1))) {
_root.game.xC = _root.game.xC + (1 / 30);
this.FB.lbl.text = (Math.round(this.xC * 10) / 10) + " seconds";
this.FB.lbl.setTextFormat(this.HB);
}
}
if (_root.keyevtcode != -1) {
if ((((0 == this.z) || (1 == this.z)) && (38 == _root.keyevtcode)) || ((((2 == this.z) || (3 == this.z)) && (40 == _root.keyevtcode)) || ((((4 == this.z) || (6 == this.z)) && (37 == _root.keyevtcode)) || ((((5 == this.z) || (7 == this.z)) && (39 == _root.keyevtcode)) || ((8 == this.z) && (66 == _root.keyevtcode)))))) {
this.z++;
} else if ((9 == this.z) && (65 == _root.keyevtcode)) {
this.z = 0;
this.JE();
if (Math.random() > 0.5) {
this.e(";;16,312,-170,312,-243,312,-362,5,575,-455,-500,-2,180,1,2,312,-243,0,0,1,4,364,-250,4,364,-251,4,359,-293,4,363,-316,4,370,-352,4,361,-376,4,386,-386,4,394,-267,4,420,-201,4,383,-151,4,380,-167,4,368,-226,4,400,-152,4,418,-101,4,412,-92,4,366,-113,4,355,-117,4,262,-89,4,263,-115,4,253,-171,4,229,-200,4,221,-210,4,217,-125,4,227,-117,4,169,-175,4,147,-219,4,220,-225,4,232,-285,4,164,-291,4,181,-238,4,205,-251,4,201,-253,4,154,-326,4,185,-323,4,204,-353,4,158,-385,4,221,-331,4,221,-379,4,176,-423,4,253,-443,4,273,-432,4,285,-427,4,331,-425,4,386,-433,4,431,-405,4,446,-339,4,408,-304,4,465,-314,4,467,-322,4,473,-244,4,448,-261,4,112,-266,1,!");
} else {
this.e(";;15,305,-241,309,-276,-100,0,2,177,-275,0,-2,0.002,2,309,-276,0,0,1,4,177,-32000,1,!");
}
} else {
this.z = 0;
}
_root.keyevtcode = -1;
}
}
};
_local1.DB = function (kB, cC, HC) {
this.BD = kB;
for (var _local5 in this.SA) {
this.SA[_local5].removeMovieClip();
}
this.SA = [];
if (this.BD <= 0) {
this.JE(true);
} else {
var _local5 = 0;
for ( ; _local5 < kB ; _local5++) {
var _local6 = this.Y.attachMovie("player0.png", "player" + this.Y.getNextHighestDepth(), this.Y.getNextHighestDepth());
_local6._width = _local6._width * 0.7;
_local6._height = _local6._height * 0.7;
_local6._x = (Stage.width - ((_local5 % 3) * _local6._width)) - _local6._width;
_local6._y = 40 + (Math.floor(_local5 / 3) * _local6._height);
this.SA.push(_local6);
}
if (cC && ((!_root.MA) && (HC == undefined))) {
_root.W.start();
}
this.ME(Math.max(this.tB._x, 0));
this.qD = (((((this.IE * (4 + 1)) + this.uD) * 10) + this.ZE) + (this.tB.A / Stage.width)) * 20;
if (cC) {
var _local7 = this.Y.attachMovie("whiteflash", "whiteflash" + this.Y.getNextHighestDepth(), this.Y.getNextHighestDepth());
if (HC != undefined) {
_local7.HC = HC;
}
}
}
};
_local1.zD = function (H, kA, CD, YC, M, wA, FC) {
var _local9 = this.attachMovie("spikeblock", "spikeblock" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local9.HE(H, kA, CD, YC, M, wA, FC);
this.XE.push(_local9);
};
_local1.vC = function (uB, BB, KC, iC, iA, p) {
var _local8 = 0;
for ( ; _local8 <= BB ; _local8++) {
if ((_local8 <= p) || ((0 == iC) && (0 == iA))) {
this.pD((this.aC[uB]._x + ((Math.random() * this.aC[uB]._width) * 0.3)) + ((_local8 / BB) * this.aC[uB]._width), (-Stage.height) + ((Math.random() * Stage.height) * KC), 0, 0, 2 + (2 * Math.random()), _local8 <= p, (((_local8 <= p) && (Math.random() > 0.5)) ? true : false));
} else {
var _local9 = (Math.random() * (iA - iC)) + iC;
var _local10 = Math.sqrt(Math.pow(_local9, 2) + Math.pow(Stage.height + (85 * 2), 2)) * (0.01 + (Math.random() * 0.01));
this.pD((this.aC[uB]._x + ((Math.random() * this.aC[uB]._width) * 0.3)) + ((_local8 / BB) * this.aC[uB]._width), (-Stage.height) - 85, _local9, Stage.height + (85 * 2), _local10, true, false);
this.FD[this.FD.length - 1].wC = Math.random() * _local10;
if (Math.random() > 0.5) {
this.FD[this.FD.length - 1].oD = -1;
this.FD[this.FD.length - 1]._visible = false;
}
}
}
};
_local1.pD = function (oA, ID, BC, ND, FC, MD, fA) {
var _local9 = this.attachMovie("dot", "dot" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local9.HE(oA, ID, BC, ND, FC, MD, fA);
if (_root.SKYTHM == this.uD) {
_local9.dot3.gotoAndPlay(Math.ceil(Math.random() * _local9.dot3._totalframes));
}
this.FD.push(_local9);
};
_local1.yA = function (oA, ID) {
var _local5 = 1000000000 /* 0x3B9ACA00 */;
for (var XD in this.FD) {
if (((Math.pow(oA - this.FD[XD]._x, 2) + Math.pow(ID - this.FD[XD]._y, 2)) < _local5) && (this.FD[XD]._visible)) {
var _local4 = XD;
_local5 = Math.pow(oA - this.FD[XD]._x, 2) + Math.pow(ID - this.FD[XD]._y, 2);
}
}
if (1000000000 == _local5) {
return(-1);
}
return(_local4);
};
_local1.oC = function (oA, ID) {
for (var XD in this.XE) {
if (this.XE[XD]._visible && ((oA >= this.XE[XD]._x) && ((oA <= ((this.XE[XD]._x + this.XE[XD].rD) - this.XE[XD].w)) && ((ID >= this.XE[XD]._y) && (ID <= ((this.XE[XD]._y + this.XE[XD].DA) - this.XE[XD].QC)))))) {
return(XD);
}
}
return(-1);
};
_local1.G = function () {
if (this.fD != -1) {
this.FD[this.fD]._alpha = 100;
this.FD[this.fD].Z = _global.parseFloat(_root.menu.inputtxt);
if (this.FD[this.fD].Z < 0) {
this.FD[this.fD].SD = 1;
this.FD[this.fD].Z = this.FD[this.fD].Z * -1;
} else {
this.FD[this.fD].SD = 0;
}
this.fD = -1;
}
if (this.LA != -1) {
this.XE[this.LA].dA = false;
this.XE[this.LA].RA();
this.XE[this.LA].Z = _global.parseFloat(_root.menu.inputtxt);
this.LA = -1;
}
if (this.KA != -1) {
this.QB[this.KA]._alpha = 100;
this.QB[this.KA].CA = _global.parseFloat(_root.menu.inputtxt);
this.KA = -1;
}
this.I.removeMovieClip();
};
_local1.aD = function (pC) {
var _local3 = 0;
var _local4 = 0;
var _local5 = 0;
this.PC = [];
while ("!" != pC.charAt(_local3)) {
if ((";" != pC.charAt(_local3)) && (("e" != pC.charAt(_local3)) && ("r" != pC.charAt(_local3)))) {
if ("," == pC.charAt(_local3)) {
this.PC[_local5] = _global.parseFloat(_local4);
_local4 = "";
_local5++;
} else {
_local4 = _local4 + pC.charAt(_local3);
}
}
_local3++;
}
};
ASSetPropFlags(_local1, null, 1);
_local1.TE = new Object();
_local1.z = 0;
_local1.aB = 0;
_local1.QE = false;
_local1.HB = new TextFormat();
_local1.PB = new TextFormat();
}
#endinitclip
Symbol 37 MovieClip [__Packages.Player] Frame 0
#initclip
if (!Player) {
//(_global.Player = function () {
super();
}) extends MovieClip
var _local1 = (_global.Player /* register */).prototype;
_local1.onLoad = function () {
if ("e" == _root.game.SC.charAt(0)) {
this.xB = 0;
} else if (0 == this.xB) {
this.WA = 250 / 10;
}
this.xD = this.createEmptyMovieClip("xi", 0);
this.KE.onMouseDown = function () {
_root.pB = true;
};
this.KE.onMouseUp = function () {
_root.WB = true;
};
Mouse.addListener(this.KE);
};
_local1.JE = function () {
Mouse.removeListener(this.KE);
this.removeMovieClip();
};
_local1.onEnterFrame = function () {
if (this._visible) {
if (((_root._xmouse <= (_root.mutemusicbutton._x + _root.mutebutton._width)) && (_root._ymouse >= (Stage.height - _root.mutebutton._height))) || ((_root._xmouse >= (Stage.width - 62)) && (_root._ymouse >= (Stage.height - 37)))) {
_root.pB = false;
_root.WB = false;
}
if ("e" != _root.game.SC.charAt(0)) {
if (_root.pB) {
this.VA(_root.game._xmouse, _root.game._ymouse);
this.lA = this.rC;
}
if ((_root.WB && (this.lA == this.rC)) || ((this.rC != -1) && (!_root.game.FD[this.rC]._visible))) {
this.DD();
this.lA = this.rC;
}
_root.pB = false;
_root.WB = false;
if (this.rC != -1) {
if (Key.isDown(40) || (Key.isDown(90))) {
if ((_root.game.SC.charAt(0) != "r") || (this.IA >= ((-Stage.height) - (10 * 2)))) {
this.dD = this.dD + (100 / 30);
}
}
if (Key.isDown(38) || (Key.isDown(88))) {
this.dD = this.dD - (100 / 30);
if (this.dD < 2) {
this.dD = 2;
this.g = 0;
}
}
}
if (this.UA > 0) {
for (var _local2 in _root.game.XE) {
if (((this._x + 10) >= _root.game.XE[_local2]._x) && (((this._x - 10) <= ((_root.game.XE[_local2]._x + _root.game.XE[_local2].rD) - _root.game.XE[_local2].w)) && (((this._y + 10) >= _root.game.XE[_local2]._y) && ((this._y - 10) <= ((_root.game.XE[_local2]._y + _root.game.XE[_local2].DA) - _root.game.XE[_local2].QC))))) {
_root.game.DB(_root.game.BD - 1, true);
return(undefined);
}
if (this.rC != -1) {
if ((this._x - _root.game.FD[this.rC]._x) != 0) {
var _local5 = this.sB(_root.game.XE[_local2]._x, this.rC);
var _local6 = this.sB((_root.game.XE[_local2]._x + _root.game.XE[_local2].rD) - _root.game.XE[_local2].w, this.rC);
if (((_local5 >= _root.game.XE[_local2]._y) && (_local5 <= ((_root.game.XE[_local2]._y + _root.game.XE[_local2].DA) - _root.game.XE[_local2].QC))) || ((_local6 >= _root.game.XE[_local2]._y) && (_local6 <= ((_root.game.XE[_local2]._y + _root.game.XE[_local2].DA) - _root.game.XE[_local2].QC)))) {
this.DD();
break;
}
}
if ((this._y - _root.game.FD[this.rC]._y) != 0) {
var _local7 = this.B(_root.game.XE[_local2]._y, this.rC);
var _local8 = this.B((_root.game.XE[_local2]._y + _root.game.XE[_local2].DA) - _root.game.XE[_local2].QC, this.rC);
if (((_local7 >= _root.game.XE[_local2]._x) && (_local7 <= ((_root.game.XE[_local2]._x + _root.game.XE[_local2].rD) - _root.game.XE[_local2].w))) || ((_local8 >= _root.game.XE[_local2]._x) && (_local8 <= ((_root.game.XE[_local2]._x + _root.game.XE[_local2].rD) - _root.game.XE[_local2].w)))) {
this.DD();
break;
}
}
}
}
for (var _local2 in _root.game.QB) {
if (_root.game.QB[_local2].SE()) {
_root.game.DB(_root.game.BD - 1, true);
return(undefined);
}
}
for (var _local2 in _root.game.VC) {
if (_root.game.VC[_local2]._visible) {
if (this.bC(_root.game.VC[_local2]._x, _root.game.VC[_local2]._y, _root.game.VC[_local2]._width, _root.game.VC[_local2]._height)) {
_root.game.VC[_local2]._visible = false;
if (!_root.MA) {
_root.game.VC[_local2].mC.start();
}
}
}
}
if (_root.game.ZA._visible && (Math.pow(_root.game.ZA._width / 2, 2) >= (Math.pow(this._x - _root.game.ZA._x, 2) + Math.pow(this._y - _root.game.ZA._y, 2)))) {
_root.game.LD = true;
_root.game.JE(true);
return(undefined);
}
}
}
this.d++;
if (this.d >= (30 / 10)) {
this.d = this.d - (30 / 10);
this.UA++;
if (this.UA >= 3) {
this.UA = 3;
} else if ((2 == this.UA) && (-1 == this.rC)) {
this.VA(this.A + this.EB, this.GA);
}
this.D = this.A;
this.JC = this.IA;
this.eA = this.jB;
this.g = this.g + this.xB;
this.A = this.A + this.WA;
this.IA = this.IA + this.g;
this.jB = this.jB + this.X;
if (this.rC != -1) {
var _local4 = Math.sqrt(Math.pow(this.A - _root.game.FD[this.rC].EE, 2) + Math.pow(this.IA - _root.game.FD[this.rC].AC, 2));
this.A = (((this.A - _root.game.FD[this.rC].EE) * this.dD) / _local4) + _root.game.FD[this.rC].EE;
this.IA = (((this.IA - _root.game.FD[this.rC].AC) * this.dD) / _local4) + _root.game.FD[this.rC].AC;
this.jB = ((Math.asin((this.IA - _root.game.FD[this.rC].AC) / this.dD) * 180) / Math.PI) - 90;
if (this.A < _root.game.FD[this.rC].EE) {
this.jB = this.jB * -1;
}
if ((this.jB - this.eA) > 180) {
this.eA = this.eA + 360;
}
if ((this.eA - this.jB) > 180) {
this.eA = this.eA - 360;
}
this.WA = this.A - this.D;
this.g = this.IA - this.JC;
this.X = this.jB - this.eA;
if (this.nC == this.rC) {
_root.game.xD.clear();
this.xD.clear();
this.xD.lineStyle(2, 16777215, 90);
this.xD.moveTo(0, 0);
this.xD.lineTo(0, (this.dD + this.nD) * -0.5);
}
}
this.nC = this.rC;
this.nD = this.dD;
if ("r" == _root.game.SC.charAt(0)) {
_root.game.qD = _root.game.qD + ((this.WA * 20) / Stage.width);
}
}
this._x = (((this.A * this.d) / 30) * 10) + (this.D * (1 - ((this.d / 30) * 10)));
this._y = (((this.IA * this.d) / 30) * 10) + (this.JC * (1 - ((this.d / 30) * 10)));
this._rotation = (((this.jB * this.d) / 30) * 10) + (this.eA * (1 - ((this.d / 30) * 10)));
if ((this.rC != -1) && (this.nC != this.rC)) {
_root.game.xD.clear();
_root.game.xD.lineStyle(1, 16777215, ((90 * this.d) / 30) * 10);
_root.game.xD.moveTo(this._x, this._y);
_root.game.xD.lineTo(_root.game.FD[this.rC]._x, _root.game.FD[this.rC]._y);
}
}
};
_local1.VA = function (oA, ID) {
if (!_root.MA) {
_root.fB.start();
}
this.rC = _root.game.yA(oA, ID);
if (this.rC != -1) {
this.dD = Math.sqrt(Math.pow(this.A - _root.game.FD[this.rC]._x, 2) + Math.pow(this.IA - _root.game.FD[this.rC]._y, 2));
}
};
_local1.DD = function () {
if ((!_root.MA) && (this.rC != -1)) {
_root.AB.start();
}
this.rC = -1;
_root.game.xD.clear();
this.xD.clear();
};
_local1.bC = function (oA, ID, vA, bB) {
if (Math.pow((vA / 2) + 10, 2) >= (Math.pow(this._x - oA, 2) + Math.pow(this._y - ID, 2))) {
return(1);
}
if (this.rC != -1) {
if (((oA + ((vA / 2) * Math.SQRT1_2)) >= Math.min(this._x, _root.game.FD[this.rC]._x)) && (((oA - ((vA / 2) * Math.SQRT1_2)) <= Math.max(this._x, _root.game.FD[this.rC]._x)) && (((ID + ((bB / 2) * Math.SQRT1_2)) >= Math.min(this._y, _root.game.FD[this.rC]._y)) && ((ID - ((bB / 2) * Math.SQRT1_2)) <= Math.max(this._y, _root.game.FD[this.rC]._y))))) {
if (((vA / 2) * Math.sqrt(Math.pow(this._x - _root.game.FD[this.rC]._x, 2) + Math.pow(this._y - _root.game.FD[this.rC]._y, 2))) >= Math.abs(((this._x - _root.game.FD[this.rC]._x) * (_root.game.FD[this.rC]._y - ID)) - ((_root.game.FD[this.rC]._x - oA) * (this._y - _root.game.FD[this.rC]._y)))) {
return(2);
}
}
}
return(0);
};
_local1.sB = function (oA) {
if ((oA < this._x) && (oA < _root.game.FD[this.rC]._x)) {
return(10000);
}
if ((oA > this._x) && (oA > _root.game.FD[this.rC]._x)) {
return(10000);
}
return((((this._y - _root.game.FD[this.rC]._y) / (this._x - _root.game.FD[this.rC]._x)) * (oA - this._x)) + this._y);
};
_local1.B = function (ID) {
if ((ID < this._y) && (ID < _root.game.FD[this.rC]._y)) {
return(-10000);
}
if ((ID > this._y) && (ID > _root.game.FD[this.rC]._y)) {
return(-10000);
}
return((((this._x - _root.game.FD[this.rC]._x) / (this._y - _root.game.FD[this.rC]._y)) * (ID - this._y)) + this._x);
};
ASSetPropFlags(_local1, null, 1);
_local1.KE = new Object();
_local1.UA = 0;
_local1.d = 0;
_local1.A = 0;
_local1.IA = 0;
_local1.jB = 0;
_local1.D = 0;
_local1.JC = 0;
_local1.eA = 0;
_local1.nC = -1;
_local1.WA = 0;
_local1.g = 0;
_local1.X = 0;
_local1.rC = -1;
_local1.EB = 50;
_local1.GA = (-Stage.height) + 10;
_local1.lA = -1;
}
#endinitclip
Symbol 38 MovieClip [__Packages.Dot] Frame 0
#initclip
if (!Dot) {
//(_global.Dot = function () {
super();
}) extends MovieClip
var _local1 = (_global.Dot /* register */).prototype;
_local1.onEnterFrame = function () {
if (this.YB) {
this._visible = false;
} else {
this._x = (this.TA * (this.wC / this.Z)) + this.A;
this._y = (this.WD * (this.wC / this.Z)) + this.IA;
this.EE = (this.TA * ((this.wC + (this.oD / 10)) / this.Z)) + this.A;
this.AC = (this.WD * ((this.wC + (this.oD / 10)) / this.Z)) + this.IA;
this.wC = this.wC + (this.oD / 30);
if (this.AA) {
var _local2 = 0;
for ( ; _local2 <= 6 ; _local2++) {
this["dot2_" + _local2]._visible = false;
}
if (this.wC >= (this.Z - 0.6)) {
this["dot2_" + (6 - Math.floor((this.Z - this.wC) * 10))]._visible = true;
} else if (this.wC <= 0.6) {
var _local3 = 6 - Math.floor(this.wC * 10);
this["dot2_" + _local3]._visible = true;
this["dot2_" + _local3]._x = ((Math.random() * _local3) - (_local3 * 0.5)) - 8;
this["dot2_" + _local3]._y = ((Math.random() * _local3) - (_local3 * 0.5)) - 8;
} else {
this.dot2_0._visible = true;
}
}
if (this.wC >= this.Z) {
this.oD = -1;
if (this.AA) {
if (this.SD) {
this._visible = true;
} else {
this._visible = false;
}
}
}
if (this.wC <= 0) {
this.oD = 1;
if (this.AA) {
if (this.SD) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
};
_local1.HE = function (oA, ID, BC, ND, FC, MD, fA) {
this.A = oA;
this.IA = ID;
this._x = this.A;
this._y = this.IA;
this.TA = BC;
this.WD = ND;
this.Z = FC;
this.AA = MD;
this.SD = fA;
if (this.SD) {
this._visible = false;
}
if ((this.TA != 0) || (this.WD != 0)) {
this.gotoAndStop(2);
} else if (this.AA) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
};
ASSetPropFlags(_local1, null, 1);
_local1.wC = 0;
_local1.oD = 1;
_local1.YB = false;
}
#endinitclip
Symbol 39 MovieClip [__Packages.SpikeBlock] Frame 0
#initclip
if (!SpikeBlock) {
//(_global.SpikeBlock = function () {
super();
}) extends MovieClip
var _local1 = (_global.SpikeBlock /* register */).prototype;
_local1.onEnterFrame = function () {
if (this._visible) {
this._x = (this.TA * (this.wC / this.Z)) + this.w;
this._y = (this.WD * (this.wC / this.Z)) + this.QC;
this.wC = this.wC + (this.oD / 30);
if (this.wC >= this.Z) {
this.oD = -1;
}
if (this.wC <= 0) {
this.oD = 1;
}
}
};
_local1.RA = function () {
if (this.dA) {
this.beginFill(16777215);
} else {
this.beginFill(1315860);
}
this.moveTo(9, 9);
this.lineTo((this.rD - this.w) - 9, 9);
this.lineTo((this.rD - this.w) - 9, (this.DA - this.QC) - 9);
this.lineTo(9, (this.DA - this.QC) - 9);
this.lineTo(9, 9);
this.endFill();
var _local2 = 1;
for ( ; _local2 <= Math.floor(((this.rD - this.w) - (9 * 2)) / 10) ; _local2++) {
var _local3 = this.attachMovie("spike", "spike" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local3._x = _local2 * 10;
_local3._y = 9;
this.XE.push(_local3);
var _local4 = this.attachMovie("spike", "spike" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local4._x = (_local2 * 10) + 10;
_local4._y = (this.DA - this.QC) - 9;
_local4._rotation = 180;
this.XE.push(_local4);
}
_local2 = 1;
for ( ; _local2 <= Math.floor(((this.DA - this.QC) - (9 * 2)) / 10) ; _local2++) {
var _local5 = this.attachMovie("spike", "spike" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local5._x = (this.rD - this.w) - 9;
_local5._y = _local2 * 10;
_local5._rotation = 90;
this.XE.push(_local5);
var _local6 = this.attachMovie("spike", "spike" + this.getNextHighestDepth(), this.getNextHighestDepth());
_local6._x = 9;
_local6._y = (_local2 * 10) + 10;
_local6._rotation = 270;
this.XE.push(_local6);
}
};
_local1.HE = function (H, kA, CD, YC, M, wA, FC) {
this.w = H;
this.rD = kA;
this.QC = CD;
this.DA = YC;
this.TA = M;
this.WD = wA;
this.Z = FC;
this.RA();
};
ASSetPropFlags(_local1, null, 1);
_local1.wC = 0;
_local1.oD = 1;
_local1.dA = false;
}
#endinitclip
Symbol 40 MovieClip [__Packages.DotButton] Frame 0
#initclip
if (!DotButton) {
//(_global.DotButton = function () {
super();
}) extends MovieClip
var _local1 = (_global.DotButton /* register */).prototype;
_local1.onRollOver = function () {
var _local2 = 0;
var _local4 = 40 * 1.5;
var _local5 = false;
while (_root.levelmenu.onEnterFrame != undefined) {
_root.levelmenu.onEnterFrame();
}
if ((this._x - 60) < 0) {
_local2 = (-this._x) + 60;
}
if ((this._x + 60) > Stage.width) {
_local2 = (Stage.width - this._x) - 60;
}
this.pA = this.createEmptyMovieClip("namebk" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.pA.lineStyle(2, 6566400, 60);
this.pA.beginFill(16777215, 60);
if (_root.menu.gA[this.SC] != undefined) {
_local4 = _local4 + (40 * 0.8);
if (_root.levelmenu.NE[this.SC] > 0) {
_local4 = _local4 + (40 * 0.8);
}
} else if (25 == this.SC) {
_local5 = _root.levelmenu.O();
if (_local5) {
_local4 = _local4 + (40 * 0.8);
}
}
this.pA.moveTo(_local2 - 50, 40 * 0.5);
this.pA.lineTo(_local2 + 50, 40 * 0.5);
this.pA.lineTo(_local2 + 50, _local4);
this.pA.lineTo(_local2 - 50, _local4);
this.pA.lineTo(_local2 - 50, 40 * 0.5);
this.pA.endFill();
var _local3 = "Level " + (this.SC + 1);
if (_root.menu.gA[this.SC] != undefined) {
_local3 = ((_local3 + "\r") + (Math.round(_root.menu.gA[this.SC] * 100) / 100)) + " sec";
}
if (_root.levelmenu.NE[this.SC] > 0) {
_local3 = (((_local3 + "\r") + ((_root.menu.T[this.SC] != undefined) ? (_root.menu.T[this.SC]) : "0")) + "/") + _root.levelmenu.NE[this.SC];
if (1 == _root.levelmenu.NE[this.SC]) {
_local3 = _local3 + " fly";
} else {
_local3 = _local3 + " flies";
}
}
if (_local5) {
_local3 = _local3 + "\r(locked)";
}
this.AE = this.attachMovie("label", "label" + this.getNextHighestDepth(), this.getNextHighestDepth());
this.AE.HE(_local3, false, _local2 - 50, _local2 + 50, 40 * 0.5, _local4);
};
_local1.onRollOut = function () {
this.pA.removeMovieClip();
this.AE.removeMovieClip();
};
_local1.onPress = function () {
this.onRollOut();
_root.game.u(";" + this.SC);
};
ASSetPropFlags(_local1, null, 1);
}
#endinitclip
Symbol 41 MovieClip [__Packages.Label] Frame 0
#initclip
if (!Label) {
//(_global.Label = function () {
super();
}) extends MovieClip
var _local1 = (_global.Label /* register */).prototype;
_local1.gB = function () {
this._x = this.w;
this._y = this.QC;
with (this.createTextField("lbl", this.getNextHighestDepth(), 0, 0, this.rD - this.w, ((this.DA - this.QC) - 0) - 1)) {
text = this.NC;
if (this.FE) {
type = "input";
border = true;
background = true;
variable = "_root.menu.inputtxt";
setNewTextFormat(this.HB);
} else {
selectable = false;
setTextFormat(this.HB);
}
}
};
_local1.HE = function (LB, qB, H, kA, CD, YC) {
this.NC = LB;
this.FE = qB;
this.w = H;
this.rD = kA;
this.QC = CD;
this.DA = YC;
if (this.FE) {
_root.menu.inputtxt = LB;
}
with (this.HB) {
font = "Palatino Linotype";
italic = true;
size = "22";
align = "center";
color = "0x000000";
}
this.gB();
};
ASSetPropFlags(_local1, null, 1);
_local1.HB = new TextFormat();
}
#endinitclip
Symbol 48 Button
on (release) {
getURL ("http://www.maxgames.com", "_blank");
}
Symbol 51 MovieClip Frame 60
stop();
Symbol 65 MovieClip Frame 14
stop();
Symbol 366 MovieClip [__Packages.swfmill.registerClass.game] Frame 0
#initclip
Object.registerClass("game", Game);
#endinitclip
Symbol 368 MovieClip [__Packages.swfmill.registerClass.menu] Frame 0
#initclip
Object.registerClass("menu", Menu);
#endinitclip
Symbol 370 MovieClip [__Packages.swfmill.registerClass.levelmenu] Frame 0
#initclip
Object.registerClass("levelmenu", LevelMenu);
#endinitclip
Symbol 372 MovieClip [__Packages.swfmill.registerClass.swingdemo] Frame 0
#initclip
Object.registerClass("swingdemo", SwingDemo);
#endinitclip
Symbol 374 MovieClip [__Packages.swfmill.registerClass.swingdemo2] Frame 0
#initclip
Object.registerClass("swingdemo2", SwingDemo2);
#endinitclip
Symbol 376 MovieClip [__Packages.swfmill.registerClass.label] Frame 0
#initclip
Object.registerClass("label", Label);
#endinitclip
Symbol 378 MovieClip [__Packages.swfmill.registerClass.button] Frame 0
#initclip
Object.registerClass("button", ButtonA);
#endinitclip
Symbol 380 MovieClip [__Packages.swfmill.registerClass.whiteflash] Frame 0
#initclip
Object.registerClass("whiteflash", WhiteFlash);
#endinitclip
Symbol 382 MovieClip [__Packages.swfmill.registerClass.sponsorintro] Frame 0
#initclip
Object.registerClass("sponsorintro", SponsorIntro);
#endinitclip
Symbol 384 MovieClip [__Packages.swfmill.registerClass.backgroundmenu] Frame 0
#initclip
Object.registerClass("backgroundmenu", Background);
#endinitclip
Symbol 386 MovieClip [__Packages.swfmill.registerClass.background] Frame 0
#initclip
Object.registerClass("background", Background);
#endinitclip
Symbol 388 MovieClip [__Packages.swfmill.registerClass.mutebutton] Frame 0
#initclip
Object.registerClass("mutebutton", MuteButton);
#endinitclip
Symbol 390 MovieClip [__Packages.swfmill.registerClass.mutemusicbutton] Frame 0
#initclip
Object.registerClass("mutemusicbutton", MuteMusicButton);
#endinitclip
Symbol 392 MovieClip [__Packages.swfmill.registerClass.dotbutton] Frame 0
#initclip
Object.registerClass("dotbutton", DotButton);
#endinitclip
Symbol 395 MovieClip [__Packages.swfmill.registerClass.player] Frame 0
#initclip
Object.registerClass("player", Player);
#endinitclip
Symbol 397 MovieClip [__Packages.swfmill.registerClass.dot] Frame 0
#initclip
Object.registerClass("dot", Dot);
#endinitclip
Symbol 399 MovieClip [__Packages.swfmill.registerClass.fly] Frame 0
#initclip
Object.registerClass("fly", Fly);
#endinitclip
Symbol 402 MovieClip [__Packages.swfmill.registerClass.spikeblock] Frame 0
#initclip
Object.registerClass("spikeblock", SpikeBlock);
#endinitclip
Symbol 404 MovieClip [__Packages.swfmill.registerClass.shooter] Frame 0
#initclip
Object.registerClass("shooter", Shooter);
#endinitclip
Symbol 406 MovieClip [__Packages.swfmill.registerClass.sharrow] Frame 0
#initclip
Object.registerClass("sharrow", ShArrow);
#endinitclip
Symbol 409 MovieClip [__Packages.swfmill.registerClass.arrow] Frame 0
#initclip
Object.registerClass("arrow", Arrow);
#endinitclip