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

A
Very
Merry Christmas!


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

Newgrounds Space Invaders.swf

This is the info page for
Flash #74662

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


Text
score:

tanks

Congratulations, you won a stupid
game!

Reepleh?

Reepleh?

Newgrounds Space
Invaders

Play

Play

Instructions

Instructions

You control the newgrounds
tank with the mouse and click
to fire. Stop the newgroundian
invaders before they reach
you!

Back

Back

Wow, you suck

ActionScript [AS1/AS2]

Frame 1
stop(); bombNum = 0; lives = 3; score = 0; speed = 10; _global.initAliens = function (mc) { var _local3 = mc; depth = 0; var _local2 = 0; while (_local2 < 3) { var _local1 = 0; while (_local1 < 10) { attachMovie(_local3, ((_local3 + _local2) + "_") + _local1, 100 + depth); _root[((_local3 + _local2) + "_") + _local1]._x = _local1 * 40; _root[((_local3 + _local2) + "_") + _local1]._y = (_local2 * 40) - 80; depth++; _local1++; } _local2++; } }; _global.moveAliens = function (mc, frame, alspeed) { _root.deadcount = 0; var i = 0; while (i < 3) { var j = 0; while (j < 10) { _root[((mc + i) + "_") + j]._x = _root[((mc + i) + "_") + j]._x + speed; if (_root[((mc + i) + "_") + j].hitTest(_root.defender)) { cleanup(mc); _root.gotoAndStop(8); } if (_root[((mc + i) + "_") + j] != null) { _root.deadcount++; } bulleti = 6; while ((--bulleti) > 0) { if (_root[((mc + i) + "_") + j].hittest(eval ("_root.bullet" + bulleti))) { _root[((mc + i) + "_") + j].removeMovieClip(); eval ("_root.bullet" + bulleti).removeMovieClip(); _root.score = _root.score + 1; } } if (_root[((mc + i) + "_") + j]._x < 0) { speed = alspeed; dropdown = true; break; } if (_root[((mc + i) + "_") + j]._x > Stage.width) { speed = -alspeed; dropdown = true; break; } j++; } i++; } if (dropdown) { var i = 0; while (i < 3) { var j = 0; while (j < 10) { _root[((mc + i) + "_") + j]._y = _root[((mc + i) + "_") + j]._y + 20; j++; } i++; } } dropdown = false; if (_root.deadcount == 0) { _root.bombspeed = 0; _root.gotoAndStop(frame); } }; _global.initBombs = function (bombspeed) { if (Math.random() < bombspeed) { attachMovie("bomb", "bomb" + bombNum, 200 + bombNum); eval ("_root.bomb" + bombNum)._x = random(700); eval ("_root.bomb" + bombNum)._y = 300 * Math.random(); bombNum++; if (bombNum > 10) { bombNum = 0; } } }; _global.moveBombs = function (mc) { var _local2 = _root; var bombi = 0; while (bombi < 11) { _local2["bomb" + bombi]._y = _local2["bomb" + bombi]._y + 5; if (_local2["bomb" + bombi].hittest(_local2.defender)) { _local2["bomb" + bombi].removeMovieClip(); _local2.lives = _local2.lives - 1; if (_local2.lives <= 0) { Mouse.show(); _local2.bombspeed = 0; _local2.gotoAndStop(8); var _local3 = 0; while (_local3 < 3) { var _local1 = 0; while (_local1 < 10) { _local2[((mc + _local3) + "_") + _local1]._visible = false; _local1++; } _local3++; } return; } } if (_local2["bomb" + bombi]._y > Stage.height) { _local2["bomb" + bombi].removeMovieClip(); } bombi++; } }; _global.cleanup = function (mc) { var _local3 = _root; _local3.bombspeed = 0; var _local2 = 0; while (_local2 < 3) { var _local1 = 0; while (_local1 < 10) { _local3[((mc + _local2) + "_") + _local1]._visible = false; _local1++; } _local2++; } }; Stage.showMenu = false;
Frame 2
stop(); bulletNum = 0; dropdown = false; speed = 10; _root.bombspeed = 0.1; initAliens("alien"); _root.onLoad = function () { Mouse.hide(); }; _root.onEnterFrame = function () { _root.defender._x = _root._xmouse; _root.defender._y = 385; var y = 0; while (y < 6) { eval ("_root.bullet" + y)._y = eval ("_root.bullet" + y)._y - 30; y++; } moveBombs("alien"); moveAliens("alien", 3, 10); initBombs(_root.bombspeed); }; _root.onMouseDown = function () { attachMovie("bullet", "bullet" + bulletNum, bulletNum); eval ("_root.bullet" + bulletNum)._x = _root.defender._x; eval ("_root.bullet" + bulletNum)._y = _root.defender._y; bulletNum++; if (bulletNum > 5) { bulletNum = 0; } };
Frame 3
stop(); bulletNum = 0; dropdown = false; speed = 15; _root.bombspeed = 0.1; initAliens("bug"); _root.onLoad = function () { Mouse.hide(); }; _root.onEnterFrame = function () { _root.defender._x = _root._xmouse; _root.defender._y = 385; var y = 0; while (y < 6) { eval ("_root.bullet" + y)._y = eval ("_root.bullet" + y)._y - 30; y++; } moveBombs("bug"); moveAliens("bug", 4, 15); initBombs(_root.bombspeed); }; _root.onMouseDown = function () { attachMovie("bullet", "bullet" + bulletNum, bulletNum); eval ("_root.bullet" + bulletNum)._x = _root.defender._x; eval ("_root.bullet" + bulletNum)._y = _root.defender._y; bulletNum++; if (bulletNum > 5) { bulletNum = 0; } };
Frame 4
stop(); stop(); bulletNum = 0; dropdown = false; speed = 20; _root.bombspeed = 0.1; initAliens("skull"); _root.onLoad = function () { Mouse.hide(); }; _root.onEnterFrame = function () { _root.defender._x = _root._xmouse; _root.defender._y = 385; var y = 0; while (y < 6) { eval ("_root.bullet" + y)._y = eval ("_root.bullet" + y)._y - 30; y++; } moveBombs("skull"); moveAliens("skull", 5, 20); initBombs(_root.bombspeed); }; _root.onMouseDown = function () { attachMovie("bullet", "bullet" + bulletNum, bulletNum); eval ("_root.bullet" + bulletNum)._x = _root.defender._x; eval ("_root.bullet" + bulletNum)._y = _root.defender._y; bulletNum++; if (bulletNum > 5) { bulletNum = 0; } };
Frame 5
stop();
Symbol 53 Button
on (release) { getURL ("http://www.newgrounds.com", "_blank"); }
Symbol 62 Button
on (release) { _root.gotoAndStop(6); }
Symbol 64 MovieClip Frame 1
function timerHandler() { var _local2 = this; if (!loadingComplete) { var _local3 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * _local3; if (_local3 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop ("loaded"); } return; } } else { dt = getTimer() - time; time = time + dt; frameAccum = frameAccum + dt; var _local1 = 0; while ((frameAccum >= FRAME_TIME) && (_local1 < MAX_FRAME_SKIP)) { advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(_local2, false, false); } (frameAccum = frameAccum - FRAME_TIME); _local1++; } updateAfterEvent(); } } function advanceFrame(clip, recurse, loop) { var _local1 = clip; var _local2 = loop; var _local3 = recurse; if (!_local1) { } else { _local1.stop(); if (_local1._currentframe == _local1._totalframes) { if (_local2) { _local1.gotoAndStop(1); } } else { _local1.nextFrame(); } if (_local3) { for (childName in _local1) { if (typeof(_local1[childName]) == "movieclip") { advanceFrame(_local1[childName], _local3, _local2); } } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.3333333333333; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler();
Symbol 64 MovieClip Frame 2
stop();
Symbol 76 Button
on (release) { _root.lives = 3; _root.score = 0; _root.gotoAndStop(2); }
Symbol 82 Button
on (release) { gotoAndStop (2); }
Symbol 86 Button
on (release) { nextFrame(); }
Symbol 91 Button
on (release) { prevFrame(); }

Library Items

Symbol 1 Sound [song1]Used by:Timeline
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip [alien]Uses:2
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6
Symbol 6 MovieClip [bug]Uses:5
Symbol 7 BitmapUsed by:8
Symbol 8 GraphicUses:7Used by:9
Symbol 9 MovieClip [skull]Uses:8
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip [bullet]Uses:10
Symbol 12 GraphicUsed by:13 64
Symbol 13 MovieClip [bomb]Uses:12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 GraphicUsed by:64
Symbol 17 GraphicUsed by:18 53
Symbol 18 MovieClipUses:17Used by:64
Symbol 19 GraphicUsed by:64
Symbol 20 GraphicUsed by:64
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:52
Symbol 24 GraphicUsed by:52
Symbol 25 GraphicUsed by:26 27
Symbol 26 MovieClipUses:25Used by:52
Symbol 27 MovieClipUses:25Used by:52
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:50
Symbol 30 GraphicUsed by:34
Symbol 31 GraphicUsed by:34
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:34 37
Symbol 34 MovieClipUses:30 31 33Used by:48
Symbol 35 GraphicUsed by:37
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:35 36 33Used by:48
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:41 44
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:38 39 40Used by:45
Symbol 42 GraphicUsed by:44
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:42 39 43Used by:45
Symbol 45 MovieClipUses:41 44Used by:48
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:48
Symbol 48 MovieClipUses:34 37 45 47Used by:49
Symbol 49 MovieClipUses:48Used by:50
Symbol 50 MovieClipUses:29 49Used by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:23 24 26 27 50 51Used by:64
Symbol 53 ButtonUses:17Used by:64
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:54 55Used by:64
Symbol 57 GraphicUsed by:62
Symbol 58 GraphicUsed by:62
Symbol 59 GraphicUsed by:62
Symbol 60 GraphicUsed by:62
Symbol 61 GraphicUsed by:62
Symbol 62 ButtonUses:57 58 59 60 61Used by:64
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:16 18 19 20 12 52 53 56 62 63Used by:Timeline
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:Timeline
Symbol 67 FontUsed by:68 69 70 71 72 73 74 77 78 79 80 83 84 87 88 89 92
Symbol 68 EditableTextUses:67Used by:Timeline
Symbol 69 EditableTextUses:67Used by:Timeline
Symbol 70 TextUses:67Used by:Timeline
Symbol 71 EditableTextUses:67Used by:Timeline
Symbol 72 TextUses:67Used by:Timeline
Symbol 73 TextUses:67Used by:76
Symbol 74 TextUses:67Used by:76
Symbol 75 GraphicUsed by:76
Symbol 76 ButtonUses:73 74 75Used by:Timeline
Symbol 77 EditableTextUses:67Used by:Timeline
Symbol 78 TextUses:67Used by:Timeline
Symbol 79 TextUses:67Used by:82
Symbol 80 TextUses:67Used by:82
Symbol 81 GraphicUsed by:82
Symbol 82 ButtonUses:79 80 81Used by:Timeline
Symbol 83 TextUses:67Used by:86
Symbol 84 TextUses:67Used by:86
Symbol 85 GraphicUsed by:86
Symbol 86 ButtonUses:83 84 85Used by:Timeline
Symbol 87 TextUses:67Used by:Timeline
Symbol 88 TextUses:67Used by:91
Symbol 89 TextUses:67Used by:91
Symbol 90 GraphicUsed by:91
Symbol 91 ButtonUses:88 89 90Used by:Timeline
Symbol 92 TextUses:67Used by:Timeline

Instance Names

"defender"Frame 2Symbol 66 MovieClip
"bar"Symbol 64 MovieClip Frame 1Symbol 18 MovieClip
"tankLogo"Symbol 64 MovieClip Frame 1Symbol 52 MovieClip
"loadingText"Symbol 64 MovieClip Frame 1Symbol 56 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "song1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "alien"
ExportAssets (56)Timeline Frame 1Symbol 6 as "bug"
ExportAssets (56)Timeline Frame 1Symbol 9 as "skull"
ExportAssets (56)Timeline Frame 1Symbol 11 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 13 as "bomb"
ExportAssets (56)Timeline Frame 1Symbol 1 as "song1"

Labels

"loaded"Symbol 64 MovieClip Frame 2

Dynamic Text Variables

scoreSymbol 68 EditableText""
livesSymbol 69 EditableText""
scoreSymbol 77 EditableText""




http://swfchan.com/15/74662/info.shtml
Created: 7/4 -2019 00:10:39 Last modified: 7/4 -2019 00:10:39 Server time: 23/12 -2024 01:37:46