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

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

super-sonic-pinball.swf

This is the info page for
Flash #114564

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


Text
000

Non-Oringal Images, Character Designs,
Music, Sound effects etc are copyright Sega.
Everything Else is Copyright
Manic Man of TESP

About
Shoot the spinning Sonic the Hedgehog
pinball around the table to score as many
points as you can. Hit the Amy Rose spinner
to receive a random bonus, or activate
either of the bonus tables for short periods
of extra-high scoring! Highscores are stored
on a global scoreboard, and your best score
is stored on your local computer!
->Controls
Left Arrow / Shift --> Left Flipper
Right Arrow / Ctrl --> Right Flipper
Down Arrow / Space --> Launch Ball
S key --> Shake table (but beware of Tilting it!)
P key --> Pause/Resume

What bALL dESIGN DO YOU WANT?

What bACKGROUND mUSIC DO YOU WANT?

Count

Count

Game Over

012345678
9

03

03

03

03

000

000

000

00

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
stop();
Frame 3
if (_framesloaded >= _totalframes) { } else { gotoAndPlay (2); }
Frame 4
function ScrollingText() { if (_root.TickScroll < 28) { _root.ScrollStart = 0; } else if (_root.TickScroll < _root.ScrollText.length) { _root.ScrollStart = _root.TickScroll - 28; } else { _root.TickScroll = 0; } _root.ScrollOut = _root.ScrollText.slice(_root.ScrollStart, _root.TickScroll); } Object.prototype.setCookie = function (c, n, v) { var so = SharedObject.getLocal(c); so.data[n] = v; so.flush(); }; Object.prototype.getCookie = function (c, n) { var so = SharedObject.getLocal(c); return(so.data[n]); }; _root.TickScroll = 0; _root.TempBest = _root.getCookie("SonicPinball", "item1"); _root.YouBest = _root.TempBest[0]; _root.ScrollText = ("Welcome to Sonic Pinball - click on 'Play' to start......... Can you get the highest score in the world? - click on 'Play' to find out.........Your current High Score on the table is " + _root.YouBest) + "... Can you beat it? "; _root.Back.stop(); _root.database = new Array(Score); _root.TempBest = new Array(); stop();
Frame 5
_root.MusicOn = true; _root.ReleaseTimer = 0; stop();
Frame 6
System.security.allowDomain("http://www.TESP.co.uk"); _root.TempBest = _root.getCookie("SonicPinball", "item1"); _root.Temp = _root._url; _root.ArrayURL = _root.Temp.split("/"); _level0.YouBest = _root.TempBest[0]; if ((((((_root.ArrayURL[2] == "www.tesp.co.uk") || (_root.ArrayURL[2] == "www.theemeraldstarpost.co.uk")) || (_root.ArrayURL[2] == "www.dan-dare.org")) || (_root.ArrayURL[2] == "www.dan-dare.info")) || (_root.ArrayURL[2] == "www.mariosonicgames.com")) || (_root.ArrayURL[2] == "mariosonicgames.com")) { if (_root.HighAction == "View") { loadMovie ("Http://www.TESP.co.uk/Scores/HighScoreSP.swf", "_root.Window"); } else if (_root.HighAction == "Submit") { loadMovie ("Http://www.TESP.co.uk/Scores/HighScoreSubSP.swf", "_root.Window"); } } else { _root.Message.gotoAndStop(2); } stop();
Symbol 21 Button
on (release) { getURL ("Http://mariosonicgames.com", "_blank"); }
Symbol 42 MovieClip Frame 2
_root.loading = _root.getBytesLoaded(); _root.total = _root.getBytesTotal(); _root.incremented = 2;
Symbol 42 MovieClip Frame 3
progressbar._width = Math.round((_root.loading / _root.total) * 100) * _root.incremented; if (_root.loading < _root.total) { gotoAndPlay (2); } else { _root.gotoAndPlay("Title"); }
Symbol 45 Button
on (release) { getURL ("http://mariosonicgames.com/Games/SonicSkyChase.htm", "_blank"); }
Symbol 48 MovieClip Frame 15
_root.TickScroll = _root.TickScroll + 1; _root.ScrollingText();
Symbol 50 Button
on (release) { getURL ("Http://mariosonicgames.com", "_blank"); }
Symbol 53 Button
on (release) { getURL ("Http://www.TESP.co.uk", "_blank"); }
Symbol 57 Button
on (release) { getURL ("Http://www.Sega.com", "_blank"); }
Symbol 60 Button
on (press) { gotoAndStop (1); }
Symbol 63 Button
on (release) { _root.BallType = "Knuckles"; SonicName._alpha = 50; KnuckName._alpha = 100; }
Symbol 65 Button
on (release) { _root.BallType = "Sonic"; SonicName._alpha = 100; KnuckName._alpha = 50; }
Symbol 67 Button
on (release) { _root.BGM = 3; BG3_Back._visible = true; BG2_Back._visible = false; BG1_Back._visible = false; }
Symbol 71 Button
on (release) { _root.BGM = 2; BG2_Back._visible = true; BG1_Back._visible = false; BG3_Back._visible = false; }
Symbol 73 Button
on (release) { _root.BGM = 1; BG1_Back._visible = true; BG2_Back._visible = false; BG3_Back._visible = false; }
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 3
if (_root.BGM == 2) { BG3_Back._visible = false; BG2_Back._visible = true; BG1_Back._visible = false; } else if (_root.BGM == 3) { BG3_Back._visible = true; BG2_Back._visible = false; BG1_Back._visible = false; } else { BG3_Back._visible = false; BG1_Back._visible = true; BG2_Back._visible = false; } if (_root.BallType == "Knuckles") { SonicName._alpha = 50; KnuckName._alpha = 100; } else { SonicName._alpha = 100; KnuckName._alpha = 50; }
Symbol 79 Button
on (release) { if (ControlBox._currentframe == 1) { _root.HighAction = "View"; _root.gotoAndStop("SubScore"); } }
Symbol 81 Button
on (press) { ControlBox.gotoAndStop(3); }
Symbol 83 Button
on (press) { if (ControlBox._currentframe == 1) { gotoAndStop (5); } }
Symbol 86 Button
on (press) { ControlBox.gotoAndStop(2); }
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
if (_root.SXFSound == true) { _parent.SFX2.start(); }
Symbol 113 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 3
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 5
play();
Symbol 124 MovieClip Frame 14
this.gotoAndStop(1);
Symbol 124 MovieClip Frame 15
play();
Symbol 124 MovieClip Frame 24
this.gotoAndStop(1);
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
play(); if (_root.SXFSound == true) { _parent.SFX2.start(); }
Symbol 141 MovieClip Frame 7
this.gotoAndStop(1);
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 5
play();
Symbol 144 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 5
play();
Symbol 148 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
_parent.SFX_Warp.start();
Symbol 167 Button
on (release) { _root.gotoAndStop("Title"); }
Symbol 169 Button
on (release) { if (_root.MusicOn == true) { _root.Back.stop(); _root.SXFSound = false; _root.MusicOn = false; } else { _root.Back.start(); _root.SXFSound = true; _root.MusicOn = true; } }
Symbol 172 MovieClip Frame 1
if (_root.BallType == "Sonic") { } else if (_root.BallType == "Knuckles") { gotoAndStop (34); } stop();
Symbol 172 MovieClip Frame 2
if (_root.SXFSound == true) { _parent.SFX_Die.start(); }
Symbol 172 MovieClip Frame 33
gotoAndStop (1); this._visible = false;
Symbol 172 MovieClip Frame 34
stop();
Symbol 172 MovieClip Frame 35
if (_root.SXFSound == true) { _parent.SFX_Die.start(); }
Symbol 172 MovieClip Frame 66
gotoAndStop (1); this._visible = false;
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 5
play();
Symbol 176 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 185 Button
on (press) { _parent.Score = 0; _root.Score = 0; _root.BallNum = 3; _root.Bonus_Tick = 0; _parent.BallsLeftHUD.gotoAndStop(_root.BallNum); _parent.ball.tempy = (_parent.starty + _parent.height) - _parent.ball.radius; _parent.ball.ymov = _parent.ball.ymov * -0.5; _parent.initializeShot(); _parent.Mess_box.gotoAndStop(1); _root.GameOver = "False"; _parent.Die._visible = false; gotoAndStop (1); }
Symbol 187 Button
on (release) { _root.database[0] = _root.Score; _root.TempBest = _root.getCookie("SonicPinball", "item1"); _root.YouBest = _root.TempBest[0]; if (_root.YouBest < _root.database[0]) { _root.setCookie("SonicPinball", "item1", _root.database); } _root.HighAction = "Submit"; _root.gotoAndStop("SubScore"); }
Symbol 190 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
if (_root.BallType == "Sonic") { } else if (_root.BallType == "Knuckles") { gotoAndPlay (11); }
Symbol 196 MovieClip Frame 10
gotoAndPlay (1);
Symbol 196 MovieClip Frame 20
gotoAndPlay (11);
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 30
if (!_root.Pause) { _root.Clock = _root.Clock + 1; if (_root.BonusWait > 0) { _root.BonusWait = _root.BonusWait - 1; } if (_root.TiltCounter > 0) { _root.TiltCounter = _root.TiltCounter - 1; } if ((_root.SpinTime + 30) <= _root.Clock) { _root.SpinOff = false; _parent.SpinShow._visible = true; _parent.SpinShow2._visible = true; } if ((_root.Amy == true) && ((_root.TempClock + 10) <= _root.Clock)) { _root.Amy = false; _root.TempClock = 0; _parent.Mess_box.gotoAndStop(9); } else if ((_root.Robotnik == true) && ((_root.TempClock + 5) <= _root.Clock)) { _root.Control = true; _root.Robotnik == false; _root.TempClock = 0; _parent.Mess_box.gotoAndStop(9); } else if ((_root.Bonus == true) && (_root.BonusTime <= 0)) { _parent.lineArray = _parent.lineArrayA; _parent.bumperArray = _parent.bumperArrayA; var i = 0; while (i < _parent.bumperArrayB.length) { _parent.bumperArrayB[i].clip._visible = false; i++; } var i = 0; while (i < _parent.bumperArrayC.length) { _parent.bumperArrayC[i].clip._visible = false; i++; } _parent.ball.clip = _parent.pb; _parent.Bounse._visible = false; _parent.pb2._visible = false; _parent.flip("left", "down"); _parent.flip("right", "down"); _root.Bonus = false; _root.TotalBonusScore = _root.Score - _root.BonusScore; _parent.Mess_Box.gotoAndStop(17); _root.Height = 390; _root.BonusTime = 0; _parent.Ball.tempx = _root.BonusX; _parent.Ball.tempy = _root.BonusY; _parent.Ball._x = _root.BonusX; _parent.Ball.x = _root.BonusX; _parent.Ball._y = _root.BonusY; _parent.Ball.y = _root.BonusY; _parent.CountDown._visible = false; _parent.left_paddleB._visible = false; _parent.right_paddleB._visible = false; _root.BonusWait = 5; _root.TempClock = 0; } if ((_root.Bonus == false) && (_root.BonusTime < 0)) { _parent.lineArray = _parent.lineArrayA; _parent.bumperArray = _parent.bumperArrayA; var i = 0; while (i < _parent.bumperArrayB.length) { _parent.bumperArrayB[i].clip._visible = false; i++; } var i = 0; while (i < _parent.bumperArrayC.length) { _parent.bumperArrayC[i].clip._visible = false; i++; } _parent.ball.clip = _parent.pb; _parent.Bounse._visible = false; _parent.pb2._visible = false; _root.Bonus = false; _root.TotalBonusScore = _root.Score - _root.BonusScore; _parent.Mess_Box.gotoAndStop(17); _root.Height = 390; _root.BonusTime = 0; _parent.Ball.tempx = _root.BonusX; _parent.Ball.tempy = _root.BonusY; _parent.Ball._x = _root.BonusX; _parent.Ball.x = _root.BonusX; _parent.Ball._y = _root.BonusY; _parent.Ball.y = _root.BonusY; _parent.CountDown._visible = false; _root.BonusWait = 5; _root.TempClock = 0; _parent.left_paddleB._visible = false; _parent.right_paddleB._visible = false; } if ((_root.Bonus == true) && (_root.BonusTime > 0)) { _root.BonusTime = _root.BonusTime - 1; } else if ((_root.Bonus == true) && (_root.BonusTime <= 0)) { _parent.lineArray = _parent.lineArrayA; _parent.bumperArray = _parent.bumperArrayA; var i = 0; while (i < _parent.bumperArrayB.length) { _parent.bumperArrayB[i].clip._visible = false; i++; } var i = 0; while (i < _parent.bumperArrayC.length) { _parent.bumperArrayC[i].clip._visible = false; i++; } _parent.ball.clip = _parent.pb; _parent.Bounse._visible = false; _parent.pb2._visible = false; _root.Bonus = false; _root.TotalBonusScore = _root.Score - _root.BonusScore; _parent.Mess_Box.gotoAndStop(17); _root.Height = 390; _root.BonusTime = 0; _parent.Ball.tempx = _root.BonusX; _parent.Ball.tempy = _root.BonusY; _parent.Ball._x = _root.BonusX; _parent.Ball.x = _root.BonusX; _parent.Ball._y = _root.BonusY; _parent.Ball.y = _root.BonusY; _parent.CountDown._visible = false; _root.BonusWait = 5; _root.TempClock = 0; _parent.left_paddleB._visible = false; _parent.right_paddleB._visible = false; } if (_root.MoveHit == true) { _root.MoveClock = _root.MoveClock + 1; } if (_root.MoveClock >= 1) { _root.MoveClock = 0; _root.MoveHit = false; } _parent.BallsLeftHUD.gotoAndStop(_root.BallNum); }
Symbol 212 MovieClip Frame 1
if (_root.SpinnerUsed == false) { stop(); }
Symbol 212 MovieClip Frame 48
SpinnerCount = random(5);
Symbol 212 MovieClip Frame 49
if (SpinnerCount == 1) { if (_root.SXFSound == true) { _parent.SFX4.start(); } _root.OnHold = false; _root.TempClock = _root.Clock; _root.Amy = true; _parent.Mess_Box.gotoAndStop(7); SpinnerCount = 0; stop(); }
Symbol 212 MovieClip Frame 53
if (SpinnerCount == 2) { if (_root.SXFSound == true) { _parent.SFX4.start(); } _root.OnHold = false; _parent.Mess_Box.gotoAndStop(6); _root.score = _root.score + 500; SpinnerCount = 0; stop(); }
Symbol 212 MovieClip Frame 57
if (SpinnerCount == 3) { if (_root.SXFSound == true) { _parent.SFX3.start(); } _root.OnHold = false; _parent.ball.xmov = _parent.ball.xmov + (random(90) - 45); SpinnerCount = 0; _root.TempClock = _root.Clock; _root.Control = false; _root.Robotnik = true; _parent.Mess_Box.gotoAndStop(8); stop(); }
Symbol 212 MovieClip Frame 61
if ((SpinnerCount == 4) || (SpinnerCount == 5)) { if (_root.SXFSound == true) { _parent.SFX4.start(); _root.BallNum = _root.BallNum + 1; } _root.OnHold = false; _parent.Mess_Box.gotoAndStop(5); _parent.BallsLeftHUD.gotoAndStop(_root.BallNum); SpinnerCount = 0; stop(); }
Symbol 222 MovieClip Frame 71
_parent.gotoAndStop(9);
Symbol 226 MovieClip Frame 41
_parent.gotoAndStop(9);
Symbol 228 MovieClip Frame 50
_parent.gotoAndStop(9);
Symbol 230 MovieClip Frame 75
_parent.gotoAndStop(9);
Symbol 232 MovieClip Frame 70
_parent.gotoAndStop(9);
Symbol 239 MovieClip Frame 301
_parent.gotoAndStop(9);
Symbol 241 MovieClip Frame 76
_parent.gotoAndStop(9);
Symbol 243 MovieClip Frame 76
_parent.gotoAndStop(9);
Symbol 245 MovieClip Frame 57
_parent.gotoAndStop(9);
Symbol 249 MovieClip Frame 71
_parent.gotoAndStop(9);
Symbol 254 MovieClip Frame 90
_parent.gotoAndStop(9);
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 2
if (_root.SXFSound == true) { _parent.SFX3.start(); }
Symbol 255 MovieClip Frame 3
if (_root.SXFSound == true) { _parent.SFX3.start(); }
Symbol 255 MovieClip Frame 9
stop();
Symbol 255 MovieClip Frame 16
stop();
Symbol 261 MovieClip Frame 1
function Tilt() { Mess_box.gotoAndStop(11); ball.x = ball.x + 5; ball.tempx = ball.tempx + 5; _root.Waiter = 1; myTimer = setInterval(wait, 50); _root.TiltCounter = _root.TiltCounter + 25; if (_root.TiltCounter >= 100) { _root.BallNum = _root.BallNum - 1; BallsLeftHUD.gotoAndStop(_root.BallNum); if (_root.BallNum > 0) { Mess_Box.gotoAndStop(14); SFX3.start(); ball.tempy = (starty + _root.Height) - ball.radius; ball.ymov = ball.ymov * -0.5; initializeShot(); } else if (_root.GameOver == "False") { ball.y = 900; ball.tempy = 900; Die._visible = true; Die.play(); Mess_Box.gotoAndStop(15); _root.GameOver = "True"; ControlBox.gotoAndStop(2); } _root.TiltCounter = 0; } } function wait() { if (_root.Waiter == 1) { _x = (_x - 5); _root.Waiter = 2; } else { _x = (_x + 5); _root.Waiter = 1; clearInterval(myTimer); _root.Tilting = false; } } function addBumper(x, y, radius, bounciness, clip, hidden, tagname) { var ob = {x:x, y:y, radius:radius, bounciness:bounciness, clip:clip, xmov:0, ymov:0, mass:100000000, hidden:hidden}; if (hidden) { clip._visible = false; } if (tagname != "") { clip.tag = tagname; } bumperArrayA.push(ob); } function addBumperB(x, y, radius, bounciness, clip, hidden, tagname) { var ob = {x:x, y:y, radius:radius, bounciness:bounciness, clip:clip, xmov:0, ymov:0, mass:100000000, hidden:hidden}; if (hidden) { clip._visible = false; } if (tagname != "") { clip.tag = tagname; } bumperArrayB.push(ob); } function addBumperC(x, y, radius, bounciness, clip, hidden, tagname) { var ob = {x:x, y:y, radius:radius, bounciness:bounciness, clip:clip, xmov:0, ymov:0, mass:100000000, hidden:hidden}; if (hidden) { clip._visible = false; } if (tagname != "") { clip.tag = tagname; } bumperArrayC.push(ob); } function createFlipper(x, y, dir) { flipperLength = 38; flipperLengthB = 35; var flipperAngle = 40; if (dir == "left") { var cosAngle = Math.cos((flipperAngle * 3.141593) / 180); var sinAngle = Math.sin((flipperAngle * 3.141593) / 180); var x = (x - (ball.radius * cosAngle)); var y = (y + (ball.radius * sinAngle)); leftFlipper = createLine(x, y, flipperAngle, flipperLength, 0.5); leftFlipper_2 = createLine(x, y - 5, flipperAngle, flipperLength, 0.5); var alpha = _root.AlphaCode; leftFlipper.clip.lineStyle(0, 0, alpha); leftFlipper_2.clip.lineStyle(0, 0, alpha); leftHit._x = x; leftHit._y = y; leftHit._visible = false; } else if (dir == "leftB") { var cosAngle = Math.cos((flipperAngle * 3.141593) / 180); var sinAngle = Math.sin((flipperAngle * 3.141593) / 180); var x = (x - (ball.radius * cosAngle)); var y = (y + (ball.radius * sinAngle)); leftFlipperB = createLineB(x, y, flipperAngle, flipperLength, 0.5); leftFlipperB_2 = createLineB(x, y - 5, flipperAngle, flipperLength, 0.5); var alpha = _root.AlphaCode; leftFlipperB.clip.lineStyle(0, 0, alpha); leftFlipperB_2.clip.lineStyle(0, 0, alpha); leftHitB._x = x + 365; leftHitB._y = y + 150; leftHitB._visible = false; left_paddleB._visible = false; } else if (dir == "right") { var cosAngle = Math.cos((flipperAngle * 3.141593) / 180); var sinAngle = Math.sin((flipperAngle * 3.141593) / 180); var newx = ((x - (flipperLength * cosAngle)) + (ball.radius * cosAngle)); var newy = ((y + (flipperLength * sinAngle)) + (ball.radius * sinAngle)); rightFlipper = createLine(newx, newy, -flipperAngle, flipperLength, 0.5); rightFlipper_2 = createLine(newx, newy - 5, -flipperAngle, flipperLength, 0.5); var alpha = _root.AlphaCode; rightFlipper.clip.lineStyle(0, 0, alpha); rightFlipper_2.clip.lineStyle(0, 0, alpha); rightHit._x = rightFlipper.x2; rightHit._y = rightFlipper.y2; rightHit._visible = false; } else if (dir == "rightB") { var cosAngle = Math.cos((flipperAngle * 3.141593) / 180); var sinAngle = Math.sin((flipperAngle * 3.141593) / 180); var newx = ((x - (flipperLength * cosAngle)) + (ball.radius * cosAngle)); var newy = ((y + (flipperLength * sinAngle)) + (ball.radius * sinAngle)); rightFlipperb = createLineB(newx, newy, -flipperAngle, flipperLength, 0.5); rightFlipperb_2 = createLineB(newx, newy, -flipperAngle, flipperLength, 0.5); var alpha = _root.AlphaCode; rightFlipperb.clip.lineStyle(0, 0, alpha); rightFlipperb_2.clip.lineStyle(0, 0, alpha); rightHitb._x = x + 365; rightHitb._y = y + 150; rightHitb._visible = false; } } function checkCollision(dir) { if (dir == "left") { if (ball.clip.hitTest(leftHit)) { collided = true; leftFlipper.enabled = false; leftFlipper.counter = 0; var bx = ball.x; var by = ball.y; var fx = leftFlipper.x1; var fy = leftFlipper.y1; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = ((2 * angle) - ballAngle); var realR = ((r * 180) / 3.141593); if (realR > -45) { realR = -45; r = (realR * 3.141593) / 180; } else if (realR < -120) { realR = -120; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / leftFlipper.length); if (factor > 1) { factor = 1; } var speed = (20 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } leftFlipper_2.enabled = false; leftFlipper_2.counter = 0; var bx = ball.x; var by = ball.y; var fx = leftFlipper_2.x1; var fy = leftFlipper_2.y1; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = ((2 * angle) - ballAngle); var realR = ((r * 180) / 3.141593); if (realR > -45) { realR = -45; r = (realR * 3.141593) / 180; } else if (realR < -120) { realR = -120; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / leftFlipper_2.length); if (factor > 1) { factor = 1; } var speed = (20 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } } } else if (dir == "leftB") { if (ball.clip.hitTest(leftHitB)) { collided = true; leftFlipperB.enabled = false; leftFlipperB.counter = 0; var bx = ball.x; var by = ball.y; var fx = leftFlipperB.x1; var fy = leftFlipperB.y1; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = ((2 * angle) - ballAngle); var realR = ((r * 180) / 3.141593); if (realR > -45) { realR = -45; r = (realR * 3.141593) / 180; } else if (realR < -120) { realR = -120; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / leftFlipperB.length); if (factor > 1) { factor = 1; } var speed = (40 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } leftFlipperB_2.enabled = false; leftFlipperB_2.counter = 0; var bx = ball.x; var by = ball.y; var fx = leftFlipperB_2.x1; var fy = leftFlipperB_2.y1; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = ((2 * angle) - ballAngle); var realR = ((r * 180) / 3.141593); if (realR > -45) { realR = -45; r = (realR * 3.141593) / 180; } else if (realR < -120) { realR = -120; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / leftFlipperB_2.length); if (factor > 1) { factor = 1; } var speed = (40 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } } } else if (dir == "right") { if (ball.clip.hitTest(rightHit)) { rightFlipper.enabled = false; rightFlipper.counter = 0; collided = true; var bx = ball.x; var by = ball.y; var fx = rightFlipper.x2; var fy = rightFlipper.y2; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = (-((2 * (3.141593 + angle)) - ballAngle)); var realR = ((r * 180) / 3.141593); if (realR > -60) { realR = -60; r = (realR * 3.141593) / 180; } else if (realR < -135) { realR = -135; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / rightFlipper.length); if (factor > 1) { factor = 1; } var speed = (20 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } rightFlipper_2.enabled = false; rightFlipper_2.counter = 0; var bx = ball.x; var by = ball.y; var fx = rightFlipper_2.x2; var fy = rightFlipper_2.y2; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = (-((2 * (3.141593 + angle)) - ballAngle)); var realR = ((r * 180) / 3.141593); if (realR > -60) { realR = -60; r = (realR * 3.141593) / 180; } else if (realR < -135) { realR = -135; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / rightFlipper_2.length); if (factor > 1) { factor = 1; } var speed = (20 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } } } else if (dir == "rightB") { if (ball.clip.hitTest(rightHitB)) { rightFlipperB.enabled = false; rightFlipperB.counter = 0; collided = true; var bx = ball.x; var by = ball.y; var fx = rightFlipperB.x2; var fy = rightFlipperB.y2; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = (-((2 * (3.141593 + angle)) - ballAngle)); var realR = ((r * 180) / 3.141593); if (realR > -60) { realR = -60; r = (realR * 3.141593) / 180; } else if (realR < -135) { realR = -135; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / rightFlipperB.length); if (factor > 1) { factor = 1; } var speed = (40 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } rightFlipperB_2.enabled = false; rightFlipperB_2.counter = 0; var bx = ball.x; var by = ball.y; var fx = rightFlipperB_2.x2; var fy = rightFlipperB_2.y2; var xDiff = (bx - fx); var yDiff = (by - fy); var dis = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff)); var angle = Math.atan2(yDiff, xDiff); var ballAngle = Math.atan2(ball.ymov, ball.xmov); var r = (-((2 * (3.141593 + angle)) - ballAngle)); var realR = ((r * 180) / 3.141593); if (realR > -60) { realR = -60; r = (realR * 3.141593) / 180; } else if (realR < -135) { realR = -135; r = (realR * 3.141593) / 180; } var cosAngle = Math.cos(r); var sinAngle = Math.sin(r); var factor = (dis / rightFlipperB_2.length); if (factor > 1) { factor = 1; } var speed = (40 * factor); var xmov = (speed * cosAngle); var ymov = (speed * sinAngle); ball.xmov = xmov; ball.ymov = ymov; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; if (_root.SXFSound == true) { SFX6.start(); } } } } function flip(which, dir) { if (which == "left") { if (dir == "up") { var angle = -30; checkCollision("left"); left_paddle.gotoAndStop(2); } else if (dir == "down") { var angle = 40; left_paddle.gotoAndStop(1); } var ob = leftFlipper; ob.clip.clear(); ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); } else if (which == "leftB") { if (dir == "up") { var angle = -30; checkCollision("leftB"); left_paddleB.gotoAndStop(2); } else if (dir == "down") { var angle = 40; left_paddleB.gotoAndStop(1); } var ob = leftFlipperB; ob.clip.clear(); ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); ob = leftFlipperB_2; ob.clip.clear(); ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); } else if (which == "right") { if (dir == "up") { var angle = 30; checkCollision("right"); right_paddle.gotoAndStop(2); } else if (dir == "down") { var angle = -40; right_paddle.gotoAndStop(1); } var ob = rightFlipper; var cosAngle = Math.cos(((-angle) * 3.141593) / 180); var sinAngle = Math.sin(((-angle) * 3.141593) / 180); var newx = (ob.x2 - (flipperLength * cosAngle)); var newy = (ob.y2 + (flipperLength * sinAngle)); ob.x = newx; ob.y = newy; ob.clip._x = newx; ob.clip._y = newy; ob.clip.clear(); ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); } else if (which == "rightB") { if (dir == "up") { var angle = 30; checkCollision("rightB"); right_paddleB.gotoAndStop(2); } else if (dir == "down") { var angle = -40; right_paddleB.gotoAndStop(1); } var ob = rightFlipperB; var cosAngle = Math.cos(((-angle) * 3.141593) / 180); var sinAngle = Math.sin(((-angle) * 3.141593) / 180); var newx = (ob.x2 - (flipperLength * cosAngle)); var newy = (ob.y2 + (flipperLength * sinAngle)); ob.x = newx; ob.y = newy; ob.clip._x = newx; ob.clip._y = newy; ob.clip.clear(); ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); var ob = rightFlipperB_2; var cosAngle = Math.cos(((-angle) * 3.141593) / 180); var sinAngle = Math.sin(((-angle) * 3.141593) / 180); var newx = (ob.x2 - (flipperLength * cosAngle)); var newy = (ob.y2 + (flipperLength * sinAngle)); ob.x = newx; ob.y = newy; ob.clip._x = newx; ob.clip._y = newy; ob.clip.clear(); ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); } } function captureKeys() { if (Key.isDown(80) && (_root.LastPause > 5)) { if (_root.Pause == false) { _root.Pause = true; _root.PauseText._visible = true; _root.LastPause = 0; _root.Back.stop(); } else { _root.Pause = false; _root.PauseText._visible = false; _root.LastPause = 0; _root.Back.start(); } } else if (!_root.Pause) { if (((Key.isDown(16) || (Key.isDown(37))) && (!leftUP)) && (_root.Control == true)) { leftUP = true; flip("left", "up"); if (_root.Bonus == true) { leftUPB = true; flip("leftB", "up"); } } else if ((((!Key.isDown(16)) && (!Key.isDown(37))) && (leftUP)) && (_root.Control == true)) { leftUP = false; flip("left", "down"); if (_root.Bonus == true) { leftUPB = false; flip("leftB", "down"); } } if (Key.isDown(83) && (_root.CanShake == true)) { if (_root.Tilting == false) { _root.Tilting = true; Tilt(); } } if (((Key.isDown(17) || (Key.isDown(39))) && (!rightUP)) && (_root.Control == true)) { rightUP = true; flip("right", "up"); if (_root.Bonus == true) { rightUPB = true; flip("rightB", "up"); } } else if ((((!Key.isDown(17)) && (!Key.isDown(39))) && (rightUP)) && (_root.Control == true)) { rightUP = false; flip("right", "down"); if (_root.Bonus == true) { rightUPB = false; flip("rightB", "down"); } } if ((Key.isDown(32) && (_root.BallNum < 1)) && (_root.GameOver == "False")) { _root.Score = 0; _root.BallNum = 3; BallsLeftHUD.gotoAndStop(_root.BallNum); ball.tempy = (starty + _root.Height) - ball.radius; ball.ymov = ball.ymov * -0.5; lineArray = lineArrayA; bumperArray = bumperArrayA; Bounse._visible = false; var i = 0; if (_root.Bonus_Tick == 0) { while (i < bumperArrayB.length) { bumperArrayB[i].clip._visible = false; i++; } } else { while (i < bumperArrayC.length) { bumperArrayC[i].clip._visible = false; i++; } } initializeShot(); } else if ((Key.isDown(32) || (Key.isDown(40))) && (!shotYet)) { if (_root.BallNum > 1) { Mess_Box.gotoAndStop(1); } else { Mess_Box.gotoAndStop(16); } spaceWasJustDown = true; spaceDown(); } else if (((!Key.isDown(32)) || (!Key.isDown(40))) && (spaceWasJustDown)) { spaceWasJustDown = false; plunger.smov = 0; animate = true; Mess_Box.gotoAndStop(4); } } } function spaceDown() { shotPower = shotPower + 1; if (shotPower > shotMax) { shotPower = shotMax; } shotFactor = shotPower / shotMax; plunger.bar._yscale = (1 - shotFactor) * 100; plunger.top._y = -plunger.bar._height; } function animatePlunger() { plunger.smov = plunger.smov + ((100 - plunger.bar._yscale) * 0.1); plunger.bar._yscale = plunger.bar._yscale + plunger.smov; plunger.top._y = -plunger.bar._height; if (plunger.bar._yscale >= 100) { plunger.bar._yscale = 100; plunger.top._y = -plunger.bar._height; plunger.smov = 0; fire(); animate = false; } } function fire() { if (ballOnCradle) { ball.ymov = -shotPower; } if (_root.SXFSound == true) { SFX5.start(); } shotPower = 0; } function createLine(x, y, angle, length, decay, animationClip, sound, type) { lineDepth = ++depth; name = "line" + lineDepth; clipName = "line_clip" + lineDepth; this.attachMovie("bank", clipName, lineDepth); this[name] = {}; ob = this[name]; ob.animationClip = animationClip; ob.sound = sound; ob.lineDecay = decay; ob.enabled = true; ob.length = length; ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip = this[clipName]; ob.clip._x = x; ob.clip._y = y; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.x = ob.clip._x; ob.y = ob.clip._y; ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); ob.tag = type; lineArrayA.push(ob); return(ob); } function createLineB(x, y, angle, length, decay, animationClip, sound, type) { lineDepth = ++depth; name = "line" + lineDepth; clipName = "line_clip" + lineDepth; this.Bounse.attachMovie("bank", clipName, lineDepth); this.Bounse[name] = {}; ob = this.Bounse[name]; ob.animationClip = animationClip; ob.sound = sound; ob.lineDecay = decay; ob.enabled = true; ob.length = length; ob.realAngle = angle; ob.angle = (ob.realAngle * 3.141593) / 180; ob.clip = this.Bounse[clipName]; ob.clip._x = x; ob.clip._y = y; ob.clip._rotation = ob.realAngle; ob.slope = Math.tan(ob.angle); ob.sinAngle = Math.sin(ob.angle); ob.cosAngle = Math.cos(ob.angle); ob.x = ob.clip._x; ob.y = ob.clip._y; ob.b = ob.y - (ob.slope * ob.x); var alpha = _root.AlphaCode; ob.clip.lineStyle(0, 0, alpha); ob.clip.lineTo(ob.length, 0); ob.x1 = ob.x; ob.y1 = ob.y; ob.x2 = ob.x + (ob.length * ob.cosAngle); ob.y2 = ob.y + (ob.length * ob.sinAngle); ob.tag = type; ob.enabled = true; lineArrayB.push(ob); return(ob); } function getFrames(tempLine, point) { var slope2 = (point.ymov / point.xmov); var theta = Math.atan2(point.ymov, point.xmov); var b2 = (point.y - (slope2 * point.x)); var x = ((b2 - tempLine.b) / (tempLine.slope - slope2)); if (Math.abs(point.xmov) < 0.0001) { x = point.x; } var y = ((tempLine.slope * x) + tempLine.b); var gamma = (theta - tempLine.angle); var sinGamma = Math.sin(gamma); var r = (point.radius / sinGamma); var x = (x - (r * Math.cos(theta))); var y = (y - (r * Math.sin(theta))); var dis = Math.sqrt(((x - point.x) * (x - point.x)) + ((y - point.y) * (y - point.y))); var vel = Math.sqrt((point.xmov * point.xmov) + (point.ymov * point.ymov)); var frame1 = (dis / vel); return(frame1); } function ballLineReaction(tempLine, point, Num) { if (((Num == 18) || (Num == 19)) && (tempLine.tag != "Move")) { } else { var lineDecay = tempLine.lineDecay; var slope2 = (point.ymov / point.xmov); var theta = Math.atan2(point.ymov, point.xmov); var b2 = (point.y - (slope2 * point.x)); var x = ((b2 - tempLine.b) / (tempLine.slope - slope2)); if (Math.abs(point.xmov) < 0.0001) { x = point.x; } var y = ((tempLine.slope * x) + tempLine.b); var gamma = (theta - tempLine.angle); var d = ((point.radius + 1E-6) / Math.sin(gamma)); var x = (x - (d * Math.cos(theta))); var y = (y - (d * Math.sin(theta))); var slope2a = (-1 / tempLine.slope); var b2a = (y - (slope2a * x)); var xa = ((tempLine.b - b2a) / (slope2a - tempLine.slope)); var ya = ((slope2a * xa) + b2a); if ((((xa > tempLine.x1) && (xa < tempLine.x2)) || ((xa < tempLine.x1) && (xa > tempLine.x2))) || (((ya > tempLine.y1) && (ya < tempLine.y2)) || ((ya < tempLine.y1) && (ya > tempLine.y2)))) { var leeway = 5; if ((((!leftUP) && (!leftUPB)) && (!rightUP)) && (((Math.abs(xa - tempLine.x1) < leeway) && (Math.abs(yz - tempLine.y1))) || ((Math.abs(xa - tempLine.x2) < leeway) && (Math.abs(yz - tempLine.y2))))) { var speedUp = true; } } else { return(undefined); } if (Math.atan2(ball.y - tempLine.y1, ball.x - tempLine.x1) > tempLine.angle) { return(undefined); } if (tempLine.tag == "Move") { _root.MoveHit = true; ball._x = ball._x - (ball.xspeed * 2); } if (tempLine.tag == "Low") { point._y = point._y - 9; ball.y = ball.y - 9; point.tempy = point.tempy - 9; y = y - 9; } if (tempLine.animationclip._currentFrame < 2) { collided = true; tempLine.animationClip.play(); if ((tempLine.animationClip != null) && (tempLine.tag != "Move")) { if (_root.Amy == true) { _root.Score = _root.Score + 80; } else if (_root.Bonus == true) { _root.Score = _root.Score + 50; } else { _root.Score = _root.Score + 40; } } point.tempx = x; point.tempy = y; var alpha = tempLine.angle; var cosAlpha = math.cos(alpha); var sinAlpha = math.sin(alpha); var vyi = point.ymov; var vxi = point.xmov; var vyip = ((vyi * cosAlpha) - (vxi * sinAlpha)); var vxip = ((vxi * cosAlpha) + (vyi * sinAlpha)); var vyfp = ((-vyip) * lineDecay); var vxfp = vxip; var vyf = ((vyfp * cosAlpha) + (vxfp * sinAlpha)); var vxf = ((vxfp * cosAlpha) - (vyfp * sinAlpha)); if (speedUp) { var tempVXF = Math.abs(vxf); var sign = (vxf / tempVXF); var min = 1; if (tempVXF < min) { vxf = min * sign; } } var max = 15; if (Math.abs(vxf) > max) { var vxf = (max * (vxf / Math.abs(vxf))); } if (Math.abs(vyf) > max) { var vyf = (max * (vyf / Math.abs(vyf))); } point.xmov = vxf; point.ymov = vyf; if ((vxf < 1) && (vxf > -1)) { if (!CheckBox.hitTest) { vxf = -1; point.xmov = vxf; } } var divider = 1; point.tempx = point.x + (point.xmov / divider); point.tempy = point.y + (point.ymov / divider); } } } function ball2BallReaction(b1, b2, x1, x2, y1, y2, time) { if (b2.clip._currentFrame < 5) { if (!b2.hidden) { b2.clip.gotoAndPlay("bumped"); if (b1.y < b2.y) { b2.clip.gotoAndPlay("Up"); } else { b2.clip.gotoAndPlay("Down"); } if (_root.SXFSound == true) { SFX1.start(); } if (_root.Amy == true) { _root.Score = _root.Score + 40; } else if (_root.Bonus == true) { _root.Score = _root.Score + 50; } else { _root.Score = _root.Score + 20; } } if ((b2.clip.tag == "key") && (_root.BonusWait == 0)) { Mess_Box.gotoAndStop(10); lineArray = lineArrayB; ball.clip = this.pb2; Bounse._visible = true; flip("leftB", "down"); flip("rightB", "down"); if (_root.Bonus_Tick == 1) { bumperArray = bumperArrayC; _root.Bonus_Tick = 0; Bounse.gotoAndStop(2); var i = 0; while (i < bumperArrayC.length) { bumperArrayC[i].clip._visible = true; i++; } } else { bumperArray = bumperArrayB; _root.Bonus_Tick = 1; Bounse.gotoAndStop(1); var i = 0; while (i < bumperArrayB.length) { bumperArrayB[i].clip._visible = true; i++; } } this.pb2._visible = true; _root.TempClock = _root.Clock; _root.Bonus = true; _root.BonusScore = _root.Score; _root.Control = true; left_paddleB._visible = true; right_paddleB._visible = true; _root.BonusX = ball.x; _root.BonusY = ball.y; _root.BonusTime = 61; this.CountDown._visible = true; var ob1 = ball; } var mass1 = b1.mass; var mass2 = b2.mass; var xVel1 = b1.xmov; var xVel2 = b2.xmov; var yVel1 = b1.ymov; var yVel2 = b2.ymov; var run = (x1 - x2); var rise = (y1 - y2); var Theta = Math.atan2(rise, run); var cosTheta = math.cos(Theta); var sinTheta = math.sin(Theta); var xVel1prime = ((xVel1 * cosTheta) + (yVel1 * sinTheta)); var xVel2prime = ((xVel2 * cosTheta) + (yVel2 * sinTheta)); var yVel1prime = ((yVel1 * cosTheta) - (xVel1 * sinTheta)); var yVel2prime = ((yVel2 * cosTheta) - (xVel2 * sinTheta)); var P = ((mass1 * xVel1prime) + (mass2 * xVel2prime)); var V = (xVel1prime - xVel2prime); var v2f = ((P + (mass1 * V)) / (mass1 + mass2)); var v1f = ((v2f - xVel1prime) + xVel2prime); var sign = (v1f / Math.abs(v1f)); v1f = b2.bounciness * sign; var xVel1prime = v1f; var xVel2prime = v2f; var xVel1 = ((xVel1prime * cosTheta) - (yVel1prime * sinTheta)); var xVel2 = ((xVel2prime * cosTheta) - (yVel2prime * sinTheta)); var yVel1 = ((yVel1prime * cosTheta) + (xVel1prime * sinTheta)); var yVel2 = ((yVel2prime * cosTheta) + (xVel2prime * sinTheta)); var time = 0; b1.tempx = b1.x + (bl.xmov * time); b1.tempy = b1.y + (b1.ymov * time); b1.xmov = xVel1; b1.ymov = yVel1; } } function ballToBallDetection(b1, b2) { var xmov1 = b1.xmov; var ymov1 = b1.ymov; var xmov2 = b2.xmov; var ymov2 = b2.ymov; var xl1 = b1.x; var yl1 = b1.y; var xl2 = b2.x; var yl2 = b2.y; var R = (b1.radius + b2.radius); var a = ((((-2 * xmov1) * xmov2) + (xmov1 * xmov1)) + (xmov2 * xmov2)); var b = (((((-2 * xl1) * xmov2) - ((2 * xl2) * xmov1)) + ((2 * xl1) * xmov1)) + ((2 * xl2) * xmov2)); var c = ((((-2 * xl1) * xl2) + (xl1 * xl1)) + (xl2 * xl2)); var d = ((((-2 * ymov1) * ymov2) + (ymov1 * ymov1)) + (ymov2 * ymov2)); var e = (((((-2 * yl1) * ymov2) - ((2 * yl2) * ymov1)) + ((2 * yl1) * ymov1)) + ((2 * yl2) * ymov2)); var f = ((((-2 * yl1) * yl2) + (yl1 * yl1)) + (yl2 * yl2)); var g = (a + d); var h = (b + e); var k = ((c + f) - (R * R)); var sqRoot = Math.sqrt((h * h) - ((4 * g) * k)); var t1 = (((-h) + sqRoot) / (2 * g)); var t2 = (((-h) - sqRoot) / (2 * g)); if ((t1 > 0) && (t1 <= 1)) { var whatTime = t1; var ballsCollided = true; } if ((t2 > 0) && (t2 <= 1)) { if ((whatTime == null) || (t2 < t1)) { var whatTime = t2; var ballsCollided = true; } } if (ballsCollided) { ball2BallReaction(b1, b2, xl1, xl2, yl1, yl2, whatTime); } } function bumperCollisionDetect() { var ob1 = ball; var i = 0; while (i < bumperArray.length) { ballToBallDetection(ob1, bumperArray[i]); i++; } } function getTempPositions() { var maxMov = 20; if (Math.abs(ball.ymov) > maxMov) { ball.ymov = maxMov * (ball.ymov / Math.abs(ball.ymov)); } if (Math.abs(ball.xmov) > maxMov) { ball.xmov = maxMov * (ball.xmov / Math.abs(ball.xmov)); } ball.ymov = ball.ymov * airDecay; ball.xmov = ball.xmov * airDecay; ball.ymov = ball.ymov + gravity; ball.tempx = ball.x + ball.xmov; ball.tempy = ball.y + ball.ymov; } function bankCollisionDetect() { var i = 0; if (!_root.Bonus) { while (i < lineArray.length) { if (lineArray[i].enabled) { var frame = getFrames(lineArray[i], ball); if ((lineArray[i].tag == "Move") && (_root.MoveHit == false)) { if (Movement < 60) { lineArray[i].y = lineArray[i].y + 1; lineArray[i].y1 = lineArray[i].y1 + 1; lineArray[i].y2 = lineArray[i].y2 + 1; lineArray[i].b = lineArray[i].y - (lineArray[i].slope * lineArray[i].x); lineArray[i].clip._y = lineArray[i].clip._y + 1; Platform._y = Platform._y + 0.5; bumperArrayA[9].y = bumperArrayA[9].y + 1; tempB10._y = tempB10._y + 0.5; } else if (Movement < 120) { lineArray[i].y = lineArray[i].y - 1; lineArray[i].y1 = lineArray[i].y1 - 1; lineArray[i].y2 = lineArray[i].y2 - 1; lineArray[i].b = lineArray[i].y - (lineArray[i].slope * lineArray[i].x); lineArray[i].clip._y = lineArray[i].clip._y - 1; Platform._y = Platform._y - 0.5; bumperArrayA[9].y = bumperArrayA[9].y - 1; tempB10._y = tempB10._y - 0.5; } } if (((frame < 1) && (frame >= 0)) && (!isNaN(frame))) { ballLineReaction(lineArray[i], ball, i); } } else if ((++lineArray[i].counter) > 5) { lineArray[i].enabled = true; } i++; } } else { while (i < lineArrayB.length) { if (lineArrayB[i].enabled) { var frame = getFrames(lineArrayB[i], ball); if (((frame < 1) && (frame >= 0)) && (!isNaN(frame))) { ballLineReaction(lineArrayB[i], ball, i); } } else if ((++lineArrayB[i].counter) > 5) { lineArrayB[i].enabled = true; } i++; } } if (_root.MoveHit == false) { Movement = Movement + 1; if (_root.Bonus) { Movement = Movement - 1; } if (Movement >= 120) { Movement = 0; } } } function render() { ball.x = ball.tempx; ball.y = ball.tempy; ball.clip._x = ball.x; ball.clip._y = ball.y; } function checkForWalls() { if (((ball.tempy - ball.radius) > _root.Height) && (_root.Bonus)) { ball.tempy = (starty + _root.Height) - ball.radius; ball.ymov = ball.ymov * -1; } else if (((ball.tempy + ball.radius) > (starty + _root.Height)) && (_root.Bonus)) { lineArray = lineArrayA; bumperArray = bumperArrayA; var i = 0; while (i < bumperArrayB.length) { bumperArrayB[i].clip._visible = false; i++; } var i = 0; while (i < bumperArrayC.length) { bumperArrayC[i].clip._visible = false; i++; } ball.clip = pb; Bounse._visible = false; pb2._visible = false; _root.Bonus = false; _root.TotalBonusScore = _root.Score - _root.BonusScore; Mess_Box.gotoAndStop(17); _root.Height = 390; _root.BonusTime = 0; Ball.tempx = _root.BonusX; Ball.tempy = _root.BonusY; Ball._x = _root.BonusX; Ball.x = _root.BonusX; Ball._y = _root.BonusY; Ball.y = _root.BonusY; CountDown._visible = false; left_paddleB._visible = false; right_paddleB._visible = false; _root.BonusWait = 5; _root.TempClock = 0; } else if (((ball.tempy + ball.radius) > (starty + _root.Height)) && (!_root.Bonus)) { _root.BallNum = _root.BallNum - 1; BallsLeftHUD.gotoAndStop(_root.BallNum); if (_root.BallNum > 0) { Mess_Box.gotoAndStop(3); ball.tempy = (starty + _root.Height) - ball.radius; ball.ymov = ball.ymov * -0.5; initializeShot(); } else if (_root.GameOver == "False") { Mess_Box.gotoAndStop(2); ball.y = 900; ball.tempy = 900; Die._visible = true; Die.play(); _root.GameOver = "True"; ControlBox.gotoAndStop(2); } } else if ((ball.tempy - ball.radius) < starty) { ball.tempy = starty + ball.radius; ball.ymov = ball.ymov * -1; } if ((ball.tempx - ball.radius) < startx) { ball.tempx = startx + ball.radius; ball.xmov = ball.xmov * -1; } else if (((ball.tempx + ball.radius) > (startx + width)) && (rightWallOn)) { ball.tempx = (startx + width) - ball.radius; ball.xmov = ball.xmov * -1; } if (!rightWallOn) { if ((ball.x + ball.radius) < (startx + width)) { rightWallOn = true; shotYet = true; launchBank.enabled = false; BlockWall._visible = true; launchBank.counter = -100000000; } if ((ball.tempy + ball.radius) > LFloor._y) { ball.tempy = LFloor._y - ball.radius; ball.ymov = ball.ymov * -0.5; } if (Math.abs(ball.tempy - LFloor._y) < 15) { ballOnCradle = true; } else { ballOnCradle = false; } } } function initializeShot() { lineArray = lineArrayA; bumperArray = bumperArrayA; ball.clip = this.pb; Bounse._visible = false; this.pb2._visible = false; var i = 0; flip("left", "down"); flip("right", "down"); while (i < bumperArrayB.length) { bumperArrayB[i].clip._visible = false; i++; } i = 0; while (i < bumperArrayC.length) { bumperArrayC[i].clip._visible = false; i++; } _root.Bounse = false; _root.Amy = false; _root.Robotnik = false; _root.Control = true; _root.TempClock = 0; BlockWall._visible = false; inPlay = true; launchBank.enabled = true; _root.CanShake = false; launchBank.counter = 0; rightWallOn = false; shotYet = false; ball.xmov = 0; ball.ymov = 0; ball.x = LFloor._x; ball.y = LFloor._y - 100; ball.tempx = ball.x; ball.tempy = ball.y; shotPower = 0; shotMax = 30; } function patch() { if ((left_tester.hitTest(ball.x, ball.y, true) || (right_tester.hitTest(ball.x, ball.y, true))) && (!_root.Bonus)) { Mess_box.gotoAndStop(13); ball.x = 311; ball.y = 74.4; speed = 0; BallRelease.play(); } } function buildMap() { _root.Bonus_Tick = 0; _root.LastPause = 1; _root.Pause = false; _root.PauseText._visible = false; _root.BonusWait = 0; _root.CanShake = false; Die._visible = false; startx = 250; starty = 8; width = 225; _root.Height = 390; var heightFromBottom = 100; var diagLength = 85; var diagAng = 58; var cosAng = Math.cos((diagAng * 3.141593) / 180); var sinAng = Math.sin((diagAng * 3.141593) / 180); var x = 275; var y = 250; l = createLine(x, y, diagAng, diagLength, 5, left_triangle, "laser"); var sx = l.x2; var sy = l.y2; var x = l.x1; var y = (l.y1 + ((diagLength * sinAng) * 0.6)); l = createLine(x + 0.5, y, 269, (diagLength * sinAng) * 0.6, 5); var ex = l.x1; var ey = l.y1; var ang = ((Math.atan2(ey - sy, ex - sx) * 180) / 3.141593); l = createLine(sx, sy, ang, 53, 5); var diagAng = 301; var cosAng = Math.cos((diagAng * 3.141593) / 180); var sinAng = Math.sin((diagAng * 3.141593) / 180); var x = 404; var y = 320; l = createLine(x, y, diagAng, diagLength, 5, right_triangle, "laser"); var sx = l.x1; var sy = l.y1; var x = l.x2; var y = (l.y2 - ((diagLength * sinAng) * 0.6)); l = createLine(x - 0.5, y, 91, (diagLength * sinAng) * 0.6, 1); var ex = l.x1; var ey = l.y1; var ang = ((Math.atan2(ey - sy, ex - sx) * 180) / 3.141593); l = createLine(ex, ey, ang + 180, 53, 1); var length = 80; var angle = 30; var xstep = (length * Math.cos((angle * 3.141593) / 180)); var ystep = (length * Math.sin((angle * 3.141593) / 180)); launchBank = createLine((startx + width) + 20, starty + 20, 230, 30, 1); l = createLine(250, 308, 34, 90, 0.1, "", "", "Low"); l = createLine(250, 300, 34, 90, 0.1); createFlipper(l.x2, l.y2, "left"); l = createLine(l.x2, l.y2, 90, 53, 10); l = createLine(400, 358, 326, 90, 0.1, "", "", "Low"); l = createLine(400, 350, 326, 90, 0.1); createFlipper(l.x1, l.y1, "right"); l = createLine(400, 403, 270, 53, 10); l = createLine(420, 82, 345, 57, 0.1); l = createLine(l.x2, l.y2, 90, 53, 0.1); l = createLine(l.x2, l.y2, 215, 67, 0.1); l = createLine(422, 85, 345, 57, 0.1); l = createLine(l.x2, l.y2, 90, 53, 0.1); l = createLine(l.x2, l.y2, 215, 67, 0.1); l = createline(250, 128, 40, 53, 20, Platform, "", "Move"); l = createline(l.x2, l.y2, 180, 45, 20, Platform, "", "Move"); l = createline(312, 26, 237, 25, 0.1); l = createline(325, 5, 117, 25, 0.1); l = createLineB(250, 308, 34, 90, 0.1, "", "", "Low"); l = createLineB(250, 300, 34, 90, 0.1); createFlipper(l.x2, l.y2, "leftB"); l = createLineB(l.x2, l.y2, 90, 53, 10); l = createLineB(l.x1 - 5, l.y1, 90, 53, 10); l = createLineB(400, 358, 326, 90, 0.1, "", "", "Low"); l = createLineB(400, 350, 326, 90, 0.1); createFlipper(l.x1, l.y1, "rightB"); l = createLineB(400, 403, 270, 53, 10); bounciness = 10; addBumper(tempB1._x, tempB1._y, tempB1._width / 2, bounciness, tempB1); addBumper(tempB2._x, tempB2._y, tempB2._width / 2, bounciness, tempB2); addBumper(tempB3._x, tempB3._y, tempB3._width / 2, bounciness, tempB3, false, "key"); addBumper(tempB4._x, tempB4._y, tempB4._width / 2, 2, tempB4, true); addBumper(tempB5._x, tempB5._y, tempB5._width / 2, 2, tempB5, true); addBumper(tempB6._x, tempB6._y, tempB6._width / 2, 2, tempB6, true); addBumper(tempB7._x, tempB7._y, tempB7._width / 2, 2, tempB7, true); addBumper(tempB8._x, tempB8._y, tempB8._width / 2, 2, tempB8, true); addBumper(tempB9._x, tempB9._y, tempB9._width / 2, 2, tempB9, true); addBumper(tempB10._x, tempB10._y, tempB10._width / 2, 2, tempB10, true); addBumper(tempB11._x, tempB11._y, tempB11._width / 2, 2, tempB11, true); addBumper(tempB12._x, tempB12._y, tempB12._width / 2, bounciness, tempB12); addBumper(tempB13._x, tempB13._y, tempB13._width / 2, bounciness, tempB13); addBumper(tempB14._x, tempB14._y, tempB14._width / 2, 2, tempB14, true); var length = 80; var angle = 30; var xstep = (length * Math.cos((angle * 3.141593) / 180)); var ystep = (length * Math.sin((angle * 3.141593) / 180)); launchBank = createLineB((startx + width) + 20, starty + 20, 230, 30, 1); addBumperB(tempB15._x, tempB15._y, tempB15._width / 2, bounciness, tempB15); addBumperB(tempB16._x, tempB16._y, tempB16._width / 2, bounciness, tempB16); addBumperB(tempB17._x, tempB17._y, tempB17._width / 2, bounciness, tempB17); addBumperB(tempB18._x, tempB18._y, tempB18._width / 2, bounciness, tempB18); addBumperB(tempB19._x, tempB19._y, tempB19._width / 2, bounciness, tempB19); addBumperB(tempB20._x, tempB20._y, tempB20._width / 2, bounciness, tempB20); addBumper(tempB21._x, tempB21._y, tempB21._width / 2, bounciness, tempB21); addBumper(tempB22._x, tempB22._y, tempB22._width / 2, bounciness, tempB22, true, "Block"); addBumperC(tempB23._x, tempB23._y, tempB23._width / 2, bounciness, tempB23); addBumperC(tempB24._x, tempB24._y, tempB24._width / 2, bounciness, tempB24); addBumperC(tempB25._x, tempB25._y, tempB25._width / 2, bounciness, tempB25); addBumperC(tempB26._x, tempB26._y, tempB26._width / 2, bounciness, tempB26); addBumperC(tempB27._x, tempB27._y, tempB27._width / 2, bounciness, tempB27); addBumperC(tempB28._x, tempB28._y, tempB28._width / 2, bounciness, tempB28); addBumperB(tempB29._x, tempB29._y, tempB29._width / 2, bounciness, tempB29); addBumperC(tempB30._x, tempB30._y, tempB30._width / 2, bounciness, tempB30); SFX1 = new Sound(); SFX1.attachSound("Bounce"); SFX2 = new Sound(); SFX2.attachSound("MetalBounce"); SFX3 = new Sound(); SFX3.attachSound("LostBall"); SFX4 = new Sound(); SFX4.attachSound("Ring"); SFX5 = new Sound(); SFX5.attachSound("Launch"); SFX6 = new Sound(); SFX6.attachSound("BigBounce"); SFX_Warp = new Sound(); SFX_Warp.attachSound("Warp"); SFX_Die = new Sound(); SFX_Die.attachSound("Die"); _root.Back = new Sound(); if (_root.BGM == 2) { _root.Back.attachSound("Background2"); } else if (_root.BGM == 3) { _root.Back.attachSound("Background3"); } else { _root.Back.attachSound("Background"); } _root.Back.start(); _root.SXFSound = true; initializeShot(); } function checkSpin() { if ((pb.hitTest(SpinTrigger) && (_root.SpinnerUsed == false)) && (_root.SpinOff == false)) { SpinChar.Play(); _root.SpinnerUsed = true; _root.Clock = _root.Clock + 1; _root.SpinTime = _root.Clock; _root.SpinOff = true; SpinShow2._visible = false; ball.ymov = 0; ball.xmov = 0; ball.tempx = 440; ball.tempy = 110; ball.x = 440; ball.y = 110; ball._x = 440; ball._y = 110; _root.OnHold = true; } else if ((!pb.hitTest(SpinTrigger)) && (_root.SpinnerUsed == true)) { _root.SpinnerUsed = false; } } lineArray = []; lineArrayA = []; lineArrayB = []; bumperArray = []; bumperArrayA = []; bumperArrayB = []; bumperArrayC = []; _root.GameOver = "False"; inPlay = false; _root.Level = 1; lineArray = lineArrayA; bumperArray = bumperArrayA; this.pb2._visible = false; Bounse._visible = false; _root.Bonus_Tick = 0; var i = 0; while (i < bumperArrayB.length) { bumperArrayB[i].clip._visible = false; i++; } var i = 0; while (i < bumperArrayC.length) { bumperArrayC[i].clip_visible = false; i++; } makeLinesVisible = true; left_tester._visible = false; right_tester._visible = false; _root.Score = 0; _root.Bounse = false; checkbox._visible = false; shaker._visible = false; _root.Amy = false; _root.Robotnik = false; ball = {}; _root.BallNum = 3; BallsLeftHUD.gotoAndStop(_root.BallNum); ball.clip = this.pb; ball.x = ball.clip._x; ball.y = ball.clip._y; ball.radius = ball.clip._width / 2; ball.mass = 1; ball.xmov = 0; ball.ymov = 0; airDecay = 0.99; gravity = 0.2; depth = 100; runPatch = 0; _root.Control = true; _root.OnHold = false; _root.SpinnerUsed = false; BlockWall._visible = false; _root.MoveHit = false; _root.MoveClock = 0; _root.AlphaCode = 0; this.CountDown._visible = false; _root.SpinOff = false; _root.SpinTime = 0; _root.Tilting = false; _root.TiltCounter = 0; left_paddleB._visible = false; right_paddleB._visible = false; buildMap(); this.onEnterFrame = function () { if (!_root.Pause) { if (inPlay) { if (animate) { animatePlunger(); } collided = false; if (_root.OnHold == false) { getTempPositions(); } captureKeys(); if (!collided) { bankCollisionDetect(); } if (!collided) { bumperCollisionDetect(); } _root.Back.onSoundComplete = function () { _root.Back.position = 0; _root.Back.start(); }; checkForWalls(); render(); checkSpin(); patch(); } } else { captureKeys(); } if (!_root.CanShake) { if (this.pb.hitTest(Shaker)) { _root.CanShake = true; } } _root.LastPause = _root.LastPause + 1; };
Symbol 265 Button
on (release) { getURL ("Http://www.mariosonicgames.com", "_blank"); }
Symbol 268 Button
on (release) { getURL ("Http://www.TESP.co.uk", "_blank"); }
Symbol 270 MovieClip Frame 1
stop();
Symbol 273 Button
on (release) { _root.database[0] = "0"; this.setCookie("SonicPinball", "item1", _root.database); _root.YouBest = 0; }

