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/68711372?noj=FRM68711372-22DC" width="1" height="1"></div>

Dablocks.swf

This is the info page for
Flash #46243

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


Text
Adds an extra block
to your player

Increases row width

Subtracts 5 blocks

BLOCKS

objective:
Stay Alive, Don't lose too many blocks

Level:

GAME OVER

PLAY AGAIN?

PLAY AGAIN?

PLAY AGAIN?

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
Mouse.hide(); stop(); sfx = new Sound(this); fallSpeed = 5; score = 0; level = Math.floor(score / 5);
Instance of Symbol 61 MovieClip "cmd" in Frame 2
onClipEvent (load) { function makeSquares(sNum, row) { while (theDepth < sNum) { squares[theDepth] = _root.getInstanceAtDepth(theDepth); squares[theDepth]._x = xStart + (((theDepth / row) - Math.floor(theDepth / row)) * (size * row)); squares[theDepth]._y = yStart + (size * Math.floor(theDepth / row)); theDepth = theDepth + 1; duplicateMovieClip (_root.square, "square" + theDepth, theDepth); } } function mkSqr() { row = Math.floor(daWidth / size); col = Math.floor(daHeight / size); total = row * col; xCenter = _root._xmouse; yCenter = _root._ymouse; _root.square._x = (xCenter - (daWidth / 2)) + ((daWidth - (row * size)) / 2); _root.square._y = (yCenter - (daWidth / 2)) + ((daHeight - (col * size)) / 2); xStart = _root.square._x; yStart = _root.square._y; makeSquares(total + bExtra, row + sExtra); squares[0]._visible = false; } function randomScale() { _root.square._xscale = (Math.random(100) * 7) + 10; _root.square._yscale = _root.square._xscale; size = _root.square._width; ii = total; while (ii > 0) { _root.getInstanceAtDepth(ii).removeMovieClip(); ii = ii - 1; } theDepth = 0; } function reScale() { _root.square._xscale = 15; _root.square._yscale = _root.square._xscale; size = _root.square._width; ii = total; while (ii > 0) { _root.getInstanceAtDepth(ii).removeMovieClip(); ii = ii - 1; } theDepth = 0; } _visible = false; gameOver = false; daWidth = 50; daHeight = 25; delay = Math.floor(Math.random(100) * 8); theDepth = 0; dotDepth = 1000; bExtra = 0; sExtra = 0; objects = Array(_root.dot, _root.skull, _root.wider); xCenter = _root._xmouse; yCenter = _root._ymouse; _root.square._x = xCenter; _root.square._y = yCenter; xStart = _root.square._x; yStart = _root.square._y; total = 1; _root.square._xscale = 15; _root.square._yscale = _root.square._xscale; size = _root.square._width; _root.square.swapDepths(theDepth); squares = Array(); } onClipEvent (enterFrame) { if ((_root._ymouse != yCenter) || (_root._ymouse != yCenter)) { reScale(); mkSqr(); } if (delay > 0) { delay = delay - 1; } if (delay == 0) { objectNum = Math.floor(Math.random(100) * (objects.length + 1)); duplicateMovieClip (objects[objectNum], "dot" + dotDepth, dotDepth); dotDepth = dotDepth + 1; delay = Math.floor(Math.random(100) * 8); } if (_root.fallSpeed != (5 + Math.floor(_root.score / 5))) { _root.fallSpeed = 5 + Math.floor(_root.score / 5); } if (squares.length > (total + bExtra)) { i = squares.length; while (i > (total + bExtra)) { squares[i].removeMovieClip(); i--; } } if (((row + sExtra) * size) > 530) { gameOver = true; } if ((total + bExtra) <= 0) { gameOver = true; } if (gameOver == true) { stopAllSounds(); _root.gotoAndStop("gameOver"); } if (_root.level != Math.floor(_root.score / 5)) { _root.level = Math.floor(_root.score / 5); } }
Instance of Symbol 40 MovieClip "dot" in Frame 2
onClipEvent (load) { if (_name == "dot") { _visible = false; } minDepth = 1500; speed = ((Math.random() * _root.fallSpeed) + 3) + (_root.level / 3); daWidth = 550; daHeight = 400; _y = -10; _x = (Math.random(100) * daWidth); } onClipEvent (enterFrame) { if (_y < daHeight) { _y = (_y + speed); } if (_y >= daHeight) { this.removeMovieClip(); _y = (_y + 50); } i = 0; while (i < _root.cmd.squares.length) { if (this.hitTest(_root.cmd.squares[i])) { _root.cmd.bExtra = _root.cmd.bExtra + 1; _root.score = _root.score + 2; _root.sfx.attachSound("item1"); _root.sfx.start(0, 1); this.removeMovieClip(); } i++; } }
Instance of Symbol 50 MovieClip "skull" in Frame 2
onClipEvent (load) { minDepth = 1500; speed = ((Math.random() * _root.fallSpeed) + 3) + (_root.level / 3); daWidth = 550; daHeight = 400; _y = -10; _x = (Math.random(100) * daWidth); if (_name == "skull") { _visible = false; _y = 450; } } onClipEvent (enterFrame) { if (_y < daHeight) { _y = (_y + speed); } if (_y >= daHeight) { this.removeMovieClip(); _y = (_y + 50); } i = 0; while (i < _root.cmd.squares.length) { if (this.hitTest(_root.cmd.squares[i]) && (_name != "skull")) { _root.cmd.bExtra = _root.cmd.bExtra - 5; _root.score = _root.score - 5; _root.sfx.attachSound("horns"); _root.sfx.start(0, 1); this.removeMovieClip(); } i++; } }
Instance of Symbol 52 MovieClip "wider" in Frame 2
onClipEvent (load) { minDepth = 1500; speed = ((Math.random() * _root.fallSpeed) + 3) + (_root.level / 3); daWidth = 550; daHeight = 400; _y = -10; _x = (Math.random(100) * daWidth); if (_name == "wider") { _visible = false; _y = 450; } } onClipEvent (enterFrame) { if (_y < daHeight) { _y = (_y + speed); } if (_y >= daHeight) { this.removeMovieClip(); _y = (_y + 50); } i = 0; while (i < _root.cmd.squares.length) { if (this.hitTest(_root.cmd.squares[i])) { _root.cmd.sExtra = _root.cmd.sExtra + 1; _root.score = _root.score + 3; _root.sfx.attachSound("item2"); _root.sfx.start(0, 1); this.removeMovieClip(); } i++; } }
Frame 3
Mouse.show();
Symbol 22 MovieClip Frame 40
stop();
Symbol 34 Button
on (press) { _root.play(); }
Symbol 35 Button
on (press) { stopAllSounds(); play(); }
Instance of Symbol 20 MovieClip in Symbol 38 MovieClip Frame 1
onClipEvent (load) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndStop("play_button"); } } onClipEvent (enterFrame) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndPlay("loaded"); } }
Symbol 38 MovieClip Frame 130
stop();
Symbol 38 MovieClip Frame 154
_root.play();
Symbol 69 Button
on (release) { stopAllSounds(); _root.gotoAndStop(2); }

