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

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

MiniGame Center.swf

This is the info page for
Flash #59554

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


Text
r

e

t

n

C

m

a

G

i

M

Brick Breaker

Rythim

Button Smash

Main

Level:     Balls:     Points:

YOU LOSE

Select a Level:

Score

Score:

You Beat the Level!

Back

You Lost the Level!

Start

Press
SpaceBar
when the
bottom light
lights up

Press
SpaceBar
when the
bottom light
lights up

You win!

Click here to play again

Click here to go back to the main menu

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 5
var currentLvl = 1; var lvl1Code = new Array(1, 1, 1, 1, 1, 1, 1); var lvl2Code = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); var lvl3Code = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); var lvl4Code = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); var lvl5Code = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1); var lvlArray = new Array(lvl1Code, lvl2Code, lvl3Code, lvl4Code, lvl5Code);
Frame 6
function calcBallAngle() { var _local1 = mcBall._x - mcPaddle._x; var _local2 = (_local1 / (mcPaddle._width - mcBall._width)) - 0.5; ballXSpeed = _local2 * 10; ballYSpeed = ballYSpeed * -1; } function makeLvl() { var _local6 = _root.lvlArray[currentLvl - 1].length; var _local5 = 0; var _local3 = 0; while (_local3 < _local6) { if (lvlArray[currentLvl - 1][_local3] == 1) { _root.brickAmt++; _root.attachMovie("mcBrick", "brick" + _local3, _root.getNextHighestDepth()); _root["brick" + _local3]._x = 15 + ((_local3 - (_local5 * 7)) * 75); _root["brick" + _local3]._y = 10 + (_local5 * 20); _root["brick" + _local3].onEnterFrame = function () { if (this.hitTest(_root.mcBall)) { this.removeMovieClip(); ballYSpeed = ballYSpeed * -1; _root.brickAmt--; _root.score = _root.score + 10; } if (_root.gameOver) { this.removeMovieClip(); } }; var _local4 = 1; while (_local4 <= 10) { if (_local3 == ((_local4 * 7) - 1)) { _local5++; } _local4++; } } _local3++; } } stop(); var ballXSpeed = 10; var ballYSpeed = 10; var brickAmt = 0; var lives = 3; var gameOver = false; var score = 0; makeLvl(); mcBg.onRelease = function () { mcBg._x = 800; txtStart.text = ""; _root.onEnterFrame = function () { mcPaddle._x = _xmouse - (mcPaddle._width * 0.5); if (_xmouse < (mcPaddle._width / 2)) { mcPaddle._x = 0; } if (_xmouse > (Stage.width - (mcPaddle._width / 2))) { mcPaddle._x = Stage.width - mcPaddle._width; } mcBall._x = mcBall._x + ballXSpeed; mcBall._y = mcBall._y + ballYSpeed; if (mcBall._x >= (Stage.width - mcBall._width)) { ballXSpeed = ballXSpeed * -1; } if (mcBall._x <= 0) { ballXSpeed = ballXSpeed * -1; } if (mcBall._y >= (Stage.height - mcBall._height)) { ballYSpeed = ballYSpeed * -1; lives--; if (lives <= 0) { gameOver = true; gotoAndStop ("lose"); _root.onEnterFrame = null; } } if (mcBall._y <= 0) { ballYSpeed = ballYSpeed * -1; } if (mcBall.hitTest(mcPaddle)) { calcBallAngle(); } if (brickAmt == 0) { currentLvl++; makeLvl(); mcBall._x = 175; mcBall._y = 250; mcBg._x = 0; _root.onEnterFrame = null; txtStart.text = "Click To Start"; } txtStats.text = (((("Level: " + currentLvl) + "\t\tLives: ") + lives) + "\t\tScore: ") + score; }; }; txtStart.text = "Click To Begin"; txtStats.text = (((("Level: " + currentLvl) + "\t\tLives: ") + lives) + "\t\tScore: ") + score;
Frame 14
mcBg._x = 0; mcBg.onRelease = function () { gotoAndPlay (1); };
Frame 20
var lvlCurrent = 0; var lvlArray0 = new Array(1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4); var lvlArray1 = new Array(1, 3, 2, 4, 1, 3, 2, 4, 1, 3, 2, 4, 1, 3, 2, 4); var lvlArray2 = new Array(4, 3, 2, 1, 4, 3, 2, 1, 4, 3, 2, 1, 4, 3, 2, 1); var lvlArray3 = new Array(4, 2, 3, 1, 4, 2, 3, 1, 4, 2, 3, 1, 4, 2, 3, 1); var lvlArray4 = new Array(2, 1, 4, 3, 2, 1, 4, 3, 2, 1, 4, 3, 2, 1, 4, 3); var lvlNames = new Array("level1", "level2", "level3", "level4", "level5"); var lvlArrayAll = new Array(lvlArray0, lvlArray1, lvlArray2, lvlArray3, lvlArray4);
Frame 24
function removeButtons() { i = 0; while (i < lvlArrayAll.length) { _root["sngButton" + i].removeMovieClip(); i++; } } stop(); i = 0; while (i < lvlArrayAll.length) { attachMovie("btnSongSelect", "sngButton" + i, getNextHighestDepth()); this["sngButton" + i]._x = 130; this["sngButton" + i]._y = 70 + (60 * i); this["sngButton" + i].lvlID = i; i++; }
Frame 29
function beginCode() { onEnterFrame = function () { makeLvl(); }; lvlArrayAll[lvlCurrent].push(0, 0, 0, 0, 0); } function makeLvl() { if (sTime < sTempo) { sTime++; } else { sTime = 0; if (lvlArrayAll[lvlCurrent][sArrow] != 0) { if (lvlArrayAll[lvlCurrent][sArrow] == 1) { attachMovie("arrowLeft", "arrow" + sArrow, getNextHighestDepth()); _root["arrow" + sArrow]._x = 135; _root["arrow" + sArrow].arrowCode = 37; } else if (lvlArrayAll[lvlCurrent][sArrow] == 2) { attachMovie("arrowUp", "arrow" + sArrow, getNextHighestDepth()); _root["arrow" + sArrow]._x = 205; _root["arrow" + sArrow].arrowCode = 38; } else if (lvlArrayAll[lvlCurrent][sArrow] == 3) { attachMovie("arrowDown", "arrow" + sArrow, getNextHighestDepth()); _root["arrow" + sArrow]._x = 275; _root["arrow" + sArrow].arrowCode = 40; } else if (lvlArrayAll[lvlCurrent][sArrow] == 4) { attachMovie("arrowRight", "arrow" + sArrow, getNextHighestDepth()); _root["arrow" + sArrow]._x = 345; _root["arrow" + sArrow].arrowCode = 39; } _root["arrow" + sArrow]._y = 500; _root["arrow" + sArrow].gotHit = false; _root["arrow" + sArrow].onEnterFrame = function () { this._y = this._y - arrowSpeed; if (this.hitTest(_root.mcReceptor) && (!this.gotHit)) { if (Key.isDown(this.arrowCode)) { if ((this._y <= (mcReceptor._y + 15)) && (this._y >= (mcReceptor._y + 5))) { score = score + 10; scoreString = "Perfect"; changeHealth(5); } else if ((this._y <= (mcReceptor._y + 25)) && (this._y >= (mcReceptor._y - 5))) { score = score + 8; scoreString = "Great"; changeHealth(4); } else if ((this._y <= (mcReceptor._y + 40)) && (this._y >= (mcReceptor._y - 30))) { score = score + 6; scoreString = "Nice"; changeHealth(3); } else { score = score + 4; scoreString = "Good"; changeHealth(2); } combo++; this._visible = false; this.gotHit = true; } } if (this._y <= -50) { if (!this.gotHit) { changeHealth(-10); scoreString = "Bad"; combo = 0; } this.removeMovieClip(); } }; } if ((sArrow < lvlArrayAll[lvlCurrent].length) && (!gameIsOver)) { sArrow++; } else { gotoAndStop ("win"); gameIsOver = true; var _local3 = 0; while (_local3 < sArrow) { _root["arrow" + _local3].removeMovieClip(); _local3++; } onEnterFrame = null; } } } function changeHealth(healthDiff) { if ((mcHealth._xscale + healthDiff) >= 100) { mcHealth._xscale = 100; } else if ((mcHealth._xscale + healthDiff) <= 0) { gameIsOver = true; var _local2 = 0; while (_local2 < sArrow) { _root["arrow" + _local2].removeMovieClip(); _local2++; } gotoAndStop ("lose2"); onEnterFrame = null; } else { mcHealth._xscale = mcHealth._xscale + healthDiff; } } stop(); var sTime = 0; var sTempo = 12; var sArrow = 0; var arrowSpeed = 10; var gameIsOver = false; var score = 0; var scoreString = ""; var touchLeft = false; var touchUp = false; var touchDown = false; var touchRight = false; var combo = 0; mcReceptor.onEnterFrame = function () { touchLeft = false; touchUp = false; touchDown = false; touchRight = false; i = sArrow - 10; while (i <= sArrow) { if (this.hitTest(_root["arrow" + i]) && (_root["arrow" + i].arrowCode == 37)) { touchLeft = true; } if (this.hitTest(_root["arrow" + i]) && (_root["arrow" + i].arrowCode == 38)) { touchUp = true; } if (this.hitTest(_root["arrow" + i]) && (_root["arrow" + i].arrowCode == 40)) { touchDown = true; } if (this.hitTest(_root["arrow" + i]) && (_root["arrow" + i].arrowCode == 39)) { touchRight = true; } i++; } if (Key.isDown(37) && (!touchLeft)) { changeHealth(-10); scoreString = "Bad"; combo = 0; } if (Key.isDown(38) && (!touchUp)) { changeHealth(-10); scoreString = "Bad"; combo = 0; } if (Key.isDown(40) && (!touchDown)) { changeHealth(-10); scoreString = "Bad"; combo = 0; } if (Key.isDown(39) && (!touchRight)) { changeHealth(-10); scoreString = "Bad"; combo = 0; } }; beginCode();
Frame 34
txtStats.text = "Score: " + score; btnBack.onRelease = function () { gotoAndStop ("menu"); };
Frame 39
txtStats.text = "Score: " + score; btnBack.onRelease = function () { gotoAndStop ("menu"); };
Frame 45
gotoAndStop (46);
Frame 104
gotoAndPlay ("lvl1");
Frame 146
gotoAndPlay ("lvl2");
Frame 172
gotoAndPlay ("lvl3");
Frame 190
gotoAndPlay ("lvl4");
Frame 191
stop();
Symbol 14 MovieClip [btnSongSelect] Frame 1
var lvlID; var lvlName = _root.lvlNames[lvlID]; stop(); onRollOver = function () { nextFrame(); }; onRollOut = function () { prevFrame(); }; onRelease = function () { _root.lvlCurrent = lvlID; _root.gotoAndStop("game"); _root.removeButtons(); };
Symbol 37 Button
on (release) { gotoAndPlay ("brick"); }
Symbol 51 Button
on (release) { gotoAndPlay ("RG"); }
Symbol 54 Button
on (release) { stopAllSounds(); gotoAndStop ("start1"); }
Symbol 57 Button
on (release) { stopAllSounds(); gotoAndStop ("main"); }
Symbol 95 Button
on (release) { gotoAndPlay ("lvl1"); }
Symbol 96 Button
on (release) { stopAllSounds(); gotoAndStop ("main"); }
Symbol 110 Button
on (keyPress "<Space>") { gotoAndPlay ("lvl2"); }
Symbol 112 Button
on (keyPress "<Space>") { gotoAndPlay ("lvl3"); }
Symbol 113 Button
on (keyPress "<Space>") { gotoAndStop ("lvl3"); }
Symbol 114 Button
on (keyPress "<Space>") { gotoAndPlay ("lvl4"); }
Symbol 115 Button
on (keyPress "<Space>") { gotoAndStop ("lvl4"); }
Symbol 116 Button
on (keyPress "<Space>") { gotoAndPlay ("winnn"); }
Symbol 117 Button
on (keyPress "<Space>") { gotoAndStop ("win"); }
Symbol 121 Button
on (release) { gotoAndStop ("start1"); }
Symbol 124 Button
on (release) { stopAllSounds(); gotoAndStop ("main"); }

