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

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

Homeland Defense.swf

This is the info page for
Flash #42549

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


Text
P l a y

H o m e l a n d   D e f e n s e

C o n t r o l s

<P ALIGN="LEFT"><FONT COLOR="#123456" FACE="Arial" SIZE="12"><A HREF="http://www.sothink.com/swfquicker/" TARGET="">Powered by Sothink</A></FONT></P>

Score

Life

P-laser

G a m e   O v e r

S u b m i t   S c o r e

U s e   t h e   r i g h t   a n d   l e f t   k e y s   t o   r o t a t e   a n d   s p a c e   t o   f i r e ( h o l d   f o r   a u t o - f i r e ) .
C o n t r o l   f i r e s   t h e   s u p e r   p h o t o n   r a y ( i f   a v a i l a b l e ) .

S h o o t   t h e   d r o p p i n g   b o m b s   a n d   d e f e n d   t h e   h o m e l a n d .   N u c l e a r   m i s s i l e s ( t h e
l o n g   m i s s i l e s )   t h a t   c o m e   a r o u n d   e v e r y   o n c e   i n   a   w h i l e   a r e   v e r y   b a d .   I f   t h e y
h i t ,   i t   i s   i n s t a n t   d e a t h .

B o n u s   l i f e   a n d   p h o t o n   l a s e r s   a r e   a w a r d e d   e v e r y   6 5 0 0   p t s   a n d   t h e
b o m b s   d o   g e t   f a s t e r   a s   t h e   g a m e   g o e s   o n .

P e r i o d i c a l l y   t h e   p o w e r u p   w i l l   a p p e a r ,   s h o o t   i t   t o   g e t   b i g   s h o t s   f o r   a   w h i l e .

P l a y e r

Score


ActionScript [AS1/AS2]

