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>

Test.swf

This is the info page for
Flash #69878

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


Text
Game Over
Try Again!

分數

<p align="left"></p>

畢籌會網站組 遊戲 V0.03
Controls: Arrow Keys for movement
控制:方向健來移動

<= You! (你)

<= Enemy (不是你)

<= Your Laser (你的雷射)

<= Enemy Laser (不要碰到)

START

START

START


YOU
LOSE

你輸了!

Press Enter to Restart

Final Score: 000000

ActionScript [AS1/AS2]

Frame 1
start_btn.onRelease = function () { gotoAndStop ("start"); }; stop(); stopAllSounds();
Frame 2
stop(); var turntest = 0; var gameOver = false; var mainSpeed = 10; var cTime = 1; var cLimit = 5; var shootAllow = false; var enemyTime = 0; var enemyLimit = 1; var enemyTotal = 0; var score = 0; var totalBgShapes = 0; _root.createEmptyMovieClip("bgHolder", _root.getNextHighestDepth()); _root.createEmptyMovieClip("bulletHolder", _root.getNextHighestDepth()); onEnterFrame = function () { if (Key.isDown(37) || (Key.isDown(65))) { mcMain._x = mcMain._x - mainSpeed; turntest--; } if (Key.isDown(38) || (Key.isDown(87))) { mcMain._y = mcMain._y - mainSpeed; } if (Key.isDown(39) || (Key.isDown(68))) { mcMain._x = mcMain._x + mainSpeed; turntest++; } if (Key.isDown(40) || (Key.isDown(83))) { mcMain._y = mcMain._y + mainSpeed; } if (turntest != 0) { mcMain._width = 20; } else { mcMain._width = 25; } turntest = 0; if (mcMain._x <= 0) { mcMain._x = mcMain._x + mainSpeed; } if (mcMain._y <= 0) { mcMain._y = mcMain._y + mainSpeed; } if (mcMain._x >= (Stage.width - mcMain._width)) { mcMain._x = mcMain._x - mainSpeed; } if (mcMain._y >= (Stage.height - mcMain._height)) { mcMain._y = mcMain._y - mainSpeed; } if (Key.isDown(32) && (shootAllow)) { var _local3 = Math.random(); bulletHolder.attachMovie("mcBullet", "Bullet" + _local3, bulletHolder.getNextHighestDepth()); bulletHolder["Bullet" + _local3]._x = (mcMain._x + (mcMain._width / 2)) - (bulletHolder["Bullet" + _local3]._width / 2); bulletHolder["Bullet" + _local3]._y = mcMain._y; bulletHolder["Bullet" + _local3].onEnterFrame = function () { this._y = this._y - 10; if (this._y < (-1 * this._height)) { this.removeMovieClip(); } if (gameOver) { this.removeMovieClip(); } }; shootAllow = false; } cTime++; if (cTime == cLimit) { shootAllow = true; cTime = 0; } enemyTime++; if (enemyTime == enemyLimit) { _root.attachMovie("mcEnemy", "en" + enemyTotal, _root.getNextHighestDepth()); _root["en" + enemyTotal]._x = int(Math.random() * Stage.width); _root["en" + enemyTotal]._y = -50; _root["en" + enemyTotal].onEnterFrame = function () { this._y = this._y + 5; for (var _local3 in _root.bulletHolder) { if ((this._y >= (_root.bulletHolder[_local3]._y - 30)) && (this._y <= _root.bulletHolder[_local3]._y)) { if ((this._x <= (_root.bulletHolder[_local3]._x + 5)) && (this._x >= (_root.bulletHolder[_local3]._x - 35))) { this.removeMovieClip(); _root.bulletHolder[_local3].removeMovieClip(); _root.score = _root.score + 5; } } } if (this.hitTest(_root.mcMain)) { gameOver = true; gotoAndStop ("lose"); mcMain.removeMovieClip(); } if (gameOver || (this._y > 450)) { this.removeMovieClip(); } }; enemyTime = 0; enemyTotal++; } txtScore.text = "Score: " + score; bgHolder.createEmptyMovieClip("bg" + totalBgShapes, bgHolder.getNextHighestDepth()); bgHolder["bg" + totalBgShapes].beginFill(3355443); bgHolder["bg" + totalBgShapes]._x = int(Math.random() * 550); bgHolder["bg" + totalBgShapes]._y = -50 - bgHolder._y; bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].lineTo(int(Math.random() * 25), int(Math.random() * 25)); bgHolder["bg" + totalBgShapes].endFill(); bgHolder["bg" + totalBgShapes].onEnterFrame = function () { if ((this._y > (450 - bgHolder._y)) || (_root.gameOver)) { this.removeMovieClip(); } }; totalBgShapes++; bgHolder._y = bgHolder._y + 2; }; mcMain.swapDepths(1000);
Frame 5
stop(); _root.onEnterFrame = function () { if (Key.isDown(ENTER)) { gotoAndStop (1); } }; txtFinalScore.text = "Final Score: " + score;
Symbol 5 MovieClip [mlauncher] Frame 1
stop();
Symbol 5 MovieClip [mlauncher] Frame 10
this.removeMovieClip();
Symbol 24 MovieClip [ship] Frame 3
gotoAndPlay ("start");
Symbol 24 MovieClip [ship] Frame 4
_root.shooter = null; _root.shipmover = null; _root.ship._width = 200; start1_btn.onRelease = function () { _parent.gotoAndPlay("op"); }; stop();
Symbol 42 MovieClip Frame 110
stop();

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:5
Symbol 4 SoundUsed by:5
Symbol 5 MovieClip [mlauncher]Uses:1 3 4
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:8  Timeline
Symbol 8 MovieClip [mcBullet]Uses:7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [enemybullet]Uses:9Used by:Timeline
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [mcEnemy]Uses:11 12Used by:Timeline
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:24 44
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:24 44
Symbol 18 FontUsed by:19 23 26 28 29 30 31 49
Symbol 19 TextUses:18Used by:24
Symbol 20 FontUsed by:22
Symbol 21 FontUsed by:45 50 51
Symbol 22 TextUses:20Used by:24
Symbol 23 EditableTextUses:18Used by:24
Symbol 24 MovieClip [ship]Uses:15 17 19 22 23Used by:Timeline
Symbol 25 FontUsed by:26 49
Symbol 26 TextUses:25 18Used by:Timeline
Symbol 27 FontUsed by:28 29 30 31 49
Symbol 28 TextUses:18 27Used by:Timeline
Symbol 29 TextUses:18 27Used by:Timeline
Symbol 30 TextUses:18 27Used by:Timeline
Symbol 31 TextUses:18 27Used by:Timeline
Symbol 32 GraphicUsed by:43
Symbol 33 FontUsed by:34 35 36
Symbol 34 TextUses:33Used by:43
Symbol 35 TextUses:33Used by:43
Symbol 36 TextUses:33Used by:43
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:41 43
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClipUses:38 40Used by:42
Symbol 42 MovieClipUses:41Used by:43
Symbol 43 ButtonUses:32 34 35 36 42 38Used by:Timeline
Symbol 44 MovieClipUses:17 15Used by:Timeline
Symbol 45 EditableTextUses:21Used by:Timeline
Symbol 46 Sound [bgm10Obj]Used by:Timeline
Symbol 47 FontUsed by:48
Symbol 48 TextUses:47Used by:Timeline
Symbol 49 TextUses:27 25 18Used by:Timeline
Symbol 50 TextUses:21Used by:Timeline
Symbol 51 EditableTextUses:21Used by:Timeline

