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

Balance Balls 2.swf

This is the info page for
Flash #47874

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


Text
loading

loading.

loading..

loading...

Start

presents...

2

It's getting
harder...

s

l

a

e

c

n

B

Use the Left and Right arrow Keys to balance the red ball,
if It falls off, it's Game Over. How long can you survive?

shrink.

grow.

crush.

by Bill Northcott

Duplication Controls

You survived for

seconds

Play Again?

ActionScript [AS1/AS2]

Frame 1
globalvolume = new Sound(); stop(); _root.kongregateServices.connect();
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) { if (_root._framesloaded == _root._totalframes) { this.gotoAndStop(9); } }
Instance of Symbol 13 MovieClip in Frame 1
on (release) { getURL ("http://www.hallpass.com", "_blank"); }
Frame 5
stop();
Frame 6
stop(); finaltime = 0; grow = false; dist = 0; shrink = false;
Instance of Symbol 97 MovieClip "things" in Frame 6
onClipEvent (load) { speed = 0; friction = 0.9; accel = 0.7; } onClipEvent (enterFrame) { if (this._rotation >= 30) { this._rotation = 30; } if (this._rotation <= -30) { this._rotation = -30; } if (Key.isDown(39)) { speed = speed + accel; } if (Key.isDown(37)) { speed = speed - accel; } this._rotation = this._rotation + speed; speed = speed * friction; }
Instance of Symbol 100 MovieClip "controls" in Frame 6
onClipEvent (load) { balls = 0; seconds = 0; difficulty = 100; diffcount = 0; difficulty2 = 300; diffcount2 = 0; bits = 0; grows = 0; shrinks = 0; kills = 0; } onClipEvent (enterFrame) { bits = bits + 1; if (bits == 25) { bits = 0; seconds = seconds + 1; diffcount = diffcount + 1; } if (diffcount == 20) { diffcount = 0; difficulty = difficulty - 15; difficulty2 = difficulty2 - 8; _root.harder.gotoAndPlay(2); } if (difficulty <= 10) { difficulty = 10; } poop = random(difficulty); poop2 = random(difficulty2); if (poop == 1) { balls = balls + 1; duplicateMovieClip (_root.things.ball, "ball" + balls, (balls % 100) + 1100); } if (poop2 == 2) { grows = grows + 1; duplicateMovieClip (_root.things.grow, "grow" + grows, (grows % 100435) + 1145300); } if (poop2 == 3) { shrinks = shrinks + 1; duplicateMovieClip (_root.things.shrink, "shrink" + shrinks, (shrinks % 35) + 10); } if (poop2 == 4) { kills = kills + 1; duplicateMovieClip (_root.things.kill, "kill" + kills, (kills % 3324.332225) + 1.66644444444); } }
Frame 7
stop(); _root.kongregateStats.submit("HighScore", _root.control.seconds);
Instance of Symbol 122 MovieClip "poop2" in Frame 7
on (release) { getURL ("http://www.hallpass.com", "_blank"); }
Symbol 9 Button
on (release) { _root.gotoAndPlay(5); }
Symbol 10 MovieClip Frame 8
gotoAndPlay (1);
Symbol 18 MovieClip Frame 1
stop();
Symbol 28 Button
on (release) { _root.nextFrame(); }
Symbol 31 Button
on (release) { _root.globalvolume.setVolume(0); gotoAndPlay (2); }
Symbol 33 Button
on (release) { _root.globalvolume.setVolume(100); gotoAndPlay (1); }
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
stop();
Symbol 41 Button
on (release) { getURL ("http://senor-taco.deviantart.com", "_blank"); }
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 10
stop();
Symbol 87 MovieClip Frame 1
stop(); _root.kill = false;
Symbol 87 MovieClip Frame 8
stop(); _root.kill = true;
Symbol 87 MovieClip Frame 9
_root.kill = false;
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 46 MovieClip "tilty" in Symbol 97 MovieClip Frame 1
onClipEvent (load) { speed = 0; friction = 0.9; } onClipEvent (enterFrame) { this._rotation = this._rotation + speed; speed = speed * friction; }
Instance of Symbol 79 MovieClip "ball" in Symbol 97 MovieClip Frame 1
onClipEvent (load) { if (_name != "ball") { this._x = random(300) - 150; speed = 0; friction = 0.9; accel = 0.5; yspeed = 0; falling = true; this._width = random(20) + 20; this._height = this._width; mass = this._width; DOANYTHING = true; XD = 0; YD = 0; dist = 0; } } onClipEvent (enterFrame) { if (DOANYTHING == true) { if (_root.kill == true) { XD = this._x - _root.things.mainball._x; YD = this._y - _root.things.mainball._y; dist = Math.sqrt((XD * XD) + (YD * YD)); _root.dist = dist; if (((mass / 2) + _root.things.mainball.woop) > dist) { this._rotation = _root.things._rotation; this.play(); _root.sound2.play(); DOANYTHING = false; } } if (_name != "ball") { this._rotation = this._rotation + (speed * 2); if (falling == true) { this._y = this._y + yspeed; yspeed = yspeed + accel; if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) { this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2); falling = false; yspeed = 0; } } else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) { this._y = this._y + yspeed; yspeed = yspeed + 1; if (_root.things._rotation > 0) { this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10)); } if (_root.things._rotation < 0) { this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10)); } this._alpha = this._alpha - 7; if (_alpha < 0) { this.removeMovieClip(); } } else { force = ((((this._x / 300) / 2) * mass) / 2) / 5; if (this._x > 275) { _root.things.speed = _root.things.speed - (force / 2); } if (this._x < 275) { _root.things.speed = _root.things.speed + (force / 2); } speed = _root.things._rotation / (mass / 5); this._x = this._x + speed; speed = speed * friction; } } } }
Instance of Symbol 87 MovieClip "mainball" in Symbol 97 MovieClip Frame 1
onClipEvent (load) { grow = false; shrink = false; speed = 0; friction = 0.9; accel = 0.5; yspeed = 0; falling = false; this._width = 70; this._height = this._width; mass = this._width; sizee = this._height / 2; count = 1; grow = false; timer = 0; multiplier = this._width / this._xscale; woop = (this._xscale * multiplier) / 2; timer2 = 0; shrink = 0; } onClipEvent (enterFrame) { _root.kongregateStats.submit("HighSize", woop * 2); woop = (this._xscale * multiplier) / 2; if (_root.grow == true) { timer++; if (timer == 20) { timer = 0; _root.grow = false; } this._xscale++; this._yscale++; } if (_root.shrink == true) { timer2++; if (timer2 == 20) { timer2 = 0; _root.shrink = false; } this._xscale--; this._yscale--; } mass = this._width; this._rotation = this._rotation + (speed * 2); if (falling == true) { this._y = this._y + yspeed; yspeed = yspeed + accel; if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) { this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2); falling = false; yspeed = 0; } } else { this._y = (_root.things.tilty._y - woop) - (_root.things.tilty._height / 2); if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) { if (count == 1) { _root.finaltime = _root.controls.seconds; _root.timer._visible = false; _root.fade.gotoAndPlay(2); count = 2; } this._y = this._y + yspeed; yspeed = yspeed + 1; if (_root.things._rotation > 0) { this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10)); } if (_root.things._rotation < 0) { this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10)); } this._alpha = this._alpha - 4; if (_alpha < 0) { this.removeMovieClip(); } } else { force = ((((this._x / 300) / 2) * mass) / 2) / 5; if (this._x > 275) { _root.things.speed = _root.things.speed - (force / 2); } if (this._x < 275) { _root.things.speed = _root.things.speed + (force / 2); } speed = _root.things._rotation / (mass / 5); this._x = this._x + speed; speed = speed * friction; } } }
Instance of Symbol 89 MovieClip "grow" in Symbol 97 MovieClip Frame 1
onClipEvent (load) { if (_name != "grow") { this._x = random(300) - 150; speed = 0; friction = 0.9; accel = 0.5; yspeed = 0; falling = true; mass = this._width; DOANYTHING = true; } } onClipEvent (enterFrame) { if (DOANYTHING == true) { if (_name != "grow") { XD = this._x - _root.things.mainball._x; YD = this._y - _root.things.mainball._y; dist = Math.sqrt((XD * XD) + (YD * YD)); _root.dist = dist; if (((mass / 2) + _root.things.mainball.woop) > dist) { _root.things.glow.play(); _root.sound3.play(); _root.grow = true; DOANYTHING = false; this._visible = false; } this._rotation = this._rotation + (speed * 2); if (falling == true) { this._y = this._y + yspeed; yspeed = yspeed + accel; if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) { this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2); falling = false; yspeed = 0; } } else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) { this._y = this._y + yspeed; yspeed = yspeed + 1; if (_root.things._rotation > 0) { this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10)); } if (_root.things._rotation < 0) { this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10)); } this._alpha = this._alpha - 7; if (_alpha < 0) { this.removeMovieClip(); } } else { force = ((((this._x / 300) / 2) * mass) / 2) / 5; if (this._x > 275) { _root.things.speed = _root.things.speed - (force / 2); } if (this._x < 275) { _root.things.speed = _root.things.speed + (force / 2); } speed = _root.things._rotation / (mass / 5); this._x = this._x + speed; speed = speed * friction; } } } }
Instance of Symbol 91 MovieClip "shrink" in Symbol 97 MovieClip Frame 1
onClipEvent (load) { if (_name != "shrink") { this._x = random(300) - 150; speed = 0; friction = 0.9; accel = 0.5; yspeed = 0; falling = true; mass = this._width; DOANYTHING = true; } } onClipEvent (enterFrame) { if (DOANYTHING == true) { if (_name != "shrink") { XD = this._x - _root.things.mainball._x; YD = this._y - _root.things.mainball._y; dist = Math.sqrt((XD * XD) + (YD * YD)); _root.dist = dist; if (((mass / 2) + _root.things.mainball.woop) > dist) { _root.sound3.play(); _root.things.glow.play(); _root.shrink = true; DOANYTHING = false; this._visible = false; } this._rotation = this._rotation + (speed * 2); if (falling == true) { this._y = this._y + yspeed; yspeed = yspeed + accel; if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) { this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2); falling = false; yspeed = 0; } } else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) { this._y = this._y + yspeed; yspeed = yspeed + 1; if (_root.things._rotation > 0) { this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10)); } if (_root.things._rotation < 0) { this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10)); } this._alpha = this._alpha - 7; if (_alpha < 0) { this.removeMovieClip(); } } else { force = ((((this._x / 300) / 2) * mass) / 2) / 5; if (this._x > 275) { _root.things.speed = _root.things.speed - (force / 2); } if (this._x < 275) { _root.things.speed = _root.things.speed + (force / 2); } speed = _root.things._rotation / (mass / 5); this._x = this._x + speed; speed = speed * friction; } } } }
Instance of Symbol 93 MovieClip "kill" in Symbol 97 MovieClip Frame 1
onClipEvent (load) { if (_name != "kill") { this._x = random(300) - 150; speed = 0; friction = 0.9; accel = 0.5; yspeed = 0; falling = true; mass = this._width; DOANYTHING = true; } } onClipEvent (enterFrame) { if (DOANYTHING == true) { if (_name != "kill") { XD = this._x - _root.things.mainball._x; YD = this._y - _root.things.mainball._y; dist = Math.sqrt((XD * XD) + (YD * YD)); _root.dist = dist; if (((mass / 2) + _root.things.mainball.woop) > dist) { _root.things.mainball.play(); _root.things.glow.play(); _root.sound.play(); DOANYTHING = false; this._visible = false; } this._rotation = this._rotation + (speed * 2); if (falling == true) { this._y = this._y + yspeed; yspeed = yspeed + accel; if (this._y >= ((_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2))) { this._y = (_root.things.tilty._y - (_root.things.tilty._height / 2)) - (this._width / 2); falling = false; yspeed = 0; } } else if ((this._x < (-150 - (this._width / 4))) || (this._x > (150 + (this._width / 4)))) { this._y = this._y + yspeed; yspeed = yspeed + 1; if (_root.things._rotation > 0) { this._x = this._x + (speed + (Math.abs(_root.things._rotation) / 10)); } if (_root.things._rotation < 0) { this._x = this._x + (speed - (Math.abs(_root.things._rotation) / 10)); } this._alpha = this._alpha - 7; if (_alpha < 0) { this.removeMovieClip(); } } else { force = ((((this._x / 300) / 2) * mass) / 2) / 5; if (this._x > 275) { _root.things.speed = _root.things.speed - (force / 2); } if (this._x < 275) { _root.things.speed = _root.things.speed + (force / 2); } speed = _root.things._rotation / (mass / 5); this._x = this._x + speed; speed = speed * friction; } } } }
Instance of Symbol 96 MovieClip "glow" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) { this._x = _root.things.mainball._x; this._y = _root.things.mainball._y; }
Symbol 102 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 20
stop(); _root.nextFrame();
Symbol 119 Button
on (release) { _root.prevFrame(); }
Symbol 124 MovieClip Frame 20
stop();

