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

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

Puzzle & Brain & Match 3 - Combs.swf

This is the info page for
Flash #232905

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


Text
X combo

0

+

0

Game Over!

Your Score:

Better Luck Next Time

Congratulations!
You've set a new high
score

Help

The objective of Combs is to match
the colors to form Hexagon shapes. There are
two ways to accomplish this: By spinning combs to
form a TriComb match or creating a MegaComb.
A MegaComb is created when the top piece of a
TriComb breaks off and falls into the comb below.  If
all three colors are the same, a MegaComb is
created and every comb is shuffled.

TriComb

MegaComb

Copyright 2007
John Bezanis

MegaComb!!!

combs

new

game

help

score

topscore

0

0

ActionScript [AS1/AS2]

Frame 1
stop(); onEnterFrame = function () { if ((_framesloaded == _totalframes) && (getBytesLoaded() == getBytesTotal())) { gotoAndStop (3); } };
Frame 3
function newgame() { gamestarted = 1; dropdelayreset = 60; combcolorlist = [16711680, 65280, 255]; extendedcolorlist = [26163, 13158, 3368448, 3342438, 6684723, 6697728, 16711935, 65535, 16776960]; score = 0; newcombdelay = 60; var combpos = 0; while (combpos < totalcombs) { eval ("comb" + combpos).setcolors(0, 0, 0); combpos++; } var combpos = 0; while (combpos < 14) { do { newcolors = []; newcolors.push(combcolorlist[Math.floor(Math.random() * combcolorlist.length)]); newcolors.push(combcolorlist[Math.floor(Math.random() * combcolorlist.length)]); newcolors.push(combcolorlist[Math.floor(Math.random() * combcolorlist.length)]); } while ((newcolors[0] == newcolors[1]) && (newcolors[2] == newcolors[1])); eval ("comb" + combpos).setcolors(newcolors[0], newcolors[1], newcolors[2]); combpos++; } } function losegame() { gamestarted = 0; if (!endgamescreen) { var _local2 = new Sound(); _local2.attachSound("gamelosssound"); _local2.start(); attachMovie("endgamescreen", "endgamescreen", this.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2}); endgamescreen.bghit.onPress = function () { endgamescreen.swapDepths(1048575); endgamescreen.removeMovieClip(); }; } else { endgamescreen.removeMovieClip(); } } function addpoints(points) { score = score + points; if (score > topscore) { topscore = score; } } function showaddedpoints(startx, starty, points) { attachMovie("shownpoints", "shownpoints" + (++objectcount), this.getNextHighestDepth(), {_x:startx, _y:starty, inpoints:points}); eval ("shownpoints" + objectcount).onEnterFrame = function () { eval (this._name)._y = eval (this._name)._y - 1; eval (this._name)._alpha = eval (this._name)._alpha - 3; if (eval (this._name)._alpha <= 0) { eval (this._name).removeMovieClip(); } }; } function showtricomb(currentcomb) { attachMovie("tricomb", "tricomb" + (++objectcount), this.getNextHighestDepth(), {_x:eval ("comb" + currentcomb)._x, _y:eval ("comb" + currentcomb)._y, tricolor:eval ("comb" + currentcomb).combcolors[2]}); } function showmegacomb(currentcomb) { attachMovie("tricomb", "tricomb" + (++objectcount), this.getNextHighestDepth(), {_x:eval ("comb" + currentcomb)._x, _y:eval ("comb" + currentcomb)._y - 25, tricolor:eval ("comb" + currentcomb).combcolors[2]}); attachMovie("megacomb", "megacomb" + (++objectcount), this.getNextHighestDepth(), {_x:210, _y:200}); } function showhelp() { if (!aboutmenu) { attachMovie("aboutmenu", "aboutmenu", this.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2}); aboutmenu.bghit.onPress = function () { aboutmenu.swapDepths(1048575); aboutmenu.removeMovieClip(); }; } else { aboutmenu.removeMovieClip(); } } stop(); var totalcombs = 63; dropdelayreset = 60; var objectcount = 0; pointsthisframe = 0; pointslastframe = 0; var combcolorlist = [16711680, 65280, 255]; var extendedcolorlist = [26163, 13158, 3368448, 3342438, 6684723, 6697728, 16711935, 65535, 16776960]; gamestarted = 0; var combpos = 0; while (combpos < totalcombs) { attachMovie("comb", "comb" + combpos, this.getNextHighestDepth()); eval ("comb" + combpos)._x = (37.5 + ((combpos % 7) * 50)) + (25 * Math.floor((combpos % 14) / 7)); eval ("comb" + combpos)._y = 350 - (37.5 * Math.floor(combpos / 7)); eval ("comb" + combpos).pos = combpos; combpos++; } onEnterFrame = function () { var combpos = 0; while (combpos < totalcombs) { if (((eval ("comb" + combpos).combcolors[0] != 0) && (eval ("comb" + combpos).combcolors[0] == eval ("comb" + combpos).combcolors[1])) && (eval ("comb" + combpos).combcolors[1] == eval ("comb" + combpos).combcolors[2])) { addpoints((combcolorlist.length * 2) + (combcolorlist.length * (pointsthisframe + pointslastframe))); showmegacomb(combpos); var megacombsound = new Sound(); megacombsound.attachSound("megacombsound"); megacombsound.start(); showaddedpoints(eval ("comb" + combpos)._x, eval ("comb" + combpos)._y, (combcolorlist.length * 2) + (combcolorlist.length * (pointsthisframe + pointslastframe))); pointsthisframe++; eval ("comb" + combpos).setcolors(0, 0, 0); var filledcombarray = []; var filledcombcolors = []; var shufflepos = 0; while (shufflepos < totalcombs) { if (eval ("comb" + shufflepos).combcolors[0] != 0) { filledcombarray.push(shufflepos); filledcombcolors.push([eval ("comb" + shufflepos).combcolors[0], eval ("comb" + shufflepos).combcolors[1], eval ("comb" + shufflepos).combcolors[2]]); } shufflepos++; } filledcombarray.shuffle(); var shufflepos = 0; while (shufflepos < filledcombarray.length) { eval ("comb" + filledcombarray[shufflepos]).setcolors(filledcombcolors[shufflepos][0], filledcombcolors[shufflepos][1], filledcombcolors[shufflepos][2]); shufflepos++; } } if ((eval ("comb" + combpos).combcolors[2] != 0) && (combpos > 6)) { if (((combpos % 14) == 13) || ((combpos % 14) == 0)) { } else if ((eval ("comb" + combpos).combcolors[2] == eval ("comb" + ((combpos - 7) - Math.floor(((combpos + 7) % 14) / 7))).combcolors[1]) && (eval ("comb" + combpos).combcolors[2] == eval ("comb" + ((combpos - 6) - Math.floor(((combpos + 7) % 14) / 7))).combcolors[0])) { eval ("comb" + ((combpos - 7) - Math.floor(((combpos + 7) % 14) / 7))).setcolors(eval ("comb" + ((combpos - 7) - Math.floor(((combpos + 7) % 14) / 7))).combcolors[0], eval ("comb" + combpos).combcolors[0], eval ("comb" + ((combpos - 7) - Math.floor(((combpos + 7) % 14) / 7))).combcolors[2]); eval ("comb" + ((combpos - 6) - Math.floor(((combpos + 7) % 14) / 7))).setcolors(eval ("comb" + combpos).combcolors[1], eval ("comb" + ((combpos - 6) - Math.floor(((combpos + 7) % 14) / 7))).combcolors[1], eval ("comb" + ((combpos - 6) - Math.floor(((combpos + 7) % 14) / 7))).combcolors[2]); addpoints(combcolorlist.length + (combcolorlist.length * (pointsthisframe + pointslastframe))); showtricomb(combpos); var tricombsound = new Sound(); tricombsound.attachSound("tricombsound"); tricombsound.start(); showaddedpoints(eval ("comb" + combpos)._x, eval ("comb" + combpos)._y + 25, combcolorlist.length + (combcolorlist.length * (pointsthisframe + pointslastframe))); pointsthisframe++; eval ("comb" + combpos).setcolors(0, 0, 0); } } if (eval ("comb" + combpos).combcolors[2] == 0) { if (((combpos + 8) < totalcombs) && ((eval ("comb" + ((combpos + 6) + Math.floor((combpos % 14) / 7))).combcolors[0] != 0) || (eval ("comb" + ((combpos + 7) + Math.floor((combpos % 14) / 7))).combcolors[0] != 0))) { if (((combpos % 14) == 0) || ((combpos % 14) == 13)) { if (eval ("comb" + (combpos + 7)).combcolors[0] != 0) { eval ("comb" + combpos).setcolors(eval ("comb" + (combpos + 7)).combcolors[0], eval ("comb" + (combpos + 7)).combcolors[1], eval ("comb" + (combpos + 7)).combcolors[2]); eval ("comb" + (combpos + 7)).setcolors(0, 0, 0); } } else if ((eval ("comb" + ((combpos + 6) + Math.floor((combpos % 14) / 7))).combcolors[0] != 0) && (eval ("comb" + ((combpos + 7) + Math.floor((combpos % 14) / 7))).combcolors[0] != 0)) { leftorright = Math.floor(Math.random() * 2); eval ("comb" + combpos).setcolors(eval ("comb" + (((combpos + 6) + leftorright) + Math.floor((combpos % 14) / 7))).combcolors[0], eval ("comb" + (((combpos + 6) + leftorright) + Math.floor((combpos % 14) / 7))).combcolors[1], eval ("comb" + (((combpos + 6) + leftorright) + Math.floor((combpos % 14) / 7))).combcolors[2]); eval ("comb" + (((combpos + 6) + leftorright) + Math.floor((combpos % 14) / 7))).setcolors(0, 0, 0); } else if (eval ("comb" + ((combpos + 6) + Math.floor((combpos % 14) / 7))).combcolors[0] != 0) { eval ("comb" + combpos).setcolors(eval ("comb" + ((combpos + 6) + Math.floor((combpos % 14) / 7))).combcolors[0], eval ("comb" + ((combpos + 6) + Math.floor((combpos % 14) / 7))).combcolors[1], eval ("comb" + ((combpos + 6) + Math.floor((combpos % 14) / 7))).combcolors[2]); eval ("comb" + ((combpos + 6) + Math.floor((combpos % 14) / 7))).setcolors(0, 0, 0); } else { moveover = 0; if (((combpos % 14) == 6) || ((combpos % 14) == 13)) { moveover = 0; } else if (eval ("comb" + (combpos + 1)).combcolors[0] == 0) { moveover = Math.floor(Math.random() * 2); } eval ("comb" + (combpos + moveover)).setcolors(eval ("comb" + ((combpos + 7) + Math.floor((combpos % 14) / 7))).combcolors[0], eval ("comb" + ((combpos + 7) + Math.floor((combpos % 14) / 7))).combcolors[1], eval ("comb" + ((combpos + 7) + Math.floor((combpos % 14) / 7))).combcolors[2]); eval ("comb" + ((combpos + 7) + Math.floor((combpos % 14) / 7))).setcolors(0, 0, 0); } } } combpos++; } if (gamestarted) { newcombdelay--; if (newcombdelay <= 0) { var newcombsound = new Sound(); newcombsound.attachSound("newcombsound"); newcombsound.start(); dropdelayreset = dropdelayreset - 0.5; if (dropdelayreset < 30) { if (extendedcolorlist.length != 0) { combcolorlist.push(extendedcolorlist.pop()); } dropdelayreset = 60; } newcombdelay = dropdelayreset; do { newcolors = []; newcolors.push(combcolorlist[Math.floor(Math.random() * combcolorlist.length)]); newcolors.push(combcolorlist[Math.floor(Math.random() * combcolorlist.length)]); newcolors.push(combcolorlist[Math.floor(Math.random() * combcolorlist.length)]); } while ((newcolors[0] == newcolors[1]) && (newcolors[2] == newcolors[1])); newcombpos = (totalcombs - 1) - Math.floor(Math.random() * 7); if (eval ("comb" + newcombpos).combcolors[0] != 0) { losegame(); } eval ("comb" + newcombpos).setcolors(newcolors[0], newcolors[1], newcolors[2]); } } if (pointsthisframe > 0) { pointslastframe = pointslastframe + pointsthisframe; } else { pointslastframe = 0; } if (pointslastframe > 1) { if (combotext) { combotext.removeMovieClip(); } attachMovie("combotext", "combotext", this.getNextHighestDepth(), {_x:180, _y:220, inpoints:pointslastframe}); combotext.onEnterFrame = function () { eval (this._name)._alpha = eval (this._name)._alpha - 3; if (eval (this._name)._alpha <= 0) { eval (this._name).removeMovieClip(); } }; } pointsthisframe = 0; }; Array.prototype.shuffle = function () { i = 0; while (i < this.length) { var _local3 = this[i]; var _local2 = random(this.length); this[i] = this[_local2]; this[_local2] = _local3; i++; } };
Symbol 8 MovieClip [combotext] Frame 1
points = inpoints;
Symbol 11 MovieClip [shownpoints] Frame 1
points = inpoints;
Symbol 14 MovieClip [tricomb] Frame 1
var tricolortransform = new Color("tricombcolor"); tricolortransform.setRGB(tricolor); var color = tricolor; var alpha = 1; var glowsize = 5; var strength = 2; var filter = (new flash.filters.GlowFilter(color, alpha, glowsize, glowsize, strength, 2, false, false)); tricombcolor.filters = [filter]; onEnterFrame = function () { _alpha = (_alpha - 5); if (_alpha <= 0) { this.removeMovieClip(); } glowsize = glowsize + 2; var _local2 = new flash.filters.GlowFilter(color, alpha, glowsize, glowsize, strength, 2, false, false); tricombcolor.filters = [_local2]; };
Symbol 23 MovieClip [highscorealert] Frame 1
stop();
Symbol 23 MovieClip [highscorealert] Frame 2
stop();
Symbol 24 MovieClip [endgamescreen] Frame 1
gamescore = _parent.score; if (gamescore >= _parent.topscore) { highscorealert.gotoAndStop(2); }
Symbol 39 MovieClip [comb] Frame 1
function rotatecolors() { tempcolorholder = combcolors[2]; combcolors[2] = combcolors[1]; combcolors[1] = combcolors[0]; combcolors[0] = tempcolorholder; refreshcolors(); } function refreshcolors() { var _local1 = new Color(combleft); _local1.setRGB(combcolors[0]); _local1 = new Color(combright); _local1.setRGB(combcolors[1]); _local1 = new Color(combbottom); _local1.setRGB(combcolors[2]); } function setcolors(color0, color1, color2) { combcolors[0] = color0; combcolors[1] = color1; combcolors[2] = color2; refreshcolors(); } var combcolors = [0, 0, 0]; onPress = function () { if (_parent.gamestarted) { rotatecolors(); } };
Symbol 41 MovieClip [megacomb] Frame 30
this.removeMovieClip();
Symbol 62 Button
on (press) { newgame(); }
Symbol 64 Button
on (press) { showhelp(); }
Symbol 70 Button
on (press) { getURL ("http://www.swfspot.com", "_blank"); }

