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

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

Space Invaders (Classic).swf

This is the info page for
Flash #42284

(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

HIGH SCORES

SPACE

INVADERS

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="11" COLOR="#33FF00">www.neave.com</FONT></P>

The PCman Website - fun, free games-web tools-freeware-MP3 stuff!

The PCman Website - fun, free games-web tools-freeware-MP3 stuff!

SCORE

LIVES

PAUSED

QUIT GAME? Y/N

100

GAME OVER

ENTER YOUR NAME:

OK

LAST 10

NEXT 10

NEW GAME

NAME

SCORE

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 12 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 44 MovieClip "Pause" in Frame 3
onClipEvent (load) { stop(); _visible = false; }
Instance of Symbol 46 MovieClip "Quitter" in Frame 3
onClipEvent (load) { stop(); _visible = false; }
Instance of Symbol 50 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 68 MovieClip "Fire1" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 68 MovieClip "Fire2" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 68 MovieClip "Fire3" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 69 MovieClip "Fire4" in Frame 3
onClipEvent (load) { _visible = false; }
Instance of Symbol 70 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 83 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); } };
Frame 25
function showScores() { var i = 10; while (i > 0) { var n = scoreboard["name" + (page + i)]; var s = scoreboard["score" + (page + i)]; var L = this["Line" + i]; L.RankTxt.text = (page + i) + "."; L.NameTxt.text = (n.length ? (n.toUpperCase()) : "-"); L.ScoreTxt.text = (s.length ? (s.addCommas()) : "-"); L.RankTxt.textColor = (L.NameTxt.textColor = (L.ScoreTxt.textColor = ((playerName.length && (n.toLowerCase() == playerName.toLowerCase())) ? 3407616 : 16777215))); L._visible = true; Loading._visible = false; i--; } } stop(); page = 0; maxScore = 100; BackBtn._visible = (NextBtn._visible = false); scoreboard = new LoadVars(); if (score) { scoreboard.score = score; scoreboard.name = (playerName.length ? (playerName.toLowerCase()) : ""); } scoreboard.game = "invaders"; scoreboard.sendAndLoad("/media/flash_space_invaders/fsi.php", scoreboard, "POST"); scoreboard.onLoad = function (success) { if (success) { if (Boolean(scoreboard.success)) { NextBtn._visible = true; showScores(); } else { Loading.errorMsg = scoreboard.errorMsg.toUpperCase(); Loading.gotoAndStop(2); } } else { Loading.errorMsg = "COULD NOT LOAD SCORES."; Loading.gotoAndStop(2); } }; score = 0;
Instance of Symbol 83 MovieClip "UFO" in Frame 25
onClipEvent (load) { rnd = Math.random; dir = 1; } onClipEvent (enterFrame) { if (!_visible) { dir = (int(rnd() * 2) * 2) - 1; _x = (250 - (dir * 300)); _visible = true; } _x = (_x + (dir * 3)); if ((_x > 550) || (_x < -50)) { _visible = false; } }
Symbol 4 MovieClip [Alien1] Frame 1
stop();
Symbol 4 MovieClip [Alien1] Frame 3
gotoAndStop (1);
Symbol 8 MovieClip [Alien2] Frame 1
stop();
Symbol 8 MovieClip [Alien2] Frame 3
gotoAndStop (1);
Symbol 12 MovieClip [Alien3] Frame 1
stop();
Symbol 12 MovieClip [Alien3] Frame 3
gotoAndStop (1);
Symbol 22 MovieClip Frame 63
stop();
Symbol 25 Button
on (release) { play(); }
Symbol 27 Button
on (release) { gotoAndStop (25); }
Symbol 37 Button
on (press) { getURL ("http://www.thepcmanwebsite.com/", "_top"); }
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
_root.setLives();
Symbol 50 MovieClip Frame 26
if (_root.gameOver) { stop(); }
Symbol 50 MovieClip Frame 36
_x = 85;
Symbol 50 MovieClip Frame 45
_root.newLife = false;
Symbol 54 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
play();
Symbol 69 MovieClip Frame 6
if (_visible) { if (_root.paused) { gotoAndPlay (5); } else { _y = (_y + 32); gotoAndPlay (2); } } else { gotoAndStop (1); }
Symbol 72 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop(); _visible = false;
Symbol 83 MovieClip Frame 2
ufoScore = (int(Math.random() * 6) * 50) + 50; _root.score = _root.score + ufoScore; _root.setScore();
Symbol 87 Button
on (release, keyPress "<Enter>") { tellTarget ("/") { so.data.playerName = playerName; nextFrame(); }; }
Symbol 89 MovieClip Frame 34
stop(); Selection.setFocus(NameTxt); Selection.setSelection(NameTxt.length, NameTxt.length); NameTxt.restrict = "A-Z 0-9.:\\-";
Symbol 91 Button
on (press) { page = page - 10; if (page < 0) { page = 0; } if (page < 10) { BackBtn._visible = false; } NextBtn._visible = true; showScores(); }
Symbol 93 Button
on (press) { page = page + 10; if (page > maxScore) { page = maxScore; } if (page > (maxScore - 20)) { NextBtn._visible = false; } BackBtn._visible = true; showScores(); }
Symbol 95 Button
on (release) { gotoAndStop (2); }
Symbol 101 MovieClip Frame 1
stop(); errorMsg = "";
Instance of Symbol 12 MovieClip [Alien3] "Alien" in Symbol 101 MovieClip Frame 1
onClipEvent (enterFrame) { i = i + 0.25; i = i % 2; gotoAndStop(i + 1); }