Library Items

Symbol 1 Sound [Warp]
Symbol 2 Sound [Background2]
Symbol 3 Sound [MetalBounce]
Symbol 4 Sound [Bounce]
Symbol 5 Sound [Ring]
Symbol 6 Sound [Launch]
Symbol 7 Sound [BigBounce]
Symbol 8 Sound [LostBall]
Symbol 9 Sound [Background]
Symbol 10 Sound [Die]
Symbol 11 Sound [Background3]
Symbol 12 GraphicUsed by:42
Symbol 13 FontUsed by:14
Symbol 14 EditableTextUses:13Used by:42
Symbol 15 GraphicUsed by:42
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:42
Symbol 18 GraphicUsed by:42
Symbol 19 BitmapUsed by:20 49
Symbol 20 GraphicUses:19Used by:21
Symbol 21 ButtonUses:20Used by:42
Symbol 22 GraphicUsed by:42
Symbol 23 GraphicUsed by:40
Symbol 24 GraphicUsed by:40
Symbol 25 GraphicUsed by:40
Symbol 26 GraphicUsed by:40
Symbol 27 GraphicUsed by:40
Symbol 28 GraphicUsed by:40
Symbol 29 GraphicUsed by:40
Symbol 30 GraphicUsed by:40
Symbol 31 GraphicUsed by:40
Symbol 32 GraphicUsed by:40
Symbol 33 GraphicUsed by:40
Symbol 34 GraphicUsed by:40
Symbol 35 GraphicUsed by:40
Symbol 36 GraphicUsed by:40
Symbol 37 GraphicUsed by:40
Symbol 38 GraphicUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39Used by:42
Symbol 41 GraphicUsed by:42 261  Timeline
Symbol 42 MovieClipUses:12 14 15 17 18 21 22 40 41Used by:Timeline
Symbol 43 GraphicUsed by:45
Symbol 44 GraphicUsed by:45
Symbol 45 ButtonUses:43 44Used by:261  Timeline
Symbol 46 GraphicUsed by:48 204
Symbol 47 GraphicUsed by:48 204
Symbol 48 MovieClipUses:46 47Used by:Timeline
Symbol 49 GraphicUses:19Used by:50
Symbol 50 ButtonUses:49Used by:Timeline
Symbol 51 GraphicUsed by:53
Symbol 52 GraphicUsed by:53
Symbol 53 ButtonUses:51 52Used by:Timeline
Symbol 54 FontUsed by:55 58 74 75 136 177 178 188 217 219 220 221 251 252 253 275
Symbol 55 TextUses:54Used by:77
Symbol 56 GraphicUsed by:57
Symbol 57 ButtonUses:56Used by:77
Symbol 58 TextUses:54Used by:77
Symbol 59 GraphicUsed by:60
Symbol 60 ButtonUses:59Used by:77
Symbol 61 GraphicUsed by:77
Symbol 62 GraphicUsed by:63
Symbol 63 ButtonUses:62Used by:77
Symbol 64 GraphicUsed by:65
Symbol 65 ButtonUses:64Used by:77
Symbol 66 GraphicUsed by:67
Symbol 67 ButtonUses:66Used by:77
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:77
Symbol 70 GraphicUsed by:71
Symbol 71 ButtonUses:70Used by:77
Symbol 72 GraphicUsed by:73
Symbol 73 ButtonUses:72Used by:77
Symbol 74 TextUses:54Used by:77
Symbol 75 TextUses:54Used by:77
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:55 57 58 60 61 63 65 67 69 71 73 74 75 76Used by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 ButtonUses:78Used by:Timeline
Symbol 80 GraphicUsed by:81
Symbol 81 ButtonUses:80Used by:Timeline
Symbol 82 GraphicUsed by:83
Symbol 83 ButtonUses:82Used by:Timeline
Symbol 84 GraphicUsed by:Timeline
Symbol 85 GraphicUsed by:86
Symbol 86 ButtonUses:85Used by:Timeline
Symbol 87 GraphicUsed by:Timeline
Symbol 88 GraphicUsed by:90
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:88 89Used by:92
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:90 91Used by:261  Timeline
Symbol 93 MovieClip [bank]Used by:261  Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:261  Timeline
Symbol 96 GraphicUsed by:261  Timeline
Symbol 97 GraphicUsed by:261  Timeline
Symbol 98 GraphicUsed by:261  Timeline
Symbol 99 GraphicUsed by:102
Symbol 100 GraphicUsed by:102
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:99 100 101Used by:104
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:102 103Used by:261  Timeline
Symbol 105 GraphicUsed by:107
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:105 106Used by:212  Timeline
Symbol 108 GraphicUsed by:212  Timeline
Symbol 109 GraphicUsed by:Timeline
Symbol 110 GraphicUsed by:111 113 115
Symbol 111 MovieClipUses:110Used by:114 116
Symbol 112 GraphicUsed by:113 115
Symbol 113 MovieClipUses:112 110Used by:114
Symbol 114 MovieClipUses:111 113Used by:261  Timeline
Symbol 115 MovieClipUses:112 110Used by:116
Symbol 116 MovieClipUses:111 115Used by:261  Timeline
Symbol 117 GraphicUsed by:119 120
Symbol 118 GraphicUsed by:119 120
Symbol 119 MovieClipUses:117 118Used by:124 144 148
Symbol 120 MovieClipUses:118 117Used by:124 144 148 176
Symbol 121 GraphicUsed by:124
Symbol 122 GraphicUsed by:124
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:119 120 121 122 123Used by:261  Timeline
Symbol 125 GraphicUsed by:261  Timeline
Symbol 126 GraphicUsed by:128
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:126 127Used by:261  Timeline
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:261  Timeline
Symbol 131 GraphicUsed by:261  Timeline
Symbol 132 GraphicUsed by:261  Timeline
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:133Used by:261  Timeline
Symbol 135 GraphicUsed by:261  Timeline
Symbol 136 EditableTextUses:54Used by:Timeline
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:261  Timeline
Symbol 139 GraphicUsed by:141
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:139 140Used by:261  Timeline
Symbol 142 GraphicUsed by:144
Symbol 143 GraphicUsed by:144 148
Symbol 144 MovieClipUses:120 119 142 143Used by:261  Timeline
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClipUses:145Used by:261  Timeline
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClipUses:120 119 147 143Used by:261  Timeline
Symbol 149 GraphicUsed by:Timeline
Symbol 150 GraphicUsed by:261  Timeline
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:151Used by:155
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:155
Symbol 155 MovieClipUses:152 154Used by:261  Timeline
Symbol 156 GraphicUsed by:159
Symbol 157 GraphicUsed by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:156 157 158Used by:261  Timeline
Symbol 160 GraphicUsed by:163
Symbol 161 GraphicUsed by:163
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:160 161 162Used by:165
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:163 164Used by:Timeline
Symbol 166 GraphicUsed by:167
Symbol 167 ButtonUses:166Used by:Timeline
Symbol 168 GraphicUsed by:169
Symbol 169 ButtonUses:168Used by:Timeline
Symbol 170 GraphicUsed by:172
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:170 171Used by:261
Symbol 173 GraphicUsed by:176
Symbol 174 GraphicUsed by:176
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:120 173 174 175Used by:261
Symbol 177 EditableTextUses:54Used by:179
Symbol 178 EditableTextUses:54Used by:179
Symbol 179 MovieClipUses:177 178Used by:180
Symbol 180 MovieClipUses:179Used by:261
Symbol 181 GraphicUsed by:261
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:261
Symbol 184 GraphicUsed by:185
Symbol 185 ButtonUses:184Used by:190
Symbol 186 GraphicUsed by:187
Symbol 187 ButtonUses:186Used by:190
Symbol 188 TextUses:54Used by:190
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClipUses:185 187 188 189Used by:261
Symbol 191 GraphicUsed by:196
Symbol 192 GraphicUsed by:196
Symbol 193 GraphicUsed by:196
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:191 192 193 194 195Used by:203 261
Symbol 197 GraphicUsed by:200
Symbol 198 GraphicUsed by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:197 198 199Used by:261
Symbol 201 GraphicUsed by:202 213
Symbol 202 MovieClipUses:201Used by:261
Symbol 203 MovieClipUses:196Used by:261
Symbol 204 MovieClipUses:46 47Used by:261
Symbol 205 GraphicUsed by:212
Symbol 206 GraphicUsed by:212
Symbol 207 GraphicUsed by:212
Symbol 208 GraphicUsed by:212
Symbol 209 GraphicUsed by:212
Symbol 210 GraphicUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:107 108 205 206 207 208 209 210 211Used by:261
Symbol 213 MovieClipUses:201Used by:261
Symbol 214 FontUsed by:215
Symbol 215 EditableTextUses:214Used by:261
Symbol 216 GraphicUsed by:222 249
Symbol 217 EditableTextUses:54Used by:222
Symbol 218 GraphicUsed by:222
Symbol 219 EditableTextUses:54Used by:222
Symbol 220 EditableTextUses:54Used by:222
Symbol 221 EditableTextUses:54Used by:222
Symbol 222 MovieClipUses:216 217 218 219 220 221Used by:255
Symbol 223 GraphicUsed by:224 247
Symbol 224 MovieClipUses:223Used by:255
Symbol 225 GraphicUsed by:226 245
Symbol 226 MovieClipUses:225Used by:255
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:255
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:255
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:231Used by:255
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:233Used by:255
Symbol 235 GraphicUsed by:237
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:235 236Used by:255
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:255
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:255
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:255
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244 225Used by:255
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClipUses:246 223Used by:255
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:216 248Used by:255
Symbol 250 GraphicUsed by:254
Symbol 251 EditableTextUses:54Used by:254
Symbol 252 EditableTextUses:54Used by:254
Symbol 253 EditableTextUses:54Used by:254
Symbol 254 MovieClipUses:250 251 252 253Used by:255
Symbol 255 MovieClipUses:222 224 226 228 230 232 234 237 239 241 243 245 247 249 254Used by:261
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:256Used by:261
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClipUses:258Used by:261
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:172 176 180 181 45 124 183 114 116 190 144 92 196 200 202 125 203 204 212 213 215 97 128 96 98 131 130 132 134 135 138 141 255 41 257 259 146 148 93 150 95 104 155 159 260Used by:Timeline
Symbol 262 GraphicUsed by:270
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:265
Symbol 265 ButtonUses:264Used by:270
Symbol 266 GraphicUsed by:268
Symbol 267 GraphicUsed by:268
Symbol 268 ButtonUses:266 267Used by:270
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClipUses:262 265 268 269Used by:Timeline
Symbol 271 GraphicUsed by:Timeline
Symbol 272 GraphicUsed by:273
Symbol 273 ButtonUses:272Used by:Timeline
Symbol 274 GraphicUsed by:Timeline
Symbol 275 EditableTextUses:54Used by:Timeline
Symbol 276 GraphicUsed by:Timeline
Symbol 277 MovieClipUsed by:Timeline
Symbol 278 GraphicUsed by:Timeline