Library Items

Symbol 1 GraphicUsed by:2 50
Symbol 2 MovieClip [arrowLeft]Uses:1
Symbol 3 GraphicUsed by:4 47
Symbol 4 MovieClip [arrowUp]Uses:3
Symbol 5 GraphicUsed by:6 41
Symbol 6 MovieClip [arrowRight]Uses:5
Symbol 7 GraphicUsed by:8 44
Symbol 8 MovieClip [arrowDown]Uses:7
Symbol 9 GraphicUsed by:14
Symbol 10 FontUsed by:11 13 38 52 56 67 68 69 79 80 81 82 85 87 90 93 99 101 118 119 122
Symbol 11 EditableTextUses:10Used by:14
Symbol 12 GraphicUsed by:14
Symbol 13 EditableTextUses:10Used by:14
Symbol 14 MovieClip [btnSongSelect]Uses:9 11 12 13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [mcBrick]Uses:15
Symbol 17 GraphicUsed by:Timeline
Symbol 18 GraphicUsed by:30
Symbol 19 FontUsed by:20 21 22 23 24 25 26 27 28 29
Symbol 20 TextUses:19Used by:30
Symbol 21 TextUses:19Used by:30
Symbol 22 TextUses:19Used by:30
Symbol 23 TextUses:19Used by:30
Symbol 24 TextUses:19Used by:30
Symbol 25 TextUses:19Used by:30
Symbol 26 TextUses:19Used by:30
Symbol 27 TextUses:19Used by:30
Symbol 28 TextUses:19Used by:30
Symbol 29 TextUses:19Used by:30
Symbol 30 MovieClipUses:18 20 21 22 23 24 25 26 27 28 29Used by:Timeline
Symbol 31 GraphicUsed by:Timeline
Symbol 32 GraphicUsed by:33 37
Symbol 33 MovieClipUses:32Used by:37
Symbol 34 FontUsed by:35
Symbol 35 TextUses:34Used by:37
Symbol 36 GraphicUsed by:37
Symbol 37 ButtonUses:33 35 36 32Used by:Timeline
Symbol 38 TextUses:10Used by:51
Symbol 39 GraphicUsed by:41
Symbol 40 GraphicUsed by:41 51
Symbol 41 ButtonUses:5 39 40Used by:51
Symbol 42 GraphicUsed by:44
Symbol 43 GraphicUsed by:44
Symbol 44 ButtonUses:7 42 43Used by:51
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47
Symbol 47 ButtonUses:3 45 46Used by:51
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:1 48 49Used by:51
Symbol 51 ButtonUses:38 41 44 47 50 40Used by:Timeline
Symbol 52 TextUses:10Used by:54
Symbol 53 GraphicUsed by:54
Symbol 54 ButtonUses:52 53Used by:Timeline
Symbol 55 SoundUsed by:Timeline
Symbol 56 TextUses:10Used by:57 96
Symbol 57 ButtonUses:56Used by:Timeline
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:Timeline
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:Timeline
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:Timeline
Symbol 67 EditableTextUses:10Used by:Timeline
Symbol 68 EditableTextUses:10Used by:Timeline
Symbol 69 TextUses:10Used by:Timeline
Symbol 70 FontUsed by:71 84 89
Symbol 71 TextUses:70Used by:Timeline
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:Timeline
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:74 75Used by:Timeline
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:Timeline
Symbol 79 EditableTextUses:10Used by:Timeline
Symbol 80 TextUses:10Used by:Timeline
Symbol 81 EditableTextUses:10Used by:Timeline
Symbol 82 EditableTextUses:10Used by:Timeline
Symbol 83 GraphicUsed by:Timeline
Symbol 84 TextUses:70Used by:Timeline
Symbol 85 EditableTextUses:10Used by:Timeline
Symbol 86 GraphicUsed by:88
Symbol 87 TextUses:10Used by:88
Symbol 88 MovieClipUses:86 87Used by:Timeline
Symbol 89 TextUses:70Used by:Timeline
Symbol 90 EditableTextUses:10Used by:Timeline
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:Timeline
Symbol 93 TextUses:10Used by:95
Symbol 94 GraphicUsed by:95
Symbol 95 ButtonUses:93 94Used by:Timeline
Symbol 96 ButtonUses:56Used by:Timeline
Symbol 97 SoundUsed by:Timeline
Symbol 98 GraphicUsed by:Timeline
Symbol 99 TextUses:10Used by:Timeline
Symbol 100 GraphicUsed by:Timeline
Symbol 101 TextUses:10Used by:Timeline
Symbol 102 GraphicUsed by:Timeline
Symbol 103 GraphicUsed by:Timeline
Symbol 104 GraphicUsed by:Timeline
Symbol 105 GraphicUsed by:Timeline
Symbol 106 GraphicUsed by:Timeline
Symbol 107 GraphicUsed by:Timeline
Symbol 108 GraphicUsed by:Timeline
Symbol 109 GraphicUsed by:110 112 113 114 115 116 117
Symbol 110 ButtonUses:109Used by:Timeline
Symbol 111 GraphicUsed by:Timeline
Symbol 112 ButtonUses:109Used by:Timeline
Symbol 113 ButtonUses:109Used by:Timeline
Symbol 114 ButtonUses:109Used by:Timeline
Symbol 115 ButtonUses:109Used by:Timeline
Symbol 116 ButtonUses:109Used by:Timeline
Symbol 117 ButtonUses:109Used by:Timeline
Symbol 118 TextUses:10Used by:Timeline
Symbol 119 TextUses:10Used by:121
Symbol 120 GraphicUsed by:121
Symbol 121 ButtonUses:119 120Used by:Timeline
Symbol 122 TextUses:10Used by:124
Symbol 123 GraphicUsed by:124
Symbol 124 ButtonUses:122 123Used by:Timeline