Library Items

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

Instance Names

"PcTxt"Frame 1Symbol 15 EditableText
"Alien"Frame 1Symbol 12 MovieClip [Alien3]
"ScoreTxt"Frame 3Symbol 39 EditableText
"Life1"Frame 3Symbol 42 MovieClip
"Life2"Frame 3Symbol 42 MovieClip
"Life3"Frame 3Symbol 42 MovieClip
"Life4"Frame 3Symbol 42 MovieClip
"Life5"Frame 3Symbol 42 MovieClip
"Life6"Frame 3Symbol 42 MovieClip
"Life7"Frame 3Symbol 42 MovieClip
"Life8"Frame 3Symbol 42 MovieClip
"Pause"Frame 3Symbol 44 MovieClip
"Quitter"Frame 3Symbol 46 MovieClip
"Base"Frame 3Symbol 50 MovieClip
"Brk"Frame 3Symbol 65 MovieClip
"Alien"Frame 3Symbol 66 MovieClip
"Fire1"Frame 3Symbol 68 MovieClip
"Fire2"Frame 3Symbol 68 MovieClip
"Fire3"Frame 3Symbol 68 MovieClip
"Fire4"Frame 3Symbol 69 MovieClip
"Laser"Frame 3Symbol 70 MovieClip
"Explode"Frame 3Symbol 72 MovieClip
"Tone"Frame 3Symbol 77 MovieClip
"SndFire"Frame 3Symbol 78 MovieClip
"SndUFO"Frame 3Symbol 80 MovieClip
"UFO"Frame 9Symbol 83 MovieClip
"Over"Frame 24Symbol 89 MovieClip
"UFO"Frame 25Symbol 83 MovieClip
"BackBtn"Frame 25Symbol 91 Button
"NextBtn"Frame 25Symbol 93 Button
"NextBtn"Frame 25Symbol 95 Button
"Line1"Frame 25Symbol 99 MovieClip
"Line2"Frame 25Symbol 99 MovieClip
"Line3"Frame 25Symbol 99 MovieClip
"Line4"Frame 25Symbol 99 MovieClip
"Line5"Frame 25Symbol 99 MovieClip
"Line6"Frame 25Symbol 99 MovieClip
"Line7"Frame 25Symbol 99 MovieClip
"Line8"Frame 25Symbol 99 MovieClip
"Line9"Frame 25Symbol 99 MovieClip
"Line10"Frame 25Symbol 99 MovieClip
"Loading"Frame 25Symbol 101 MovieClip
"NameTxt"Symbol 89 MovieClip Frame 33Symbol 88 EditableText
"RankTxt"Symbol 99 MovieClip Frame 1Symbol 96 EditableText
"ScoreTxt"Symbol 99 MovieClip Frame 1Symbol 97 EditableText
"NameTxt"Symbol 99 MovieClip Frame 1Symbol 98 EditableText
"Alien"Symbol 101 MovieClip Frame 1Symbol 12 MovieClip [Alien3]

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$vb$fyle4uRvI/6Nj1VYPkUEd/."
ExportAssets (56)Timeline Frame 1Symbol 4 as "Alien1"
ExportAssets (56)Timeline Frame 1Symbol 8 as "Alien2"
ExportAssets (56)Timeline Frame 1Symbol 12 as "Alien3"
ExportAssets (56)Timeline Frame 1Symbol 12 as "Alien3"
ExportAssets (56)Timeline Frame 25Symbol 12 as "Alien3"

Labels

"newGame"Frame 4
"gameOver"Frame 24

Dynamic Text Variables

ufoScoreSymbol 81 EditableText"100"
_root.playerNameSymbol 88 EditableText""
errorMsgSymbol 100 EditableText""




http://swfchan.com/9/42284/info.shtml
Created: 10/5 -2019 00:43:47 Last modified: 10/5 -2019 00:43:47 Server time: 21/12 -2024 10:43:35