Instance Names

"MyGame"Frame 1Symbol 42 MovieClip
"ControlBox"Frame 4Symbol 77 MovieClip
"bank"Frame 4Symbol 93 MovieClip [bank]
"SpinTrigger"Frame 4Symbol 95 MovieClip
"left_triangle"Frame 4Symbol 104 MovieClip
"right_triangle"Frame 4Symbol 104 MovieClip
"right_paddleB"Frame 4Symbol 114 MovieClip
"left_paddleB"Frame 4Symbol 116 MovieClip
"tempB21"Frame 4Symbol 124 MovieClip
"SpinShow"Frame 4Symbol 130 MovieClip
"SpinShow2"Frame 4Symbol 134 MovieClip
"BlockWall"Frame 4Symbol 138 MovieClip
"Platform"Frame 4Symbol 141 MovieClip
"tempB13"Frame 4Symbol 144 MovieClip
"tempB2"Frame 4Symbol 144 MovieClip
"tempB1"Frame 4Symbol 144 MovieClip
"tempB12"Frame 4Symbol 144 MovieClip
"LFloor"Frame 4Symbol 146 MovieClip
"tempB3"Frame 4Symbol 148 MovieClip
"SpinTrigger"Frame 4Symbol 95 MovieClip
"left_triangle"Frame 4Symbol 104 MovieClip
"right_triangle"Frame 4Symbol 104 MovieClip
"left_paddle"Frame 4Symbol 116 MovieClip
"plunger"Frame 4Symbol 155 MovieClip
"right_paddle"Frame 4Symbol 114 MovieClip
"BallRelease"Frame 4Symbol 159 MovieClip
"PauseText"Frame 5Symbol 165 MovieClip
"MusicButton"Frame 5Symbol 169 Button
"Message"Frame 6Symbol 270 MovieClip
"Window"Frame 6Symbol 277 MovieClip
"progressbar"Symbol 42 MovieClip Frame 1Symbol 17 MovieClip
"KnuckName"Symbol 77 MovieClip Frame 3Symbol 63 Button
"SonicName"Symbol 77 MovieClip Frame 3Symbol 65 Button
"BG3_Back"Symbol 77 MovieClip Frame 3Symbol 69 MovieClip
"BG2_Back"Symbol 77 MovieClip Frame 3Symbol 69 MovieClip
"BG1_Back"Symbol 77 MovieClip Frame 3Symbol 69 MovieClip
"top"Symbol 155 MovieClip Frame 1Symbol 152 MovieClip
"bar"Symbol 155 MovieClip Frame 1Symbol 154 MovieClip
"pb2"Symbol 203 MovieClip Frame 2Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 3Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 4Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 5Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 6Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 7Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 8Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 9Symbol 196 MovieClip
"pb2"Symbol 203 MovieClip Frame 10Symbol 196 MovieClip
"Die"Symbol 261 MovieClip Frame 1Symbol 172 MovieClip
"tempB30"Symbol 261 MovieClip Frame 1Symbol 176 MovieClip
"tempB29"Symbol 261 MovieClip Frame 1Symbol 176 MovieClip
"CountDown"Symbol 261 MovieClip Frame 1Symbol 180 MovieClip
"tempB28"Symbol 261 MovieClip Frame 1Symbol 124 MovieClip
"tempB27"Symbol 261 MovieClip Frame 1Symbol 124 MovieClip
"tempB26"Symbol 261 MovieClip Frame 1Symbol 124 MovieClip
"tempB25"Symbol 261 MovieClip Frame 1Symbol 124 MovieClip
"tempB24"Symbol 261 MovieClip Frame 1Symbol 124 MovieClip
"tempB23"Symbol 261 MovieClip Frame 1Symbol 124 MovieClip
"rightHitB"Symbol 261 MovieClip Frame 1Symbol 183 MovieClip
"right_paddleB"Symbol 261 MovieClip Frame 1Symbol 114 MovieClip
"leftHitB"Symbol 261 MovieClip Frame 1Symbol 183 MovieClip
"left_paddleB"Symbol 261 MovieClip Frame 1Symbol 116 MovieClip
"ControlBox"Symbol 261 MovieClip Frame 1Symbol 190 MovieClip
"tempB15"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB20"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB18"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB17"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB16"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"pb2"Symbol 261 MovieClip Frame 1Symbol 196 MovieClip
"tempB19"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"Bounse"Symbol 261 MovieClip Frame 1Symbol 200 MovieClip
"Shaker"Symbol 261 MovieClip Frame 1Symbol 202 MovieClip
"tempB22"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB21"Symbol 261 MovieClip Frame 1Symbol 124 MovieClip
"BallsLeftHUD"Symbol 261 MovieClip Frame 1Symbol 203 MovieClip
"SpinChar"Symbol 261 MovieClip Frame 1Symbol 212 MovieClip
"CheckBox"Symbol 261 MovieClip Frame 1Symbol 213 MovieClip
"tempB11"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB10"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB14"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"SpinShow"Symbol 261 MovieClip Frame 1Symbol 130 MovieClip
"SpinShow2"Symbol 261 MovieClip Frame 1Symbol 134 MovieClip
"BlockWall"Symbol 261 MovieClip Frame 1Symbol 138 MovieClip
"Platform"Symbol 261 MovieClip Frame 1Symbol 141 MovieClip
"Mess_box"Symbol 261 MovieClip Frame 1Symbol 255 MovieClip
"tempB13"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB2"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB1"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB12"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB8"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB9"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB7"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"right_tester"Symbol 261 MovieClip Frame 1Symbol 257 MovieClip
"tempB6"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB5"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"tempB4"Symbol 261 MovieClip Frame 1Symbol 144 MovieClip
"left_tester"Symbol 261 MovieClip Frame 1Symbol 259 MovieClip
"LFloor"Symbol 261 MovieClip Frame 1Symbol 146 MovieClip
"rightHit"Symbol 261 MovieClip Frame 1Symbol 183 MovieClip
"leftHit"Symbol 261 MovieClip Frame 1Symbol 183 MovieClip
"tempB3"Symbol 261 MovieClip Frame 1Symbol 148 MovieClip
"bank"Symbol 261 MovieClip Frame 1Symbol 93 MovieClip [bank]
"SpinTrigger"Symbol 261 MovieClip Frame 1Symbol 95 MovieClip
"left_triangle"Symbol 261 MovieClip Frame 1Symbol 104 MovieClip
"right_triangle"Symbol 261 MovieClip Frame 1Symbol 104 MovieClip
"left_paddle"Symbol 261 MovieClip Frame 1Symbol 116 MovieClip
"plunger"Symbol 261 MovieClip Frame 1Symbol 155 MovieClip
"right_paddle"Symbol 261 MovieClip Frame 1Symbol 114 MovieClip
"pb"Symbol 261 MovieClip Frame 1Symbol 196 MovieClip
"BallRelease"Symbol 261 MovieClip Frame 1Symbol 159 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$4L$J966iet1FpLm95Dq8XjXw0."
ExportAssets (56)Timeline Frame 1Symbol 1 as "Warp"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Background2"
ExportAssets (56)Timeline Frame 1Symbol 3 as "MetalBounce"
ExportAssets (56)Timeline Frame 1Symbol 4 as "Bounce"
ExportAssets (56)Timeline Frame 1Symbol 5 as "Ring"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Launch"
ExportAssets (56)Timeline Frame 1Symbol 7 as "BigBounce"
ExportAssets (56)Timeline Frame 1Symbol 8 as "LostBall"
ExportAssets (56)Timeline Frame 1Symbol 9 as "Background"
ExportAssets (56)Timeline Frame 1Symbol 10 as "Die"
ExportAssets (56)Timeline Frame 1Symbol 11 as "Background3"
ExportAssets (56)Timeline Frame 4Symbol 93 as "bank"
ExportAssets (56)Timeline Frame 5Symbol 93 as "bank"