Instance Names

"mcBg"Frame 6Symbol 62 MovieClip
"mcPaddle"Frame 6Symbol 64 MovieClip
"mcBall"Frame 6Symbol 66 MovieClip
"txtStart"Frame 6Symbol 67 EditableText
"txtStats"Frame 6Symbol 68 EditableText
"mcReceptor"Frame 29Symbol 76 MovieClip
"mcHealth"Frame 29Symbol 78 MovieClip
"txtStats"Frame 34Symbol 85 EditableText
"btnBack"Frame 34Symbol 88 MovieClip
"txtStats"Frame 39Symbol 90 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "arrowLeft"
ExportAssets (56)Timeline Frame 1Symbol 4 as "arrowUp"
ExportAssets (56)Timeline Frame 1Symbol 6 as "arrowRight"
ExportAssets (56)Timeline Frame 1Symbol 8 as "arrowDown"
ExportAssets (56)Timeline Frame 1Symbol 14 as "btnSongSelect"
ExportAssets (56)Timeline Frame 1Symbol 16 as "mcBrick"

Labels

"Main"Frame 1
"BrickBreaker"Frame 5
"brick"Frame 5
"lose"Frame 14
"RythmGame"Frame 20
"RG"Frame 20
"begin"Frame 20
"menu"Frame 24
"game"Frame 29
"win"Frame 34
"lose2"Frame 39
"start1"Frame 46
"lvl1"Frame 48
"lvl2"Frame 106
"lvl3"Frame 148
"lvl4"Frame 174
"winnn"Frame 191

Dynamic Text Variables

lvlNameSymbol 11 EditableText""
lvlNameSymbol 13 EditableText""
scoreSymbol 79 EditableText"Score"
scoreStringSymbol 81 EditableText""
comboSymbol 82 EditableText""




http://swfchan.com/12/59554/info.shtml
Created: 16/4 -2019 17:02:16 Last modified: 16/4 -2019 17:02:16 Server time: 05/05 -2024 18:36:08