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

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

Mercury Drops.swf

This is the info page for
Flash #10920

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


Text
PLAY

PLAY

CREDITS

CREDITS

Object of this game is to survive as a mercury
drop. Contact smaller or the same size drops to
form a bigger drop. Avoid contacting with bigger
drops. Use mouse to change drop's direction.

designed and developed by

SCORE

LEVEL

0

1

LIVES

LEVEL

1

CLICK ANYWHERE TO START

GAME OVER

PLAY AGAIN

PLAY AGAIN

LEVEL CLEARED

PLAY NEXT LEVEL

PLAY NEXT LEVEL

YOU LOST

ActionScript [AS1/AS2]

Frame 1
stop(); _quality = "BEST";
Frame 16
stop();
Frame 20
var level = 0; var score = 0; var lives = 3;
Frame 22
level++;
Frame 24
function Destroy(drop) { var _local2 = drop; var _local1 = _local2.num; game.layer0["shade" + _local1].removeMovieClip(); game.layer2["shade" + _local1].removeMovieClip(); game.layer3["shade" + _local1].removeMovieClip(); game.layer4["shade" + _local1].removeMovieClip(); _local2.removeMovieClip(); remaining--; _local2 = null; if (_local1 == 0) { if (messages._visible == false) { messages.gotoAndStop(4); messages._visible = true; arrow._visible = false; lives--; lives_mc.gotoAndStop(lives + 1); if (lives == 0) { messages.gotoAndStop(2); messages._visible = true; } arrow._visible = false; } } else if (gameOn == true) { if (remaining == 1) { if (game.drop0.num == undefined) { if (messages._visible == false) { messages.gotoAndStop(4); messages._visible = true; lives--; lives_mc.gotoAndStop(lives + 1); if (lives == 0) { messages.gotoAndStop(2); messages._visible = true; } arrow._visible = false; } } else if (messages._visible == false) { messages.gotoAndStop(3); messages._visible = true; lives_mc.gotoAndStop(lives + 1); if (lives == 0) { messages.gotoAndStop(2); messages._visible = true; } arrow._visible = false; } } } } function colliding(drop1, drop2) { var x1 = drop1._x; var _local2 = drop2._x; var _local3 = drop1._y; var _local1 = drop2._y; var dist = Math.sqrt(((_local2 - x1) * (_local2 - x1)) + ((_local1 - _local3) * (_local1 - _local3))); var thresh = (((drop1.size * 0.84) / 2) + ((drop2.size * 0.84) / 2)); if (dist < thresh) { return(true); } return(false); } function resizeDrop(drop, newSize) { var _local1 = drop; var _local2 = newSize; _local1.size = _local2; _local1._xscale = (_local1._yscale = _local2); game.layer0["shade" + _local1.num]._xscale = (game.layer0["shade" + _local1.num]._yscale = _local2 * 1.2); game.layer2["drop" + _local1.num]._xscale = (game.layer2["drop" + _local1.num]._yscale = _local2 - 3); if (game.layer2["drop" + _local1.num]._xscale < 0) { game.layer2["drop" + _local1.num]._xscale = (game.layer2["drop" + _local1.num]._yscale = 0); } game.layer3["drop" + _local1.num]._xscale = (game.layer3["drop" + _local1.num]._yscale = _local2 - 6); if (game.layer3["drop" + _local1.num]._xscale < 0) { game.layer3["drop" + _local1.num]._xscale = (game.layer3["drop" + _local1.num]._yscale = 0); } game.layer4["drop" + _local1.num]._xscale = (game.layer4["drop" + _local1.num]._yscale = _local2 - 9); if (game.layer4["drop" + _local1.num]._xscale < 0) { game.layer4["drop" + _local1.num]._xscale = (game.layer4["drop" + _local1.num]._yscale = 0); } } function drawDrop(n, size, x, y) { var _local2 = n; var _local3 = size; var _local1 = game.layer1.attachMovie("drop", "drop" + _local2, _local2); game["drop" + _local2] = _local1; game["drop" + _local2].size = _local3; var drop_color = new Color(_local1); drop_color.setRGB(3749427); _local1._xscale = _local3; _local1._yscale = _local3; _local1._x = x; _local1._y = y; _local1.num = _local2; first_drop = _local1; last_drop = _local1; shade = game.layer0.attachMovie("shadow", "shade" + _local2, _local2); shade._xscale = _local3 * 1.2; shade._yscale = _local3 * 1.2; shade._x = x - 5; shade._y = y; _local1 = game.layer2.attachMovie("drop", "drop" + _local2, _local2); var drop_color = new Color(_local1); drop_color.setRGB(8684162); _local1._xscale = (_local1._yscale = first_drop._xscale - 3); _local1._x = last_drop._x; _local1._y = y; last_drop = _local1; _local1 = game.layer3.attachMovie("drop", "drop" + _local2, _local2); var drop_color = new Color(_local1); drop_color.setRGB(14671839); _local1._xscale = (_local1._yscale = first_drop._xscale - 6); _local1._x = last_drop._x; _local1._y = y; last_drop = _local1; _local1 = game.layer4.attachMovie("drop", "drop" + _local2, _local2); var drop_color = new Color(_local1); drop_color.setRGB(16777215); drop_color.setTransform(new_color); _local1._xscale = (_local1._yscale = first_drop._xscale - 9); _local1._x = last_drop._x; _local1._y = y; last_drop = _local1; } function dropDroplets() { var i = 0; while (i < dropscount) { if (i == 0) { var _local3 = sizes0; } else if ((i % 2) == 0) { var _local3 = sizes1; } else { var _local3 = sizes2; } var _local1 = false; do { x = random(width); y = random(height); _local1 = false; var _local2 = 0; while (_local2 < i) { drp = game["drop" + _local2]; dx = Math.abs(drp._x - x); dy = Math.abs(drp._y - y); if ((dx <= ((_local3 / 2) + (drp._xscale / 2))) && (dy <= ((_local3 / 2) + (drp._xscale / 2)))) { _local1 = true; } _local2++; } } while (_local1 == true); drawDrop(i, _local3, x, y); i++; } var i = 1; while (i < dropscount) { var n; var drop = game["drop" + i]; do { var _local1 = true; n = random(dropscount); if (n == i) { _local1 = false; } } while (_local1 == false); drop.after = game["drop" + n]; i++; } } function setAfter(drop) { var _local1 = drop; var found = false; var _local2 = 0; while (_local2 < dropscount) { var _local3 = game["drop" + _local2]; if (_local3.num != undefined) { if (_local1.num != _local3.num) { if (_local3.size <= _local1.size) { _local1.after = _local3; found = true; return; } } } _local2++; } if (found == false) { _local2 = 1; while (_local2 < dropscount) { var _local3 = game["drop" + _local2]; if (_local3.num != undefined) { if (_local1.num != _local3.num) { _local1.after = _local3; found = true; return; } } _local2++; } if (found == false) { _local1.after = game.drop0; } } } function cleanUp() { game.layer0.removeMovieClip(); game.layer1.removeMovieClip(); game.layer2.removeMovieClip(); game.layer3.removeMovieClip(); game.layer4.removeMovieClip(); game.layer5.removeMovieClip(); } var gameOn = false; var width = 550; var height = 350; var arrow; var gameOn = false; lives_mc.gotoAndStop(lives + 1); messages.gotoAndStop(1); messages.level = level; messages._visible = true; switch (level) { case 1 : dropscount = 5; sizes0 = 30; sizes1 = 25; sizes2 = 25; break; case 2 : dropscount = 10; sizes0 = 25; sizes1 = 20; sizes2 = 20; break; case 3 : dropscount = 15; sizes0 = 25; sizes1 = 20; sizes2 = 20; break; case 4 : dropscount = 15; sizes0 = 20; sizes1 = 20; sizes2 = 20; break; case 5 : dropscount = 20; sizes0 = 20; sizes1 = 20; sizes2 = 20; break; case 6 : dropscount = 20; sizes0 = 20; sizes1 = 25; sizes2 = 20; break; default : dropscount = 25; sizes0 = 15; sizes1 = 20; sizes2 = 15; } var remaining = dropscount; attachMovie("layer", "game", 10); game._x = 0; game._y = 0; var i = 0; while (i < 6) { game.attachMovie("layer", "layer" + i, 10 + i); game["layer" + i]._x = 0; game["layer" + i]._y = 0; i++; } arrow = game.layer5.attachMovie("arrow", "arrow", 10); arrow._visible = false; star = game.layer5.attachMovie("star", "star", 12); dropDroplets(); star._x = game.drop0._x; star._y = game.drop0._y; attachMovie("looper", "looper", 10000); looper.onEnterFrame = function () { if (gameOn == false) { } else { if (messages._visible == true) { arrow._visible = false; } else { arrow._visible = true; } var j = 0; while (j < dropscount) { var _local1 = game["drop" + j]; if (_local1.num != undefined) { if ((_local1.getting != true) && (_local1.dying != true)) { var _local2 = 0; while (_local2 < dropscount) { var _local3 = game["drop" + _local2]; if (((!(_local3.num === undefined)) && (_local1.num != undefined)) && (_local3.num != _local1.num)) { if (((colliding(_local3, _local1) == true) && (_local3.dying != true)) && (_local3.getting != true)) { var tempDrop; if (_local3.size > _local1.size) { tempDrop = _local3; _local3 = _local1; _local1 = tempDrop; } _local1.getting = true; _local1.gettingFrom = _local3; _local1.gettingNum = _local3.size; _local1.incre = 5 / _local3.size; _local3.dying = true; _local3.dyingFor = _local1; var angle = ((Math.atan2(_local3._y - _local1._y, _local3._x - _local1._x) * 180) / Math.PI); _local3._x = _local1._x + ((_local1.size / 2) * Math.cos((angle * Math.PI) / 180)); _local3._y = _local1._y + ((_local1.size / 2) * Math.sin((angle * Math.PI) / 180)); _local3.dyingNum = _local3.size; _local3.decre = 1; } } _local2++; } } } j++; } var _local2 = 0; while (_local2 < dropscount) { var _local3 = game["drop" + _local2]; if (_local3.num != undefined) { if (_local3.dying == true) { _local3.dyingNum--; resizeDrop(_local3, _local3.size - _local3.decre); var angle = ((Math.atan2(_local3._y - _local3.dyingFor._y, _local3._x - _local3.dyingFor._x) * 180) / Math.PI); if (Math.abs(angle) > 30) { } _local3._x = _local3.dyingFor._x + (((_local3.dyingFor.size - 9) / 2) * Math.cos((angle * Math.PI) / 180)); _local3._y = _local3.dyingFor._y + (((_local3.dyingFor.size - 9) / 2) * Math.sin((angle * Math.PI) / 180)); _local3.merger._visible = true; _local3._rotation = angle - 90; game.layer2["drop" + _local3.num].merger._visible = true; game.layer2["drop" + _local3.num]._rotation = angle - 90; game.layer3["drop" + _local3.num].merger._visible = true; game.layer3["drop" + _local3.num]._rotation = angle - 90; game.layer4["drop" + _local3.num].merger._visible = true; game.layer4["drop" + _local3.num]._rotation = angle - 90; if (_local3.dyingNum <= 0) { _local3.dyingNum = 0; _local3.dying = false; Destroy(_local3); } } if (_local3.getting == true) { _local3.gettingNum--; resizeDrop(_local3, _local3.size + _local3.incre); if (_local3.gettingNum <= 0) { _local3.gettingNum = 0; _local3.getting = false; if (_local3.num == 0) { score = score + 5; } setAfter(_local3); } } } _local2++; } arrow._x = _xmouse; arrow._y = _ymouse; if (arrow._y > 350) { arrow._y = 350; } if (arrow._y < 0) { arrow._y = 0; } if (arrow._x > 550) { arrow._x = 550; } if (arrow._x < 0) { arrow._x = 0; } _local2 = 0; while (_local2 < dropscount) { var _local3 = null; _local3 = game.drop0; var angle = ((Math.atan2(arrow._y - _local3._y, arrow._x - _local3._x) * 180) / Math.PI); arrow._rotation = angle + 90; _local3._x = _local3._x + (1 * Math.cos((angle * Math.PI) / 180)); _local3._y = _local3._y + (1 * Math.sin((angle * Math.PI) / 180)); _local2 = 1; while (_local2 < dropscount) { _local3 = game["drop" + _local2]; if (_local3.num != undefined) { if ((_local3.getting != true) && (_local3.dying != true)) { if (_local3.after.num != undefined) { var angle = ((Math.atan2(_local3.after._y - _local3._y, _local3.after._x - _local3._x) * 180) / Math.PI); _local3._x = _local3._x + (0.5 * Math.cos((angle * Math.PI) / 180)); _local3._y = _local3._y + (0.5 * Math.sin((angle * Math.PI) / 180)); } else { setAfter(_local3); } } } _local2++; } star._x = game.drop0._x; star._y = game.drop0._y; _local2 = 0; while (_local2 < dropscount) { _local3 = game["drop" + _local2]; if (_local3.num != undefined) { shade = game.layer0["shade" + _local2]; shade._x = _local3._x - 5; shade._y = _local3._y; var drop2 = game.layer2["drop" + _local2]; drop2._x = _local3._x; drop2._y = _local3._y; var drop3 = game.layer3["drop" + _local2]; drop3._x = drop2._x; drop3._y = drop2._y; var drop4 = game.layer4["drop" + _local2]; drop4._x = drop3._x; drop4._y = drop3._y; } _local2++; } _local2++; } } }; stop();
Symbol 12 MovieClip [drop] Frame 1
merger._visible = false;
Symbol 25 MovieClip Frame 20
stop(); _parent.play();
Symbol 26 MovieClip Frame 1
stop(); this.onEnterFrame = function () { perc = Math.round(100 * (_root.getBytesLoaded() / _root.getBytesTotal())); gotoAndStop(perc); };
Symbol 26 MovieClip Frame 100
stop(); delete this.onEnterFrame;
Symbol 26 MovieClip Frame 106
_parent.nextFrame();
Symbol 39 MovieClip Frame 1
play();
Symbol 39 MovieClip Frame 86
stop(); _parent.play();
Symbol 47 Button
on (release) { gotoAndPlay ("newgame"); }
Symbol 50 Button
on (release) { getURL ("http://www.funflashgames.com", "_blank"); }
Symbol 53 Button
on (release) { getURL ("http://www.funflashgames.com/pages/FreeContent.htm", "_blank"); }
Symbol 57 Button
on (release) { gotoAndStop ("credits"); }
Symbol 64 Button
on (release) { gotoAndPlay ("title"); }
Symbol 69 MovieClip Frame 4
stop();
Symbol 79 Button
on (release) { this._visible = false; _parent.gameOn = true; }
Symbol 84 Button
on (release) { this._visible = false; _parent.gameOn = false; _parent.cleanUp(); _parent.gotoAndStop("title"); }
Symbol 89 Button
on (release) { this._visible = false; _parent.gameOn = false; _parent.cleanUp(); _parent.gotoAndPlay("levelUp"); }
Symbol 92 Button
on (release) { this._visible = false; _parent.gameOn = false; _parent.cleanUp(); _parent.gotoAndPlay("again"); }