Labels

"Title"Frame 4
"Play"Frame 5
"SubScore"Frame 6
"Up"Symbol 124 MovieClip Frame 5
"bumped"Symbol 124 MovieClip Frame 5
"Down"Symbol 124 MovieClip Frame 15
"bumped"Symbol 141 MovieClip Frame 2
"bumped"Symbol 144 MovieClip Frame 5
"bumped"Symbol 148 MovieClip Frame 5
"bumped"Symbol 176 MovieClip Frame 5
"Amy"Symbol 212 MovieClip Frame 49
"Tails"Symbol 212 MovieClip Frame 53
"Robotnik"Symbol 212 MovieClip Frame 57
"Sonic"Symbol 212 MovieClip Frame 61

Dynamic Text Variables

_root.loadingSymbol 14 EditableText"000 "
_root.ScrollOutSymbol 136 EditableText""
_root.BonusTimeSymbol 177 EditableText"Count "
_root.BonusTimeSymbol 178 EditableText"Count "
_root.ScoreSymbol 215 EditableText"012345678 9"
_root.BallNumSymbol 217 EditableText"03 "
_root.BallNumSymbol 219 EditableText"03 "
_root.BallNumSymbol 220 EditableText"03 "
_root.BallNumSymbol 221 EditableText"03 "
_root.TotalBonusScoreSymbol 251 EditableText"000"
_root.TotalBonusScoreSymbol 252 EditableText"000"
_root.TotalBonusScoreSymbol 253 EditableText"000"
_root.YouBestSymbol 275 EditableText"00 "




http://swfchan.com/23/114564/info.shtml
Created: 10/3 -2019 15:42:15 Last modified: 10/3 -2019 15:42:15 Server time: 14/11 -2024 06:46:39