Instance Names

"start_btn"Frame 1Symbol 43 Button
"mcMain"Frame 2Symbol 44 MovieClip
"txtScore"Frame 2Symbol 45 EditableText
"txtFinalScore"Frame 5Symbol 51 EditableText
"score"Symbol 24 MovieClip [ship] Frame 4Symbol 23 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 5 as "mlauncher"
ExportAssets (56)Timeline Frame 1Symbol 8 as "mcBullet"
ExportAssets (56)Timeline Frame 1Symbol 10 as "enemybullet"
ExportAssets (56)Timeline Frame 1Symbol 13 as "mcEnemy"
ExportAssets (56)Timeline Frame 1Symbol 24 as "ship"
ExportAssets (56)Timeline Frame 2Symbol 46 as "bgm10Obj"

Labels

"op"Frame 1
"Start"Frame 2
"lose"Frame 5
"2"Symbol 5 MovieClip [mlauncher] Frame 2
"start"Symbol 24 MovieClip [ship] Frame 1
"over"Symbol 24 MovieClip [ship] Frame 4

Dynamic Text Variables

_root.scoreSymbol 23 EditableText"<p align="left"></p>"




http://swfchan.com/14/69878/info.shtml
Created: 10/4 -2019 05:35:58 Last modified: 10/4 -2019 05:35:58 Server time: 13/05 -2024 08:31:57