Library Items

Symbol 1 Sound [tricombsound]
Symbol 2 Sound [newcombsound]
Symbol 3 Sound [megacombsound]
Symbol 4 Sound [gamelosssound]
Symbol 5 FontUsed by:6 7 9 10 18 19 20 21 22 26 27 28 29 30 40 58 59 60 63 65 66 67 68
Symbol 6 TextUses:5Used by:8
Symbol 7 EditableTextUses:5Used by:8
Symbol 8 MovieClip [combotext]Uses:6 7
Symbol 9 TextUses:5Used by:11
Symbol 10 EditableTextUses:5Used by:11
Symbol 11 MovieClip [shownpoints]Uses:9 10
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [tricombcolor]Uses:12Used by:14
Symbol 14 MovieClip [tricomb]Uses:13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [hitarea]Uses:15Used by:24 31
Symbol 17 GraphicUsed by:24
Symbol 18 TextUses:5Used by:24
Symbol 19 TextUses:5Used by:24
Symbol 20 EditableTextUses:5Used by:24
Symbol 21 TextUses:5Used by:23
Symbol 22 TextUses:5Used by:23
Symbol 23 MovieClip [highscorealert]Uses:21 22Used by:24
Symbol 24 MovieClip [endgamescreen]Uses:16 17 18 19 20 23
Symbol 25 GraphicUsed by:31
Symbol 26 TextUses:5Used by:31
Symbol 27 TextUses:5Used by:31
Symbol 28 TextUses:5Used by:31
Symbol 29 TextUses:5Used by:31
Symbol 30 TextUses:5Used by:31
Symbol 31 MovieClip [aboutmenu]Uses:16 25 26 27 28 29 30
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip [combleft]Uses:32Used by:39
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip [combright]Uses:34Used by:39
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip [combbottom]Uses:36Used by:39
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip [comb]Uses:33 35 37 38
Symbol 40 TextUses:5Used by:41
Symbol 41 MovieClip [megacomb]Uses:40
Symbol 42 GraphicUsed by:43 62 64
Symbol 43 MovieClip [combslogo]Uses:42Used by:62 64  Timeline
Symbol 44 GraphicUsed by:57
Symbol 45 GraphicUsed by:57
Symbol 46 GraphicUsed by:57
Symbol 47 GraphicUsed by:57
Symbol 48 GraphicUsed by:57
Symbol 49 GraphicUsed by:57
Symbol 50 GraphicUsed by:57
Symbol 51 GraphicUsed by:57
Symbol 52 GraphicUsed by:57
Symbol 53 GraphicUsed by:57
Symbol 54 GraphicUsed by:57
Symbol 55 GraphicUsed by:57
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip [buffergraphic]Uses:44 45 46 47 48 49 50 51 52 53 54 55 56Used by:Timeline
Symbol 58 TextUses:5Used by:Timeline
Symbol 59 TextUses:5Used by:62
Symbol 60 TextUses:5Used by:62
Symbol 61 GraphicUsed by:62 64
Symbol 62 ButtonUses:43 59 60 61 42Used by:Timeline
Symbol 63 TextUses:5Used by:64
Symbol 64 ButtonUses:43 63 61 42Used by:Timeline
Symbol 65 TextUses:5Used by:Timeline
Symbol 66 TextUses:5Used by:Timeline
Symbol 67 EditableTextUses:5Used by:Timeline
Symbol 68 EditableTextUses:5Used by:Timeline
Symbol 69 GraphicUsed by:70
Symbol 70 ButtonUses:69Used by:Timeline