Library Items

Symbol 1 MovieClip [layer]
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip [shadow]Uses:2
Symbol 4 MovieClip [looper]
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip [arrow]Uses:5
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip [star]Uses:7
Symbol 9 GraphicUsed by:12
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClip [drop]Uses:9 11Used by:69
Symbol 13 GraphicUsed by:26
Symbol 14 GraphicUsed by:26
Symbol 15 GraphicUsed by:26
Symbol 16 GraphicUsed by:26 39  Timeline
Symbol 17 GraphicUsed by:26 39  Timeline
Symbol 18 GraphicUsed by:26 39  Timeline
Symbol 19 GraphicUsed by:26 39  Timeline
Symbol 20 GraphicUsed by:26 39  Timeline
Symbol 21 GraphicUsed by:26 39  Timeline
Symbol 22 GraphicUsed by:26 39  Timeline
Symbol 23 GraphicUsed by:26 39  Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:26
Symbol 26 MovieClipUses:13 14 15 16 17 18 19 20 21 22 23 25Used by:Timeline
Symbol 27 GraphicUsed by:39  Timeline
Symbol 28 GraphicUsed by:39  Timeline
Symbol 29 GraphicUsed by:39  Timeline
Symbol 30 SoundUsed by:39
Symbol 31 GraphicUsed by:39  Timeline
Symbol 32 GraphicUsed by:39  Timeline
Symbol 33 GraphicUsed by:39
Symbol 34 GraphicUsed by:39  Timeline
Symbol 35 GraphicUsed by:39  Timeline
Symbol 36 GraphicUsed by:39  Timeline
Symbol 37 GraphicUsed by:39  Timeline
Symbol 38 SoundUsed by:39
Symbol 39 MovieClipUses:27 28 29 30 20 31 21 22 32 23 16 17 18 19 33 34 35 36 37 38Used by:Timeline
Symbol 40 GraphicUsed by:Timeline
Symbol 41 GraphicUsed by:Timeline
Symbol 42 GraphicUsed by:Timeline
Symbol 43 FontUsed by:44 45 54 55 65 67 68 70 71 72 75 76 77 80 81 82 85 86 87 90
Symbol 44 TextUses:43Used by:47 64
Symbol 45 TextUses:43Used by:47 64
Symbol 46 GraphicUsed by:47 64
Symbol 47 ButtonUses:44 45 46Used by:Timeline
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:48 49Used by:Timeline
Symbol 51 GraphicUsed by:53
Symbol 52 GraphicUsed by:53
Symbol 53 ButtonUses:51 52Used by:Timeline
Symbol 54 TextUses:43Used by:57
Symbol 55 TextUses:43Used by:57
Symbol 56 GraphicUsed by:57
Symbol 57 ButtonUses:54 55 56Used by:Timeline
Symbol 58 FontUsed by:59
Symbol 59 TextUses:58Used by:Timeline
Symbol 60 GraphicUsed by:Timeline
Symbol 61 GraphicUsed by:63
Symbol 62 GraphicUsed by:63
Symbol 63 ButtonUses:61 62Used by:Timeline
Symbol 64 ButtonUses:44 45 46Used by:Timeline
Symbol 65 TextUses:43Used by:Timeline
Symbol 66 GraphicUsed by:Timeline
Symbol 67 TextUses:43Used by:Timeline
Symbol 68 TextUses:43Used by:Timeline
Symbol 69 MovieClipUses:12Used by:Timeline
Symbol 70 EditableTextUses:43Used by:Timeline
Symbol 71 EditableTextUses:43Used by:Timeline
Symbol 72 TextUses:43Used by:Timeline
Symbol 73 GraphicUsed by:Timeline
Symbol 74 GraphicUsed by:93
Symbol 75 TextUses:43Used by:93
Symbol 76 EditableTextUses:43Used by:93
Symbol 77 TextUses:43Used by:79
Symbol 78 GraphicUsed by:79
Symbol 79 ButtonUses:77 78Used by:93
Symbol 80 TextUses:43Used by:93
Symbol 81 TextUses:43Used by:84 92
Symbol 82 TextUses:43Used by:84 92
Symbol 83 GraphicUsed by:84
Symbol 84 ButtonUses:81 82 83Used by:93
Symbol 85 TextUses:43Used by:93
Symbol 86 TextUses:43Used by:89
Symbol 87 TextUses:43Used by:89
Symbol 88 GraphicUsed by:89
Symbol 89 ButtonUses:86 87 88Used by:93
Symbol 90 TextUses:43Used by:93
Symbol 91 GraphicUsed by:92
Symbol 92 ButtonUses:81 82 91Used by:93
Symbol 93 MovieClipUses:74 75 76 79 80 84 85 89 90 92Used by:Timeline

Instance Names

"lives_mc"Frame 24Symbol 69 MovieClip
"messages"Frame 24Symbol 93 MovieClip
"merger"Symbol 12 MovieClip [drop] Frame 1Symbol 11 MovieClip
"txtLevel"Symbol 93 MovieClip Frame 1Symbol 76 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "layer"
ExportAssets (56)Timeline Frame 1Symbol 3 as "shadow"
ExportAssets (56)Timeline Frame 1Symbol 4 as "looper"
ExportAssets (56)Timeline Frame 1Symbol 6 as "arrow"
ExportAssets (56)Timeline Frame 1Symbol 8 as "star"
ExportAssets (56)Timeline Frame 1Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"
ExportAssets (56)Timeline Frame 24Symbol 12 as "drop"

Labels

"title"Frame 16
"credits"Frame 17
"newgame"Frame 20
"levelUp"Frame 22
"again"Frame 23

Dynamic Text Variables

scoreSymbol 70 EditableText"0"
levelSymbol 71 EditableText"1"
levelSymbol 76 EditableText"1 "




http://swfchan.com/3/10920/info.shtml
Created: 7/6 -2019 21:29:50 Last modified: 7/6 -2019 21:29:50 Server time: 26/04 -2024 04:14:57