Frame 1
Stage.showMenu = false; jvs1.onRelease = function () { getURL ("http://www.java-gaming.com", "_blank"); }; stop(); ctrbutton.onRelease = function () { gotoAndPlay (17); }; playbutton.onRelease = function () { gotoAndPlay (2); }; hscoresbutton.onRelease = function () { gotoAndPlay (18); }; fncbutton.onRelease = function () { getURL ("http://www.flashninjaclan.com", "_blank"); };
Frame 2
stop(); playsounds = new Sound(this); playsounds.attachSound("music1"); playsounds.start(0, 20000); stop(); numwmd = 5; i = 2; while (i <= numwmd) { wmd.duplicateMovieClip("wmd" + i, i + 1000, wmd); i++; } life = 5; score = 0; lastgain = 0; photon = 1; bigshots = 0; stop();
Instance of Symbol 36 MovieClip "gun" in Frame 2
onClipEvent (load) { _root.bullets._visible = false; _root.bigshot._visible = false; photonshot = 0; bigshotcount = 1; bulletcount = 1; photoncount = 1; _root.photonlaser._visible = false; } onClipEvent (enterFrame) { if (Key.isDown(39)) { if (_rotation < 80) { _rotation = (_rotation + 15); } } if (Key.isDown(37)) { if (_rotation > -80) { _rotation = (_rotation - 15); } } if (Key.isDown(32)) { if (_root.bigshots > 0) { _root.bigshots--; bigshotcount++; if ((bigshotcount % 3) == 0) { playsounds = new Sound(this); playsounds.attachSound("GUN1"); playsounds.start(0, 1); _root.bigshot.duplicateMovieClip("bigshot" + bigshotcount, bigshotcount); _root["bigshot" + bigshotcount]._visible = true; } } else { bulletcount++; if ((bulletcount % 3) == 0) { playsounds = new Sound(this); playsounds.attachSound("GUN1"); playsounds.start(0, 1); _root.bullets.duplicateMovieClip("bullets" + bulletcount, bulletcount); _root["bullets" + bulletcount]._visible = true; } } } if (Key.isDown(17)) { if ((_root.photon > 0) && ((photonshot % 3) == 0)) { playlaser = new Sound(this); playlaser.attachSound("Laser"); playlaser.start(0, 1); _root.photonlaser.duplicateMovieClip("photonlaser" + photoncount, photoncount); _root["photonlaser" + photoncount]._visible = true; _root.photon--; } photonshot++; } needgain = _root.lastgain + 6900; if (_root.score > needgain) { _root.lastgain = _root.score; _root.life++; _root.photon++; } }
Instance of Symbol 38 MovieClip "nuke" in Frame 2
onClipEvent (load) { function reset() { this._x = random(550); this._y = -700; speed = 8; this.gotoAndPlay(1); } reset(); } onClipEvent (enterFrame) { this._y = this._y + speed; if (this._y > 330) { _root.life = 0; this.removeMovieClip(); } else if ((this._y > 295) && ((this._x > 159) && (this._x < 300))) { _root.life = 0; this.removeMovieClip(); } }
Instance of Symbol 41 MovieClip "wmd" in Frame 2
onClipEvent (load) { function reset() { randval = _root.score / 4000; this._y = -30; this._x = random(551); speed = 5 + random(randval); this.gotoAndStop(1); lifedes = 1; } reset(); } onClipEvent (enterFrame) { this._y = this._y + speed; if (this._y > 430) { reset(); } if (this._y > 340) { if (lifedes == 1) { _root.life = _root.life - 1; lifedes--; } this.gotoAndPlay(2); } else if ((this._y > 325) && ((this._x > 159) && (this._x < 333))) { if (lifedes == 1) { _root.life = _root.life - 1; lifedes--; } this.gotoAndPlay(2); } if (_root.life == 0) { _root.wmd.removeMovieClip(); _root.wmd1.removeMovieClip(); _root.wmd2.removeMovieClip(); _root.wmd3.removeMovieClip(); _root.wmd4.removeMovieClip(); _root.wmd5.removeMovieClip(); _root.wmd6.removeMovieClip(); _root.gotoAndPlay(5); } }
Instance of Symbol 44 MovieClip "bigshot" in Frame 2
onClipEvent (load) { shotMoveSpeed = 40; this._x = _root.gun._x + (60 * Math.sin(_root.gun._rotation * (Math.PI/180))); this._y = _root.gun._y - (60 * Math.cos(_root.gun._rotation * (Math.PI/180))); } onClipEvent (enterFrame) { if (_root.life == 0) { this.removeMovieClip(); } this._x = this._x + (shotMoveSpeed * Math.sin(_root.gun._rotation * (Math.PI/180))); this._y = this._y - (shotMoveSpeed * Math.cos(_root.gun._rotation * (Math.PI/180))); if ((this._x > 550) || (this._x < 0)) { this.removeMovieClip(); } if (this._y < -20) { this.removeMovieClip(); } if (this._name != "bigshot") { if (this.hitTest(_root.wmd)) { _root.score = _root.score + 100; _root.wmd.gotoAndPlay(2); } i = 1; while (i <= _root.numwmd) { if (this.hitTest(_root["wmd" + i])) { _root.score = _root.score + 100; _root["wmd" + i].gotoAndPlay(2); } i++; } if (this.hitTest(_root.nuke)) { _root.score = _root.score + 300; _root.nuke.gotoAndPlay(2); } if (this.hitTest(_root.powerup)) { _root.bigshots = _root.bigshots + 30; _root.powerup.reset(); } } }
Instance of Symbol 46 MovieClip "powerup" in Frame 2
onClipEvent (load) { function reset() { this._y = -600; this._x = random(550); speed = 9; this.gotoAndPlay(1); } reset(); } onClipEvent (enterFrame) { this._y = this._y + speed; if (this._y > 450) { reset(); } if (_root.life == 0) { this.removeMovieClip(); } }
Instance of Symbol 48 MovieClip "bullets" in Frame 2
onClipEvent (load) { shotMoveSpeed = 40; this._x = _root.gun._x + (60 * Math.sin(_root.gun._rotation * (Math.PI/180))); this._y = _root.gun._y - (60 * Math.cos(_root.gun._rotation * (Math.PI/180))); } onClipEvent (enterFrame) { if (_root.life == 0) { this.removeMovieClip(); } this._x = this._x + (shotMoveSpeed * Math.sin(_root.gun._rotation * (Math.PI/180))); this._y = this._y - (shotMoveSpeed * Math.cos(_root.gun._rotation * (Math.PI/180))); if ((this._x > 570) || (this._x < -20)) { this.removeMovieClip(); } if (this._y < 0) { this.removeMovieClip(); } if (this._name != "bullets") { if (this.hitTest(_root.wmd)) { _root.score = _root.score + 100; _root.wmd.gotoAndPlay(2); } i = 1; while (i <= _root.numwmd) { if (this.hitTest(_root["wmd" + i])) { _root.score = _root.score + 100; _root["wmd" + i].gotoAndPlay(2); } i++; } if (this.hitTest(_root.nuke)) { _root.score = _root.score + 300; _root.nuke.gotoAndPlay(2); } if (this.hitTest(_root.powerup)) { _root.bigshots = _root.bigshots + 30; _root.powerup.reset(); } } }
Instance of Symbol 50 MovieClip "photonlaser" in Frame 2
onClipEvent (load) { shotMoveSpeed = 40; this._x = _root.gun._x; this._y = _root.gun._y; } onClipEvent (enterFrame) { this._y = this._y - shotMoveSpeed; if (this._y < -30) { this.removeMovieClip(); } if (this._name != "photonlaser") { if (this.hitTest(_root.wmd)) { _root.score = _root.score + 100; _root.wmd.gotoAndPlay(2); } i = 1; while (i <= _root.numwmd) { if (this.hitTest(_root["wmd" + i])) { _root.score = _root.score + 100; _root["wmd" + i].gotoAndPlay(2); } i++; } if (this.hitTest(_root.nuke)) { _root.score = _root.score + 300; _root.nuke.gotoAndPlay(2); } } }
Frame 6
playsounds.stop(); playsounds1 = new Sound(this); playsounds1.attachSound("implosion"); playsounds1.start(0, 1);
Frame 16
stop(); ok2.onRelease = function () { score = _root.score; _root.thename = _root.scorename; _root.gameover = 1; };
Frame 17
stop(); ok1.onRelease = function () { gotoAndPlay (1); };
Frame 18
loadVariablesNum ("http://www.flashninjaclan.com/games/homedefense/scores.php", 0); stop(); ok3.onRelease = function () { gotoAndPlay (1); };
Symbol 16 MovieClip Frame 1
if (this.sessionstarted != 1) { this.arcade = new LoadVars(); this.sessionvars = new LoadVars(); this.arcade.gamename = "hdefense"; this.arcade.sessdo = "sessionstart"; this.arcade.sendAndLoad("arcade.php", sessionvars, "POST"); if (this.sessionvars.sessiontype != 2) { _root.is_a_challenge = 0; } else { _root.is_a_challenge = 1; } this.sessionstarted = 1; } if (_root.gameover == 1) { if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) { this.prequestvars = new LoadVars(); this.pranswer = new LoadVars(); this.prequestvars.gametime = this.sessionvars.gametime; this.prequestvars.fakekey = this.sessionvars.initbar; _root.score = int(Number(_root.score)); if (_root.score != 0) { this.prequestvars.score = _root.score; } else { this.prequestvars.score = -1; } this.prequestvars.id = this.sessionvars.lastid; this.prequestvars.sessdo = "permrequest"; this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey; this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST"); this.askpermission = 1; } if ((this.pranswer.validate == 1) && (this.finalsent != 1)) { this.burnscore = new LoadVars(); this.burnscore.microone = this.pranswer.microone; this.burnscore.gametime = this.prequestvars.gametime; this.burnscore.id = this.prequestvars.id; if (_root.score == 0) { this.burnscore.noscore = 1; } this.burnscore.sessdo = "burn"; this.burnscore.send("./arcade.php", "_self", "POST"); this.finalsent = 1; } }
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 3
this.reset(); stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 3
stop(); this.reset();
Symbol 50 MovieClip Frame 1
stop();

Library Items

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

Instance Names

"playbutton"Frame 1Symbol 8 Button
"ctrbutton"Frame 1Symbol 13 Button
"score"Frame 2Symbol 24 EditableText
"life"Frame 2Symbol 28 EditableText
"photon"Frame 2Symbol 32 EditableText
"building"Frame 2Symbol 34 MovieClip
"gun"Frame 2Symbol 36 MovieClip
"nuke"Frame 2Symbol 38 MovieClip
"wmd"Frame 2Symbol 41 MovieClip
"bigshot"Frame 2Symbol 44 MovieClip
"powerup"Frame 2Symbol 46 MovieClip
"bullets"Frame 2Symbol 48 MovieClip
"photonlaser"Frame 2Symbol 50 MovieClip
"ok2"Frame 16Symbol 56 Button
"ok1"Frame 17Symbol 63 Button
"players0"Frame 18Symbol 69 EditableText
"scores0"Frame 18Symbol 71 EditableText
"players1"Frame 18Symbol 73 EditableText
"scores1"Frame 18Symbol 75 EditableText
"players2"Frame 18Symbol 77 EditableText
"scores2"Frame 18Symbol 79 EditableText
"players3"Frame 18Symbol 81 EditableText
"scores3"Frame 18Symbol 83 EditableText
"players4"Frame 18Symbol 85 EditableText
"scores4"Frame 18Symbol 87 EditableText
"players5"Frame 18Symbol 89 EditableText
"scores5"Frame 18Symbol 91 EditableText
"players6"Frame 18Symbol 93 EditableText
"scores6"Frame 18Symbol 95 EditableText
"players7"Frame 18Symbol 97 EditableText
"scores7"Frame 18Symbol 99 EditableText
"players8"Frame 18Symbol 101 EditableText
"scores8"Frame 18Symbol 103 EditableText
"players9"Frame 18Symbol 105 EditableText
"scores9"Frame 18Symbol 107 EditableText
"ok3"Frame 18Symbol 108 Button

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "music1"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Laser"
ExportAssets (56)Timeline Frame 1Symbol 3 as "implosion"
ExportAssets (56)Timeline Frame 1Symbol 4 as "GUN1"
ExportAssets (56)Timeline Frame 1Symbol 5 as "explosion"

Dynamic Text Variables

scoreSymbol 24 EditableText""
lifeSymbol 28 EditableText""
photonSymbol 32 EditableText""
players0Symbol 69 EditableText""
scores0Symbol 71 EditableText""
players1Symbol 73 EditableText""
scores1Symbol 75 EditableText""
players2Symbol 77 EditableText""
scores2Symbol 79 EditableText""
players3Symbol 81 EditableText""
scores3Symbol 83 EditableText""
players4Symbol 85 EditableText""
scores4Symbol 87 EditableText""
players5Symbol 89 EditableText""
scores5Symbol 91 EditableText""
players6Symbol 93 EditableText""
scores6Symbol 95 EditableText""
players7Symbol 97 EditableText""
scores7Symbol 99 EditableText""
players8Symbol 101 EditableText""
scores8Symbol 103 EditableText""
players9Symbol 105 EditableText""
scores9Symbol 107 EditableText""




http://swfchan.com/9/42549/info.shtml
Created: 9/5 -2019 22:09:43 Last modified: 9/5 -2019 22:09:43 Server time: 04/05 -2024 05:22:23