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

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

minipool.swf

This is the info page for
Flash #12629

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


Text
<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">www.2DPlay.com</A></FONT></P>

Loading

presents

Left click to shoot.
Clear the table before the time expires
in order to advance to the next level.
The number on each ball (multiplied
by 10 seconds) represents the time.
Be careful with the pink ball.

Mini Pool

Start Game

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

Sound

-50 pts

Score:

Best score:

0

0

Restart

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

Pause

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

Congratulations!
You made it to the next
level.

GO!

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

You are the Pool Master!
Final Score:

000000

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

Oups! Time's Up!
Final Score:

000000

ActionScript [AS1/AS2]

Frame 1
fscommand ("showmenu", false); _root.best = 0; _root.sunet = 1; stop(); logo.onEnterFrame = function () { if (_root.getBytesLoaded() == _root.getBytesTotal()) { this.play(); } else { tgFrame = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.progress.gotoAndStop(tgFrame); } };
Frame 2
stop(); _root.paused = 0; son = new Sound(); son.attachSound("shot1"); son2 = new Sound(); son2.attachSound("shot2"); son3 = new Sound(); son3.attachSound("shot3");
Frame 3
bestTXT.text = _root.best; _root.score = 0; scoreTXT.text = _root.score; i = 0; while (i <= 9) { _root["b" + i].timpIni = getTimer() + 120000; i++; } _root.b4.timpIni = getTimer() + 60000;
Frame 4
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 4
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 4
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 4
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b4) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 4
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 5
stop(); stop();
Frame 6
i = 0; while (i <= 9) { _root["b" + i].timpIni = getTimer() + 100000; i++; } _root.b4.timpIni = getTimer() + 50000;
Frame 7
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 7
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 7
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 7
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b4) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 7
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 8
stop(); stop();
Frame 9
i = 0; while (i <= 9) { _root["b" + i].timpIni = getTimer() + 90000; i++; } _root.b4.timpIni = getTimer() + 50000;
Frame 10
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 10
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 10
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 10
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b4) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 10
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 11
stop(); stop();
Frame 12
i = 0; while (i <= 9) { _root["b" + i].timpIni = getTimer() + 80000; i++; } _root.b4.timpIni = getTimer() + 10000;
Frame 13
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 13
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 13
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 13
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b4) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 13
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 14
stop(); stop();
Frame 15
i = 0; while (i <= 8) { _root["b" + i].timpIni = getTimer() + 70000; i++; } _root.b9.timpIni = getTimer() + 40000;
Frame 16
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 16
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 16
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 16
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b9) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 16
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 17
stop(); stop();
Frame 18
i = 0; while (i <= 8) { _root["b" + i].timpIni = (getTimer() + 40000) + ((8 - i) * 10000); i++; } _root.b9.timpIni = getTimer() + 30000;
Frame 19
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 19
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 19
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 19
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b9) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 19
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 20
stop(); stop();
Frame 21
i = 0; while (i <= 5) { _root["b" + i].timpIni = getTimer() + 30000; i++; } i = 6; while (i <= 8) { _root["b" + i].timpIni = getTimer() + 40000; i++; } _root.b9.timpIni = getTimer() + 50000;
Frame 22
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 22
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 22
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 22
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b9) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 22
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 23
stop(); stop();
Frame 24
i = 0; while (i <= 9) { _root["b" + i].timpIni = (getTimer() + 20000) + ((9 - i) * 10000); i++; }
Frame 25
stop(); ballsIn = 0;
Instance of Symbol 58 MovieClip "controller" in Frame 25
onClipEvent (load) { function getDistanceSquare(clip, clip2) { var xp = (clip._x - clip2._x); var yp = (clip._y - clip2._y); return((xp * xp) + (yp * yp)); } ballsArray = []; var n = 0; while (n < 11) { ballsArray[n] = _root["b" + n]; n++; } holesArray = []; var n = 1; while (n < 7) { holesArray[n - 1] = _root["h" + n]; n++; } var k = 0; while (k < ballsArray.length) { ballsArray[k].dx = 0; ballsArray[k].dy = 0; ballsArray[k].moving = false; ballsArray[k].disabled = false; k++; } diameter = _root.b10._width; diameterSquare = diameter * diameter; bgLeft = 48 + (diameter / 2); bgRight = 515 - (diameter / 2); bgTop = 55 + (diameter / 2); bgBottom = 345 - (diameter / 2); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (fsec > 70) { return(undefined); } var k = 0; while (k < ballsArray.length) { clip = ballsArray[k]; if (clip.moving == false) { } else if (clip.disabled) { } else if (clip.bounced) { } else { var m = 0; while (m < ballsArray.length) { clip2 = ballsArray[m]; if ((m <= k) && (clip2.moving)) { } else if (clip2.disabled) { } else { xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { clip.moving = true; clip2.moving = true; _root.bouncer.bounce(clip, clip2); } } m++; } var m = 0; while (m < holesArray.length) { clip2 = holesArray[m]; xoff = clip2._x - clip._x; yoff = clip2._y - clip._y; if (((xoff * xoff) + (yoff * yoff)) > diameterSquare) { } else { fireN++; duplicateMovieClip (_root.fire, "fire" + fireN, fireN); _root["fire" + fireN].ball = clip; _root["fire" + fireN].hole = clip2; } m++; } } k++; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { t1 = getTimer(); fsec = t1 - t2; t2 = t1; var p = 0; while (p < ballsArray.length) { clip3 = ballsArray[p]; if (clip3.disabled) { } else if (clip3.moving == false) { } else { clip3.dx = clip3.dx - clip3.frictionX; clip3.dy = clip3.dy - clip3.frictionY; clip3._x = clip3._x + clip3.dx; clip3._y = clip3._y + clip3.dy; dx = clip3.dx; dy = clip3.dy; if (clip3._x < bgLeft) { clip3.dx = Math.abs(dx); clip3.frictionX = Math.abs(clip3.frictionX); } else if (clip3._x > bgRight) { clip3.dx = -Math.abs(dx); clip3.frictionX = -Math.abs(clip3.frictionX); } if (clip3._y < bgTop) { clip3.dy = Math.abs(dy); clip3.frictionY = Math.abs(clip3.frictionY); } else if (clip3._y > bgBottom) { clip3.dy = -Math.abs(dy); clip3.frictionY = -Math.abs(clip3.frictionY); } if (((dx * dx) + (dy * dy)) < 0.003) { clip3.dx = 0; clip3.dy = 0; clip3.frictionX = 0; clip3.frictionY = 0; clip3.moving = false; } } p++; } } }
Instance of Symbol 59 MovieClip "bouncer" in Frame 25
onClipEvent (load) { function bounce(clip, clip2) { var angle = Math.atan2(clip._y - clip2._y, clip._x - clip2._x); this._rotation = (angle * 180) / Math.PI; var pt2 = {x:clip2.dx * 10, y:clip2.dy * 10}; this.globalToLocal(pt2); var subVector2 = {x:pt2.x, y:0}; this.localToGlobal(subVector2); var pt = {x:clip.dx * 10, y:clip.dy * 10}; this.globalToLocal(pt); var subVector = {x:pt.x, y:0}; this.localToGlobal(subVector); if ((pt2.x <= 0) && (pt.x >= 0)) { return(undefined); } var xSub = ((subVector2.x - subVector.x) / 10); var ySub = ((subVector2.y - subVector.y) / 10); clip.dx = clip.dx + xSub; clip.dy = clip.dy + ySub; clip2.dx = clip2.dx - xSub; clip2.dy = clip2.dy - ySub; var ang = Math.atan2(clip.dy, clip.dx); clip.frictionX = Math.cos(ang) / 20; clip.frictionY = Math.sin(ang) / 20; var ang2 = Math.atan2(clip2.dy, clip2.dx); clip2.frictionX = Math.cos(ang2) / 20; clip2.frictionY = Math.sin(ang2) / 20; } }
Instance of Symbol 58 MovieClip "fire" in Frame 25
onClipEvent (load) { function startGoHole(clip, clip2) { ball.disabled = true; animate = true; framesNeed = int(_root.b10._width / Math.sqrt((ball.dx * ball.dx) + (ball.dy * ball.dy))); dx = (hole._x - ball._x) / framesNeed; dy = (hole._y - ball._y) / framesNeed; count = 0; } function conclude() { animate = false; ball.moving = false; ball._y = -300; if (ball == _root.b10) { hole.gotoAndPlay(20); } else { _root.ballsIn++; _root.score = _root.score + ball.timpul; _root.scoreTXT.text = _root.score; if (_root.score > _root.best) { _root.best = _root.score; } if (ball == _root.b9) { hole.gotoAndPlay(38); } else { hole.play(); } ball._visible = false; var balolInHole = -1; var k = 0; while (k < ballsArray.length) { if (ballsArray[k] == ball) { ballInHole = k; break; } k++; } if (_root.ballsIn >= 11) { _root.play(); } if (ballInHole > -1) { ballsArray.splice(ballInHole, 1); } } removeMovieClip(this); } startGoHole(); } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } ball._x = ball._x + dx; ball._y = ball._y + dy; count++; if (count >= framesNeed) { conclude(); } } }
Instance of Symbol 63 MovieClip in Frame 25
onClipEvent (load) { function conclude() { if (_root.sunet == 1) { _root.son.start(0, 1); } animate = false; rod._x = -(30 + (_root.b10._width / 2)); _rotation = 0; count = 0; _y = -100; } ballsArray = _root.controller.ballsArray; orgX = _root.b10._x; orgY = _root.b10._y; animate = false; conclude(); } onClipEvent (mouseDown) { if (_root.paused == 0) { if (_root.b10.disabled) { _root.b10.disabled = false; _root.b10._x = orgX; _root.b10._y = orgY; OK = false; while (!OK) { hit = false; var h = 0; while (h < (ballsArray.length - 1)) { tempClip = ballsArray[h]; if ((Math.abs(tempClip._x - _root.b10._x) < _root.b10._width) && (Math.abs(tempClip._y - _root.b10._y) < _root.b10._width)) { hit = true; break; } h++; } if (hit) { _root.b10._x = _root.b10._x + 5; } else { OK = true; } } _root.b10.dx = 0; _root.b10.dy = 0; _root.b10.moving = false; return(undefined); } if (_root.b10.moving) { return(undefined); } _x = _root.b10._x; _y = _root.b10._y; dragging = true; angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } onClipEvent (mouseMove) { if (_root.paused == 0) { if (dragging) { angle = Math.atan2(_root._ymouse - _y, _root._xmouse - _x); _rotation = ((angle * 180) / Math.PI); } } } onClipEvent (mouseUp) { if (_root.paused == 0) { if (dragging) { dragging = false; animate = true; count = 0; } } } onClipEvent (enterFrame) { if (_root.paused == 0) { if (!animate) { return(undefined); } count++; if (count > 12) { conclude(); } if (count == 6) { _root.b10.dx = 10 * Math.cos(angle); _root.b10.dy = 10 * Math.sin(angle); _root.b10.frictionX = _root.b10.dx / 200; _root.b10.frictionY = _root.b10.dy / 200; _root.b10.moving = true; } if (count < 6) { rod._x = rod._x + 5; } else { rod._x = rod._x - 5; } } }
Frame 26
stop(); fScore.text = _root.score; stop();
Frame 27
stop(); fScore.text = _root.score;
Symbol 11 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 63
stop();
Symbol 15 MovieClip Frame 272
_root.gotoAndStop(2);
Symbol 26 Button
on (release) { _root.gotoAndPlay("l1"); }
Symbol 30 Button
on (release) { if (_root.sunet == 0) { _root.sunet = 1; } else { _root.sunet = 0; } }
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
if (_root.sunet == 1) { _root.son3.start(0.7, 1); }
Symbol 42 MovieClip Frame 12
gotoAndStop (1);
Symbol 42 MovieClip Frame 20
if (_root.sunet == 1) { _root.son3.start(0.7, 1); if (_root.score > 50) { _root.score = _root.score - 50; _root.scoreTXT.text = _root.score; } }
Symbol 42 MovieClip Frame 30
gotoAndStop (1);
Symbol 42 MovieClip Frame 38
if (_root.sunet == 1) { _root.son2.start(5, 1); }
Symbol 42 MovieClip Frame 48
gotoAndStop (1);
Symbol 45 MovieClip Frame 1
this.onEnterFrame = function () { if (_root.paused == 0) { timpul = Math.round((timpIni - getTimer()) / 1000); timpTXT = Math.round(timpul / 10); timp.text = timpTXT; if ((timp.text == "0") && (this._visible == 1)) { _root.gotoAndStop("gameOver"); } } };
Symbol 47 MovieClip Frame 1
this.onEnterFrame = function () { if (_root.paused == 0) { timpul = Math.round((timpIni - getTimer()) / 1000); timpTXT = Math.round(timpul / 10); timp.text = timpTXT; if ((timp.text == "0") && (this._visible == 1)) { _root.gotoAndStop("gameOver"); } } };
Symbol 53 Button
on (release) { _root.gotoAndStop(2); }
Symbol 56 Button
on (release) { if (_root.paused == 0) { oldTimp = getTimer(); _root.paused = 1; } else { timpInter = getTimer() - oldTimp; i = 0; while (i <= 9) { _root["b" + i].timpIni = _root["b" + i].timpIni + timpInter; i++; } _root.paused = 0; } }
Symbol 69 Button
on (release) { _root.play(); }
Symbol 106 Button
on (release) { _root.gotoAndStop(2); }

Library Items

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

Instance Names

"logo"Frame 1Symbol 15 MovieClip
"h3"Frame 3Symbol 42 MovieClip
"h1"Frame 3Symbol 42 MovieClip
"h6"Frame 3Symbol 42 MovieClip
"h5"Frame 3Symbol 42 MovieClip
"h4"Frame 3Symbol 42 MovieClip
"h2"Frame 3Symbol 42 MovieClip
"b10"Frame 3Symbol 38 MovieClip
"b0"Frame 3Symbol 45 MovieClip
"b1"Frame 3Symbol 45 MovieClip
"b2"Frame 3Symbol 45 MovieClip
"b3"Frame 3Symbol 45 MovieClip
"b4"Frame 3Symbol 47 MovieClip
"b5"Frame 3Symbol 45 MovieClip
"b7"Frame 3Symbol 45 MovieClip
"b8"Frame 3Symbol 45 MovieClip
"b6"Frame 3Symbol 45 MovieClip
"b9"Frame 3Symbol 45 MovieClip
"scoreTXT"Frame 3Symbol 50 EditableText
"bestTXT"Frame 3Symbol 51 EditableText
"controller"Frame 4Symbol 58 MovieClip
"bouncer"Frame 4Symbol 59 MovieClip
"fire"Frame 4Symbol 58 MovieClip
"b10"Frame 6Symbol 38 MovieClip
"b0"Frame 6Symbol 45 MovieClip
"b1"Frame 6Symbol 45 MovieClip
"b2"Frame 6Symbol 45 MovieClip
"b3"Frame 6Symbol 45 MovieClip
"b4"Frame 6Symbol 47 MovieClip
"b5"Frame 6Symbol 45 MovieClip
"b7"Frame 6Symbol 45 MovieClip
"b8"Frame 6Symbol 45 MovieClip
"b6"Frame 6Symbol 45 MovieClip
"b9"Frame 6Symbol 45 MovieClip
"controller"Frame 7Symbol 58 MovieClip
"bouncer"Frame 7Symbol 59 MovieClip
"fire"Frame 7Symbol 58 MovieClip
"b10"Frame 9Symbol 38 MovieClip
"b0"Frame 9Symbol 45 MovieClip
"b1"Frame 9Symbol 45 MovieClip
"b2"Frame 9Symbol 45 MovieClip
"b3"Frame 9Symbol 45 MovieClip
"b4"Frame 9Symbol 47 MovieClip
"b5"Frame 9Symbol 45 MovieClip
"b7"Frame 9Symbol 45 MovieClip
"b8"Frame 9Symbol 45 MovieClip
"b6"Frame 9Symbol 45 MovieClip
"b9"Frame 9Symbol 45 MovieClip
"controller"Frame 10Symbol 58 MovieClip
"bouncer"Frame 10Symbol 59 MovieClip
"fire"Frame 10Symbol 58 MovieClip
"b10"Frame 12Symbol 38 MovieClip
"b0"Frame 12Symbol 45 MovieClip
"b1"Frame 12Symbol 45 MovieClip
"b2"Frame 12Symbol 45 MovieClip
"b3"Frame 12Symbol 45 MovieClip
"b4"Frame 12Symbol 47 MovieClip
"b5"Frame 12Symbol 45 MovieClip
"b7"Frame 12Symbol 45 MovieClip
"b8"Frame 12Symbol 45 MovieClip
"b6"Frame 12Symbol 45 MovieClip
"b9"Frame 12Symbol 45 MovieClip
"controller"Frame 13Symbol 58 MovieClip
"bouncer"Frame 13Symbol 59 MovieClip
"fire"Frame 13Symbol 58 MovieClip
"b10"Frame 15Symbol 38 MovieClip
"b0"Frame 15Symbol 45 MovieClip
"b1"Frame 15Symbol 45 MovieClip
"b2"Frame 15Symbol 45 MovieClip
"b3"Frame 15Symbol 45 MovieClip
"b4"Frame 15Symbol 45 MovieClip
"b7"Frame 15Symbol 45 MovieClip
"b8"Frame 15Symbol 45 MovieClip
"b6"Frame 15Symbol 45 MovieClip
"b5"Frame 15Symbol 45 MovieClip
"b9"Frame 15Symbol 47 MovieClip
"controller"Frame 16Symbol 58 MovieClip
"bouncer"Frame 16Symbol 59 MovieClip
"fire"Frame 16Symbol 58 MovieClip
"b10"Frame 18Symbol 38 MovieClip
"b0"Frame 18Symbol 45 MovieClip
"b1"Frame 18Symbol 45 MovieClip
"b2"Frame 18Symbol 45 MovieClip
"b3"Frame 18Symbol 45 MovieClip
"b4"Frame 18Symbol 45 MovieClip
"b7"Frame 18Symbol 45 MovieClip
"b8"Frame 18Symbol 45 MovieClip
"b6"Frame 18Symbol 45 MovieClip
"b5"Frame 18Symbol 45 MovieClip
"b9"Frame 18Symbol 47 MovieClip
"controller"Frame 19Symbol 58 MovieClip
"bouncer"Frame 19Symbol 59 MovieClip
"fire"Frame 19Symbol 58 MovieClip
"h2"Frame 21Symbol 42 MovieClip
"b10"Frame 21Symbol 38 MovieClip
"b0"Frame 21Symbol 45 MovieClip
"b1"Frame 21Symbol 45 MovieClip
"b2"Frame 21Symbol 45 MovieClip
"b3"Frame 21Symbol 45 MovieClip
"b4"Frame 21Symbol 45 MovieClip
"b7"Frame 21Symbol 45 MovieClip
"b8"Frame 21Symbol 45 MovieClip
"b6"Frame 21Symbol 45 MovieClip
"b5"Frame 21Symbol 45 MovieClip
"b9"Frame 21Symbol 47 MovieClip
"controller"Frame 22Symbol 58 MovieClip
"bouncer"Frame 22Symbol 59 MovieClip
"fire"Frame 22Symbol 58 MovieClip
"b10"Frame 24Symbol 38 MovieClip
"b0"Frame 24Symbol 45 MovieClip
"b1"Frame 24Symbol 45 MovieClip
"b2"Frame 24Symbol 45 MovieClip
"b3"Frame 24Symbol 45 MovieClip
"b4"Frame 24Symbol 45 MovieClip
"b7"Frame 24Symbol 45 MovieClip
"b8"Frame 24Symbol 45 MovieClip
"b6"Frame 24Symbol 45 MovieClip
"b5"Frame 24Symbol 45 MovieClip
"b9"Frame 24Symbol 47 MovieClip
"controller"Frame 25Symbol 58 MovieClip
"bouncer"Frame 25Symbol 59 MovieClip
"fire"Frame 25Symbol 58 MovieClip
"fScore"Frame 26Symbol 107 EditableText
"fScore"Frame 27Symbol 111 EditableText
"progress"Symbol 15 MovieClip Frame 1Symbol 11 MovieClip
"timp"Symbol 45 MovieClip Frame 1Symbol 44 EditableText
"timp"Symbol 47 MovieClip Frame 1Symbol 46 EditableText
"rod"Symbol 63 MovieClip Frame 1Symbol 62 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "shot1"
ExportAssets (56)Timeline Frame 1Symbol 2 as "shot3"
ExportAssets (56)Timeline Frame 1Symbol 3 as "shot2"

Labels

"l1"Frame 3
"l2"Frame 6
"l3"Frame 9
"l4"Frame 12
"l5"Frame 15
"l6"Frame 18
"l7"Frame 21
"l8"Frame 24
"gameOver"Frame 27




http://swfchan.com/3/12629/info.shtml
Created: 5/6 -2019 18:41:02 Last modified: 5/6 -2019 18:41:02 Server time: 04/05 -2024 09:52:32