Instance Names

"tricombcolor"Symbol 14 MovieClip [tricomb] Frame 1Symbol 13 MovieClip [tricombcolor]
"bghit"Symbol 24 MovieClip [endgamescreen] Frame 1Symbol 16 MovieClip [hitarea]
"highscorealert"Symbol 24 MovieClip [endgamescreen] Frame 1Symbol 23 MovieClip [highscorealert]
"bghit"Symbol 31 MovieClip [aboutmenu] Frame 1Symbol 16 MovieClip [hitarea]
"combleft"Symbol 39 MovieClip [comb] Frame 1Symbol 33 MovieClip [combleft]
"combright"Symbol 39 MovieClip [comb] Frame 1Symbol 35 MovieClip [combright]
"combbottom"Symbol 39 MovieClip [comb] Frame 1Symbol 37 MovieClip [combbottom]

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "tricombsound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "newcombsound"
ExportAssets (56)Timeline Frame 1Symbol 3 as "megacombsound"
ExportAssets (56)Timeline Frame 1Symbol 4 as "gamelosssound"
ExportAssets (56)Timeline Frame 1Symbol 8 as "combotext"
ExportAssets (56)Timeline Frame 1Symbol 11 as "shownpoints"
ExportAssets (56)Timeline Frame 1Symbol 13 as "tricombcolor"
ExportAssets (56)Timeline Frame 1Symbol 14 as "tricomb"
ExportAssets (56)Timeline Frame 1Symbol 16 as "hitarea"
ExportAssets (56)Timeline Frame 1Symbol 23 as "highscorealert"
ExportAssets (56)Timeline Frame 1Symbol 24 as "endgamescreen"
ExportAssets (56)Timeline Frame 1Symbol 31 as "aboutmenu"
ExportAssets (56)Timeline Frame 1Symbol 33 as "combleft"
ExportAssets (56)Timeline Frame 1Symbol 35 as "combright"
ExportAssets (56)Timeline Frame 1Symbol 37 as "combbottom"
ExportAssets (56)Timeline Frame 1Symbol 39 as "comb"
ExportAssets (56)Timeline Frame 1Symbol 41 as "megacomb"
ExportAssets (56)Timeline Frame 1Symbol 43 as "combslogo"
ExportAssets (56)Timeline Frame 1Symbol 57 as "buffergraphic"

Dynamic Text Variables

pointsSymbol 7 EditableText"0"
pointsSymbol 10 EditableText"0"
gamescoreSymbol 20 EditableText""
topscoreSymbol 67 EditableText"0"
scoreSymbol 68 EditableText"0"




http://swfchan.com/47/232905/info.shtml
Created: 24/2 -2020 10:30:19 Last modified: 24/2 -2020 10:30:19 Server time: 29/04 -2024 05:48:27