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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM47339155-5DC&rnd=47339155" width="1" height="1"></div>

songs1.swf

This is the info page for
Flash #262069

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


ActionScript [AS1/AS2]
Combined Code
movieClip 25 { } movieClip 34 { frame 1 { stop(); } } frame 2 { loadedbytes = getBytesLoaded(); totalbytes = getBytesTotal(); loadedkbytes = Math.ceil(loadedbytes / 1000); totalkbytes = Math.ceil(totalbytes / 1000); if (loadedbytes >= totalbytes) { gotoAndPlay(4); } percent = int(loadedbytes / (totalbytes / 100)); _root.version = /:$version; _root.version = true; if (_root.version) { _root.flashdetector.gotoAndStop(2); } } frame 3 { gotoAndPlay(2); } frame 6 { function reGame() { _root.shipstat = 'alive'; _root.read = 0; _root.score = 0; _root.i = 1000; _root.m = 10000; _root.php = 10; _root.ammo = 100; _root.mobicon = 0; _root.shipspeed = 4; _root.shippow = 1; _root.bc = 'off'; _root.bg.gotoAndStop(1); } function reStage() { stopAllSounds(); _root.PS('es'); _root.i = 1000; _root.m = 10000; _root.mobicon = 0; _root.read = 0; } function dupFire() { if (_root.shipstat == 'alive') { if (0 < _root.ammo) { _root.ammo -= 1; duplicateMovieClip('fire', 'fire' + i, i); i += 1; } else { _root.shipstat == 'dead'; _root.gotoAndPlay('gameover'); } } } function mobfire() { if (_root.shipstat == 'alive') { duplicateMovieClip('mfire', 'mfire' + m, m); s = random(_root.nons) + 1; _root['mfire' + m]._x = _root['ns' + s]._x; _root['mfire' + m]._y = _root['ns' + s]._y; m += 1; } } function shiphit() { if (_root.shipstat == 'alive') { _root.php -= 1; _root.PS('sh'); _root.ship.ship.gotoAndPlay('hurt'); if (0 >= _root.php) { _root.bc = 'off'; _root.gotoAndStop('gameover'); _root.shipstat = 'dead'; } } } function shipeat(bon) { if (_root.shipstat == 'alive') { _root.PS('eb'); _root.score += 800; _root.ss.gotoAndPlay('eight'); if (bon == 1) { _root.ammo += 10; if (_root.ammo >= 100) { _root.ammo = 100; } } if (bon == 2) { _root.php += 1; if (_root.php >= 10) { _root.php = 10; } } if (bon == 3) { _root.shipspeed += 4; if (_root.shipspeed >= 20) { _root.shipspeed = 20; } } if (bon == 4) { _root.shippow += 1; if (_root.shippow >= 5) { _root.shippow = 5; } } } } function hitmob(mc, sc) { if (_root.shipstat == 'alive') { if (_root['ns' + mc].stat == 'alive') { _root.PS('hm'); _root['ns' + mc].hp -= _root.shippow; _root.score += _root.shippow * (sc * 12); _root['ns' + mc].hurt.play(); if (0 >= _root['ns' + mc].hp) { _root['ns' + mc].stat = 'dead'; _root['ns' + mc].gotoAndPlay('dead'); _root.deadmob(); } } } } function deadmob() { _root.PS('dm'); _root.mobicon -= 1; _root.score += 1000; _root.ss.gotoAndPlay('kk'); if (0 >= _root.mobicon) { _root.bc = 'off'; _root.nextFrame(); } } function PS(opt) { if (_root.sset == 'on') { s = new Sound(); if (opt == 'bg1' or opt == 'bg2' or opt == 'bg3' or opt == 'mm') { if (opt == 'bg1') { s.attachSound('BGMusic1'); } if (opt == 'bg2') { s.attachSound('BGMusic2'); } if (opt == 'bg3') { s.attachSound('BGMusic3'); } if (opt == 'mm') { s.attachSound('MenuMusic'); } s.start(0, 99); } else { if (opt == 'eb') { s.attachSound('EatBonus'); } if (opt == 'dm') { s.attachSound('DeadMob'); } if (opt == 'es') { s.attachSound('EnterStage'); } if (opt == 'go') { s.attachSound('GameOver'); } if (opt == 'gs') { s.attachSound('GameStart'); } if (opt == 'sh') { s.attachSound('ShipHurt'); } if (opt == 'hm') { xsx = random(5); if (xsx == 1) { s.attachSound('HitMob1'); } if (xsx == 2) { s.attachSound('HitMob2'); } if (xsx == 3) { s.attachSound('HitMob3'); } if (xsx == 4) { s.attachSound('HitMob4'); } } s.start(); } } } loadMovieNum('skycursor.swf', 1); _root.sset = 'on'; _root.fire._visible = false; _root.b1._visible = false; _root.b2._visible = false; _root.b3._visible = false; _root.b4._visible = false; } movieClip 40 { frame 1 { stop(); } } button 45 { on (release) { getURL('http://www.dannyspace.com', '_blink'); } } movieClip 49 { } button 53 { on (release) { stopAllSounds(); _root.sset = 'off'; this.nextFrame(); } } button 57 { on (release) { _root.sset = 'on'; this.prevFrame(); } } movieClip 58 { frame 1 { stop(); } } movieClip 64 { } movieClip 68 { frame 1 { stop(); } instance of movieClip 64 { onClipEvent (load) { this.stop(); } onClipEvent (enterFrame) { this.gotoAndStop(_root.shippow); } } frame 83 { removeMovieClip(this); stop(); } } instance fire of movieClip 68 { onClipEvent (load) { this.gotoAndStop(1); this._xscale = 120; this._yscale = 120; this._x = _root.ship._x; this._y = _root.ship._y; miss = random(4); if (miss == 0) { targetx = _root._xmouse + random(20) - 10; targety = _root._ymouse + random(20) - 10; } if (miss != 0) { targetx = _root._xmouse + random(8) - 4; targety = _root._ymouse + random(8) - 4; } long = 50; missornot = 0; moving = 1; ang1 = _root.angle; _root.angle += 5; scale = 1; speed = random(10) + 5; randang = random(10); firespeed = 2; } onClipEvent (enterFrame) { if (moving == 1) { rrx = (targetx - this._x) / speed; rry = (targety - this._y) / speed; if (rrx >= firespeed) { rangex = firespeed; } if (-firespeed >= rrx) { rangex = -firespeed; } if (rry >= firespeed) { rangex = firespeed; } if (-firespeed >= rry) { rangex = -firespeed; } rangex = this._x + rrx; rangey = this._y + rry; ang1 += randang; long -= long / 10; if (0 >= long) { long = 0; } x = long * Math.sin(ang1 * Math.PI / 180); y = long * Math.cos(ang1 * Math.PI / 180); this._x = rangex + x; this._y = rangey + y; if (scale == 1) { this._xscale -= 3; this._yscale -= 3; } if (20 >= this._xscale) { scale = 0; } var degree; var dx; var dy; var center_x; var center_y; center_x = this._x; center_y = this._y; mx = targetx; my = targety; dx = mx - center_x; dy = center_y - my; if (dy == 0) { if (0 < dx) { degree = 90; } else { degree = 270; } } else { if (0 < dy) { degree = Math.atan(dx / dy) * 180 / 3.14159; } else { degree = Math.atan(dx / dy) * 180 / 3.14159 + 180; } } this._rotation = degree; difx = this._x - targetx; dify = this._y - targety; if (difx < 10 and -10 < difx and dify < 10 and -10 < dify) { this._x = targetx; this._y = targety; moving = 0; this.gotoAndPlay('exp'); zz = 1; while (zz < _root.nons + 1) { checkx = Math.abs(this._x - _root['ns' + zz]._x); checky = Math.abs(this._y - _root['ns' + zz]._y); checkz = _root.spider._width / 2; if (checkx < checkz and checky < checkz) { tempscore = int((checkz - checkx + (checkz - checky)) / 2); missornot = 1; _root.hitmob(zz, tempscore); break; } zz += 1; } newscale = random(30) + 5; this._xscale = newscale; this._yscale = newscale; } } } } movieClip 88 { } movieClip 105 { } movieClip 122 { } movieClip 141 { } movieClip 142 { frame 1 { stop(); } frame 7 { stop(); } frame 93 { gotoAndStop(1); } frame 104 { stop(); } } movieClip 143 { } instance ship of movieClip 143 { onClipEvent (load) { this._x = 250; speed = 5; speedLimit = _root.shipspeed; this.gotoAndStop(15); } onClipEvent (enterFrame) { xTarget = _root._xmouse; fraction = 0.1; speedLimit = _root.shipspeed; xspeed = (xTarget - _x) * fraction; if (xspeed >= speedLimit) { xspeed = speedLimit; } else { if (-speedLimit >= xspeed) { xspeed = -speedLimit + 0.01; } } _x = _x + xspeed; if (this._x >= 490) { this._x = 490; } if (10 >= this._x) { this._x = 10; } speedLimitRatio = (xspeed + speedLimit) / 2 * speedLimit; this.gotoAndStop(Math.ceil(this._totalframes * SpeedLimitRatio)); } } movieClip 154 { frame 28 { stop(); } } button 156 { on (release) { _root.reGame(); this.gotoAndStop(1); _root.nextFrame(); _root.ship.ship.gotoAndStop(1); } } button 159 { on (release) { this.gotoAndStop(1); _root.nextFrame(); _root.ship.ship.gotoAndStop(1); } } button 162 { on (release) { loadVariablesNum('highscore.asp?score=' + _root.score + '&player=' + pname, 0, 'POST'); this.gotoAndStop(1); _root.gotoAndStop('menu'); _root.ship.ship.gotoAndStop(1); } } movieClip 166 { frame 1 { stop(); } frame 16 { stop(); } frame 30 { stop(); } frame 49 { stop(); } frame 65 { stop(); } } button 170 { on (release) { _root.nextFrame(); } } button 171 { on (release) { _root.PS('bg2'); } } movieClip 173 { } instance of movieClip 173 { onClipEvent (mouseDown) { if (_root.bc == 'on') { _root.dupFire(); } } } movieClip 175 { } instance of movieClip 175 { onClipEvent (load) { z = 100000; tm = 0; p_time = 0; } onClipEvent (enterFrame) { if (_root.bc == 'on') { tm = int(getTimer() / 1000); if (p_time < tm) { tt = random(10); if (tt == 1) { bb = random(5); if (bb == 0) { duplicateMovieClip(_root.b1, 'bb' + z, z); } if (bb == 1) { duplicateMovieClip(_root.b2, 'bb' + z, z); } if (bb == 2) { duplicateMovieClip(_root.b3, 'bb' + z, z); } if (bb == 3) { duplicateMovieClip(_root.b4, 'bb' + z, z); } if (bb == 4) { duplicateMovieClip(_root.b1, 'bb' + z, z); } z += 1; } p_time = tm; } } } } movieClip 177 { } movieClip 180 { } movieClip 182 { } movieClip 183 { instance of movieClip 177 { onClipEvent (enterFrame) { this._rotation += 10; } } } instance b1 of movieClip 183 { onClipEvent (load) { this._x = random(300) + 100; this._y = 30; g = 100; oldx = this._x - (random(3) - 2); oldy = this._y - (random(11) - 6); x = this._x; y = this._y; vx = (x - oldx) * 10; vy = (y - oldy) * 10; } onClipEvent (enterFrame) { vy = Number(vy) + Number(g / 10); x = Number(x) + Number(vx / 10); yadd = Number(vy / 10); if (5 < yadd) { yadd = 5; } y += yadd; this._x = x; this._y = y; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shipeat(1); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 185 { } movieClip 186 { instance of movieClip 177 { onClipEvent (enterFrame) { this._rotation += 10; } } } instance b2 of movieClip 186 { onClipEvent (load) { this._x = random(300) + 100; this._y = 30; g = 100; oldx = this._x - (random(3) - 2); oldy = this._y - (random(11) - 6); x = this._x; y = this._y; vx = (x - oldx) * 10; vy = (y - oldy) * 10; } onClipEvent (enterFrame) { vy = Number(vy) + Number(g / 10); x = Number(x) + Number(vx / 10); yadd = Number(vy / 10); if (5 < yadd) { yadd = 5; } y += yadd; this._x = x; this._y = y; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shipeat(2); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 188 { } movieClip 189 { instance of movieClip 177 { onClipEvent (enterFrame) { this._rotation += 10; } } } instance b3 of movieClip 189 { onClipEvent (load) { this._x = random(300) + 100; this._y = 30; g = 100; oldx = this._x - (random(3) - 2); oldy = this._y - (random(11) - 6); x = this._x; y = this._y; vx = (x - oldx) * 10; vy = (y - oldy) * 10; } onClipEvent (enterFrame) { vy = Number(vy) + Number(g / 10); x = Number(x) + Number(vx / 10); yadd = Number(vy / 10); if (5 < yadd) { yadd = 5; } y += yadd; this._x = x; this._y = y; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shipeat(3); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 191 { } instance of movieClip 191 { onClipEvent (load) { this._width = 100; } onClipEvent (enterFrame) { this._width = _root.php * 10; } } movieClip 192 { } instance of movieClip 192 { onClipEvent (load) { this._width = 100; } onClipEvent (enterFrame) { this._width = _root.ammo; } } movieClip 198 { } instance of movieClip 198 { onClipEvent (load) { this.stop(); } onClipEvent (enterFrame) { this.gotoAndStop(_root.shippow); } } movieClip 199 { } instance of movieClip 199 { onClipEvent (load) { this.stop(); } onClipEvent (enterFrame) { x = _root.shipspeed / 4; this.gotoAndStop(x); } } movieClip 201 { } movieClip 202 { instance of movieClip 177 { onClipEvent (enterFrame) { this._rotation += 10; } } } instance b4 of movieClip 202 { onClipEvent (load) { this._x = random(300) + 100; this._y = 30; g = 100; oldx = this._x - (random(2) - 1); oldy = this._y - (random(11) - 6); x = this._x; y = this._y; vx = (x - oldx) * 10; vy = (y - oldy) * 10; } onClipEvent (enterFrame) { vy = Number(vy) + Number(g / 10); x = Number(x) + Number(vx / 10); yadd = Number(vy / 10); if (5 < yadd) { yadd = 5; } y += yadd; this._x = x; this._y = y; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shipeat(4); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 213 { frame 1 { stop(); } frame 33 { gotoAndStop(1); } frame 65 { gotoAndStop(1); } frame 97 { gotoAndStop(1); } frame 144 { gotoAndStop(1); } frame 179 { gotoAndStop(1); } } instance ss of movieClip 213 { onClipEvent (enterFrame) { this._x = _root.ship._x; } } button 216 { on (release) { _root.PS('bg1'); } } movieClip 218 { } instance of movieClip 218 { onClipEvent (keyDown) { keycode = Key.getCode(); if (keycode == Key.HOME) { _root.nextFrame(); } if (keycode == Key.INSERT) { _root.prevFrame(); } } } frame 8 { loadVariablesNum('highscore.asp', 0, 'POST'); _root.PS('mm'); _root.reGame(); stop(); } movieClip 224 { } movieClip 226 { frame 1 { stop(); } } movieClip 228 { frame 33 { stop(); } frame 90 { removeMovieClip(this); stop(); } } instance spider of movieClip 228 { onClipEvent (load) { this.hp = 100; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; ramx = random(480) + 10; ramy = random(160) + 30; } onClipEvent (enterFrame) { if (stat == 'alive') { movex = (ramx - _x) / 20; movey = (ramy - _y) / 20; if (5 < movex) { movex = 5; } if (movex < -5) { movex = -5; } if (5 < movey) { movey = 5; } if (movey < -5) { movey = -5; } this._x += movex; this._y += movey; if (movex < 2 and -2 < movex and movey < 2 and -2 < movey) { ramx = random(480) + 10; ramy = random(160) + 30; } } } } movieClip 234 { } movieClip 235 { } button 237 { on (release) { play(); } } movieClip 239 { } movieClip 244 { } instance of movieClip 244 { onClipEvent (load) { tm = 0; p_time = 0; } onClipEvent (enterFrame) { tm = int(getTimer() / 1000); if (p_time + 5 < tm) { loadVariablesNum('highscore.asp', 0, 'POST'); p_time = tm; } } } frame 12 { _root.stage.gotoAndPlay('start'); stopAllSounds(); stop(); } frame 13 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.ammo = 100; _root.PS('bg1'); s = 1; nons = 5; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 254 { } movieClip 256 { frame 1 { stop(); } } movieClip 265 { frame 9 { stop(); } frame 44 { removeMovieClip(this); stop(); } } instance spider of movieClip 265 { onClipEvent (load) { this.hp = 10; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; } onClipEvent (enterFrame) { if (stat == 'alive') { xx = random(100); if (xx == 1) { _root.mobfire(); } } } } movieClip 268 { } instance mfire of movieClip 268 { onClipEvent (load) { xtarget = random(500); ytarget = 500; this._xscale = 100; this._yscale = 100; } onClipEvent (enterFrame) { xmove = (xtarget - this._x) / 20; ymove = (ytarget - this._y) / 20; if (2 < xmove) { xmove = 2; } if (xmove < -2) { xmove = -2; } if (ymove >= 2) { ymove = 2; } this._x += xmove; this._y += ymove; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } frame 14 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } stopAllSounds(); _root.reStage(); _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 15 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.PS('bg1'); s = 1; nons = 8; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 269 { } instance mfire of movieClip 269 { onClipEvent (load) { xtarget = random(500); ytarget = 500; this._xscale = 100; this._yscale = 100; } onClipEvent (enterFrame) { xmove = (xtarget - this._x) / 20; ymove = (ytarget - this._y) / 20; if (2 < xmove) { xmove = 2; } if (xmove < -2) { xmove = -2; } if (ymove >= 2) { ymove = 2; } this._x += xmove; this._y += ymove; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 278 { } movieClip 280 { frame 1 { stop(); } } movieClip 281 { frame 10 { stop(); } frame 30 { removeMovieClip(this); stop(); } } instance spider of movieClip 281 { onClipEvent (load) { this.hp = 5; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; } onClipEvent (enterFrame) { if (stat == 'alive') { xx = random(120); if (xx == 1) { _root.mobfire(); } } } } frame 16 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 17 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.PS('bg1'); s = 1; nons = 5; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 282 { } instance mfire of movieClip 282 { onClipEvent (load) { xtarget = random(500); ytarget = 500; this._xscale = 100; this._yscale = 100; } onClipEvent (enterFrame) { xmove = (xtarget - this._x) / 20; ymove = (ytarget - this._y) / 20; if (2.5 < xmove) { xmove = 2.5; } if (xmove < -2.5) { xmove = -2.5; } if (ymove >= 2.5) { ymove = 2.5; } this._x += xmove; this._y += ymove; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 287 { } movieClip 289 { frame 1 { stop(); } } movieClip 290 { frame 10 { stop(); } frame 39 { removeMovieClip(this); stop(); } } instance spider of movieClip 290 { onClipEvent (load) { this.hp = 13; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; ramx = random(480) + 10; } onClipEvent (enterFrame) { if (stat == 'alive') { movex = (ramx - _x) / 10; if (1 < movex) { movex = 1; } if (movex < -1) { movex = -1; } this._x += movex; if (movex < 1 and -1 < movex) { ramx = random(480) + 10; } xx = random(100); if (xx == 1) { _root.mobfire(); } } } } frame 18 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 19 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.PS('bg1'); s = 1; nons = 13; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 299 { } movieClip 305 { frame 10 { stop(); } frame 38 { removeMovieClip(this); stop(); } } instance spider of movieClip 305 { onClipEvent (load) { stat = 'alive'; this.hp = 6; this._x = random(480) + 10; this._y = random(160) + 30; } onClipEvent (enterFrame) { if (stat == 'alive') { mm = random(5); if (mm == 1) { this._x += 1; } if (mm == 2) { this._x -= 1; } if (mm == 3) { this._y += 1; } if (mm == 4) { this._y -= 1; } if (this._x >= 490) { this._x = 490; } if (10 >= this._x) { this._x = 10; } if (this._y >= 200) { this._y = 200; } if (30 >= this._y) { this._y = 30; } xx = random(120); if (xx == 1) { _root.mobfire(); } } } } movieClip 307 { } instance mfire of movieClip 307 { onClipEvent (load) { xtarget = (_root.ship._x - this._x) / 2; xtarget += _root.ship._x; ytarget = 500; this._xscale = 100; this._yscale = 100; } onClipEvent (enterFrame) { xmove = (xtarget - this._x) / 20; ymove = (ytarget - this._y) / 20; if (4 < xmove) { xmove = 4; } if (xmove < -4) { xmove = -4; } if (ymove >= 4) { ymove = 4; } this._x += xmove; this._y += ymove; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } frame 20 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 21 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.PS('bg2'); s = 1; nons = 8; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 312 { } movieClip 314 { frame 1 { stop(); } } movieClip 316 { frame 10 { stop(); } frame 26 { stt = 2; } frame 43 { stt = 1; gotoAndStop(10); } frame 93 { removeMovieClip(this); stop(); } } instance spider of movieClip 316 { onClipEvent (load) { this.hp = 20; stat = 'alive'; this._x = random(480) + 10; this._y = random(160) + 30; stt = 1; mmx = random(2); if (mmx == 1) { mm = 1; } else { mm = -1; } tm = 0; p_time = 0; tt = random(6) + 3; } onClipEvent (enterFrame) { if (stat == 'alive') { xx = random(80); if (xx == 1) { _root.mobfire(); } if (stt == 1) { this._x += mm; tm = int(getTimer() / 1000); if (p_time + tt < tm) { p_time = tm; this.play(); } } if (stt == 2) { this._x = random(480) + 10; this._y = random(160) + 30; mmx = random(2); if (mmx == 1) { mm = 1; } else { mm = -1; } tt = random(6) + 3; stt = 1; } } } } movieClip 318 { } instance mfire of movieClip 318 { onClipEvent (load) { g = 100; oldx = this._x - (random(11) - 6); oldy = this._y - (random(11) - 6); x = this._x; y = this._y; vx = (x - oldx) * 10; vy = (y - oldy) * 10; } onClipEvent (enterFrame) { vy = Number(vy) + Number(g / 10); addx = Number(vx / 10); addy = Number(vy / 10); if (1 < addx) { addx = 1; } if (5 < addy) { addy = 5; } y += addy; x += addx; this._x = x; this._y = y; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } frame 22 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 23 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.PS('bg3'); s = 1; nons = 1; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 325 { } movieClip 326 { frame 1 { stop(); } } movieClip 327 { frame 31 { stop(); } frame 72 { removeMovieClip(this); stop(); } } instance spider of movieClip 327 { onClipEvent (load) { this.hp = 50; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; ramx = random(480) + 10; ramy = random(160) + 30; } onClipEvent (enterFrame) { if (stat == 'alive') { movex = (ramx - _x) / 20; movey = (ramy - _y) / 20; if (4 < movex) { movex = 4; } if (movex < -4) { movex = -4; } if (4 < movey) { movey = 4; } if (movey < -4) { movey = -4; } this._x += movex; this._y += movey; if (movex < 1 and -1 < movex and movey < 1 and -1 < movey) { ramx = random(480) + 10; ramy = random(160) + 30; } xx = random(40); if (xx == 1) { _root.mobfire(); } } } } movieClip 330 { } instance mfire of movieClip 330 { onClipEvent (load) { xtarget = random(500); ytarget = 500; rf = this._width / 2 + 15; this._xscale = 100; this._yscale = 100; } onClipEvent (enterFrame) { this._rotation += 3; xmove = (xtarget - this._x) / 20; ymove = (ytarget - this._y) / 20; if (4 < xmove) { xmove = 4; } if (xmove < -4) { xmove = -4; } if (ymove >= 4) { ymove = 4; } this._x += xmove; this._y += ymove; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (rf >= dd) { _root.shiphit(); _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } frame 24 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.ss.gotoAndPlay('fivek'); _root.score += 5000; _root.reStage(); _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 25 { if (_root.read == 0) { _root.spider._visible = false; _root.spider2._visible = false; _root.mfire._visible = false; _root.PS('bg2'); s = 1; nons = 9; mobicon = nons; duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; while (nons >= s) { duplicateMovieClip(spider2, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } _root.bc = 'on'; _root.read = 1; } stop(); } movieClip 331 { } instance mfire of movieClip 331 { onClipEvent (load) { g = 100; oldx = this._x - (random(11) - 6); oldy = this._y - (random(11) - 6); x = this._x; y = this._y; vx = (x - oldx) * 10; vy = (y - oldy) * 10; } onClipEvent (enterFrame) { vy = Number(vy) + Number(g / 10); addx = Number(vx / 10); addy = Number(vy / 10); if (1 < addx) { addx = 1; } if (4 < addy) { addy = 4; } y += addy; x += addx; this._x = x; this._y = y; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 336 { } movieClip 338 { frame 1 { stop(); } } movieClip 340 { frame 10 { stop(); } frame 25 { stop(); } } instance spider of movieClip 340 { onClipEvent (load) { this.hp = 20; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; ramx = random(480) + 10; ramy = random(160) + 30; } onClipEvent (enterFrame) { if (stat == 'alive') { movex = (ramx - _x) / 20; movey = (ramy - _y) / 20; if (3 < movex) { movex = 3; } if (movex < -3) { movex = -3; } if (3 < movey) { movey = 3; } if (movey < -3) { movey = -3; } this._x += movex; this._y += movey; if (movex < 1 and -1 < movex and movey < 1 and -1 < movey) { ramx = random(480) + 10; ramy = random(160) + 30; } xx = random(80); if (xx == 1) { _root.mobfire(); } } } } movieClip 341 { frame 10 { stop(); } frame 25 { stop(); } } instance spider2 of movieClip 341 { onClipEvent (load) { this.hp = 10; stat = 'alive'; } onClipEvent (enterFrame) { if (stat == 'alive') { xx = random(120); if (xx == 1) { _root.mobfire(); } } xTarget = (eval('_root.ns' + (this.id - 1)))._x; yTarget = (eval('_root.ns' + (this.id - 1)))._y; fraction = 0.1; _y = _y + (yTarget - _y) * fraction; _x = _x + (xTarget - _x) * fraction; } } frame 26 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.ss.gotoAndPlay('twok'); _root.score += 2000; _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 27 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.PS('bg2'); s = 1; nons = 12; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 342 { } instance mfire of movieClip 342 { onClipEvent (load) { xtarget = (_root.ship._x - this._x) / 10; xtarget += _root.ship._x; ytarget = 500; this._xscale = 100; this._yscale = 100; } onClipEvent (enterFrame) { xmove = (xtarget - this._x) / 20; ymove = (ytarget - this._y) / 20; if (5 < xmove) { xmove = 5; } if (xmove < -5) { xmove = -5; } if (ymove >= 5) { ymove = 5; } this._x += xmove; this._y += ymove; if (this._y >= 335 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } movieClip 347 { } movieClip 350 { frame 1 { stop(); } } movieClip 353 { frame 10 { stop(); } frame 37 { removeMovieClip(this); stop(); } } instance spider of movieClip 353 { onClipEvent (load) { this.hp = 20; stat = 'alive'; this._x = random(490) + 10; this._y = random(160) + 30; stt = 1; mov = random(5) + 1; mmx = random(2); if (mmx == 1) { mm = 1; } else { mm = -1; } if (mm == 1) { mov = mov; } else { mov = -mov; } } onClipEvent (enterFrame) { if (stat == 'alive') { xx = random(70); if (xx == 1) { _root.mobfire(); } if (stt == 1) { this._x += mm; if (this._x >= 500 or 0 >= this._x) { stt = 2; } } if (stt == 2) { mmx = random(2); mov = random(5) + 1; if (mmx == 1) { mm = 1; } else { mm = -1; } if (mm == 1) { this._x = 1; mov = mov; } else { this._x = 499; mov = -mov; } stt = 1; } } } } frame 28 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.ss.gotoAndPlay('twok'); _root.score += 2000; _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 29 { if (_root.read == 0) { _root.spider._visible = false; _root.mfire._visible = false; _root.PS('bg3'); s = 1; nons = 3; mobicon = nons; _root.bc = 'on'; _root.read = 1; while (nons >= s) { duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } } stop(); } movieClip 356 { } movieClip 358 { frame 1 { stop(); } } movieClip 361 { frame 10 { stop(); } frame 38 { removeMovieClip(this); stop(); } } instance spider of movieClip 361 { onClipEvent (load) { this.hp = 30; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; ramx = random(480) + 10; ramy = random(160) + 30; this._xscale = 200; this._yscale = 200; } onClipEvent (enterFrame) { if (stat == 'alive') { movex = (ramx - _x) / 20; movey = (ramy - _y) / 20; if (3 < movex) { movex = 3; } if (movex < -3) { movex = -3; } if (3 < movey) { movey = 3; } if (movey < -3) { movey = -3; } this._x += movex; this._y += movey; if (movex < 1 and -1 < movex and movey < 1 and -1 < movey) { ramx = random(480) + 10; ramy = random(160) + 30; } xx = random(40); if (xx == 1) { _root.mobfire(); } } } } movieClip 363 { } instance mfire of movieClip 363 { onClipEvent (load) { } onClipEvent (enterFrame) { this._y += 5; if (this._y >= 315 and 370 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (15 >= dd) { _root.shiphit(); _root.shiphit(); removeMovieClip(this); } } if (this._y >= 430) { removeMovieClip(this); } } } frame 30 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.ss.gotoAndPlay('twok'); _root.score += 2000; _root.stage.gotoAndPlay('nextstage'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 31 { if (_root.read == 0) { _root.spider._visible = false; _root.spider2._visible = false; _root.mfire._visible = false; _root.PS('bg3'); s = 1; nons = 12; mobicon = nons; duplicateMovieClip(spider, 'ns' + s, s); _root['ns' + s].id = s; s += 1; while (nons >= s) { duplicateMovieClip(spider2, 'ns' + s, s); _root['ns' + s].id = s; s += 1; } _root.bc = 'on'; _root.read = 1; } stop(); } movieClip 364 { frame 33 { stop(); } frame 90 { removeMovieClip(this); stop(); } } instance spider of movieClip 364 { onClipEvent (load) { this.hp = 100; this._x = random(480) + 10; this._y = random(160) + 30; stat = 'alive'; ramx = random(480) + 10; ramy = random(160) + 30; } onClipEvent (enterFrame) { if (stat == 'alive') { movex = (ramx - _x) / 20; movey = (ramy - _y) / 20; if (5 < movex) { movex = 5; } if (movex < -5) { movex = -5; } if (5 < movey) { movey = 5; } if (movey < -5) { movey = -5; } this._x += movex; this._y += movey; if (movex < 2 and -2 < movex and movey < 2 and -2 < movey) { ramx = random(480) + 10; ramy = random(160) + 30; } xx = random(40); if (xx == 1) { _root.mobfire(); } } } } movieClip 369 { } movieClip 371 { frame 1 { stop(); } } movieClip 372 { frame 10 { stop(); } frame 33 { stop(); } } instance spider2 of movieClip 372 { onClipEvent (load) { this.hp = 20; stat = 'alive'; } onClipEvent (enterFrame) { if (stat == 'alive') { xx = random(80); if (xx == 1) { _root.mobfire(); } } xTarget = (eval('_root.ns' + (this.id - 1)))._x; yTarget = (eval('_root.ns' + (this.id - 1)))._y; fraction = 0.1; _y = _y + (yTarget - _y) * fraction; _x = _x + (xTarget - _x) * fraction; } } movieClip 375 { } movieClip 376 { } instance mfire of movieClip 376 { onClipEvent (load) { xtarget = (_root.ship._x - this._x) / 10; xtarget += _root.ship._x; ytarget = 500; this._xscale = 100; this._yscale = 100; } onClipEvent (enterFrame) { xmove = (xtarget - this._x) / 20; ymove = (ytarget - this._y) / 20; if (10 < xmove) { xmove = 10; } if (xmove < -10) { xmove = -10; } if (ymove >= 10) { ymove = 10; } this._x += xmove; this._y += ymove; if (this._y >= 335 and 380 >= this._y) { dd = Math.abs(this._x - _root.ship._x); if (16 >= dd) { _root.shiphit(); removeMovieClip(this); } } if (this._y >= 400) { removeMovieClip(this); } } } frame 32 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } _root.reStage(); _root.ss.gotoAndPlay('tenk'); _root.score += 10000; _root.stage.gotoAndPlay('victory'); _root.ship.ship.gotoAndPlay('win'); stop(); } frame 34 { s = 1; while (nons >= s) { removeMovieClip(_root['ns' + s]); s += 1; } stopAllSounds(); _root.PS('go'); _root.bg.gotoAndStop(2); _root.ship.ship.gotoAndPlay('loss'); _root.stage.gotoAndPlay('gameover'); stop(); }




http://swfchan.com/53/262069/info.shtml
Created: 26/10 -2025 16:15:57 Last modified: 26/10 -2025 16:15:57 Server time: 05/12 -2025 07:55:24