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

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

Galactic Space Invaders.swf

This is the info page for
Flash #56242

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


Text
LOADING...

= 10 PTS

= 20 PTS

= 40 PTS

= ??? PTS

PLAY SPACE INVADERS

S

A

C

E

I

N

V

D

R

S

P

0

100

GAME OVER

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false; this.onEnterFrame = function () { sofar = this.getBytesLoaded(); total = this.getBytesTotal(); PcTxt.text = int((sofar / total) * 100) + "%"; if (sofar == total) { delete this.onEnterFrame; nextFrame(); } };
Instance of Symbol 6 MovieClip [Alien3] "Alien" in Frame 1
onClipEvent (enterFrame) { i = i + 0.25; i = i % 2; gotoAndStop(i + 1); }
Frame 2
String.prototype.addCommas = function () { var len = this.length; var str = ""; var i = 0; while (i <= len) { str = this.charAt(len - i) + str; if ((((i % 3) == 0) && (i > 0)) && (i < len)) { str = "," + str; } i++; } return(str); }; so = SharedObject.getLocal("neaveInvaders"); if (!playerName.length) { playerName = so.data.playerName; } score = 0; gameOver = true; this.onKeyDown = function () { if (Over._visible) { return(undefined); } if (Key.isDown(83)) { if (_xscale == 100) { _yscale = 50; _xscale = 50; _x = 125; _y = 100; } else { _yscale = 100; _xscale = 100; _y = 0; _x = 0; } } if (gameOver) { return(undefined); } if (Key.isDown(80)) { if (Quitter._visible) { return(undefined); } paused = !paused; if (paused) { Pause.play(); } else { Pause.stop(); } Pause._visible = paused; Alien._alpha = (paused ? 15 : 100); if (UFO._visible) { SndUFO.gotoAndStop(Number(!paused) + 1); } } if (Key.isDown(81)) { Pause.stop(); Pause._visible = false; Quitter._visible = (paused = true); Alien._alpha = 15; SndUFO.gotoAndStop(1); } if (!Quitter._visible) { return(undefined); } if (Key.isDown(78)) { Quitter._visible = (paused = false); Alien._alpha = 100; if (UFO._visible) { SndUFO.gotoAndStop(2); } } if (Key.isDown(89)) { gotoAndStop (2); } }; Key.addListener(this);
Frame 3
function setLives() { var i = 8; while (i > 0) { _root["Life" + i]._visible = lives >= i; i--; } } function setScore() { ScoreTxt.text = String(score).addCommas(); } function resetLaser() { tellTarget ("Laser") { _visible = false; _y = yPos; }; } function makeAlien(i) { Alien.createEmptyMovieClip(i, i); Alien[i]._y = ((i * 30) + playTop) + 1; var n = Math.ceil((i / 2) + 1); switch (n) { case 1 : var val = 40; break; case 2 : var val = 20; break; default : var val = 10; } var j = 0; while (j < 11) { Alien[i].attachMovie("Alien" + n, j, j, {_x:((j * 30) + playMin) + 83, val:val}); j++; } } rnd = Math.random; lives = 3; setLives(); score = 0; moveDown = false; setScore(); playMax = 480; playMin = 20; playTop = 64; playBtm = 176;
Instance of Symbol 50 MovieClip "Pause" in Frame 3
onClipEvent (load) { stop(); _visible = false; }
Instance of Symbol 52 MovieClip "Quitter" in Frame 3
onClipEvent (load) { stop(); _visible = false; }
Instance of Symbol 65 MovieClip "Base" in Frame 3
onClipEvent (enterFrame) { if (((_root.paused || (_root.newLife)) || (_root.gameOver)) || (_currentframe > 1)) { return(undefined); } if (Key.isDown(39) && (_x < 480)) { _x = (_x + 6); } else if (Key.isDown(37) && (_x > 20)) { _x = (_x - 6); } if (Key.isDown(32) && (!_root.Laser._visible)) { _root.SndFire.play(); _root.Laser._x = _x; _root.Laser._y = _root.Laser.yPos; _root.Laser._visible = true; } }
Instance of Symbol 84 MovieClip "Fire1" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 84 MovieClip "Fire2" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 84 MovieClip "Fire3" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 88 MovieClip "Fire4" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 89 MovieClip "Laser" in Frame 3
onClipEvent (load) { _visible = false; yPos = _y; } onClipEvent (enterFrame) { if (_root.paused) { return(undefined); } if (_visible) { if (_y < 50) { _visible = false; } _y = (_y - 12); } }
Frame 9
i = 5; this.onEnterFrame = function () { i--; makeAlien(i); if (!i) { delete this.onEnterFrame; } };
Instance of Symbol 109 MovieClip "UFO" in Frame 9
onClipEvent (load) { rnd = Math.random; dir = 1; } onClipEvent (enterFrame) { if (_root.paused || (_root.newLife)) { return(undefined); } if (_visible) { if (_currentframe == 1) { if ((_x > 550) || (_x < -50)) { _visible = false; _root.SndUFO.gotoAndStop(1); } _x = (_x + (dir * 3)); } } else if ((rnd() < 0.002) && (_root.Alien[1]._y > 108)) { dir = (int(rnd() * 2) * 2) - 1; _x = (250 - (dir * 300)); _visible = true; _root.SndUFO.gotoAndStop(2); } }
Frame 23
stop(); dir = 4; dead = (time = (tonePos = 0)); paused = (gameOver = (newLife = false)); if (playTop < playBtm) { playTop = playTop + 14; } speed = (playTop + 120) * 2; this.onEnterFrame = function () { if (paused || (newLife)) { return(undefined); } for (var i in Alien) { for (var j in Alien[i]) { var A = Alien[i][j]; if ((typeof(A) == "movieclip") && (A.hitTest(Laser))) { Explode._x = Number(A._x) + Number(A._parent._x); Explode._y = Number(A._y) + Number(A._parent._y); Explode.gotoAndPlay(2); score = score + A.val; setScore(); dead++; A.removeMovieClip(); resetLaser(); break; } } } if (Laser._visible) { for (var i in Brk) { var B = Brk[i]; if (B._visible) { if (B.hitTest(Laser)) { if (B._currentframe == 4) { B._visible = false; } else { B.nextFrame(); } resetLaser(); break; } } } } if (UFO._visible && (UFO._currentframe == 1)) { if (UFO.hitTest(Laser)) { SndUFO.gotoAndStop(1); UFO.gotoAndPlay(2); resetLaser(); } } rate = (1000 - speed) - (dead * 4); if (rate < 0) { rate = 0; } var n = 4; while (n > 0) { var F = _root["Fire" + n]; if (F._visible) { with (F) { if (n < 4) { _y = _y + 6; } if (_y > 390) { _visible = false; } } if (F._y > 275) { for (var i in Brk) { var B = Brk[i]; if (B._visible) { if (B.hitTest(F)) { F._visible = false; if (B._currentframe == 4) { B._visible = false; } else { B.nextFrame(); } break; } } } if (Base.hitTest(F)) { F._visible = (Laser._visible = (UFO._visible = false)); resetLaser(); UFO.gotoAndStop(1); SndUFO.gotoAndStop(1); var n = 4; while (n > 0) { _root["Fire" + n]._visible = false; n--; } Base.gotoAndPlay(2); newLife = true; lives--; if (!lives) { gameOver = true; delete this.onEnterFrame; gotoAndStop (24); return(undefined); } } } } if (((rate + 8) * rnd()) < 4) { var j = int(rnd() * 11); for (var i in Alien) { var A = Alien[i][j]; if (((typeof(A) == "movieclip") && (A._visible)) && (!F._visible)) { F._x = Number(A._x) + Number(A._parent._x); F._y = (Number(A._y) + Number(A._parent._y)) + 16; F._visible = true; if (n == 4) { F.gotoAndPlay(2); } break; } } } n--; } if ((getTimer() - time) < rate) { return(undefined); } time = getTimer(); Tone.gotoAndStop(tonePos + 2); tonePos++; tonePos = tonePos % 4; xMax = playMin; xMin = playMax; allGone = true; for (var i in Alien) { if (moveDown) { Alien[i]._y = Alien[i]._y + 14; } else { Alien[i]._x = Alien[i]._x + dir; } for (var j in Alien[i]) { if (typeof(Alien[i][j]) != "movieclip") { continue; } allGone = false; Alien[i][j].nextFrame(); var x = (Number(Alien[i]._x) + Number(Alien[i][j]._x)); if (x < xMin) { xMin = x; } if (x > xMax) { xMax = x; } if (moveDown) { if ((Number(Alien[i]._y) + Number(Alien[i][j]._y)) > 320) { lives = 0; newLife = (gameOver = true); SndUFO.gotoAndStop(1); Base.gotoAndPlay(2); delete this.onEnterFrame; gotoAndStop (24); return(undefined); } } } } if ((!moveDown) && ((xMax > playMax) || (xMin < playMin))) { dir = dir * -1; speed = speed + 30; moveDown = true; } else { moveDown = false; } if (allGone) { score = score + 1000; setScore(); if (lives < 9) { lives++; setLives(); } SndUFO.gotoAndStop(1); delete this.onEnterFrame; gotoAndPlay (4); } };
Symbol 2 MovieClip [Alien1] Frame 1
stop();
Symbol 2 MovieClip [Alien1] Frame 3
gotoAndStop (1);
Symbol 4 MovieClip [Alien2] Frame 1
stop();
Symbol 4 MovieClip [Alien2] Frame 3
gotoAndStop (1);
Symbol 6 MovieClip [Alien3] Frame 1
stop();
Symbol 6 MovieClip [Alien3] Frame 3
gotoAndStop (1);
Symbol 20 MovieClip Frame 70
stop();
Symbol 25 Button
on (release) { play(); }
Symbol 39 MovieClip Frame 11
stopAllSounds();
Symbol 39 MovieClip Frame 100
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 2
_root.setLives();
Symbol 65 MovieClip Frame 26
if (_root.gameOver) { stop(); }
Symbol 65 MovieClip Frame 36
_x = 85;
Symbol 65 MovieClip Frame 45
_root.newLife = false;
Symbol 70 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
play();
Symbol 88 MovieClip Frame 6
if (_visible) { if (_root.paused) { gotoAndPlay (5); } else { _y = (_y + 32); gotoAndPlay (2); } } else { gotoAndStop (1); }
Symbol 98 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
stop(); _visible = false;
Symbol 109 MovieClip Frame 2
ufoScore = (int(Math.random() * 6) * 50) + 50; _root.score = _root.score + ufoScore; _root.setScore();
Symbol 111 MovieClip Frame 32
stop();