Library Items

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

Instance Names

"moosic"Frame 5Symbol 43 MovieClip
"things"Frame 6Symbol 97 MovieClip
"controls"Frame 6Symbol 100 MovieClip
"harder"Frame 6Symbol 18 MovieClip
"timer"Frame 6Symbol 102 MovieClip
"sound"Frame 6Symbol 104 MovieClip
"sound2"Frame 6Symbol 107 MovieClip
"sound3"Frame 6Symbol 109 MovieClip
"fade"Frame 6Symbol 112 MovieClip
"poop2"Frame 7Symbol 122 MovieClip
"harder"Symbol 26 MovieClip Frame 1Symbol 18 MovieClip
"tilty"Symbol 97 MovieClip Frame 1Symbol 46 MovieClip
"ball"Symbol 97 MovieClip Frame 1Symbol 79 MovieClip
"mainball"Symbol 97 MovieClip Frame 1Symbol 87 MovieClip
"grow"Symbol 97 MovieClip Frame 1Symbol 89 MovieClip
"shrink"Symbol 97 MovieClip Frame 1Symbol 91 MovieClip
"kill"Symbol 97 MovieClip Frame 1Symbol 93 MovieClip
"glow"Symbol 97 MovieClip Frame 1Symbol 96 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Dynamic Text Variables

_root.controls.secondsSymbol 101 EditableText""
_root.finaltimeSymbol 115 EditableText""




http://swfchan.com/10/47874/info.shtml
Created: 30/4 -2019 23:58:23 Last modified: 30/4 -2019 23:58:23 Server time: 22/12 -2024 23:46:52