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

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

ballcage.swf

This is the info page for
Flash #7487

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


Text
Game Loading ...

Red Ok:

Blue Ok:

0

0

Time:

New

©

Absolutist.com

More games

0

0

ActionScript [AS1/AS2]

Frame 1
tellTarget ("_level0") { lbLoadingGame = ""; };
Frame 3
if (_framesloaded >= _totalframes) { gotoAndPlay (4); } else { gotoAndPlay (2); }
Frame 4
function NewGame() { stTime = 0; Time = 0; hole._visible = true; var i = 0; while (i < nBalls) { attachMovie("red", "red" + i, 100 + i); var b = eval ("red" + i); b._x = (x1 + (b._width / 2)) + random((x2 - x1) - b._width); b._y = (y1 + (b._height / 2)) + random((y2 - y1) - b._height); var V = (random(5) + 1); var A = (((random(365) * 2) * Math.PI) / 360); b.Vx = V * Math.cos(A); b.Vy = V * Math.sin(A); if (Math.abs(b.Vx < 2)) { b.Vx = -2; } if (Math.abs(b.Vy < 2)) { b.Vy = -2; } rBall.push(b); i++; } var i = 0; while (i < nBalls) { attachMovie("blue", "blue" + i, 200 + i); var b = eval ("blue" + i); b._x = (x1 + (b._width / 2)) + random((x2 - x1) - b._width); b._y = (y1 + (b._height / 2)) + random((y2 - y1) - b._height); var V = (random(5) + 1); var A = (((random(365) * 2) * Math.PI) / 360); b.Vx = V * Math.cos(A); b.Vy = V * Math.sin(A); if (Math.abs(b.Vx < 2)) { b.Vx = 2; } if (Math.abs(b.Vy < 2)) { b.Vy = -2; } bBall.push(b); i++; } } if (!init) { init = true; } else { return(undefined); } Beta = 0.95; Beta1 = 1 - Beta; FPS = 0; nBalls = 10; x1 = 10; x2 = 492; y1 = 10; y2 = 317; xb1 = hole._x - (hole._width / 2); xb2 = hole._x + (hole._width / 2); rBall = []; bBall = []; R = 5; D = 2 * R; NewGame();
Instance of Symbol 36 MovieClip "hole" in Frame 4
onClipEvent (mouseMove) { _y = _parent._ymouse; if (_y < (_parent.y1 + (_height / 2))) { _y = ((_parent.y1 + (_height / 2)) - 3); } if ((_parent.y2 - (_height / 2)) < _y) { _y = ((_parent.y2 - (_height / 2)) + 3); } }
Frame 6
dt = getTimer() - tLst; tLst = getTimer(); FPS = (Beta1 * dt) + (Beta * FPS); stFPS = Math.round(FPS); if (hole._visible) { Time = Time + dt; } stTime = Math.round(Time / 1000); yb1 = hole._y - (hole._height / 2); yb2 = hole._y + (hole._height / 2); nr = (nb = 0); var i = 0; while (i < (2 * nBalls)) { if (i < nBalls) { b = rBall[i]; if (xb2 < b._x) { nr++; } } else { b = bBall[i - nBalls]; if (b._x < xb1) { nb++; } } if (b._x < x1) { b.Vx = Math.abs(b.Vx); } if (x2 < b._x) { b.Vx = -Math.abs(b.Vx); } if (b._y < y1) { b.Vy = Math.abs(b.Vy); } if (y2 < b._y) { b.Vy = -Math.abs(b.Vy); } if (((((b._y - R) + b.Vy) < yb1) || (yb2 < ((b._y + R) + b.Vy))) || (!hole._visible)) { if (((b._x + b.Vx) >= xb1) && (xb1 >= b._x)) { b.Vx = -Math.abs(b.Vx); } if ((xb2 >= (b._x + b.Vx)) && (b._x >= xb2)) { b.Vx = Math.abs(b.Vx); } } b._x = b._x + b.Vx; b._y = b._y + b.Vy; i++; } stNR = nr; stNB = nb; if ((nr == nBalls) && (nb == nBalls)) { hole._visible = false; } prevFrame(); play();
Symbol 21 Button
on (release) { NewGame(); }
Symbol 27 Button
on (release) { getURL ("http://absolutist.com", "_blank"); }
Symbol 31 Button
on (release) { getURL ("http://absolutist.com/games.html", "_blank"); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [blue]Uses:1
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [red]Uses:3
Symbol 5 FontUsed by:6 22
Symbol 6 TextUses:5Used by:8
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:6 7Used by:Timeline
Symbol 9 FontUsed by:10 11 12 13 14 32
Symbol 10 TextUses:9Used by:Timeline
Symbol 11 TextUses:9Used by:Timeline
Symbol 12 EditableTextUses:9Used by:Timeline
Symbol 13 EditableTextUses:9Used by:Timeline
Symbol 14 EditableTextUses:9Used by:Timeline
Symbol 15 FontUsed by:16
Symbol 16 EditableTextUses:15Used by:Timeline
Symbol 17 GraphicUsed by:21
Symbol 18 GraphicUsed by:21
Symbol 19 GraphicUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 ButtonUses:17 18 19 20Used by:Timeline
Symbol 22 EditableTextUses:5Used by:27
Symbol 23 FontUsed by:24 28
Symbol 24 EditableTextUses:23Used by:27
Symbol 25 GraphicUsed by:27
Symbol 26 GraphicUsed by:27
Symbol 27 ButtonUses:22 24 25 26Used by:Timeline
Symbol 28 EditableTextUses:23Used by:31
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 ButtonUses:28 29 30Used by:Timeline
Symbol 32 EditableTextUses:9Used by:Timeline
Symbol 33 FontUsed by:34
Symbol 34 EditableTextUses:33Used by:Timeline
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:Timeline

Instance Names

"hole"Frame 4Symbol 36 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 2 as "blue"
ExportAssets (56)Timeline Frame 1Symbol 4 as "red"

Dynamic Text Variables

stNRSymbol 12 EditableText"0"
stNBSymbol 13 EditableText"0"
TextField8Symbol 14 EditableText"Time:"
TextField1Symbol 16 EditableText"New"
TextField13Symbol 22 EditableText"©"
TextField9Symbol 24 EditableText"Absolutist.com"
TextField2Symbol 28 EditableText"More games"
stTimeSymbol 32 EditableText"0"
stFPSSymbol 34 EditableText"0"




http://swfchan.com/2/7487/info.shtml
Created: 12/6 -2019 13:27:50 Last modified: 12/6 -2019 13:27:50 Server time: 14/11 -2024 08:01:55