Library Items

Symbol 1 GraphicUsed by:2 20
Symbol 2 MovieClip [Alien1]Uses:1
Symbol 3 GraphicUsed by:4 20
Symbol 4 MovieClip [Alien2]Uses:3
Symbol 5 GraphicUsed by:6 20
Symbol 6 MovieClip [Alien3]Uses:5Used by:Timeline
Symbol 7 GraphicUsed by:Timeline
Symbol 8 FontUsed by:9
Symbol 9 EditableTextUses:8Used by:Timeline
Symbol 10 FontUsed by:11 22 26 27 28 29 30 31 32 33 34 35 36 40 108 110
Symbol 11 TextUses:10Used by:Timeline
Symbol 12 FontUsed by:13 14 15 19
Symbol 13 TextUses:12Used by:20
Symbol 14 TextUses:12Used by:20
Symbol 15 TextUses:12Used by:20
Symbol 16 GraphicUsed by:20 109
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:20 109
Symbol 19 TextUses:12Used by:20
Symbol 20 MovieClipUses:5 13 3 14 1 15 16 18 19Used by:Timeline
Symbol 21 GraphicUsed by:25
Symbol 22 TextUses:10Used by:25
Symbol 23 GraphicUsed by:25
Symbol 24 SoundUsed by:25 109
Symbol 25 ButtonUses:21 22 23 24Used by:Timeline
Symbol 26 TextUses:10Used by:39
Symbol 27 TextUses:10Used by:39
Symbol 28 TextUses:10Used by:39
Symbol 29 TextUses:10Used by:39
Symbol 30 TextUses:10Used by:39
Symbol 31 TextUses:10Used by:39
Symbol 32 TextUses:10Used by:39
Symbol 33 TextUses:10Used by:39
Symbol 34 TextUses:10Used by:39
Symbol 35 TextUses:10Used by:39
Symbol 36 TextUses:10Used by:39
Symbol 37 SoundUsed by:39
Symbol 38 SoundUsed by:39
Symbol 39 MovieClipUses:26 27 28 29 30 31 32 33 34 35 36 37 38Used by:Timeline
Symbol 40 EditableTextUses:10Used by:Timeline
Symbol 41 GraphicUsed by:47 65
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:42 43 44 45Used by:47 65
Symbol 47 MovieClipUses:41 46Used by:Timeline
Symbol 48 GraphicUsed by:Timeline
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 GraphicUsed by:65
Symbol 54 GraphicUsed by:65
Symbol 55 SoundUsed by:65
Symbol 56 GraphicUsed by:65
Symbol 57 GraphicUsed by:65
Symbol 58 GraphicUsed by:65
Symbol 59 GraphicUsed by:65
Symbol 60 GraphicUsed by:65
Symbol 61 GraphicUsed by:65
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:41 46 53 54 55 56 57 58 59 60 61 62 63 64Used by:Timeline
Symbol 66 GraphicUsed by:70 89 111  Timeline
Symbol 67 GraphicUsed by:70
Symbol 68 GraphicUsed by:70
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:66 67 68 69Used by:81
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:71 72 73 74Used by:81
Symbol 76 GraphicUsed by:80
Symbol 77 GraphicUsed by:80
Symbol 78 GraphicUsed by:80
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:76 77 78 79Used by:81
Symbol 81 MovieClipUses:70 75 80Used by:Timeline
Symbol 82 MovieClipUsed by:Timeline
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:Timeline
Symbol 85 GraphicUsed by:88
Symbol 86 GraphicUsed by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:85 86 87Used by:Timeline
Symbol 89 MovieClipUses:66Used by:Timeline
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:Timeline
Symbol 92 GraphicUsed by:98
Symbol 93 SoundUsed by:98
Symbol 94 GraphicUsed by:98
Symbol 95 GraphicUsed by:98
Symbol 96 GraphicUsed by:98
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:92 93 94 95 96 97Used by:Timeline
Symbol 99 SoundUsed by:103
Symbol 100 SoundUsed by:103
Symbol 101 SoundUsed by:103
Symbol 102 SoundUsed by:103
Symbol 103 MovieClipUses:99 100 101 102Used by:Timeline
Symbol 104 SoundUsed by:105
Symbol 105 MovieClipUses:104Used by:Timeline
Symbol 106 SoundUsed by:107
Symbol 107 MovieClipUses:106Used by:Timeline
Symbol 108 EditableTextUses:10Used by:109
Symbol 109 MovieClipUses:16 18 108 24Used by:Timeline
Symbol 110 TextUses:10Used by:111
Symbol 111 MovieClipUses:66 110Used by:Timeline

