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

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

- Martian Invasion -.swf

This is the info page for
Flash #76539

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


Text
Martian Invasion!

Start

Instructions

Credits

Invasion!

Invasion!

Menu

Menu

Menu

Enemies Defeated

shoot enemy
bombs to protect
your cannons

shoot enemy
ships to prevent
them from
dropping bombs!

Prevent Invasion!

Prevent Invasion!

Created By:

Music by:

Ryan A. Garcia

: Mushi Mushi :

Infected Mushrooms

ActionScript [AS1/AS2]

Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (load) { this.createTextField("textbox2", 1, 0, 0, 240, 78); textbox2.variable = "txtdisplay"; textbox2.selectable = false; myformat = new TextFormat(); myformat.color = 333; myformat.bold = true; myformat.font = "Sydnie"; } onClipEvent (enterFrame) { currentbytes = int(_root.getBytesLoaded() / 1000); totalbytes = int(_root.getBytesTotal() / 1000); percentbytes = int((currentbytes / totalbytes) * 100); textbox2.text = ((("Loading" + percentbytes) + "% of ") + totalbytes) + " kb"; textbox2.setTextFormat(myformat); if (percentbytes >= 100) { textbox2.text = "Loading Complete"; textbox2.setTextFormat(myformat); _root.gotoAndStop(); } }
Frame 121
Mouse.hide(); stopAllSounds();
Instance of Symbol 26 MovieClip in Frame 121
onClipEvent (enterFrame) { startDrag ("", true); }
Frame 122
Frame 123
removeMovieClip(gameOver); removeMovieClip(planes); removeMovieClip(skyline); removeMovieClip(bombs); removeMovieClip(flames); stop();
Frame 125
stop(); _root.createEmptyMovieClip("bullets", 10); bCount = 0; _root.createEmptyMovieClip("planes", 3); pCount = 0; _root.createEmptyMovieClip("bombs", 4); bmCount = 0; cannonEnterFrame = function () { var _local4 = _root._xmouse - this._x; var _local3 = _root._ymouse - this._y; this.ang = Math.atan2(_local3, _local4); if (this.ang > 0) { _local3 = 0; this.ang = Math.atan2(_local3, _local4); } this._rotation = this.ang * 57.2957795130823; if (bombs.hitTest(this._x, this._y, true)) { this.alive = false; numAlive--; if (numAlive == 0) { gameOver._visible = true; menu._visible = true; } delete this.onEnterFrame; } }; dofires = function () { if (cannon1.alive) { fireBullet(cannon1); } if (cannon2.alive) { fireBullet(cannon2); } if (cannon3.alive) { fireBullet(cannon3); } blaster.start(0, 0); }; _root.onMouseDown = function () { dofires(); bfire = setInterval(dofires, 170); }; _root.onMouseUp = function () { clearInterval(bfire); }; fireBullet = function (who) { var _local2 = "bullet" + bCount; bullets.attachMovie("bullet", _local2, bCount); bullets[_local2]._x = who._x + (Math.cos(who.ang) * 40); bullets[_local2]._y = who._y + (Math.sin(who.ang) * 40); bullets[_local2]._rotation = who._rotation; bullets[_local2].dx = Math.cos(who.ang) * 11; bullets[_local2].dy = Math.sin(who.ang) * 11; bullets[_local2].gotoAndStop((bCount % 2) + 1); who["muzzleFlash" + ((bCount % 2) + 1)].play(); bullets[_local2].onEnterFrame = function () { this._x = this._x + this.dx; this._y = this._y + this.dy; if (((this._x < -100) || (this._x > 650)) || (this._y < -100)) { this.removeMovieClip(); } }; bCount++; }; launchPlane = function () { var _local2 = "plane" + pCount; planes.attachMovie("plane", _local2, pCount); planes[_local2]._x = 600; planes[_local2]._y = (Math.random() * 200) + 20; planes[_local2].dx = -((Math.random() * 2) + 2); planes[_local2].dy = 0; planes[_local2]._yscale = -100; planes[_local2].gotoAndStop(1); planes[_local2].hit = 0; planes[_local2].onEnterFrame = function () { this._x = this._x + this.dx; this._y = this._y + this.dy; this._rotation = Math.atan2(this.dy, this.dx) * 57.2957795130823; if ((this._x < -100) || (this._y > 500)) { this.removeMovieClip(); } if (bullets.hitTest(this._x, this._y, true) && (this.hit < 5)) { this.hit++; this.gotoAndStop(this.hit + 1); } if (this.hit == 5) { kills++; kills_txt.text = kills; this.hit = 6; } if (this.hit == 6) { this.dy = this.dy + 0.1; } if (((Math.random() * 150) < 1) && (this.hit < 5)) { dropBomb(this._x, this._y + 5, this.dx / 3); } }; pCount++; }; planeLauncher = setInterval(launchPlane, 1000); dropBomb = function (x, y, dx) { var _local2 = "bomb" + bmCount; bombs.attachMovie("bomb", _local2, bmCount); bombs[_local2]._x = x; bombs[_local2]._y = y; bombs[_local2].dx = dx; bombs[_local2].dy = 0; bombs[_local2].gotoAndStop(1); bombs[_local2].onEnterFrame = function () { this._x = this._x + this.dx; this._y = this._y + this.dy; this._rotation = Math.atan2(this.dy, this.dx) * 57.2957795130823; if (this._x < -100) { this.removeMovieClip(); } if (bullets.hitTest(this._x, this._y, true)) { this.removeMovieClip(); } if (this._y > 350) { this.play(); this._rotation = 0; delete this.onEnterFrame; } this.dy = this.dy + 0.05; this.dx = this.dx * 0.99; }; bmCount++; }; cannon1.onEnterFrame = cannonEnterFrame; cannon2.onEnterFrame = cannonEnterFrame; cannon3.onEnterFrame = cannonEnterFrame; cannon1.alive = true; cannon2.alive = true; cannon3.alive = true; numAlive = 3; kills = 0; kills_txt.text = kills; skyline.swapDepths(15); gameOver.swapDepths(20); gameOver._visible = false; menu._visible = false; blaster = new Sound(cannon1); blaster.attachSound("blaster");
Frame 126
Mouse.hide(); stop(); stopAllSounds();
Frame 127
stop();
Symbol 21 MovieClip [bomb] Frame 16
this.removeMovieClip();
Symbol 33 Button
on (release) { play(); }
Symbol 36 Button
on (release) { gotoAndPlay (126); }
Symbol 39 Button
on (release) { gotoAndPlay (127); }
Symbol 55 MovieClip Frame 1
stop();
Symbol 66 Button
on (release) { gotoAndPlay (121); }

