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

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

3d defender.swf

This is the info page for
Flash #64281

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


Text
start

Slightly 3d galaxian

score:

lives:

Use the mouse to move and fire

Done

score:

lives

restart

You win!! and saved.... something...

Copy and paste this ^^^^^ into your
review so i know you beat it.

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(1); } 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(1); 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++; } }; stopAllSounds();
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 = 10; _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 = 10; _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(); stop(); bulletNum = 0; dropdown = false; speed = 16; _root.bombspeed = 0.1; initAliens("boss"); _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("boss"); moveAliens("boss", 6, 25); 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 6
stop(); stop(); bulletNum = 0; dropdown = false; speed = 16; _root.bombspeed = 0.1; initAliens("end"); _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("end"); moveAliens("end", 6, 25); 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 7
stop();
Symbol 19 Button
on (release) { _root.gotoAndStop(2); }
Symbol 31 MovieClip Frame 75
stop();
Symbol 47 Button
on (press) { gotoAndStop (1); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:3 15
Symbol 3 MovieClip [alien]Uses:2
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [bug]Uses:4
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [skull]Uses:6
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip [bullet]Uses:8
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip [bomb]Uses:10
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [boss]Uses:12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClip [end]Uses:14 2
Symbol 16 FontUsed by:17 20 21 22 23 24 25 28 32 33 34 35 43 45 48 49
Symbol 17 TextUses:16Used by:19
Symbol 18 GraphicUsed by:19
Symbol 19 ButtonUses:17 18Used by:Timeline
Symbol 20 TextUses:16Used by:Timeline
Symbol 21 EditableTextUses:16Used by:Timeline
Symbol 22 EditableTextUses:16Used by:Timeline
Symbol 23 TextUses:16Used by:Timeline
Symbol 24 EditableTextUses:16Used by:Timeline
Symbol 25 TextUses:16Used by:Timeline
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:Timeline
Symbol 28 TextUses:16Used by:31
Symbol 29 ShapeTweeningUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:28 29 30Used by:Timeline
Symbol 32 EditableTextUses:16Used by:Timeline
Symbol 33 EditableTextUses:16Used by:Timeline
Symbol 34 TextUses:16Used by:Timeline
Symbol 35 EditableTextUses:16Used by:Timeline
Symbol 36 BitmapUsed by:37 38 39 40
Symbol 37 GraphicUses:36Used by:41
Symbol 38 GraphicUses:36Used by:41
Symbol 39 GraphicUses:36Used by:41
Symbol 40 GraphicUses:36Used by:41
Symbol 41 MovieClipUses:37 38 39 40Used by:Timeline
Symbol 42 SoundUsed by:Timeline
Symbol 43 EditableTextUses:16Used by:Timeline
Symbol 44 GraphicUsed by:47
Symbol 45 TextUses:16Used by:47
Symbol 46 GraphicUsed by:47
Symbol 47 ButtonUses:44 45 46Used by:Timeline
Symbol 48 TextUses:16Used by:Timeline
Symbol 49 TextUses:16Used by:Timeline

Instance Names

"defender"Frame 2Symbol 27 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 3 as "alien"
ExportAssets (56)Timeline Frame 1Symbol 5 as "bug"
ExportAssets (56)Timeline Frame 1Symbol 7 as "skull"
ExportAssets (56)Timeline Frame 1Symbol 9 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 11 as "bomb"
ExportAssets (56)Timeline Frame 1Symbol 13 as "boss"
ExportAssets (56)Timeline Frame 1Symbol 15 as "end"

Dynamic Text Variables

scoreSymbol 21 EditableText""
livesSymbol 22 EditableText""
scoreSymbol 32 EditableText""
livesSymbol 33 EditableText""
scoreSymbol 43 EditableText""




http://swfchan.com/13/64281/info.shtml
Created: 13/4 -2019 05:56:55 Last modified: 13/4 -2019 05:56:55 Server time: 13/05 -2024 07:32:49