STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228096
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

swfchan turned sixteen years old yesterday! (5may2024)

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/62776421?noj=FRM62776421-6DC" width="1" height="1"></div>

Dart 3D.swf

This is the info page for
Flash #26938

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Frame 1
stop();
Instance of Symbol 17 MovieClip in Frame 1
on (press) { getURL ("http://gamesofgondor.com", "_blank"); }
Instance of Symbol 23 MovieClip "btn" in Frame 1
onClipEvent (load) { this._visible = 0; } on (press) { _root.gotoAndPlay(2); }
Frame 2
function 20() { tfreq = 2; tspd = 70; taccel = 50; talphup = 2; tdepth = 1000; bcol = 0; bsize = 1; estrength = 2; enumtype = 0; echase = 250; espd = 5; az = 10000; ae = 5050; ab = 7050; TY = 225; FocalLength = 300; jim = 0; ship.spow = 0; gover = 0; fuck = 0; accel = 0; lvlcnt = 0; prdcnt = 0; b1cnt = 0; b2cnt = 0; b3cnt = 0; invincible = 0; prodinterv = 2000; ending = 0; life = 200; bombs = 1; levelint = 10000; paused = 0; score = 0; aloc = 0; level = 0; C1 = new Array(65280, 16777215, 16692107, 16776960, 65535, 6750105, 16751103, 16763955); C2 = new Array(6767395, 5684189, 16777104, 13426022, 13058503, 16069119); B1 = new Array(16750848, 16711680, 65535, 65433, 16776960, 16777113, 16777215); S1 = new Array(10040064, 8913032, 21913, 34833, 16750848, 14526976, 14540253); S2 = new Array(11154176, 10027161, 21947, 43554, 16759552, 15645440, 13421772); S3 = new Array(12268288, 10027178, 26282, 39219, 15628032, 16755200, 12303291); S4 = new Array(13382400, 10027212, 26316, 39253, 16750848, 16768256, 16777215); P1 = new Array("n", "15", "/", "25", "6", "38", "5", "39", "u", "38", "r", "11", "/", "31", "g", "25", "g", "32", "s", "31", "m", "7", "l", "11", "t", "1", "/", "5", "r", "24", "q", "28", "i", "8", "h", "27", "n", "16", ":", "3", "p", "2", "n", "16", "d", "17", "m", "4", "y", "5", "/", "20", ".", "5", "y", "3", "a", "3", "n", "3", "e", "8", "t", "4", "d", "12", "l", "5", "a", "10", "t", "1", "/", "3", "/", "1", "/", "4", "u", "6", "i", "2", "t", "4", "e", "1", "r", "1", "h", "0", "a", "0"); P2 = new Array("f", "k", "D", "l", "M", "j"); interv = setInterval(function () { if (!_root.paused) { 34(); } }, 1000 / tfreq); 42(life); 3(); 28(); hst._visible = 0; } function 22(53, 27) { getURL ("http://gamesofgondor.com", "_blank"); } function 23(53, 27) { getURL ("http://newgrounds.com/", "_blank"); } function 24(53, 27) { getURL ("http://planetbob.net/flash", "_blank"); } function 25(53, 27) { getURL ("http://planetbob.net/pb", "_blank"); } SW = Stage.width; SH = 450; SW2 = SW / 2; SH2 = SH / 2; snd = new Sound(); snd.attachSound("abc"); snd.setVolume(100); sndon = 1; onEnterFrame = function () { if (sndon) { sncol = 16777215 /* 0xFFFFFF */; } else { sncol = 7829367 /* 0x777777 */; } if ((!ttl._visible) == 1) { 61(sncol); } else if (!(_root.s._x === undefined)) { _root.s.removeMovieClip(); } if (!_root.paused) { if (Key.isDown(88) && (!sht)) { if (invincible || (ship.spow > 5)) { _root.sfx.gotoAndPlay(8); } else { _root.sfx.gotoAndPlay(5); } 33(); sht = 1; finterv = setInterval(function () { sht = 0; clearInterval(finterv); }, 150); } aph = 0; clear(); stlscore = hst.score30.text; sthscore = hst.score1.text; if (!(stats._x === undefined)) { with (stats) { st1.text = "SCORE: " + score; st1.setTextFormat(aTF); st2.text = "YOUR BEST: " + oldscore; st2.setTextFormat(bTF); if (level == 9) { st3.text = "MISSION COMPLETED"; } else { st3.text = "LEVEL: " + level; } st3.setTextFormat(cTF); st4.text = "SHIP POWER: " + int(ship.spow + 1); st4.setTextFormat(aTF); st5.text = "WORLD BEST: " + sthscore; st5.setTextFormat(bTF); st6.text = "BOMBS: " + bombs; st6.setTextFormat(cTF); } } if (!(ship._x === undefined)) { with (ship) { clear(); sspd = 20; if (_root.ending) { if (noy < 28) { noy = noy + 1.5; } if ((nox < -1) || (nox > 1)) { nox = nox + ((-nox) / 20); } if ((29 < 223) || (29 > 227)) { Set("29", 29 + ((225 - 29) / 25)); } if ((30 < 223) || (30 > 227)) { Set("30", 30 + ((225 - 30) / 25)); } } else { nox = (29 - SW2) / 8; noy = (30 - SH2) / 8; acc = 5; dec = 5; if (Key.isDown(37)) { if (vx > (-sspd)) { vx = vx - acc; } } else if ((!Key.isDown(37)) && (vx < 0)) { vx = vx + dec; } if (Key.isDown(39)) { if (vx < sspd) { vx = vx + acc; } } else if ((!Key.isDown(39)) && (vx > 0)) { vx = vx - dec; } if (Key.isDown(38)) { if (vy > (-sspd)) { vy = vy - acc; } } else if ((!Key.isDown(38)) && (vy < 0)) { vy = vy + dec; } if (Key.isDown(40)) { if (vy < sspd) { vy = vy + acc; } } else if ((!Key.isDown(40)) && (vy > 0)) { vy = vy - dec; } Set("29", 29 + vx); Set("30", 30 + vy); if (29 > (SW - 25)) { Set("29", SW - 25); } if (29 < 25) { Set("29", 25); } if (30 < 16) { Set("30", 16); } if (30 > (SH - 16)) { Set("30", SH - 16); } } 16(29, 30); rangle = Math.atan2(30 - SH2, 29 - SW2); bangle = int((rangle * 180) / Math.PI); hypot = int(Math.sqrt(((29 - SW2) * (29 - SW2)) + ((30 - SH2) * (30 - SH2)))); } } if (tdepth > 1015) { g = tdepth - 15; } else { g = 1001; } if ((level == 0) || (level == 8)) { jim = jim + 1; if (jim > 59) { jim = 0; } } if (TY < 500) { i = g; while (i < tdepth) { j = i + 1; aph++; lineStyle(0, C1[tcol], 100 - (aph * 5)); if (!(_root["cir" + i]._x === undefined)) { X1 = _root["cir" + i]._x; Y1 = _root["cir" + i]._y; W1 = _root["cir" + i]._width / 2; X2 = _root["cir" + j]._x; Y2 = _root["cir" + j]._y; W2 = _root["cir" + j]._width / 2; k = jim; while (k <= 360) { var 49 = (W1 * Math.cos((k * Math.PI) / 180)); var 51 = (W1 * Math.sin((k * Math.PI) / 180)); var 50 = (W2 * Math.cos((k * Math.PI) / 180)); var 52 = (W2 * Math.sin((k * Math.PI) / 180)); moveTo(X1 + 49, Y1 + 51); lineTo(X2 + 50, Y2 + 52); k = k + 60; } } i++; } } } }; var 60 = SharedObject.getLocal("dart"); oldscore = 60.data.score; if (60.data.score == undefined) { oldscore = 0; 60.data.score = 0; 60.flush(); } root_cm = new ContextMenu(); root_cm.hideBuiltInItems(); a_cmi = new ContextMenuItem("Games Of Gondor", 22); b_cmi = new ContextMenuItem("Newgrounds", 23); c_cmi = new ContextMenuItem("Denvish Designs", 24); d_cmi = new ContextMenuItem("Planet Bob - Music", 25); c_cmi.separatorBefore = true; root_cm.customItems.push(a_cmi, b_cmi, c_cmi, d_cmi); _root.menu = root_cm;
Frame 3
function 61(59) { _root.createEmptyMovieClip("s", 49000); with (s) { beginFill(0, 0); moveTo(-50, -50); lineTo(50, -50); lineTo(50, 50); lineTo(-50, 50); endFill(); lineStyle(8, 59, 100); moveTo(-48, 0); curveTo(-36, -50, -24, 0); curveTo(-12, 50, 0, 0); curveTo(12, -50, 24, 0); curveTo(36, 50, 48, 0); lineTo(-48, 0); endFill(); _width = 20; _height = 25; _x = 433; _y = 16; } s.onPress = function () { if (_root.sndon) { _root.snd.setVolume(0); _root.sndon = 0; } else { _root.snd.setVolume(100); _root.sndon = 1; } }; } function 19() { stopAllSounds(); _root.sfx.gotoAndPlay(9); i = 7000; while (i < 7050) { _root["bstar" + i].removeMovieClip(); i++; } i = 5000; while (i < 5050) { _root["enemy" + i].removeMovieClip(); i++; } createEmptyMovieClip("go", 500005); with (go) { beginFill(0, 100); moveTo(0, 0); lineTo(SW, 0); lineTo(SW, 500); lineTo(0, 500); lineTo(0, 0); endFill(); lineStyle(3, 10040064, 100); moveTo(10, 10); lineTo(SW - 10, 10); lineTo(SW - 10, 490); lineTo(10, 490); lineTo(10, 10); lineStyle(3, 10040064, 55); moveTo(SW2, 10); lineTo(10, 490); lineTo(170, 455); lineTo(SW2, 350); lineTo(280, 455); lineTo(SW - 10, 490); lineTo(SW2, 10); lineTo(SW2, 350); moveTo(SW2, 10); lineTo(170, 455); moveTo(SW2, 10); lineTo(280, 455); _visible = 1; _alpha = 0; createTextField("got1", 1, 0, 30, 450, 50); got1.selectable = 0; got1._visible = 0; createTextField("got2", 2, 0, 65, 450, 50); got2.selectable = 0; got2._visible = 0; createTextField("got3", 3, 0, 420, 450, 50); got3.selectable = 0; got3._visible = 0; createTextField("got4", 4, 0, 200, 450, 120); got4.selectable = 0; got4._visible = 0; got1.text = "GAME OVER"; got1.setTextFormat(_root.mTF); got2.text = "FINAL SCORE: " + _root.score; got2.setTextFormat(_root.cTF); got4.text = "SORRY\r\rYOU DIDN'T MAKE IT\rONTO THE SCOREBOARD\r\rCURRENT #30 SCORE: " + _root.stlscore; got4.setTextFormat(_root.fTF); if (_root.score > _root.oldscore) { got3.text = ("WELL DONE! YOU BEAT YOUR OLD PERSONAL BEST OF " + _root.oldscore) + "."; got3.setTextFormat(_root.cTF); _root.oldscore = _root.score; _root["60"].data.score = _root.score; _root["60"].flush(); } createEmptyMovieClip("rst", 10); with (rst) { beginFill(0, 0); moveTo(0, 448); lineTo(SW, 448); lineTo(SW, 500); lineTo(0, 500); lineTo(0, 448); endFill(); createTextField("got4", 1, 0, 470, 450, 50); got4.selectable = 0; got4._visible = 0; got4.text = "CLICK HERE TO RESET GAME"; got4.setTextFormat(_root.iTF); } rst.onPress = function () { _root.57(); _root.SS._visible = 0; _root.go.removeMovieClip(); }; } go.onEnterFrame = function () { with (this) { if (_alpha < 100) { _alpha = _alpha + 1; } if ((_alpha > 90) && (fuck == 0)) { clearInterval(pinterv); clearInterval(interv); clearInterval(stinterv); clearInterval(luinterv); clearInterval(linterv); clearInterval(iinterv); clearInterval(binterv); clearInterval(bointerv); clearInterval(stinterv); _root.54(); fuck = 1; got1._visible = (got2._visible = (got3._visible = (got4._visible = (rst.got4._visible = 1)))); if (_root.score > _root.stlscore) { _root.39(); } } } }; } function 40() { createEmptyMovieClip("ttl", 500001); with (ttl) { beginFill(16711680, 0); moveTo(0, 0); lineTo(SW, 0); lineTo(SW, 500); lineTo(0, 500); lineTo(0, 0); beginFill(0, 100); moveTo(0, SH - 5); lineTo(SW, SH - 5); lineTo(SW, 500); lineTo(0, 500); lineTo(0, SH - 5); createEmptyMovieClip("dart", 2); with (dart) { lineStyle(7, 16642606, 40); beginFill(14680064, 70); moveTo(-137, 42); lineTo(-45, 42); lineTo(-45, 13); lineTo(-52, 16); curveTo(-51, -34, -100, -41); lineTo(-105, -54); lineTo(-118, 33); lineTo(-137, 42); moveTo(-97, -35); lineTo(-87, 25); lineTo(-70, 20); curveTo(-63, -17, -97, -35); endFill(); lineStyle(7, 16642606, 40); beginFill(14680064, 70); moveTo(-1, -38); lineTo(13, 56); lineTo(27, -27); lineTo(36, -19); lineTo(29, 18); lineTo(78, 54); lineTo(42, -5); lineTo(75, -37); lineTo(-1, -38); endFill(); lineStyle(7, 16642606, 40); beginFill(14680064, 70); moveTo(53, -24); lineTo(44, 7); lineTo(82, -6); lineTo(71, 72); lineTo(99, 70); lineTo(90, -9); lineTo(139, -31); lineTo(53, -24); endFill(); lineStyle(7, 16643151, 40); beginFill(8912896, 100); moveTo(-73, 68); lineTo(-22, -39); lineTo(29, 66); lineTo(-12, 52); lineTo(-21, 35); lineTo(-29, 52); lineTo(-73, 68); moveTo(-38, 22); lineTo(-21, 13); lineTo(-5, 22); lineTo(-22, -1); lineTo(-38, 22); endFill(); _height = 180; _width = 350; _x = 225; _y = 95; } createTextField("clk", 3, 0, 460, 450, 50); createTextField("ins", 4, 55, 245, 340, 500); createTextField("d3d", 1, 314, 166, 30, 30); createTextField("dd", 6, 0, 15, 450, 20); clk.selectable = (ins.selectable = (dd.selectable = (d3d.selectable = 0))); clk.text = "CLICK ANYWHERE TO START"; clk.setTextFormat(mTF); ins.text = "YOUR MISSION BRIEFING:\r\rAN ENEMY SPACE-CENTRE HAS BEEN DISCOVERED IN SECTOR G3\rTHEIR LOCATION IS A DIRECT THREAT TO OUR BASE\r\r"; ins.text = (((((((ins.text + "AS OUR TOP PILOT, YOU ARE REQUIRED TO NAVIGATE THEIR") + newline) + "SERVICE TUNNEL, AND CRIPPLE THEIR BASE BY TAKING OUT") + newline) + "AS MANY SHIPS AS POSSIBLE.") + newline) + newline) + newline; ins.text = (((((((ins.text + "USE THE ARROW KEYS TO MOVE") + newline) + "X KEY TO FIRE, SPACE OR Z TO BOMB") + newline) + "P KEY TO PAUSE THE GAME") + newline) + "HIT THE BONUS STARS TO UPGRADE YOUR SHIP") + newline; ins.setTextFormat(fTF); d3d.text = "3D"; d3d.setTextFormat(cTF); dd.text = "- DENVISH DESIGNS PRESENTS -"; dd.setTextFormat(iTF); } createEmptyMovieClip("sg", 500008); with (sg) { createTextField("sgog", 7, 0, 193, 450, 20); sgog.selectable = 0; sgog.text = "- SPONSORED BY GAMESOFGONDOR.COM -"; sgog.setTextFormat(iTF); } sg.onPress = function () { getURL ("http://gamesofgondor.com", "_blank"); }; ttl.onPress = function () { this._visible = 0; _root.sg._visible = 0; stopAllSounds(); _root.sfx.gotoAndPlay(7); 26(); }; }
Frame 4
function 35() { ae--; if (ae < 5000) { ae = 5050; } _root.createEmptyMovieClip("enemy" + ae, ae); _root["enemy" + ae].x = random(SW - 100) + 50; _root["enemy" + ae].y = random(SH - 100) + 50; _root["enemy" + ae].z = 5000; _root["enemy" + ae].bm = random(espd) + 30; _root["enemy" + ae].chasing = echase; _root["enemy" + ae].etype = random(enumtype) + 1; _root["enemy" + ae].def = random(estrength) + 1; _root["enemy" + ae].rmv = 0; _root["enemy" + ae].onEnterFrame = 47; } function 47() { if (!_root.paused) { with (this) { if (chasing > 0) { x = x + ((ship["29"] - x) / chasing); y = y + (((ship["30"] + 12) - y) / chasing); } clear(); if (x > (SW - 150)) { x = SW - 150; } if (x < 150) { x = 150; } if (y > (SH - 150)) { y = SH - 150; } if (y < 150) { y = 150; } nosx = (x - SW2) / 8; nosy = (y - SH2) / 8; midx = (x - SW2) / 16; midy = (y - SH2) / 16; eaccel = 0.995; 15(this); bm = bm * eaccel; z = z - bm; var 58 = (FocalLength / (FocalLength + z)); _x = ((x - SW2) * 58) + SW2; _y = ((y - SH2) * 58) + SH2; _xscale = (_yscale = 100 * 58); if (z < -170) { this.removeMovieClip(); } if (hitTest(_root.ship) && (z < 30)) { if (!_root.invincible) { _root.sfx.gotoAndPlay(3); stats.lu.lut1.text = "DAMAGED!!!"; stats.lu.lut1.setTextFormat(mTF); stats.lu._visible = 1; luinterv = setInterval(function () { stats.lu._visible = 0; clearInterval(luinterv); }, 2500); _root.splode(_x, _y, (5000 - z) / 50, S4[_root.ship.spow], 30, 600, 3); _root.life = _root.life - int((level * 4) + 20); _root.42(_root.life); this.removeMovieClip(); } } i = 10000; while (i < 10030) { if (hitTest(_root["bullet" + i]) && ((z < (_root["bullet" + i].z + 100)) && (z > (_root["bullet" + i].z - 100)))) { if (_root.invincible) { def = def - 8; } else { def = def - (_root.ship.spow + 1); } if (def < 1) { _root.sfx.gotoAndPlay(3); _root.score = _root.score + int((z / 100) * _root.level); _root.splode(_x, _y, (5000 - z) / 50, "0xFF6633", 20, 600, 3); this.removeMovieClip(); } else { _root.sfx.gotoAndPlay(4); _root.splode(_x, _y, (5000 - z) / 100, "0x999999", 10, 100, 3); } _root["bullet" + i].removeMovieClip(); } i++; } } } } function 15(41) { with (41) { if (etype == 1) { 9(41); } else if (etype == 2) { 10(41); } else if (etype == 3) { 11(41); } else if (etype == 4) { 12(41); } else if (etype == 5) { 13(41); } else if (etype == 6) { 14(41); } } } function 9(41) { with (41) { if (nosx > 0) { lineStyle(0, 0, 15); beginFill(16724736, 100); moveTo(14, 0); lineTo(midx + 20, midy); lineTo(midx, midy - 15); lineTo(0, -8); lineTo(14, 0); endFill(); lineStyle(0, 0, 15); beginFill(16737792, 100); moveTo(midx + 20, midy); lineTo(midx, midy - 15); lineTo(nosx, nosy); lineTo(midx + 20, midy); endFill(); lineStyle(0, 0, 15); beginFill(16737792, 100); moveTo(-14, 0); lineTo(midx - 20, midy); lineTo(midx, midy - 15); lineTo(0, -8); lineTo(-14, 0); endFill(); lineStyle(0, 0, 15); beginFill(16750848, 100); moveTo(midx - 20, midy); lineTo(midx, midy - 15); lineTo(nosx, nosy); lineTo(midx - 20, midy); endFill(); } else { lineStyle(0, 0, 15); beginFill(16724736, 100); moveTo(-14, 0); lineTo(midx - 20, midy); lineTo(midx, midy - 15); lineTo(0, -8); lineTo(-14, 0); endFill(); lineStyle(0, 0, 15); beginFill(16737792, 100); moveTo(midx - 20, midy); lineTo(midx, midy - 15); lineTo(nosx, nosy); lineTo(midx - 20, midy); endFill(); lineStyle(0, 0, 15); beginFill(16737792, 100); moveTo(14, 0); lineTo(midx + 20, midy); lineTo(midx, midy - 15); lineTo(0, -8); lineTo(14, 0); endFill(); lineStyle(0, 0, 15); beginFill(16750848, 100); moveTo(midx + 20, midy); lineTo(midx, midy - 15); lineTo(nosx, nosy); lineTo(midx + 20, midy); endFill(); } if (nosy < 0) { lineStyle(0, 0, 15); beginFill(16763904, 100); moveTo(14, 0); lineTo(midx + 20, midy); lineTo(nosx, nosy); lineTo(midx - 20, midy); lineTo(-14, 0); lineTo(14, 0); endFill(); } } } function 10(41) { with (41) { if (nosx > 0) { lineStyle(0, 0, 15); beginFill(12268288, 100); moveTo(20, 0); lineTo(nosx, nosy); lineTo(5, -7); lineTo(20, 0); endFill(); lineStyle(0, 0, 15); beginFill(13382400, 100); moveTo(5, -7); lineTo(nosx, nosy); lineTo(0, -18); lineTo(5, -7); endFill(); lineStyle(0, 0, 15); beginFill(12268288, 100); moveTo(-5, -7); lineTo(nosx, nosy); lineTo(0, -18); lineTo(-5, -7); endFill(); lineStyle(0, 0, 15); beginFill(13382400, 100); moveTo(-20, 0); lineTo(nosx, nosy); lineTo(-5, -7); lineTo(-20, 0); endFill(); } else { lineStyle(0, 0, 15); beginFill(12268288, 100); moveTo(-20, 0); lineTo(nosx, nosy); lineTo(-5, -7); lineTo(-20, 0); endFill(); lineStyle(0, 0, 15); beginFill(13382400, 100); moveTo(-5, -7); lineTo(nosx, nosy); lineTo(0, -18); lineTo(-5, -7); endFill(); lineStyle(0, 0, 15); beginFill(12268288, 100); moveTo(5, -7); lineTo(nosx, nosy); lineTo(0, -18); lineTo(5, -7); endFill(); lineStyle(0, 0, 15); beginFill(13382400, 100); moveTo(20, 0); lineTo(nosx, nosy); lineTo(5, -7); lineTo(20, 0); endFill(); } if (nosy < 0) { lineStyle(0, 0, 15); beginFill(14500864, 100); moveTo(-20, 0); lineTo(nosx, nosy); lineTo(20, 0); lineTo(-20, 0); endFill(); } } } function 11(41) { with (41) { if (nosx > 0) { lineStyle(0, 0, 15); beginFill(39168, 100); moveTo(20, 5); lineTo(0, -20); lineTo(nosx, nosy - 10); lineTo(nosx + 7, nosy); lineTo(20, 5); endFill(); lineStyle(0, 0, 15); beginFill(47872, 100); moveTo(-20, 5); lineTo(0, -20); lineTo(nosx, nosy - 10); lineTo(nosx - 7, nosy); lineTo(-20, 5); endFill(); } else { lineStyle(0, 0, 15); beginFill(39168, 100); moveTo(-20, 5); lineTo(0, -20); lineTo(nosx, nosy - 10); lineTo(nosx - 7, nosy); lineTo(-20, 5); endFill(); lineStyle(0, 0, 15); beginFill(47872, 100); moveTo(20, 5); lineTo(0, -20); lineTo(nosx, nosy - 10); lineTo(nosx + 7, nosy); lineTo(20, 5); endFill(); } if (nosy < 0) { lineStyle(0, 0, 15); beginFill(52224, 100); moveTo(-20, 5); lineTo(nosx - 7, nosy); lineTo(nosx + 7, nosy); lineTo(20, 5); lineTo(-20, 5); endFill(); } lineStyle(0, 0, 15); beginFill(56576, 100); moveTo(nosx - 7, nosy); lineTo(nosx + 7, nosy); lineTo(nosx, nosy - 10); lineTo(nosx - 7, nosy); endFill(); } } function 12(41) { with (41) { if (nosx > 4) { if (nosy < 0) { lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, -10); lineTo(25, 0); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(15, -10); endFill(); lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(-15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(-15, -10); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, -10); lineTo(-25, 0); endFill(); lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, 10); lineTo(25, 0); endFill(); lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(-15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(-15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, 10); lineTo(-25, 0); endFill(); } else { lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, 10); lineTo(25, 0); endFill(); lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(-15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(-15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, 10); lineTo(-25, 0); endFill(); lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, -10); lineTo(25, 0); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(15, -10); endFill(); lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(-15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(-15, -10); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, -10); lineTo(-25, 0); endFill(); } } else if (nosy < 0) { lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, -10); lineTo(-25, 0); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(-15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(-15, -10); endFill(); lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(15, -10); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, -10); lineTo(25, 0); endFill(); lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, 10); lineTo(-25, 0); endFill(); lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(-15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(-15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, 10); lineTo(25, 0); endFill(); } else { lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, 10); lineTo(-25, 0); endFill(); lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(-15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(-15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21964, 100); moveTo(15, 10); lineTo(nosx, nosy); lineTo(0, 5); lineTo(15, 10); endFill(); lineStyle(0, 0, 15); beginFill(21913, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, 10); lineTo(25, 0); endFill(); lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(-25, 0); lineTo(nosx, nosy); lineTo(-15, -10); lineTo(-25, 0); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(-15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(-15, -10); endFill(); lineStyle(0, 0, 15); beginFill(13311, 100); moveTo(15, -10); lineTo(nosx, nosy); lineTo(0, -5); lineTo(15, -10); endFill(); lineStyle(0, 0, 15); beginFill(26367, 100); moveTo(25, 0); lineTo(nosx, nosy); lineTo(15, -10); lineTo(25, 0); endFill(); } } } function 13(41) { with (41) { if (nosx > 0) { lineStyle(0, 0, 15); beginFill(13369548, 100); moveTo(20, 0); lineTo(nosx + 12, nosy); lineTo(nosx + 8, nosy - 8); lineTo(midx, midy - 15); lineTo(20, 0); endFill(); lineStyle(0, 0, 15); beginFill(13408716, 100); moveTo(midx, midy - 15); lineTo(nosx + 8, nosy - 8); lineTo(nosx - 8, nosy - 8); lineTo(midx, midy - 15); endFill(); lineStyle(0, 0, 15); beginFill(13369582, 100); moveTo(-20, 0); lineTo(nosx - 12, nosy); lineTo(nosx - 8, nosy - 8); lineTo(midx, midy - 15); lineTo(-20, 0); endFill(); } else { lineStyle(0, 0, 15); beginFill(13369548, 100); moveTo(-20, 0); lineTo(nosx - 12, nosy); lineTo(nosx - 8, nosy - 8); lineTo(midx, midy - 15); lineTo(-20, 0); endFill(); lineStyle(0, 0, 15); beginFill(13408716, 100); moveTo(midx, midy - 15); lineTo(nosx + 8, nosy - 8); lineTo(nosx - 8, nosy - 8); lineTo(midx, midy - 15); endFill(); lineStyle(0, 0, 15); beginFill(13369582, 100); moveTo(20, 0); lineTo(nosx + 12, nosy); lineTo(nosx + 8, nosy - 8); lineTo(midx, midy - 15); lineTo(20, 0); endFill(); } if (nosy < 0) { lineStyle(0, 0, 15); beginFill(13395711, 100); moveTo(20, 0); lineTo(nosx + 12, nosy); lineTo(nosx - 12, nosy); lineTo(-20, 0); lineTo(midx, midy); lineTo(20, 0); endFill(); } lineStyle(0, 0, 15); beginFill(13395660, 100); moveTo(nosx + 12, nosy); lineTo(nosx + 8, nosy - 8); lineTo(nosx - 8, nosy - 8); lineTo(nosx - 12, nosy); lineTo(nosx + 12, nosy); endFill(); } } function 14(41) { with (41) { if (nosx > 0) { lineStyle(0, 0, 15); beginFill(11184810, 100); moveTo(20, 5); lineTo(nosx + 10, nosy); lineTo(12, -5); lineTo(20, 5); endFill(); lineStyle(0, 0, 15); beginFill(13421772, 100); moveTo(12, -5); lineTo(nosx + 10, nosy); lineTo(midx, midy); lineTo(0, -9); lineTo(12, -5); endFill(); lineStyle(0, 0, 15); beginFill(11184810, 100); moveTo(-12, -5); lineTo(nosx - 10, nosy); lineTo(midx, midy); lineTo(0, -9); lineTo(-12, -5); endFill(); lineStyle(0, 0, 15); beginFill(13421772, 100); moveTo(-20, 5); lineTo(nosx - 10, nosy); lineTo(-12, -5); lineTo(-20, 5); endFill(); } else { lineStyle(0, 0, 15); beginFill(11184810, 100); moveTo(-20, 5); lineTo(nosx - 10, nosy); lineTo(-12, -5); lineTo(-20, 5); endFill(); lineStyle(0, 0, 15); beginFill(13421772, 100); moveTo(-12, -5); lineTo(nosx - 10, nosy); lineTo(midx, midy); lineTo(0, -9); lineTo(-12, -5); endFill(); lineStyle(0, 0, 15); beginFill(11184810, 100); moveTo(12, -5); lineTo(nosx + 10, nosy); lineTo(midx, midy); lineTo(0, -9); lineTo(12, -5); endFill(); lineStyle(0, 0, 15); beginFill(13421772, 100); moveTo(20, 5); lineTo(nosx + 10, nosy); lineTo(12, -5); lineTo(20, 5); endFill(); } if (nosy < 0) { lineStyle(0, 0, 15); beginFill(14540253, 100); moveTo(-20, 5); lineTo(nosx - 10, nosy); lineTo(midx, midy); lineTo(nosx + 10, nosy); lineTo(20, 5); lineTo(-20, 5); endFill(); } } }
Frame 5
function 16(41, 29, 30) { with (_root.ship) { if (_root.invincible) { D = 3; E = 16777215 /* 0xFFFFFF */; F = 30; G = 15; } else { spowd = spow; D = 0; E = 0; F = 15; G = 100; } if (29 >= SW2) { lineStyle(D, E, F); beginFill(S1[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29, 30 - 10); lineTo(29 + 4, 30); lineTo(29 - nox, 30 - noy); endFill(); lineStyle(D, E, F); beginFill(S2[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29 + 4, 30); lineTo(29 + 20, 30 + 5); lineTo(29 - nox, 30 - noy); endFill(); lineStyle(D, E, F); beginFill(S1[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29, 30 - 10); lineTo(29 - 4, 30); lineTo(29 - nox, 30 - noy); endFill(); lineStyle(D, E, F); beginFill(S2[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29 - 4, 30); lineTo(29 - 20, 30 + 5); lineTo(29 - nox, 30 - noy); endFill(); } else { lineStyle(D, E, F); beginFill(S1[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29, 30 - 10); lineTo(29 - 4, 30); lineTo(29 - nox, 30 - noy); endFill(); lineStyle(D, E, F); beginFill(S2[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29 - 4, 30); lineTo(29 - 20, 30 + 5); lineTo(29 - nox, 30 - noy); endFill(); lineStyle(D, E, F); beginFill(S1[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29, 30 - 10); lineTo(29 + 4, 30); lineTo(29 - nox, 30 - noy); endFill(); lineStyle(D, E, F); beginFill(S2[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29 + 4, 30); lineTo(29 + 20, 30 + 5); lineTo(29 - nox, 30 - noy); endFill(); } if ((30 < SH2) && (noy < 28)) { lineStyle(D, E, F); beginFill(S3[spowd], G); moveTo(29 - nox, 30 - noy); lineTo(29 + 20, 30 + 5); lineTo(29 - 20, 30 + 5); lineTo(29 - nox, 30 - noy); endFill(); } lineStyle(D, E, F); beginFill(S4[spowd], G); moveTo(29 - 20, 30 + 5); lineTo(29 - 4, 30); lineTo(29, 30 - 10); lineTo(29 + 4, 30); lineTo(29 + 20, 30 + 5); lineTo(29 - 20, 30 + 5); endFill(); } } function 33() { az++; if (az > 10050) { az = 10000; } _root.createEmptyMovieClip("bullet" + az, az); if (_root.invincible) { sp = 6; } else { sp = _root.ship.spow; } with (_root["bullet" + az]) { if ((sp < 6) && (!_root.invincible)) { beginFill(B1[sp], 100); moveTo(0, 0); lineTo(-(hypot / 3), bsize + (sp / 5)); lineTo(-(hypot / 3), -(bsize + (sp / 5))); endFill(); } else { beginFill(B1[sp], 100); moveTo(0, -3); lineTo(-(hypot / 3), -1.5); lineTo(-(hypot / 3), -4.5); endFill(); beginFill(B1[sp], 100); moveTo(0, 3); lineTo(-(hypot / 3), 4.5); lineTo(-(hypot / 3), 1.5); endFill(); } _rotation = bangle; _x = -500; } _root["bullet" + az].x = ship["29"] - SW2; _root["bullet" + az].y = ship["30"] - (SH2 + 4); _root["bullet" + az].z = 0; _root["bullet" + az].bm = 20; _root["bullet" + az].onEnterFrame = 45; } function 45() { if (!_root.paused) { with (this) { bm = bm + 4; z = z + bm; var 58 = (FocalLength / (FocalLength + z)); _x = (x * 58) + SW2; _y = (y * 58) + SH2; if (_xscale > 15) { _xscale = (_yscale = 100 * 58); } if (z > 5000) { this.removeMovieClip(); } } } }
Frame 6
function 34() { tdepth++; if (tdepth > 4000) { tdepth = 1000; } if (level > 7) { tcol = random(C1.length); } else { tcol = level - 1; if (tcol < 0) { tcol = 0; } } if (TY < 500) { _root.createEmptyMovieClip("cir" + tdepth, tdepth); if (_root.ending) { TY = TY + 20; } else { TX = SW2; TY = SH2; } with (_root["cir" + tdepth]) { rd = 2; lineStyle(0, C1[tcol], 70); moveTo(rd, 0); am = 0.414213562373095; var 2 = 45; while (2 <= 360) { var 17 = (rd * Math.cos((2 * Math.PI) / 180)); var 18 = (rd * Math.sin((2 * Math.PI) / 180)); var 7 = (17 + ((rd * am) * Math.cos(((2 - 90) * Math.PI) / 180))); var 8 = (18 + ((rd * am) * Math.sin(((2 - 90) * Math.PI) / 180))); curveTo(7, 8, 17, 18); Set("2", 2 + 45); } endFill(); _x = TX; _y = TY; _alpha = 0; } _root["cir" + tdepth]["62"] = tspd / 100; _root["cir" + tdepth].onEnterFrame = 46; } else if (gover == 0) { score = score + 5000; gover++; 19(); } } function 46() { if (!_root.paused) { with (this) { _alpha = _alpha + _root.talphup; Set("62", 62 * (1 + (_root.taccel / 1000))); _x = _x + ((((SW / 2) - _root.ship["29"]) / 750) * 62); if (_root.ending) { _width = _width + 62; _height = _width; _y = _y + (62 * 1.2); } else { _width = _width + 62; _height = _width; _y = _y + ((((SW / 2) - _root.ship["30"]) / 750) * 62); } if (_width > (SW * 11)) { this.removeMovieClip(); } } } } function 36() { c++; if (c > 16000) { c = 15000; } if (!paused) { _root.createEmptyMovieClip("star" + c, c); with (_root["star" + c]) { lineStyle(2, 16777215, 100); lineTo(0.2, 0); _x = SW / 2; _y = 150; _width = 4; _height = 4; _alpha = 20; _rotation = random(360); } _root["star" + c]["62"] = random(starspeed / 2) + (starspeed / 2); } _root["star" + c].onEnterFrame = function () { if (!paused) { with (this) { Set("62", 62 * (1 + (_root.staraccel / 500))); _width = _width * (1 + (_root.staraccel / 2500)); _height = _height * (1 + (_root.staraccel / 2500)); _alpha = _alpha + 5; if (_rotation > 180) { _y = _y + (62 * Math.cos((Math.PI/180) * _rotation)); _x = _x - (62 * Math.sin((Math.PI/180) * _rotation)); } else { _y = _y - (62 * Math.cos((Math.PI/180) * _rotation)); _x = _x + (62 * Math.sin((Math.PI/180) * _rotation)); } if ((((_x < (-_width)) || (_x > (SW + _width))) || (_y > (SH + _width))) || (_y < (-_width))) { this.removeMovieClip(); } } } }; } _root.createEmptyMovieClip("spark", -10); spark.lineStyle(5, 16711680, 100); spark.moveTo(0, 0); spark.lineTo(0.2, 0); spark._x = -500; splode = function (X, Y, 63, 6, 48, 62, 1) { z = 20200; while (z < (20200 + 48)) { duplicateMovieClip ("spark", "sp" + z, z); with (_root["sp" + z]) { _x = X; _y = Y; if (63 < 70) { Set("63", 70); } _xscale = (_yscale = 63); } _root["sp" + z].vx = (random(62) - (62 / 2)) / 35; _root["sp" + z].vy = (random(62) - (62 / 2)) / 35; _root["sp" + z].onEnterFrame = function () { new Color(this).setRGB(6); this._x = this._x + (this.vx * 0.3); this._y = this._y + (this.vy * 0.3); this._alpha = this._alpha - 1; ((this._alpha < 0) ? (this.removeMovieClip()) : null); }; z++; } };
Frame 7
function 32(_arg2) { ab--; if (ab < 7000) { ab = 7050; } _root.createEmptyMovieClip("bstar" + ab, ab); _root["bstar" + ab].x = random(SW - 100) + 50; _root["bstar" + ab].y = random(SH - 100) + 50; _root["bstar" + ab].z = 5000; _root["bstar" + ab].bm = 45; _root["bstar" + ab].chasing = echase; _root["bstar" + ab].def = 5; _root["bstar" + ab].typ = _arg2; _root["bstar" + ab].onEnterFrame = 44; } function 44() { if (!_root.paused) { with (this) { if (chasing > 0) { x = x + ((ship["29"] - x) / chasing); y = y + ((ship["30"] - y) / chasing); } clear(); eaccel = 0.995; if (x > (SW - 150)) { x = SW - 150; } if (x < 150) { x = 150; } if (y > (SH - 150)) { y = SH - 150; } if (y < 150) { y = 150; } if (typ == 1) { lineStyle(8, 16777215, 30); beginFill(S4[_root.ship.spow + 1], 100); moveTo(-1, -30); lineTo(6, -9); lineTo(28, -9); lineTo(11, 4); lineTo(17, 25); lineTo(0, 12); lineTo(-19, 26); lineTo(-12, 4); lineTo(-29, -8); lineTo(-8, -8); lineTo(-1, -30); endFill(); } else if (typ == 2) { lineStyle(8, 16777215, 30); beginFill(S4[random(S4.length)], 100); moveTo(-1, -30); lineTo(6, -9); lineTo(28, -9); lineTo(11, 4); lineTo(17, 25); lineTo(0, 12); lineTo(-19, 26); lineTo(-12, 4); lineTo(-29, -8); lineTo(-8, -8); lineTo(-1, -30); endFill(); } else if (typ == 3) { lineStyle(6, 16777215, 30); beginFill(15925505, 100); moveTo(-1, -31); curveTo(27, -29, 30, 0); curveTo(28, 29, -1, 30); curveTo(-29, 28, -31, 1); curveTo(-29, -30, -1, -31); endFill(); } bm = bm * eaccel; z = z - bm; var 58 = (FocalLength / (FocalLength + z)); _x = ((x - SW2) * 58) + SW2; _y = ((y - SH2) * 58) + SH2; _xscale = (_yscale = 100 * 58); i = 10000; while (i < 10030) { if (hitTest(_root["bullet" + i]) && ((z < (_root["bullet" + i].z + 40)) && (z > (_root["bullet" + i].z - 40)))) { def = def - (_root.ship.spow + 1); if (typ == 1) { if (def < 1) { _root.sfx.gotoAndPlay(6); clearInterval(luinterv); clearInterval(binterv); _root.splode(_x, _y, (5000 - z) / 50, "0xFFFFFF", 30, 600, 3); stats.lu.lut1.text = "SHIP POWER UP! "; stats.lu.lut1.setTextFormat(mTF); stats.lu._visible = 1; luinterv = setInterval(function () { stats.lu._visible = 0; clearInterval(luinterv); }, 2500); if (_root.ship.spow < 7) { _root.ship.spow++; } this.removeMovieClip(); } else { _root.sfx.gotoAndPlay(4); _root.splode(_x, _y, (5000 - z) / 100, "0xFFFF00", 10, 200, 3); } _root["bullet" + i].removeMovieClip(); } else if (typ == 2) { if (def < 1) { _root.sfx.gotoAndPlay(6); clearInterval(luinterv); _root.splode(_x, _y, (5000 - z) / 50, "0xFF33CC", 30, 600, 3); stats.lu.lut1.text = "INVINCIBLE! "; stats.lu.lut1.setTextFormat(mTF); stats.lu._visible = 1; luinterv = setInterval(function () { stats.lu._visible = 0; clearInterval(luinterv); }, 2500); invincint = setInterval(function () { _root.invincible = 0; clearInterval(invincint); }, 13000); _root.invincible = 1; this.removeMovieClip(); } else { _root.sfx.gotoAndPlay(4); _root.splode(_x, _y, (5000 - z) / 100, "0xFF33CC", 10, 200, 3); } _root["bullet" + i].removeMovieClip(); } else if (typ == 3) { if (def < 1) { _root.sfx.gotoAndPlay(6); clearInterval(luinterv); _root.splode(_x, _y, (5000 - z) / 50, "0xFF0000", 30, 600, 3); stats.lu.lut1.text = "PICKED UP BOMB"; stats.lu.lut1.setTextFormat(mTF); stats.lu._visible = 1; _root.bombs++; luinterv = setInterval(function () { stats.lu._visible = 0; clearInterval(luinterv); }, 1500); this.removeMovieClip(); } else { _root.sfx.gotoAndPlay(4); _root.splode(_x, _y, (5000 - z) / 100, "0xFF0000", 10, 200, 3); } _root["bullet" + i].removeMovieClip(); } } i++; } if (z < -200) { this.removeMovieClip(); } } } } aTF = new TextFormat(); bTF = new TextFormat(); cTF = new TextFormat(); with (aTF) { color = 16777215 /* 0xFFFFFF */; font = "Tahoma"; size = 10; bold = 1; align = "left"; } with (bTF) { color = 16777215 /* 0xFFFFFF */; font = "Tahoma"; size = 10; bold = 1; align = "right"; } with (cTF) { color = 16777215 /* 0xFFFFFF */; font = "Tahoma"; size = 10; bold = 1; align = "center"; } dTF = new TextFormat(); eTF = new TextFormat(); fTF = new TextFormat(); with (dTF) { color = 16777164 /* 0xFFFFCC */; font = "Tahoma"; size = 10; bold = 1; align = "left"; } with (eTF) { color = 16777164 /* 0xFFFFCC */; font = "Tahoma"; size = 10; bold = 1; align = "right"; } with (fTF) { color = 16777164 /* 0xFFFFCC */; font = "Tahoma"; size = 10; bold = 1; align = "center"; } gTF = new TextFormat(); hTF = new TextFormat(); iTF = new TextFormat(); with (gTF) { color = 16763904 /* 0xFFCC00 */; font = "Tahoma"; size = 10; bold = 1; align = "left"; } with (hTF) { color = 16763904 /* 0xFFCC00 */; font = "Tahoma"; size = 10; bold = 1; align = "right"; } with (iTF) { color = 16763904 /* 0xFFCC00 */; font = "Tahoma"; size = 10; bold = 1; align = "center"; } mTF = new TextFormat(); with (mTF) { color = 16750848 /* 0xFF9900 */; font = "Tahoma"; size = 18; bold = 1; align = "center"; }
Frame 8
function 31() { bombs--; _root.sfx.gotoAndPlay(2); _root.createEmptyMovieClip("blast", 20100); with (blast) { lineStyle(5, 16750848, 10); beginFill(16711680, 20); moveTo(-1, -31); curveTo(27, -29, 30, 0); curveTo(28, 29, -1, 30); curveTo(-29, 28, -31, 1); curveTo(-29, -30, -1, -31); endFill(); _x = SW2; _y = SH2; _width = SW + 200; _height = SH + 200; } _root.blast.x = SW2; _root.blast.y = SH2; _root.blast.z = 0; _root.blast.bm = 15; _root.blast.onEnterFrame = 43; } function 43() { if (!_root.paused) { with (this) { blaccel = 1.1; bm = bm * blaccel; z = z + bm; var 58 = (FocalLength / (FocalLength + z)); _xscale = (_yscale = 1000 * 58); i = 5000; while (i < 5051) { if (z > _root["enemy" + i].z) { _root.score = _root.score + int((_root["enemy" + i].z / 100) * (_root.level / 2)); _root.sfx.gotoAndPlay(3); _root.splode(_root["enemy" + i]._x, _root["enemy" + i]._y, (5000 - z) / 50, "0xFF0000", 20, 400, 3); _root["enemy" + i].removeMovieClip(); } i++; } if (z > 50000) { this.removeMovieClip(); } } } }
Frame 9
function 42(w) { if (w <= 2) { w = 0; 19(); } with (stats) { createEmptyMovieClip("back", 201); with (back) { beginFill(16711680, 70); moveTo(0, -3); lineTo(200, -3); lineTo(200, 3); lineTo(0, 3); endFill(); _x = SW2 - 100; _y = SH + 8; } createEmptyMovieClip("bar", 202); with (bar) { beginFill(52224, 100); moveTo(0, -3); lineTo(w, -3); lineTo(w, 3); lineTo(0, 3); endFill(); _x = SW2 - 100.5; _y = SH + 8; } createEmptyMovieClip("bar2", 203); with (bar2) { lineStyle(1.5, 16777215, 100); moveTo(0, -3); lineTo(200, -3); lineTo(200, 3); lineTo(0, 3); lineTo(0, -3); _x = SW2 - 100.5; _y = SH + 8; } } } function 38() { createEmptyMovieClip("stats", 500000); with (stats) { beginFill(0, 100); moveTo(0, 0); lineTo(SW, 0); lineTo(SW, 500); lineTo(0, 500); lineTo(0, 0); lineStyle(3, 10066329, 40); moveTo(5, 5); lineTo(SW - 5, 5); lineTo(SW - 5, SH - 8); lineTo(5, SH - 8); lineTo(5, 5); endFill(); lineStyle(3, 4473924, 100); beginFill(51, 100); moveTo(5, SH - 2); lineTo(5, 482); lineTo(445, 482); lineTo(445, SH - 2); lineTo(5, SH - 2); createTextField("st1", 1, 9, 450, 150, 25); createTextField("st2", 2, 293, 450, 150, 25); createTextField("st3", 3, 110, 464.5, 120, 25); st1.selectable = (st2.selectable = (st3.selectable = 0)); createTextField("st4", 4, 9, 464.5, 150, 25); createTextField("st5", 5, 293, 464.5, 150, 25); createTextField("st6", 6, 220, 464.5, 100, 25); st4.selectable = (st5.selectable = (st6.selectable = 0)); createEmptyMovieClip("lu", 7); with (lu) { createTextField("lut1", 1, 0, SH2 + 50, SW, 50); lut1.selectable = 0; } createEmptyMovieClip("gog", 101); with (gog) { beginFill(0, 0); moveTo(0, 483); lineTo(135, 483); lineTo(135, 500); lineTo(0, 500); endFill(); createTextField("sgt1", 1, 4, 484, 135, 25); sgt1.selectable = 0; sgt1.text = "GAMESOFGONDOR.COM"; sgt1.setTextFormat(gTF); } gog.onPress = function () { getURL("http://gamesofgondor.com", "_blank"); }; createEmptyMovieClip("dd", 102); with (dd) { beginFill(0, 0); moveTo(340, 483); lineTo(450, 483); lineTo(450, 500); lineTo(340, 500); endFill(); createTextField("sgt1", 1, 339, 484, 110, 25); sgt1.selectable = 0; sgt1.text = "DENVISH DESIGNS"; sgt1.setTextFormat(hTF); } dd.onPress = function () { getURL("http://planetbob.net/flash", "_blank"); }; createEmptyMovieClip("pse", 103); with (pse) { beginFill(0, 0); moveTo(135, 483); lineTo(200, 483); lineTo(200, 500); lineTo(135, 500); endFill(); createTextField("sgt1", 1, 135, 484, 65, 25); sgt1.selectable = 0; sgt1.text = "PAUSE"; sgt1.setTextFormat(fTF); } pse.onPress = function () { _root.54(); }; createEmptyMovieClip("rst", 104); with (rst) { beginFill(0, 0); moveTo(200, 483); lineTo(270, 483); lineTo(270, 500); lineTo(200, 500); endFill(); createTextField("sgt1", 1, 200, 484, 70, 25); sgt1.selectable = 0; sgt1.text = "RESET"; sgt1.setTextFormat(fTF); } rst.onPress = function () { if (this.sgt1.text == "RESET") { this.sgt1.text = "SURE?"; this.sgt1.setTextFormat(_root.fTF); _root.rinterv = setInterval(function () { with (stats.rst.sgt1) { text = "RESET"; setTextFormat(fTF); } clearInterval(_root.rinterv); }, 2000); } else if (this.sgt1.text == "SURE?") { this.sgt1.text = "RESET"; this.sgt1.setTextFormat(_root.fTF); _root.57(); } }; createEmptyMovieClip("scr", 105); with (scr) { beginFill(0, 0); moveTo(270, 483); lineTo(340, 483); lineTo(340, 500); lineTo(270, 500); endFill(); createTextField("sgt1", 1, 270, 484, 70, 25); sgt1.selectable = 0; sgt1.text = "SCORES"; sgt1.setTextFormat(fTF); } scr.onPress = function () { _root.54(); _root.28(); }; } }
Frame 10
function 28() { 37(); loadVariables ((l11l + lI11) + ".asp", hst); } function 37() { SHF = SH + 50; _root.createEmptyMovieClip("hst", 980002); with (hst) { beginFill(0, 50); moveTo(0, 0); lineTo(SW, 0); lineTo(SW, SHF); lineTo(0, SHF); lineTo(0, 0); endFill(); beginFill(0, 60); lineStyle(0, 16777215, 80); moveTo(10, 10); lineTo(SW - 10, 10); lineTo(SW - 10, SHF - 10); lineTo(10, SHF - 10); lineTo(10, 10); endFill(); i = 10; while (i < ((SHF - 10) - 1)) { moveTo(10, i); lineTo(SW - 10, i); i = i + ((SHF - 20) / 32); } hsa = new Array(10, 50, 340, 440); hsn = new Array("rank", "player", "score"); m = 0; while (m < (hsa.length - 1)) { krt = 400; hst.createTextField(hsn[m] + krt, (m * 50) + krt, hsa[m], 9.2, hsa[m + 1] - hsa[m], 15); with (hst[hsn[m] + krt]) { text = hsn[m].toUpperCase(); setTextFormat(fTF); } m++; } m = 0; while (m < (hsa.length - 1)) { krt = 0; if (m > 3) { krt = krt + 25; } t = (SHF - 20) / 32; i = 10 + (2 * t); while (i < ((SHF - 10) - 1)) { krt++; hst.createTextField(hsn[m] + krt, (m * 50) + krt, hsa[m], i - 0.6, hsa[m + 1] - hsa[m], t * 2); with (hst[hsn[m] + krt]) { text = "WAIT"; if ((m == 0) || (m == 4)) { text = krt; } setTextFormat(fTF); } i = i + t; } moveTo(hsa[m + 1], 10); lineTo(hsa[m + 1], SHF - 10); m++; } _visible = 1; } hst.onPress = function () { this._visible = 0; }; hst.onData = function () { mi = 1; while (mi < 31) { this["player" + mi].text = this["inplayer" + mi]; this["score" + mi].text = this["inscore" + mi]; this["player" + mi].setTextFormat(cTF); this["score" + mi].setTextFormat(fTF); mi++; } }; } function 39() { SHF = SH + 50; paused = 1; _root.createEmptyMovieClip("SS", 970002); with (SS) { lineStyle(2, 16777215, 50); beginFill(60, 100); moveTo(60, 100); lineTo(SW - 60, 100); lineTo(SW - 60, SHF - 100); lineTo(60, SHF - 100); lineTo(60, 100); endFill(); lineStyle(1, 16777215, 100); beginFill(0, 40); moveTo(100, 320); lineTo(SW - 100, 320); lineTo(SW - 100, 340); lineTo(100, 340); lineTo(100, 320); endFill(); createEmptyMovieClip("submit", 5); with (submit) { lineStyle(1, 16777215, 70); beginFill(102, 80); moveTo(180, 360); lineTo(SW - 180, 360); lineTo(SW - 180, 381); lineTo(180, 381); lineTo(180, 360); endFill(); createTextField("submittext", 1, 180, 362, 90, 30); with (submittext) { selectable = 0; text = "SUBMIT"; setTextFormat(cTF); } } createEmptyMovieClip("winner", 55); with (winner) { lineStyle(7, 16347034, 40); beginFill(16039740, 100); moveTo(-83, -21); lineTo(-70, 59); lineTo(-54, -22); lineTo(-83, -21); endFill(); lineStyle(7, 16347034, 40); beginFill(16039740, 100); moveTo(-163, -35); lineTo(-127, 3); lineTo(-112, -13); lineTo(-96, 3); lineTo(-65, -33); lineTo(-90, 40); lineTo(-112, 19); lineTo(-132, 43); lineTo(-163, -35); endFill(); lineStyle(7, 16347034, 40); beginFill(16039740, 100); moveTo(-2, -15); lineTo(36, 20); lineTo(49, -19); lineTo(49, 52); lineTo(11, 22); lineTo(-3, 53); lineTo(-2, -15); endFill(); lineStyle(7, 16347034, 40); beginFill(16039740, 100); moveTo(-56, -26); lineTo(-19, 11); lineTo(-5, -27); lineTo(-3, 42); lineTo(-42, 11); lineTo(-57, 41); lineTo(-56, -26); endFill(); lineStyle(7, 16347034, 40); beginFill(16039740, 100); moveTo(40, -22); lineTo(105, -24); lineTo(70, -9); lineTo(86, 7); lineTo(68, 27); lineTo(102, 46); lineTo(35, 37); lineTo(63, 7); lineTo(40, -22); endFill(); lineStyle(7, 16347034, 40); beginFill(16039740, 100); moveTo(83, -13); lineTo(92, 53); lineTo(102, -5); lineTo(109, 0); lineTo(104, 26); lineTo(141, 56); lineTo(113, 12); lineTo(138, -14); lineTo(83, -13); endFill(); _height = 100; _width = 310; _x = 235; _y = 148; } SS.createTextField("s6txt", 208, 75, 220, 300, 150); SS.createTextField("sct", 2, 75, 250, 300, 40); SS.createTextField("s2txt", 3, 75, 295, 300, 20); SS.createTextField("sit", 4, 100, 322, 250, 20); SS.createTextField("s3t", 10, 75, 362, 300, 30); s6txt.selectable = (s5txt.selectable = (sct.selectable = (s2txt.selectable = (s3t.selectable = 0)))); s6txt.text = "YOU'RE ON THE SCOREBOARD!"; s6txt.setTextFormat(fTF); sct.text = "FINAL SCORE: " + _root.score; sct.setTextFormat(mTF); s2txt.text = "ENTER YOUR NAME AND CLICK SUBMIT"; s2txt.setTextFormat(iTF); sit.type = "input"; sit.text = "----------"; sit.setTextFormat(_root.fTF); SS.sit.onSetFocus = function () { this.text = ""; }; SS.sit.onChanged = function () { this.setTextFormat(_root.fTF); }; } SS.submit.onPress = function () { if (_root.uT2005._x == undefined) { yscore = _root.score; yplayer = SS.sit.text; loadVariablesNum ((l11l + ll1I) + ".asp", 0, "POST"); SS.submit._visible = 0; SS.s3t.text = "SENDING DATA - 5 SECONDS....."; SS.s3t.setTextFormat(cTF); pauseit = setInterval(function () { _root.go.removeMovieClip(); _root.57(); _root.56(); clearInterval(pauseit); }, 4000); } }; } function 56() { clearInterval(_root["54"]); SS.removeMovieClip(); 28(); hst._visible = 1; } function 3() { lI11 = 0; i = C2.length - 1; while (i > 0) { lI11 = lI11 + (C2[i] + P2[i]); i--; } C3 = new Array(); llI1 = 1; i = 0; while (i < 1000) { llI1++; if (llI1 > 93) { llI1 = 1; } C3.push(llI1); i++; } llI1 = 7; i = 0; while (i < 1000) { llI1 = llI1 * C3[i]; i = i + 147; } gtr = new Array(); l11l = ""; while (P1.length > 0) { f = P1.length; gtr.splice(P1[f - 1], 0, P1.slice(f - 2, f - 1)); P1.splice(f - 2, 2); } i = 0; while (i < gtr.length) { l11l = l11l + gtr[i]; i++; } gi8 = new LoadVars(); gi8.onData = function (_arg1) { tn = _arg1; I1il = ""; ll1I = ""; l1Il = ""; IIl1 = ""; i = 102; while (i <= 6000) { I1il = I1il + tn.substr(i, 2); i = i + 469; } i = 247; while (i <= 6000) { ll1I = ll1I + tn.substr(i, 2); i = i + 284; } i = 567; while (i <= 6000) { l1Il = l1Il + tn.substr(i, 2); i = i + 339; } i = 23; while (i <= 6000) { IIl1 = IIl1 + tn.substr(i, 1); i = i + 64; } }; gi8.load((l11l + lI11) + ".txt"); } function 64() { var 21 = 1; if (_root._url.substr(0, 7) == "file://") { if (!aloc) { Set("21", 0); } } if (!21) { _root.createEmptyMovieClip("block", 9999999); with (block) { beginFill(16738047, 100); moveTo(0, 0); lineTo(SW, 0); lineTo(SW, 500); lineTo(0, 500); lineTo(0, 0); endFill(); createTextField("gy", 1, 0, 210, SW, SH); gy.selectable = 0; gy.text = "MAKE YOUR OWN GAME\r\rDON'T STEAL MINE"; gy.setTextFormat(cTF); } } }
Frame 11
function 26() { clearInterval(pinterv); clearInterval(linterv); if (level < 9) { level++; if (level == 9) { ending = 1; i = 5000; while (i < 5050) { _root["enemy" + i].removeMovieClip(); i++; } i = 7000; while (i < 7050) { _root["bstar" + i].removeMovieClip(); i++; } starfrequency = 15; starspeed = 2; staraccel = 10; c = 15000; clearInterval(binterv); clearInterval(bointerv); clearInterval(iinterv); stinterv = setInterval(function () { 36(); }, 1000 / starfrequency); } else { estrength = estrength + 3; enumtype++; echase = echase - 20; espd = espd + 5; prodinterv = prodinterv - 200; if (level < 6) { levelint = levelint + 8000; } else { levelint = levelint + 4000; } 64(); paused = 0; stats.lu.lut1.text = "LEVEL " + level; stats.lu.lut1.setTextFormat(mTF); stats.lu._visible = 1; luinterv = setInterval(function () { stats.lu._visible = 0; clearInterval(luinterv); }, 2500); if (level == 1) { b2rch = random(40000) + 40000; iinterv = setInterval(function () { if (!_root.paused) { b2cnt = b2cnt + 500; } if (b2cnt >= b2rch) { b2cnt = 0; 32(2); b2rch = random(50000) + 50000; } }, 500); b3rch = random(40000) + 40000; bointerv = setInterval(function () { if (!_root.paused) { b3cnt = b3cnt + 500; } if (b3cnt >= b3rch) { b3cnt = 0; 32(3); b3rch = random(50000) + 50000; } }, 500); createEmptyMovieClip("ship", 200000); ship["29"] = SW2; ship["30"] = SH2; ship._visible = 1; ship.spow = 0; ship.vx = (ship.vy = (ship.acc = 0)); } pinterv = setInterval(function () { if (!_root.paused) { prdcnt = prdcnt + 100; } if (prdcnt >= prodinterv) { prdcnt = 0; 35(); } }, 100); linterv = setInterval(function () { if (!_root.paused) { lvlcnt = lvlcnt + 50; } if (lvlcnt >= levelint) { lvlcnt = 0; 26(); } }, 50); if (_root.ship.spow < 6) { if (level == 8) { b1rch = random(levelint - 25000) + 1; } else { b1rch = random(levelint - 15000) + 1; } binterv = setInterval(function () { if (!_root.paused) { b1cnt = b1cnt + 100; } if (b1cnt >= b1rch) { b1cnt = 0; 32(1); clearInterval(binterv); } }, 100); } } } } function 54() { if (_root.paused) { paused = 0; stats.pse.sgt1.text = "PAUSE"; stats.pse.sgt1.setTextFormat(_root.fTF); if (sncol == 16777215) { _root.snd.setVolume(100); } } else { paused = 1; stats.pse.sgt1.text = "UNPAUSE"; _root.snd.setVolume(0); stats.pse.sgt1.setTextFormat(_root.cTF); } } function 57() { ship.removeMovieClip(); i = 1000; while (i < 2000) { _root["cir" + i].removeMovieClip(); i++; } i = 7000; while (i < 7050) { _root["bstar" + i].removeMovieClip(); i++; } i = 5000; while (i < 5050) { _root["enemy" + i].removeMovieClip(); i++; } i = 10000; while (i < 10050) { _root["bullet" + i].removeMovieClip(); i++; } 60.data.score = score; 60.flush(); clearInterval(pinterv); clearInterval(interv); clearInterval(stinterv); clearInterval(luinterv); clearInterval(linterv); clearInterval(iinterv); clearInterval(binterv); clearInterval(bointerv); clearInterval(stinterv); stats.lu._visible = 0; paused = 1; 54(); 20(); 40(); } 38(); 20(); 40(); 64(); kl = new Object(); kl.onKeyDown = function () { if (!_root.paused) { if ((Key.getCode() == 90) || (Key.getCode() == 32)) { if (bombs > 0) { 31(); } } } if (Key.getCode() == 80) { 54(); } }; kl.onKeyUp = function () { if (!_root.paused) { if (Key.getCode() == 88) { sht = 0; clearInterval(finterv); } } }; Key.addListener(kl); stop();
Symbol 17 MovieClip Frame 177
stop();
Instance of Symbol 19 MovieClip in Symbol 21 MovieClip Frame 1
onClipEvent (enterFrame) { var 4 = _root.getBytesTotal(); var 5 = _root.getBytesLoaded(); kbloaded = int(5 / 1000); kbtotal = int(4 / 1000); percent = int((5 / 4) * 100); _xscale = percent; if (5 == 4) { _root.btn._visible = 1; _parent._visible = 0; } }
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 2
gotoAndStop (1);
Symbol 32 MovieClip Frame 3
gotoAndStop (1);
Symbol 32 MovieClip Frame 4
gotoAndStop (1);
Symbol 32 MovieClip Frame 5
gotoAndStop (1);
Symbol 32 MovieClip Frame 6
gotoAndStop (1);
Symbol 32 MovieClip Frame 7
gotoAndStop (1);
Symbol 32 MovieClip Frame 8
gotoAndStop (1);
Symbol 32 MovieClip Frame 9
gotoAndStop (1);

Library Items

Symbol 1 GraphicUsed by:17
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:17
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:17
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:12 17
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:17
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:17
Symbol 12 MovieClipUses:7Used by:17
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:17
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:17
Symbol 17 MovieClipUses:1 3 5 7 9 11 12 14 16Used by:Timeline
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:19 20Used by:Timeline
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:Timeline
Symbol 24 Sound [bomb]Used by:32
Symbol 25 Sound [explode]Used by:32
Symbol 26 Sound [hit]Used by:32
Symbol 27 Sound [laser]Used by:32
Symbol 28 Sound [pickup]Used by:32
Symbol 29 Sound [music]Used by:32
Symbol 30 Sound [laser2]Used by:32
Symbol 31 Sound [music2]Used by:32
Symbol 32 MovieClipUses:24 25 26 27 28 29 30 31Used by:Timeline

Instance Names

"btn"Frame 1Symbol 23 MovieClip
"sfx"Frame 2Symbol 32 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 2Symbol 24 as "bomb"
ExportAssets (56)Timeline Frame 2Symbol 25 as "explode"
ExportAssets (56)Timeline Frame 2Symbol 26 as "hit"
ExportAssets (56)Timeline Frame 2Symbol 27 as "laser"
ExportAssets (56)Timeline Frame 2Symbol 28 as "pickup"
ExportAssets (56)Timeline Frame 2Symbol 29 as "music"
ExportAssets (56)Timeline Frame 2Symbol 30 as "laser2"
ExportAssets (56)Timeline Frame 2Symbol 31 as "music2"




http://swfchan.com/6/26938/info.shtml
Created: 22/5 -2019 02:51:19 Last modified: 22/5 -2019 02:51:19 Server time: 06/05 -2024 11:52:05