Instance Names

"PcTxt"Frame 1Symbol 9 EditableText
"Alien"Frame 1Symbol 6 MovieClip [Alien3]
"Life1"Frame 3Symbol 47 MovieClip
"Life2"Frame 3Symbol 47 MovieClip
"Life3"Frame 3Symbol 47 MovieClip
"Life4"Frame 3Symbol 47 MovieClip
"Life5"Frame 3Symbol 47 MovieClip
"Life6"Frame 3Symbol 47 MovieClip
"Life7"Frame 3Symbol 47 MovieClip
"Life8"Frame 3Symbol 47 MovieClip
"Pause"Frame 3Symbol 50 MovieClip
"Quitter"Frame 3Symbol 52 MovieClip
"Base"Frame 3Symbol 65 MovieClip
"Brk"Frame 3Symbol 81 MovieClip
"Alien"Frame 3Symbol 82 MovieClip
"Fire1"Frame 3Symbol 84 MovieClip
"Fire2"Frame 3Symbol 84 MovieClip
"Fire3"Frame 3Symbol 84 MovieClip
"Fire4"Frame 3Symbol 88 MovieClip
"Laser"Frame 3Symbol 89 MovieClip
"Explode"Frame 3Symbol 98 MovieClip
"Tone"Frame 3Symbol 103 MovieClip
"SndFire"Frame 3Symbol 105 MovieClip
"SndUFO"Frame 3Symbol 107 MovieClip
"UFO"Frame 9Symbol 109 MovieClip
"Over"Frame 24Symbol 111 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$Zl$Ze3IJVm6FcNiLGCZW0I2p/."
ExportAssets (56)Timeline Frame 1Symbol 2 as "Alien1"
ExportAssets (56)Timeline Frame 1Symbol 4 as "Alien2"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Alien3"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Alien3"

Labels

"newGame"Frame 4
"gameOver"Frame 24

Dynamic Text Variables

scoreSymbol 40 EditableText"0"
ufoScoreSymbol 108 EditableText"100"




http://swfchan.com/12/56242/info.shtml
Created: 19/4 -2019 14:59:20 Last modified: 19/4 -2019 14:59:20 Server time: 05/11 -2024 08:24:47