Library Items

Symbol 1 Sound [blaster]
Symbol 2 GraphicUsed by:4
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [bullet]Uses:2 3
Symbol 5 GraphicUsed by:17
Symbol 6 GraphicUsed by:17
Symbol 7 GraphicUsed by:12
Symbol 8 GraphicUsed by:12
Symbol 9 GraphicUsed by:12
Symbol 10 GraphicUsed by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:7 8 9 10 11Used by:17
Symbol 13 GraphicUsed by:17
Symbol 14 GraphicUsed by:17
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip [plane]Uses:5 6 12 13 14 15 16
Symbol 18 GraphicUsed by:21
Symbol 19 ShapeTweeningUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClip [bomb]Uses:18 19 20
Symbol 22 MovieClipUsed by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:Timeline
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 FontUsed by:28 30 34 37 57 58 62 63 64 67 73 74 76 78 80 81 82
Symbol 28 TextUses:27Used by:29
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 TextUses:27Used by:31
Symbol 31 MovieClipUses:30Used by:33
Symbol 32 GraphicUsed by:33 36 39
Symbol 33 ButtonUses:31 32Used by:Timeline
Symbol 34 TextUses:27Used by:35
Symbol 35 MovieClipUses:34Used by:36
Symbol 36 ButtonUses:35 32Used by:Timeline
Symbol 37 TextUses:27Used by:38
Symbol 38 MovieClipUses:37Used by:39
Symbol 39 ButtonUses:38 32Used by:Timeline
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:Timeline
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:Timeline
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:44 45 46 47Used 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:56
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:56
Symbol 56 MovieClipUses:53 55Used by:Timeline
Symbol 57 TextUses:27Used by:59
Symbol 58 TextUses:27Used by:59
Symbol 59 MovieClipUses:57 58Used by:Timeline
Symbol 60 FontUsed by:61 71 72
Symbol 61 EditableTextUses:60Used by:Timeline
Symbol 62 TextUses:27Used by:66
Symbol 63 TextUses:27Used by:66
Symbol 64 TextUses:27Used by:66
Symbol 65 GraphicUsed by:66
Symbol 66 ButtonUses:62 63 64 65Used by:Timeline
Symbol 67 TextUses:27Used by:Timeline
Symbol 68 SoundUsed by:Timeline
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:Timeline
Symbol 71 TextUses:60Used by:Timeline
Symbol 72 TextUses:60Used by:Timeline
Symbol 73 TextUses:27Used by:75
Symbol 74 TextUses:27Used by:75
Symbol 75 MovieClipUses:73 74Used by:Timeline
Symbol 76 TextUses:27Used by:77
Symbol 77 MovieClipUses:76Used by:Timeline
Symbol 78 TextUses:27Used by:79
Symbol 79 MovieClipUses:78Used by:Timeline
Symbol 80 TextUses:27Used by:Timeline
Symbol 81 TextUses:27Used by:Timeline
Symbol 82 TextUses:27Used by:Timeline

Instance Names

"skyline2"Frame 125Symbol 43 MovieClip
"flames"Frame 125Symbol 48 MovieClip
"flames"Frame 125Symbol 48 MovieClip
"skyline"Frame 125Symbol 52 MovieClip
"cannon1"Frame 125Symbol 56 MovieClip
"cannon2"Frame 125Symbol 56 MovieClip
"cannon3"Frame 125Symbol 56 MovieClip
"gameOver"Frame 125Symbol 59 MovieClip
"kills_txt"Frame 125Symbol 61 EditableText
"menu"Frame 125Symbol 66 Button
"menu"Frame 126Symbol 66 Button
"muzzleFlash1"Symbol 56 MovieClip Frame 1Symbol 55 MovieClip
"muzzleFlash2"Symbol 56 MovieClip Frame 1Symbol 55 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "blaster"
ExportAssets (56)Timeline Frame 1Symbol 4 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 17 as "plane"
ExportAssets (56)Timeline Frame 1Symbol 21 as "bomb"




http://swfchan.com/16/76539/info.shtml
Created: 4/4 -2019 21:21:56 Last modified: 4/4 -2019 21:21:56 Server time: 14/05 -2024 04:52:03