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

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

Extreme Mini Golf.swf

This is the info page for
Flash #42343

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


Text
PLAY

PLAY

EXTREME

EXTREME

99

0

0

PAR: 2

PAR: 2

PAR: 3

PAR: 3

PAR: 4

PAR: 4

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

A

18

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

10

A

18

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false;
Frame 2
stop(); Mouse.hide(); function addscore(strokes, hole) { if (strokes > 10) { strokes = 10; } _root.scoreArray[hole - 1] = int(strokes); _root.strokes = 0; return(undefined); } function setBall() { ball.vx = (ball.vy = 0); ball._x = startx._x; ball._y = startx._y; ball._visible = true; } _root.scoreArray = new Array(); setBall();
Instance of Symbol 26 MovieClip "holecounter" in Frame 2
onClipEvent (enterFrame) { this.holecount = int((_root._currentframe + 1) / 2); }
Instance of Symbol 34 MovieClip in Frame 2
onClipEvent (load) { this._visible = false; } onClipEvent (enterFrame) { if (_root.strokes < 10) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 44 MovieClip "slider" in Frame 2
onClipEvent (load) { bgSound = new Sound(); bgSound.attachSound("Music"); bgSound.start(0, 75); _root.playB.enabled = false; this.slideBar._y = -75; this.slideBar.onEnterFrame = function () { bgSound.setVolume(-this._y); }; this.slideBar.onPress = function () { startDrag (this, false, this._x, -75, this._x, 0); }; this.slideBar.onRelease = (slider.slideBar.onReleaseOutside = function () { stopDrag(); }); _root.stopB.onRelease = function () { bgSound.stop(); _root.playB.enabled = true; _root.stopB.enabled = false; }; _root.playB.onRelease = function () { bgSound.start(0, 99); _root.playB.enabled = false; _root.stopB.enabled = true; }; }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 2
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 2
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 58 MovieClip "ball" in Frame 2
onClipEvent (load) { ballhit = new Sound(); ballhit.attachSound("ballhit"); friction = 0.02; putt = false; stopped = true; _root.onMouseDown = function () { if (stopped && (!toofar)) { putt = true; stopped = false; _root.strokes++; } }; this.swapDepths(100000); } onClipEvent (enterFrame) { disx = _x - _root._xmouse; disy = _y - _root._ymouse; if (Math.sqrt((disx * disx) + (disy * disy)) > 100) { _root.putter.gotoAndStop(2); toofar = true; } else { _root.putter.gotoAndStop(1); toofar = false; } if (putt) { vx = disx / 7; vy = disy / 7; ballhit.start(); putt = false; } vx = vx - (vx * friction); vy = vy - (vy * friction); _x = (_x + vx); _y = (_y + vy); if ((((vx < 0.08) && (vx > -0.08)) && ((vy < 0.08) && (vy > -0.08))) && (!hill)) { stopped = true; vx = (vy = 0); } else { stopped = false; } oldx = this._x; oldy = this._y; }
Instance of Symbol 60 MovieClip "aimer" in Frame 2
onClipEvent (enterFrame) { this._x = _root.ball._x + _root.ball.disx; this._y = _root.ball._y + _root.ball.disy; if (_root.putter._visible) { _visible = true; x = _x; y = _y; mx = _root._xmouse; my = _root._ymouse; obj_x = int(_x - mx); obj_y = int(_y - my); if ((obj_x > 0) && (obj_y > 0)) { quad = 4; } if ((obj_x < 0) && (obj_y > 0)) { quad = 1; } if ((obj_x < 0) && (obj_y < 0)) { quad = 2; } if ((obj_x > 0) && (obj_y < 0)) { quad = 3; } abs_x = Math.abs(obj_x); abs_y = Math.abs(obj_y); tg = abs_y / abs_x; maths = (Math.atan(tg) * Number(180)) / Math.PI; if (quad == 1) { angle = Number(90) - Number(maths); } if (quad == 2) { angle = Number(90) + Number(maths); } if (quad == 3) { angle = Number(270) - Number(maths); } if (quad == 4) { angle = Number(270) + Number(maths); } _rotation = angle; } else { _visible = false; } }
Instance of Symbol 65 MovieClip "putter" in Frame 2
onClipEvent (load) { this.swapDepths(10000000); } onClipEvent (enterFrame) { if (_name == "putter") { this._x = _root._xmouse; this._y = _root._ymouse; } if (((_root.ball.stopped && (_root.ball._visible)) && (!_root.ball.hill)) && (_name == "putter")) { _visible = true; } else { _visible = false; } _root.ball.hill = false; }
Frame 3
play(); addscore(strokes, 1);
Frame 4
stop(); setBall();
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 4
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 5
play(); addscore(strokes, 2);
Frame 6
stop(); setBall();
Instance of Symbol 73 MovieClip in Frame 6
onClipEvent (load) { slope = 10; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 78 MovieClip in Frame 6
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 6
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 73 MovieClip in Frame 6
onClipEvent (load) { slope = 10; direction = 181; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 7
play(); addscore(strokes, 3);
Frame 8
stop(); setBall();
Instance of Symbol 73 MovieClip in Frame 8
onClipEvent (load) { slope = 10; direction = 90; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 8
onClipEvent (load) { slope = 10; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 8
onClipEvent (load) { slope = 10; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 8
onClipEvent (load) { slope = 10; direction = 90; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 8
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 9
play(); addscore(strokes, 4);
Frame 10
stop(); setBall();
Instance of Symbol 85 MovieClip in Frame 10
onClipEvent (load) { function getRotation(fx, fy, sx, sy) { disx = math.abs(fx - sx); disy = math.abs(fy - sy); obj_x = int(sx - fx); obj_y = int(sy - fy); if ((obj_x > 0) && (obj_y > 0)) { quad = 4; } if ((obj_x < 0) && (obj_y > 0)) { quad = 1; } if ((obj_x < 0) && (obj_y < 0)) { quad = 2; } if ((obj_x > 0) && (obj_y < 0)) { quad = 3; } abs_x = Math.abs(obj_x); abs_y = Math.abs(obj_y); tg = abs_y / abs_x; maths = (Math.atan(tg) * Number(180)) / Math.PI; if (quad == 1) { angle = Number(90) - Number(maths); } if (quad == 2) { angle = Number(90) + Number(maths); } if (quad == 3) { angle = Number(270) - Number(maths); } if (quad == 4) { angle = Number(270) + Number(maths); } return(angle); } slope = 20; direction = -90; obj = _root.ball; startx = [_root.pipe1._x, _root.pipe2._x, _root.pipe3._x]; starty = [_root.pipe1._y, _root.pipe2._y, _root.pipe3._y]; restart = new Array(startx[random(3)], starty[random(3)]); xdir = 0; ydir = 3; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { r = getRotation(obj._x, obj._y, _x, _y); obj.vx = obj.vx - (Math.sin(r * (Math.PI/180)) * (slope / 200)); obj.vy = obj.vy + (Math.cos(r * (Math.PI/180)) * (slope / 200)); } if (this.conehole.hitTest(obj._x, obj._y)) { obj._visible = false; obj.vx = 0; obj.vy = 0; timer++; if (timer > 50) { obj._x = restart[0]; obj._y = restart[1]; obj._visible = true; obj.vx = xdir; obj.vy = ydir; } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 10
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 87 MovieClip "pipe1" in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 87 MovieClip "pipe2" in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 87 MovieClip "pipe3" in Frame 10
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 11
play(); addscore(strokes, 5);
Frame 12
stop(); setBall();
Instance of Symbol 78 MovieClip in Frame 12
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 12
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 12
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 12
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 12
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 12
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 12
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 12
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 12
onClipEvent (load) { slope = 20; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Frame 13
play(); addscore(strokes, 6);
Frame 14
stop(); setBall();
Instance of Symbol 78 MovieClip in Frame 14
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 14
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 14
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 14
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 14
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 14
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 73 MovieClip in Frame 14
onClipEvent (load) { slope = 20; direction = 90; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 14
onClipEvent (load) { slope = 20; direction = -90; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 14
onClipEvent (load) { slope = 20; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 92 MovieClip in Frame 14
onClipEvent (load) { slope = 20; direction = 135; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 92 MovieClip in Frame 14
onClipEvent (load) { slope = 20; direction = -135; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Frame 15
play(); addscore(strokes, 7);
Frame 16
stop(); setBall();
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 16
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 16
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 17
play(); addscore(strokes, 8);
Frame 18
stop(); setBall();
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 18
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 18
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 19
play(); addscore(strokes, 9);
Frame 20
stop(); setBall();
Instance of Symbol 73 MovieClip in Frame 20
onClipEvent (load) { slope = 10; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 20
onClipEvent (load) { slope = 15; direction = -90; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 20
onClipEvent (load) { slope = 4; direction = 180.5; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 20
onClipEvent (load) { slope = 20; direction = 90; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 20
onClipEvent (load) { slope = 20; direction = 179.5; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 20
onClipEvent (load) { slope = 5; direction = -90; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 78 MovieClip in Frame 20
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 20
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 20
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 21
play(); addscore(strokes, 10);
Frame 22
stop(); setBall();
Instance of Symbol 78 MovieClip in Frame 22
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 22
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 22
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 22
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 22
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 22
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 22
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 22
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 23
play(); addscore(strokes, 11);
Frame 24
stop(); setBall();
Instance of Symbol 98 MovieClip in Frame 24
onClipEvent (load) { slope = 15; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 98 MovieClip in Frame 24
onClipEvent (load) { slope = 15; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 49 MovieClip in Frame 24
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 24
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 24
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 24
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 24
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 24
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 24
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 25
play(); addscore(strokes, 12);
Frame 26
stop(); setBall();
Instance of Symbol 78 MovieClip in Frame 26
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 26
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 73 MovieClip in Frame 26
onClipEvent (load) { slope = 7; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 26
onClipEvent (load) { slope = 7; direction = 179.5; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 49 MovieClip in Frame 26
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 26
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 26
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 26
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 26
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 26
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 26
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Frame 27
play(); addscore(strokes, 13);
Frame 28
stop(); setBall();
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 49 MovieClip in Frame 28
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 28
onClipEvent (load) { slope = 5; direction = 180; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 105 MovieClip in Frame 28
onClipEvent (load) { friction = 0.9; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx * friction; obj.vy = obj.vy * friction; } }
Instance of Symbol 49 MovieClip in Frame 28
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 28
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 28
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 28
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Frame 29
play(); addscore(strokes, 14);
Frame 30
stop(); setBall();
Instance of Symbol 49 MovieClip in Frame 30
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 108 MovieClip in Frame 30
onClipEvent (load) { obj = _root.ball; orgfriction = obj.friction; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.friction = 0.005; } else { obj.friction = orgfriction; } }
Instance of Symbol 78 MovieClip in Frame 30
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 30
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 30
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 30
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 30
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 30
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 31
play(); addscore(strokes, 15);
Frame 32
stop(); setBall();
Instance of Symbol 108 MovieClip in Frame 32
onClipEvent (load) { obj = _root.ball; orgfriction = obj.friction; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.friction = 0.005; } else { obj.friction = orgfriction; } }
Instance of Symbol 78 MovieClip in Frame 32
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 32
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 32
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 32
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 78 MovieClip in Frame 32
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 32
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 32
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 32
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 32
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 32
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 32
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 32
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 33
play(); addscore(strokes, 16);
Frame 34
stop(); setBall();
Instance of Symbol 114 MovieClip in Frame 34
onClipEvent (load) { this.gotoAndPlay(200); obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj) && ((this._currentframe > 0) && (this._currentframe < 425))) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 114 MovieClip in Frame 34
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if (this.hitTest(obj) && ((this._currentframe > 0) && (this._currentframe < 425))) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 105 MovieClip in Frame 34
onClipEvent (load) { friction = 0.9; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx * friction; obj.vy = obj.vy * friction; } }
Instance of Symbol 105 MovieClip in Frame 34
onClipEvent (load) { friction = 0.9; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx * friction; obj.vy = obj.vy * friction; } }
Instance of Symbol 49 MovieClip in Frame 34
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 34
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 54 MovieClip in Frame 34
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Instance of Symbol 49 MovieClip in Frame 34
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 34
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 34
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 34
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Frame 35
play(); addscore(strokes, 17);
Frame 36
stop(); setBall();
Instance of Symbol 73 MovieClip in Frame 36
onClipEvent (load) { slope = 5; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 36
onClipEvent (load) { slope = 5; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 36
onClipEvent (load) { slope = 5; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 73 MovieClip in Frame 36
onClipEvent (load) { slope = 5; direction = 0; obj = _root.ball; } onClipEvent (enterFrame) { if (this.hitTest(obj)) { obj.vx = obj.vx - (Math.sin(direction * (Math.PI/180)) * (slope / 100)); obj.vy = obj.vy - (Math.cos(direction * (Math.PI/180)) * (slope / 100)); } }
Instance of Symbol 78 MovieClip in Frame 36
onClipEvent (load) { obj = _root.ball; restart = new Array(_root.startx._x, _root.startx._y); } onClipEvent (enterFrame) { if ((this.hitTest(obj) && (!obj.hitTest(_root.island))) && (obj.vy < 5)) { obj.vx = (obj.vy = 0); obj._alpha = 0; if (obj._alpha == 0) { obj._x = restart[0]; obj._y = restart[1]; obj._alpha = 100; } } }
Instance of Symbol 49 MovieClip in Frame 36
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 36
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 36
onClipEvent (load) { bounce = 1; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 49 MovieClip in Frame 36
onClipEvent (load) { bounce = 0.7; obj = _parent.ball; ballradius = obj._width / 2; edgeleft = this._x - (this._width / 2); edgeright = this._x + (this._width / 2); edgetop = this._y - (this._height / 2); edgebottom = this._y + (this._height / 2); } onClipEvent (enterFrame) { if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy < edgetop)) { side = "t"; } if (((obj.oldx > edgeleft) && (obj.oldx < edgeright)) && (obj.oldy > edgebottom)) { side = "b"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx < edgeleft)) { side = "l"; } if (((obj.oldy > edgetop) && (obj.oldy < edgebottom)) && (obj.oldx > edgeright)) { side = "r"; } if (obj.hitTest(this)) { if (side == "t") { obj._y = edgetop - ballradius; obj.vy = obj.vy * (-bounce); } if (side == "b") { obj._y = edgebottom + ballradius; obj.vy = obj.vy * (-bounce); } if (side == "l") { obj._x = edgeleft - ballradius; obj.vx = obj.vx * (-bounce); } if (side == "r") { obj._x = edgeright + ballradius; obj.vx = obj.vx * (-bounce); } } }
Instance of Symbol 117 MovieClip "island" in Frame 36
onClipEvent (load) { obj = _root.ball; flip = false; } onClipEvent (enterFrame) { if (!flip) { vx = -0.5; } if (_x <= 260) { flip = true; } if (flip) { vx = 0.5; } if (_x >= 340) { flip = false; } this._x = this._x + vx; if (this.hitTest(obj) && (obj.vy < 7)) { obj.friction = 0.1; obj._x = obj._x + this.vx; } else { obj.friction = 0.02; } }
Frame 37
_root.ball.removeMovieClip(); stopAllSounds(); _root.music_button.removeMovieClip(); play(); addscore(strokes, 18);
Frame 38
stop(); Mouse.show(); totalstrokes = 0; i = 0; while (i <= 17) { totalstrokes = totalstrokes + _root.scoreArray[i]; trace(_root.scoreArray[i]); i++; } if (totalstrokes >= 18) { grade = "S"; } if (totalstrokes >= 25) { grade = "A"; } if (totalstrokes >= 35) { grade = "B"; } if (totalstrokes >= 45) { grade = "C"; } if (totalstrokes >= 60) { grade = "D"; } if (totalstrokes >= 90) { grade = "F"; } hole1 = scoreArray[0]; hole2 = scoreArray[1]; hole3 = scoreArray[2]; hole4 = scoreArray[3]; hole5 = scoreArray[4]; hole6 = scoreArray[5]; hole7 = scoreArray[6]; hole8 = scoreArray[7]; hole9 = scoreArray[8]; hole10 = scoreArray[9]; hole11 = scoreArray[10]; hole12 = scoreArray[11]; hole13 = scoreArray[12]; hole14 = scoreArray[13]; hole15 = scoreArray[14]; hole16 = scoreArray[15]; hole17 = scoreArray[16]; hole18 = scoreArray[17];
Frame 39
stop(); totalstrokes = 0; i = 0; while (i <= 17) { totalstrokes = totalstrokes + scoreArray[i]; i++; } if (totalstrokes >= 0) { grade = "S"; } if (totalstrokes >= 25) { grade = "A"; } if (totalstrokes >= 35) { grade = "B"; } if (totalstrokes >= 45) { grade = "C"; } if (totalstrokes >= 60) { grade = "D"; }
Symbol 16 Button
on (release) { _root.gotoAndPlay(1); }
Symbol 17 MovieClip Frame 1
stop(); total = _root.getBytesTotal(); _root.onEnterFrame = function () { loaded = _root.getBytesLoaded(); per = int((loaded / total) * 100); this.loadbar.gotoAndStop(per); if (per == 100) { gotoAndStop (2); } };
Symbol 17 MovieClip Frame 2
stop();
Symbol 29 Button
on (release) { _root.strokes = 10; nextFrame(); }
Symbol 49 MovieClip Frame 1
wallhit = new Sound(); wallhit.attachSound("ballhit");
Instance of Symbol 48 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _parent.wallhit.start(); } }
Symbol 54 MovieClip Frame 1
stop(); this.onEnterFrame = function () { if (soundplay == true) { this.gotoAndPlay(2); } };
Symbol 54 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 3
stop();
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.hill = true; } }
Instance of Symbol 54 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) { ballsink = new Sound(); ballsink.attachSound("ballsink"); obj = _root.ball; timerstart = false; } onClipEvent (enterFrame) { if (this.holehit.hitTest(obj)) { if (((obj.vx > -3) && (obj.vx < 3)) && ((obj.vy > -3) && (obj.vy < 3))) { if (!soundplay) { ballsink.start(); soundplay = true; } obj._visible = false; timerstart = true; } } if (timerstart) { timer++; if (timer > 50) { _root.startx.removeMovieClip(); _root.gotoAndPlay(_root._currentframe + 1); } } }
Symbol 146 Button
on (release) { gotoAndPlay (1); }

Library Items

Symbol 1 Sound [Music]
Symbol 2 Sound [ballsink]
Symbol 3 Sound [ballhit]
Symbol 4 BitmapUsed by:5 45 68 69 70 81 82 88 89 90 93 94 95 96 97 101 102 106 109 110 115 116 118 147
Symbol 5 GraphicUses:4Used by:Timeline
Symbol 6 GraphicUsed by:17
Symbol 7 ShapeTweeningUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:7 8Used by:17
Symbol 10 GraphicUsed by:17
Symbol 11 GraphicUsed by:16
Symbol 12 FontUsed by:13 14
Symbol 13 TextUses:12Used by:16
Symbol 14 TextUses:12Used by:16
Symbol 15 GraphicUsed by:16
Symbol 16 ButtonUses:11 13 14 15Used by:17
Symbol 17 MovieClipUses:6 9 10 16Used by:Timeline
Symbol 18 FontUsed by:19 20
Symbol 19 TextUses:18Used by:Timeline
Symbol 20 TextUses:18Used by:Timeline
Symbol 21 GraphicUsed by:Timeline
Symbol 22 GraphicUsed by:Timeline
Symbol 23 GraphicUsed by:26
Symbol 24 FontUsed by:25
Symbol 25 EditableTextUses:24Used by:26
Symbol 26 MovieClipUses:23 25Used by:Timeline
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 ButtonUses:27 28Used by:Timeline
Symbol 30 FontUsed by:31 32 66 67 79 80 99 100
Symbol 31 EditableTextUses:30Used by:Timeline
Symbol 32 EditableTextUses:30Used by:Timeline
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:Timeline
Symbol 35 GraphicUsed by:37
Symbol 36 GraphicUsed by:37
Symbol 37 ButtonUses:35 36Used by:Timeline
Symbol 38 GraphicUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 ButtonUses:38 39Used by:Timeline
Symbol 41 GraphicUsed by:44
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:44
Symbol 44 MovieClipUses:41 43Used by:Timeline
Symbol 45 GraphicUses:4Used by:Timeline
Symbol 46 GraphicUsed by:49
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClipUses:46 48Used by:Timeline
Symbol 50 GraphicUsed by:54
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:54
Symbol 53 GraphicUsed by:54 58
Symbol 54 MovieClipUses:50 52 53Used by:85 117  Timeline
Symbol 55 GraphicUsed by:Timeline
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:Timeline
Symbol 58 MovieClipUses:53Used by:Timeline
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:Timeline
Symbol 61 GraphicUsed by:65
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:61 62 63 64Used by:Timeline
Symbol 66 TextUses:30Used by:Timeline
Symbol 67 TextUses:30Used by:Timeline
Symbol 68 GraphicUses:4Used by:Timeline
Symbol 69 GraphicUses:4Used by:Timeline
Symbol 70 GraphicUses:4Used by:73
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClipUses:70 72Used by:98  Timeline
Symbol 74 ShapeTweeningUsed by:78
Symbol 75 GraphicUsed by:78
Symbol 76 ShapeTweeningUsed by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:74 75 76 77Used by:Timeline
Symbol 79 TextUses:30Used by:Timeline
Symbol 80 TextUses:30Used by:Timeline
Symbol 81 GraphicUses:4Used by:Timeline
Symbol 82 GraphicUses:4Used by:Timeline
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:83 54 84Used by:Timeline
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 GraphicUses:4Used by:Timeline
Symbol 89 GraphicUses:4Used by:Timeline
Symbol 90 GraphicUses:4Used by:92
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:90 91Used by:Timeline
Symbol 93 GraphicUses:4Used by:Timeline
Symbol 94 GraphicUses:4Used by:Timeline
Symbol 95 GraphicUses:4Used by:Timeline
Symbol 96 GraphicUses:4Used by:Timeline
Symbol 97 GraphicUses:4Used by:Timeline
Symbol 98 MovieClipUses:73Used by:Timeline
Symbol 99 TextUses:30Used by:Timeline
Symbol 100 TextUses:30Used by:Timeline
Symbol 101 GraphicUses:4Used by:Timeline
Symbol 102 GraphicUses:4Used by:Timeline
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:105
Symbol 105 MovieClipUses:104Used by:Timeline
Symbol 106 GraphicUses:4Used by:Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:Timeline
Symbol 109 GraphicUses:4Used by:Timeline
Symbol 110 GraphicUses:4Used by:Timeline
Symbol 111 GraphicUsed by:114
Symbol 112 GraphicUsed by:114
Symbol 113 ShapeTweeningUsed by:114
Symbol 114 MovieClipUses:111 112 113Used by:Timeline
Symbol 115 GraphicUses:4Used by:Timeline
Symbol 116 GraphicUses:4Used by:117
Symbol 117 MovieClipUses:116 54Used by:Timeline
Symbol 118 GraphicUses:4Used by:Timeline
Symbol 119 GraphicUsed by:Timeline
Symbol 120 FontUsed by:121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
Symbol 121 EditableTextUses:120Used by:Timeline
Symbol 122 EditableTextUses:120Used by:Timeline
Symbol 123 EditableTextUses:120Used by:Timeline
Symbol 124 EditableTextUses:120Used by:Timeline
Symbol 125 EditableTextUses:120Used by:Timeline
Symbol 126 EditableTextUses:120Used by:Timeline
Symbol 127 EditableTextUses:120Used by:Timeline
Symbol 128 EditableTextUses:120Used by:Timeline
Symbol 129 EditableTextUses:120Used by:Timeline
Symbol 130 EditableTextUses:120Used by:Timeline
Symbol 131 EditableTextUses:120Used by:Timeline
Symbol 132 EditableTextUses:120Used by:Timeline
Symbol 133 EditableTextUses:120Used by:Timeline
Symbol 134 EditableTextUses:120Used by:Timeline
Symbol 135 EditableTextUses:120Used by:Timeline
Symbol 136 EditableTextUses:120Used by:Timeline
Symbol 137 EditableTextUses:120Used by:Timeline
Symbol 138 EditableTextUses:120Used by:Timeline
Symbol 139 FontUsed by:140 166
Symbol 140 EditableTextUses:139Used by:Timeline
Symbol 141 FontUsed by:142 167
Symbol 142 EditableTextUses:141Used by:Timeline
Symbol 143 GraphicUsed by:146
Symbol 144 GraphicUsed by:146
Symbol 145 GraphicUsed by:146
Symbol 146 ButtonUses:143 144 145Used by:Timeline
Symbol 147 GraphicUses:4Used by:Timeline
Symbol 148 EditableTextUses:120Used by:Timeline
Symbol 149 EditableTextUses:120Used by:Timeline
Symbol 150 EditableTextUses:120Used by:Timeline
Symbol 151 EditableTextUses:120Used by:Timeline
Symbol 152 EditableTextUses:120Used by:Timeline
Symbol 153 EditableTextUses:120Used by:Timeline
Symbol 154 EditableTextUses:120Used by:Timeline
Symbol 155 EditableTextUses:120Used by:Timeline
Symbol 156 EditableTextUses:120Used by:Timeline
Symbol 157 EditableTextUses:120Used by:Timeline
Symbol 158 EditableTextUses:120Used by:Timeline
Symbol 159 EditableTextUses:120Used by:Timeline
Symbol 160 EditableTextUses:120Used by:Timeline
Symbol 161 EditableTextUses:120Used by:Timeline
Symbol 162 EditableTextUses:120Used by:Timeline
Symbol 163 EditableTextUses:120Used by:Timeline
Symbol 164 EditableTextUses:120Used by:Timeline
Symbol 165 EditableTextUses:120Used by:Timeline
Symbol 166 EditableTextUses:139Used by:Timeline
Symbol 167 EditableTextUses:141Used by:Timeline

Instance Names

"holecounter"Frame 2Symbol 26 MovieClip
"stopB"Frame 2Symbol 37 Button
"playB"Frame 2Symbol 40 Button
"slider"Frame 2Symbol 44 MovieClip
"startx"Frame 2Symbol 57 MovieClip
"ball"Frame 2Symbol 58 MovieClip
"aimer"Frame 2Symbol 60 MovieClip
"putter"Frame 2Symbol 65 MovieClip
"startx"Frame 4Symbol 57 MovieClip
"startx"Frame 6Symbol 57 MovieClip
"startx"Frame 8Symbol 57 MovieClip
"pipe1"Frame 10Symbol 87 MovieClip
"pipe2"Frame 10Symbol 87 MovieClip
"pipe3"Frame 10Symbol 87 MovieClip
"startx"Frame 10Symbol 57 MovieClip
"startx"Frame 12Symbol 57 MovieClip
"startx"Frame 14Symbol 57 MovieClip
"startx"Frame 16Symbol 57 MovieClip
"startx"Frame 18Symbol 57 MovieClip
"startx"Frame 20Symbol 57 MovieClip
"startx"Frame 22Symbol 57 MovieClip
"startx"Frame 24Symbol 57 MovieClip
"startx"Frame 26Symbol 57 MovieClip
"startx"Frame 28Symbol 57 MovieClip
"startx"Frame 30Symbol 57 MovieClip
"startx"Frame 32Symbol 57 MovieClip
"startx"Frame 34Symbol 57 MovieClip
"island"Frame 36Symbol 117 MovieClip
"startx"Frame 36Symbol 57 MovieClip
"loadbar"Symbol 17 MovieClip Frame 1Symbol 9 MovieClip
"slideBar"Symbol 44 MovieClip Frame 1Symbol 43 MovieClip
"holehit"Symbol 54 MovieClip Frame 1Symbol 52 MovieClip
"conehole"Symbol 85 MovieClip Frame 1Symbol 54 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$q.$0Ga8PuHUgZOkvZVfyBcTZ1."
ExportAssets (56)Timeline Frame 1Symbol 1 as "Music"
ExportAssets (56)Timeline Frame 1Symbol 2 as "ballsink"
ExportAssets (56)Timeline Frame 1Symbol 3 as "ballhit"

Dynamic Text Variables

holecountSymbol 25 EditableText"99"
strokesSymbol 31 EditableText"0"
strokesSymbol 32 EditableText"0"
hole1Symbol 121 EditableText"10"
hole2Symbol 122 EditableText"10"
hole3Symbol 123 EditableText"10"
hole4Symbol 124 EditableText"10"
hole5Symbol 125 EditableText"10"
hole6Symbol 126 EditableText"10"
hole7Symbol 127 EditableText"10"
hole8Symbol 128 EditableText"10"
hole9Symbol 129 EditableText"10"
hole10Symbol 130 EditableText"10"
hole11Symbol 131 EditableText"10"
hole12Symbol 132 EditableText"10"
hole13Symbol 133 EditableText"10"
hole14Symbol 134 EditableText"10"
hole15Symbol 135 EditableText"10"
hole16Symbol 136 EditableText"10"
hole17Symbol 137 EditableText"10"
hole18Symbol 138 EditableText"10"
gradeSymbol 140 EditableText"A"
totalstrokesSymbol 142 EditableText"18"
scoreArray[0]Symbol 148 EditableText"10"
scoreArray[1]Symbol 149 EditableText"10"
scoreArray[2]Symbol 150 EditableText"10"
scoreArray[3]Symbol 151 EditableText"10"
scoreArray[4]Symbol 152 EditableText"10"
scoreArray[5]Symbol 153 EditableText"10"
scoreArray[6]Symbol 154 EditableText"10"
scoreArray[7]Symbol 155 EditableText"10"
scoreArray[8]Symbol 156 EditableText"10"
scoreArray[9]Symbol 157 EditableText"10"
scoreArray[10]Symbol 158 EditableText"10"
scoreArray[11]Symbol 159 EditableText"10"
scoreArray[12]Symbol 160 EditableText"10"
scoreArray[13]Symbol 161 EditableText"10"
scoreArray[14]Symbol 162 EditableText"10"
scoreArray[15]Symbol 163 EditableText"10"
scoreArray[16]Symbol 164 EditableText"10"
scoreArray[17]Symbol 165 EditableText"10"
gradeSymbol 166 EditableText"A"
totalstrokesSymbol 167 EditableText"18"




http://swfchan.com/9/42343/info.shtml
Created: 10/5 -2019 00:15:13 Last modified: 10/5 -2019 00:15:13 Server time: 21/12 -2024 15:10:35