Library Items

Symbol 1 Sound [item2]
Symbol 2 Sound [item1]
Symbol 3 Sound [horns]
Symbol 4 GraphicUsed by:Timeline
Symbol 5 GraphicUsed by:38
Symbol 6 GraphicUsed by:38
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:7 8Used by:38
Symbol 10 GraphicUsed by:38
Symbol 11 GraphicUsed by:38
Symbol 12 GraphicUsed by:19 22
Symbol 13 GraphicUsed by:19 22
Symbol 14 GraphicUsed by:19 22
Symbol 15 GraphicUsed by:19 22
Symbol 16 GraphicUsed by:19 22
Symbol 17 GraphicUsed by:19 22
Symbol 18 GraphicUsed by:19 22
Symbol 19 MovieClipUses:12 13 14 15 16 17 18Used by:38
Symbol 20 MovieClipUsed by:38
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:12 13 14 15 16 17 18 21Used by:38
Symbol 23 ShapeTweeningUsed by:38
Symbol 24 GraphicUsed by:38
Symbol 25 GraphicUsed by:38
Symbol 26 GraphicUsed by:34 35
Symbol 27 GraphicUsed by:34 35
Symbol 28 GraphicUsed by:34 35
Symbol 29 GraphicUsed by:34 35
Symbol 30 GraphicUsed by:34 35
Symbol 31 GraphicUsed by:33 34 35
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:31 32Used by:34 35
Symbol 34 ButtonUses:26 27 28 29 30 33 31Used by:38
Symbol 35 ButtonUses:26 27 28 29 30 33 31Used by:38
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClipUses:5 6 9 10 11 19 20 22 23 24 25 34 35 37Used by:Timeline
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:Timeline
Symbol 41 GraphicUsed by:50
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:44
Symbol 44 MovieClipUses:43Used by:49
Symbol 45 GraphicUsed by:49
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:44 45 47 48Used by:50
Symbol 50 MovieClipUses:41 49Used by:Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 FontUsed by:54 55 56 57 58 62 63 65 66 67 68
Symbol 54 TextUses:53Used by:Timeline
Symbol 55 TextUses:53Used by:Timeline
Symbol 56 TextUses:53Used by:Timeline
Symbol 57 TextUses:53Used by:Timeline
Symbol 58 TextUses:53Used by:Timeline
Symbol 59 SoundUsed by:Timeline
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:Timeline
Symbol 62 EditableTextUses:53Used by:Timeline
Symbol 63 EditableTextUses:53Used by:Timeline
Symbol 64 SoundUsed by:Timeline
Symbol 65 TextUses:53Used by:Timeline
Symbol 66 TextUses:53Used by:69
Symbol 67 TextUses:53Used by:69
Symbol 68 TextUses:53Used by:69
Symbol 69 ButtonUses:66 67 68Used by:Timeline
Symbol 70 SoundUsed by:Timeline

Instance Names

"dot"Frame 1Symbol 40 MovieClip
"skull"Frame 1Symbol 50 MovieClip
"wider"Frame 1Symbol 52 MovieClip
"square"Frame 2Symbol 61 MovieClip
"cmd"Frame 2Symbol 61 MovieClip
"dot"Frame 2Symbol 40 MovieClip
"skull"Frame 2Symbol 50 MovieClip
"wider"Frame 2Symbol 52 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "item2"
ExportAssets (56)Timeline Frame 1Symbol 2 as "item1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "horns"

Labels

"gameOver"Frame 3
"loaded"Symbol 38 MovieClip Frame 101
"play_button"Symbol 38 MovieClip Frame 130

Dynamic Text Variables

_root.levelSymbol 62 EditableText""




http://swfchan.com/10/46243/info.shtml
Created: 4/5 -2019 02:17:00 Last modified: 4/5 -2019 02:17:00 Server time: 22/12 -2024 10:44:54