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

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

Collapse Game.swf

This is the info page for
Flash #27942

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


Text
www.ultimatearcade.com

p

r

e

s

n

t

2003 Ultimate Arcade. Inc. - All Rights Reserved.

PLAY

PLAY

PLAY

The object of this game is to clear the
entire game screen quickly. Using your
mouse, click on the objects that are
grouped together in order to remove
them. You will be well rewarded for
finding or creating larger groups.

How to Play:

Programming:
Gary Rosenzweig
Andrew Walker
Alan I. Balode
Graphic Design/Sound FX:
Alan I. Balode

Credits:

PLAY MORE GAMES

PLAY MORE GAMES

PLAY MORE GAMES

DOWNLOAD GAMES

DOWNLOAD GAMES

DOWNLOAD GAMES

V2.0

00

Score:

... not a match!

00

+

00

5

-

00

Time:

00

Total Balls:

Game Over

try again

try again

0000

Final Score:

ActionScript [AS1/AS2]

Frame 1
fscommand ("fullscreen", "false"); fscommand ("allowscale", "false"); fscommand ("showmenu", "false"); stop();
Frame 2
current_bytes = this.getBytesLoaded(); tot_bytes = this.getBytesTotal(); _root.ua.percent = int((current_bytes / tot_bytes) * 100) + "% "; if (current_bytes >= tot_bytes) { gotoAndPlay (10); } fscommand ("fullscreen", "false"); fscommand ("allowscale", "false"); fscommand ("showmenu", "false");
Frame 3
this.gotoAndPlay("loader");
Frame 10
play();
Frame 11
fx = new sound(); fx.attachSound("fx"); fx2 = new sound(); fx2.attachSound("fx2"); function startGame() { gotoAndStop (12); score = 0; level = 0; balls = 240; var x = 0; while (x < 20) { var y = 0; while (y < 12) { mc = _root.attachMovie("block", (("block " + x) + " ") + y, level); mc._x = (25 * x) + 85; mc._y = (25 * y) + 60; mc.x = x; mc.y = y; mc.gotoAndStop(Math.ceil(Math.random() * 4)); level++; y++; } x++; } } function clickBlock(x, y) { var c = _root[(("block " + x) + " ") + y]._currentframe; _root[(("block " + x) + " ") + y].gotoAndStop(5); var n = 1; n = n + testNeighbor(x - 1, y, c); n = n + testNeighbor(x + 1, y, c); n = n + testNeighbor(x, y - 1, c); n = n + testNeighbor(x, y + 1, c); if (n > 1) { collapseDown(); collapseAcross(); if (isGameOver()) { _root.gotoAndStop("over"); } _root.balls = _root.balls - n; score = score + (n * n); now.nowscore = now.nowscore + (n * n); now.gotoAndPlay(2); fx.start(); } else { _root[(("block " + x) + " ") + y].gotoAndStop(c); fx2.start(); _root.nomatch.gotoAndPlay(2); } } function testNeighbor(x, y, c) { if (_root[(("block " + x) + " ") + y]._currentframe == c) { _root[(("block " + x) + " ") + y].gotoAndStop(5); var n = 1; n = n + testNeighbor(x - 1, y, c); n = n + testNeighbor(x + 1, y, c); n = n + testNeighbor(x, y - 1, c); n = n + testNeighbor(x, y + 1, c); return(n); } return(0); } function collapseDown() { var x = 0; while (x < 20) { var y = 11; while (y > 0) { thisColor = _root[(("block " + x) + " ") + y]._currentFrame; if (thisColor == 5) { var i = (y - 1); while (i >= 0) { aboveColor = _root[(("block " + x) + " ") + i]._currentframe; if (aboveColor != 5) { _root[(("block " + x) + " ") + y].gotoAndStop(aboveColor); _root[(("block " + x) + " ") + i].gotoAndStop(5); break; } i--; } } y--; } x++; } } function collapseAcross() { do { n = 0; var x = 0; while (x < 19) { if (_root[("block " + x) + " 11"]._currentframe == 5) { if (_root[("block " + (x + 1)) + " 11"]._currentframe != 5) { n++; var y = 0; while (y < 12) { c = _root[(("block " + (x + 1)) + " ") + y]._currentframe; _root[(("block " + x) + " ") + y].gotoAndStop(c); _root[(("block " + (x + 1)) + " ") + y].gotoAndStop(5); y++; } } } x++; } } while (n > 0); } function isGameOver() { var i = 0; while (i < 20) { var j = 0; while (j < 12) { var c = _root[(("block " + i) + " ") + j]._currentframe; if (c != 5) { if ((_root[(("block " + (i + 1)) + " ") + j]._currentframe == c) || (_root[(("block " + i) + " ") + (j + 1)]._currentframe == c)) { return(false); } } j++; } i++; } return(true); } stop();
Frame 12
timeForLevel = 180000 /* 0x02BF20 */;
Instance of Symbol 99 MovieClip in Frame 12
onClipEvent (load) { maxTime = _root.timeForLevel; timeStart = getTimer(); } onClipEvent (enterFrame) { timeElapsed = maxTime - (getTimer() - timeStart); timeRealSeconds = Math.floor(timeElapsed / 1000); timeMinutes = Math.floor(timeRealSeconds / 60); trace(timeMinutes); timeSeconds = timeRealSeconds - (timeMinutes * 60); if (timeSeconds < 10) { timeseconds = String("0" + timeseconds); } _root.timer = (timeMinutes + ":") + timeSeconds; _root.timeScore = timeRealSeconds; if ((timeSeconds <= 0) && (timeMinutes <= 0)) { _root.gotoAndStop("over"); } }
Instance of Symbol 110 MovieClip "now" in Frame 12
onClipEvent (load) { this.nowscore = 0; }
Frame 13
stop(); level = 0; var x = 0; while (x < 20) { var y = 0; while (y < 12) { _root[(("block " + x) + " ") + y].removeMovieClip(); y++; } x++; }
Instance of Symbol 126 MovieClip in Frame 13
onClipEvent (enterFrame) { _root.timer = "0:00"; }
Instance of Symbol 143 MovieClip in Frame 13
onClipEvent (enterFrame) { if (_root.score > _root.balls) { _root.totalscore = _root.score - _root.balls; } else { _root.totalscore = _root.score; } }
Symbol 7 MovieClip Frame 20
stop();
Symbol 10 MovieClip Frame 2
stop();
Symbol 13 Button
on (release) { _root.clickBlock(x, y); }
Symbol 21 MovieClip Frame 6
stop();
Symbol 22 MovieClip [block] Frame 1
stop();
Symbol 50 MovieClip Frame 112
_root.gotoAndPlay("loader");
Symbol 57 Button
on (release) { getURL ("http://www.ultimatearcade.com/", "_blank"); }
Symbol 64 MovieClip Frame 1
rnd = Math.floor(Math.random() * 120); gotoAndPlay(rnd);
Symbol 69 Button
on (press) { startGame(); }
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 80 Button
on (release) { getURL ("http://www.ultimatearcade.com", "_blank"); }
Symbol 86 Button
on (release) { getURL ("http://www.ultimatearcade.com/downloads/", "_blank"); }
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
if (_root.score > 5) { _root.score = _root.score - 5; _root.bad.gotoAndPlay(2); }
Symbol 105 MovieClip Frame 60
gotoAndStop (1);
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 10
nowscore = 0; gotoAndStop (1);
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 10
gotoAndStop (1);
Symbol 127 MovieClip Frame 4
stop();
Symbol 133 MovieClip Frame 30
stop();
Symbol 138 Button
on (release) { _root.gotoAndPlay("start"); }
Symbol 140 MovieClip Frame 1
stop();

Library Items

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

Instance Names

"info"Frame 11Symbol 75 MovieClip
"nomatch"Frame 12Symbol 105 MovieClip
"now"Frame 12Symbol 110 MovieClip
"bad"Frame 12Symbol 113 MovieClip
"submit"Frame 13Symbol 140 MovieClip
"over"Symbol 132 MovieClip Frame 1Symbol 131 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "fx"
ExportAssets (56)Timeline Frame 1Symbol 2 as "fx2"
ExportAssets (56)Timeline Frame 1Symbol 22 as "block"

Labels

"loader"Frame 2
"good"Frame 10
"start"Frame 11
"Play"Frame 12
"over"Frame 13

Dynamic Text Variables

scoreSymbol 100 EditableText"00"
nowscoreSymbol 107 EditableText"00"
nowscoreSymbol 109 EditableText"00"
timerSymbol 114 EditableText"00"
ballsSymbol 116 EditableText"00"
totalscoreSymbol 141 EditableText"0000"




http://swfchan.com/6/27942/info.shtml
Created: 20/5 -2019 23:06:09 Last modified: 20/5 -2019 23:06:09 Server time: 22/12 -2024 20:12:14