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

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

Golphysics.swf

This is the info page for
Flash #30172

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


Text
start

start

There are also two
colored bars, with
two kinds of
bounciness
If the ball is never
stopping, click the
"reset ball" button

888

<p align="right"><font face="DIGIOSLO" size="40" color="#4e4e4e" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

There are three kinds
of walls:
-green: bouncy
-orange: very bouncy
-pink: barely bouncy
And think there's
gravity, so aim
acordingly

start

Backgrounds with
diferent colors, have
diferent gravity, the
arrow indicates you
the direction

Gravity isn't only
downwards or upwards,
it can be in any
direction!

888

<p align="right"><font face="DIGIOSLO" size="24" color="#4e4e4e" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>

Magnetic fields make
the ball move in a
circle, but be aware
that the radius of
the circle depends on
the speed of the
ball!

Gravity fields can
move, so shoot at the
right moment!

Boosters will speed
up your ball to
unimaginable speeds,
but they will throw
it in their desired
direction

Take the elevators at
the right moment, and
in the right
direction, otherwise
they will be
useless...

Black & white bars
have their own graviy
but it only affects
the ball if it's
inside the light
threshold

Be careful! The hole
may not be always
powered!

Touch the buttons
with the ball to make
new fields appear or
disappear, but do it
in the right
direction or you'll
run out of time

<p align="right"><font face="DIGIOSLO" size="24" color="#4e4e4e" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>

Be careful, hole may
move!
The "reset ball"
button may help you a
lot in this one

Try to catch the
orbit to save some
strokes!

Isn't it nice when
you shoot in the
perfect direction?
You can skip half the
way to the hole.

Some fields are so
strong, you won't
pass through them as
strong as you shoot

Not everything that
goes up goes down!
Sometimes you have no
choice but to go
always uphill

You can choose the
path you want, but be
careful there's a
black hole in the
center that will suck
the ball!

Do you remember all
the previous 17
holes?
Well, this one has it
all!

Basic controls:
· Click on the ball then pull back
and release to strike.
· Roll-over the white arrows or
press the arrow keys to move the
camera.
· Use the mouse scroller or the
slider on the menu to zoom in/out.
· Use the "reset ball" button to
place the ball where it landed last.
Objective:
It's a golf game... put the ball in
the hole!

OK

OK

GOLPHYSICS

G

O

L

P

H

Y

S

I

C

by
Joliner

© 2008 Oslo Albet

888888888888

<p align="right"></p>

OK

OK

enter your name

enter your name

resume last

resume last

resume last

resume last

front nine

front nine

back nine

back nine

full course

full course

full course

practice hole

practice hole

practice hole

instructions

instructions

DDICTING

AM

E

S

Strokes

Strokes

Hole

Hole

Par

Par

88

88

<p align="right"><font face="DIGIOSLO" size="24" color="#333333" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

<p align="right"><font face="DIGIOSLO" size="24" color="#333333" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

menu

menu

<p align="right"><font face="DIGIOSLO" size="40" color="#333333" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

resetball

+88

4

5

9

7

8

5

3

7

6

9

14

11

15

8

10

10

10

9

hole:

par:

back to menu

back to menu

<p align="center"></p>

Music Vol

back to game

back to game

exit course

exit course

exit course

<p align="right"><font face="DIGIOSLO" size="24" color="#333333" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

<p align="right"><font face="DIGIOSLO" size="24" color="#333333" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

resetball

<p align="right"><font face="DIGIOSLO" size="40" color="#333333" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

score:

player:

8888

888888888888

<p align="left"><font face="DIGIOSLO" size="27" color="#4e4e4e" letterSpacing="0.000000" kerning="1"><b>your name</b></font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">2</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">3</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">4</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">5</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">6</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">7</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">8</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">9</font></p>

<p align="left"></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">10</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">11</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">12</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">13</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">14</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">15</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">16</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">17</font></p>

<p align="left"><font face="Dotimatrix 5" size="24" color="#666666" letterSpacing="0.000000" kerning="1">18</font></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

continue

continue

<p align="right"><font face="DIGIOSLO" size="27" color="#4e4e4e" letterSpacing="0.000000" kerning="1"><b>+100</b></font></p>

back to menu

back to menu

ActionScript [AS1/AS2]

Frame 1
MochiAd.showPreGameAd({id:"26ac2cdc692fe869", res:"640x480"}); urlStart = _url.indexOf("://") + 3; urlEnd = _url.indexOf("/", urlStart); domain = _url.substring(urlStart, urlEnd); LastDot = domain.lastIndexOf(".") - 1; domEnd = domain.lastIndexOf(".", LastDot) + 1; domain = domain.substring(domEnd, domain.length); stop();
Frame 2
_root.gotoAndPlay("logos");
Instance of Symbol 26 MovieClip in Frame 2
onClipEvent (enterFrame) { myLoaded = Math.round(_root.getBytesLoaded()); myTotal = Math.round(_root.getBytesTotal()); myPercent = myLoaded / myTotal; loadermask._width = myPercent * barra._width; myPercent = Math.round(myPercent * 100); percent.text = myPercent; if (myLoaded == myTotal) { } }
Frame 4
stop();
Frame 5
stopAllSounds();
Frame 6
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("b3795fa8", this, 10301, true); var mouseListener = new Object(); mouseListener.onMouseWheel = function (wheelNum) { if (_root.menu.zoombtn.enabled == true) { z = 0; if (wheelNum < 0) { z = -5; } if (wheelNum > 0) { z = 5; } if ((_root.menu.zfactor + z) > 100) { _root.menu.zfactor = 100; } else if ((_root.menu.zfactor + z) < 25) { _root.menu.zfactor = 25; } else { _root.menu.zfactor = _root.menu.zfactor + z; } _root.menu.zoombtn._x = _root.menu.zoomrail._x + (((_root.menu.zfactor - 25) * _root.menu.zoomrail._width) / 75); _root.sholder._xscale = _root.menu.zfactor; _root.sholder._yscale = _root.menu.zfactor; } }; Mouse.addListener(mouseListener); pars = new Array(); pars[1] = 4; pars[2] = 7; pars[3] = 8; pars[4] = 5; pars[5] = 3; pars[6] = 7; pars[7] = 6; pars[8] = 9; pars[9] = 14; pars[10] = 5; pars[11] = 9; pars[12] = 9; pars[13] = 10; pars[14] = 10; pars[15] = 10; pars[16] = 8; pars[17] = 15; pars[18] = 11; golf_cookie = SharedObject.getLocal("feronato"); if (golf_cookie.data.scores == undefined) { golf_cookie.data.scores = new Array(); i = 1; while (i < 19) { golf_cookie.data.scores[i] = 0; i++; } golf_cookie.data.currentstage = 0; golf_cookie.data.laststage = 0; golf_cookie.data.firststage = 0; } scores = new Array(); i = 1; while (i < 19) { scores[i] = golf_cookie.data.scores[i]; i++; } currentstage = golf_cookie.data.currentstage; laststage = golf_cookie.data.laststage; firststage = golf_cookie.data.firststage; singlehole = false; createEmptyMovieClip("snd1mc", _root.getNextHighestDepth()); createEmptyMovieClip("snd2mc", _root.getNextHighestDepth()); createEmptyMovieClip("snd3mc", _root.getNextHighestDepth()); createEmptyMovieClip("snd4mc", _root.getNextHighestDepth()); createEmptyMovieClip("snd5mc", _root.getNextHighestDepth()); createEmptyMovieClip("snd6mc", _root.getNextHighestDepth()); createEmptyMovieClip("snd7mc", _root.getNextHighestDepth()); tee = new Sound(snd1mc); tee.attachSound("tee"); nottee = new Sound(snd2mc); nottee.attachSound("nottee"); beamsound = new Sound(snd3mc); beamsound.attachSound("beamsound"); zoomsound = new Sound(snd4mc); zoomsound.attachSound("zooming"); fiusound = new Sound(snd5mc); fiusound.attachSound("fiusound"); ambient = new Sound(snd6mc); ambient.attachSound("funky"); ambient.setVolume(70); musicvol = 70; ambient2 = new Sound(this); ambient2.attachSound("jazzy");
Frame 32
stop();
Frame 54
stop();
Frame 57
_root.ambient2.stop(); _root.ambient2.start(0, 999); stop();
Frame 91
gotoAndPlay (144);
Frame 92
_root.chocho = true;
Frame 119
stop();
Frame 143
if (_root.chocho == true) { gotoAndPlay (144); } else { _root.singlehole = false; _root.gotoAndStop("mainmenu"); }
Frame 144
_root.menu.zoombtn.enabled = false; _root.menu.resetglow._visible = true; _root.menu.resetbutton._visible = false; _root.menu.resetbutton.enabled = false; _root.menu.holetext.text = _root.currentstage; _root.menu.partext.text = _root.pars[_root.currentstage]; _root.createEmptyMovieClip("sholder", _root.getNextHighestDepth()); sholder.attachMovie("Level" + currentstage, "stage", getNextHighestDepth()); menu.swapDepths(sholder); sholder._visible = false; sholder.stage._x = sholder.stage._x - 320; sholder.stage._y = sholder.stage._y - 240; sholder._x = sholder._x + 320; sholder._y = sholder._y + 240; _root.sholder._xscale = 10; _root.sholder._yscale = 10; _root.sholder.stage.ball._visible = false; playing = false; _root.createEmptyMovieClip("popupholder", _root.getNextHighestDepth()); popupholder.attachMovie("popup" + currentstage, "popup", getNextHighestDepth()); _root.popupholder.swapDepths(_root.scoretable); _root.popupholder._x = 320; _root.popupholder._y = 215; _root.strokecount = 0; stop();
Instance of Symbol 583 MovieClip "menu" in Frame 144
onClipEvent (load) { zfactor = 85; zoom = false; active = true; } onClipEvent (enterFrame) { if (_root.playing == true) { if (_root.sholder.stage.ball.stopd == false) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - (((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * zfactor) / 100) - 230) / 4); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - (((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * zfactor) / 100) + 240) / 4); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - (((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * zfactor) / 100) - 100) / 4); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - (((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * zfactor) / 100) + 150) / 4); } } if (_root.sholder.stage.ball.pressed == false) { if ((active == false) && (((downbtn.hitTest(_root._xmouse, _root._ymouse) || (upbtn.hitTest(_root._xmouse, _root._ymouse))) || (rightbtn.hitTest(_root._xmouse, _root._ymouse))) || (leftbtn.hitTest(_root._xmouse, _root._ymouse)))) { active = false; } else { active = true; } upbtn._visible = true; downbtn._visible = true; leftbtn._visible = true; rightbtn._visible = true; } else { active = false; upbtn._visible = false; downbtn._visible = false; leftbtn._visible = false; rightbtn._visible = false; } if (active == true) { if (_root.sholder.stage.ball.pressed == false) { if (upbtn.hitTest(_root._xmouse, _root._ymouse) || (Key.isDown(38))) { _root.sholder.stage._y = _root.sholder.stage._y + ((((100 - zfactor) / 100) * 24) + 10); } if (downbtn.hitTest(_root._xmouse, _root._ymouse) || (Key.isDown(40))) { _root.sholder.stage._y = _root.sholder.stage._y - ((((100 - zfactor) / 100) * 24) + 10); } if (rightbtn.hitTest(_root._xmouse, _root._ymouse) || (Key.isDown(39))) { _root.sholder.stage._x = _root.sholder.stage._x - ((((100 - zfactor) / 100) * 24) + 10); } if (leftbtn.hitTest(_root._xmouse, _root._ymouse) || (Key.isDown(37))) { _root.sholder.stage._x = _root.sholder.stage._x + ((((100 - zfactor) / 100) * 24) + 10); } } } if (zoom == true) { zfactor = 25 + (75 * ((_root.menu.zoombtn._x - _root.menu.zoomrail._x) / _root.menu.zoomrail._width)); _root.sholder._xscale = zfactor; _root.sholder._yscale = zfactor; } } }
Frame 153
stop(); sholder._visible = true; count = 0;
Instance of Symbol 584 MovieClip "blinker" in Frame 153
onClipEvent (load) { _visible = false; _root.menu.zoombtn.enabled = false; } onClipEvent (enterFrame) { if (_root.count > 100) { _root.ambient2.stop(); } _root.count = _root.count + 4; if (_root.count == 4) { _root.zoomsound.start(0, 1); } if (((_root.sholder._xscale * 1.05) < 85) && (_root.count > 100)) { _root.sholder._visible = true; _root.sholder._xscale = _root.sholder._xscale * 1.05; _root.sholder._yscale = _root.sholder._yscale * 1.05; _root.menu.zoombtn._x = _root.menu.zoomrail._x + (((_root.sholder._xscale - 10) * _root.menu.zoomrail._width) / 90); } else if (_root.count > 100) { _root.sholder._xscale = 85; _root.sholder._yscale = 85; _root.menu.zoombtn.enabled = true; _root.play(); } }
Frame 163
stop(); _root.menu.zoombtn.enabled = true; _root.sholder.stage.attachMovie("glower", "glower", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower._x = _root.sholder.stage.ball._x; _root.sholder.stage.glower._y = _root.sholder.stage.ball._y;
Frame 173
stop(); ambient.start(0, 100); playing = true; _root.menu.resetglow._visible = false; _root.menu.resetbutton._visible = true; _root.menu.resetbutton.enabled = true;
Frame 183
playing = false; _root.menu.upbtn._visible = false; _root.menu.downbtn._visible = false; _root.menu.leftbtn._visible = false; _root.menu.rightbtn._visible = false; _root.sholder.stage.ball._visible = false; _root.currentstage = _root.currentstage + 1; stop(); _root.ambient2.start(0, 999);
Instance of Symbol 641 MovieClip "scoretable" in Frame 183
onClipEvent (load) { tablemc.playername.text = _root.playername; format = new TextFormat(); this.swapDepths(_root.getNextHighestDepth()); i = _root.firststage; while (i < (_root.currentstage - 1)) { if (_root.scores[i] > 0) { format.color = 16724736 /* 0xFF3300 */; tablemc["holenum" + i].setTextFormat(format); if (_root.scores[i] < 10) { tablemc["score" + i].text = "+ " + _root.scores[i]; } else { tablemc["score" + i].text = "+" + _root.scores[i]; } } if (_root.scores[i] < 0) { format.color = 6749952 /* 0x66FF00 */; tablemc["holenum" + i].setTextFormat(format); if (_root.scores[i] > -10) { tablemc["score" + i].text = "- " + Math.abs(_root.scores[i]); } else { tablemc["score" + i].text = "-" + Math.abs(_root.scores[i]); } } if (_root.scores[i] == 0) { format.color = 6750207 /* 0x66FFFF */; tablemc["holenum" + i].setTextFormat(format); tablemc["score" + i].text = " 0"; } i++; } _root.scores[_root.currentstage - 1] = _root.strokecount - _root.pars[_root.currentstage - 1]; if (_root.scores[_root.currentstage - 1] > 0) { format.color = 16724736 /* 0xFF3300 */; tablemc["holenum" + (_root.currentstage - 1)].setTextFormat(format); if (_root.scores[_root.currentstage - 1] < 10) { tablemc["score" + (_root.currentstage - 1)].text = "+ " + _root.scores[_root.currentstage - 1]; } else { tablemc["score" + (_root.currentstage - 1)].text = "+" + _root.scores[_root.currentstage - 1]; } } if (_root.scores[_root.currentstage - 1] < 0) { format.color = 6749952 /* 0x66FF00 */; tablemc["holenum" + (_root.currentstage - 1)].setTextFormat(format); if (_root.scores[_root.currentstage - 1] > -10) { tablemc["score" + (_root.currentstage - 1)].text = "- " + Math.abs(_root.scores[_root.currentstage - 1]); } else { tablemc["score" + (_root.currentstage - 1)].text = "-" + Math.abs(_root.scores[_root.currentstage - 1]); } } if (_root.scores[_root.currentstage - 1] == 0) { format.color = 6750207 /* 0x66FFFF */; tablemc["holenum" + (_root.currentstage - 1)].setTextFormat(format); tablemc["score" + (_root.currentstage - 1)].text = " 0"; } i = _root.currentstage; while (i < 19) { tablemc["score" + i].text = ""; format.color = 6710886 /* 0x666666 */; tablemc["holenum" + i].setTextFormat(format); i++; } totalstrokes = 0; totalscore = 0; i = _root.firststage; while (i < _root.currentstage) { totalscore = totalscore + _root.scores[i]; i++; } if (totalscore > 0) { if (totalscore < 10) { tablemc.totalscore.text = "+ " + totalscore; } else { tablemc.totalscore.text = "+" + totalscore; } } else if (totalscore < 0) { if (totalscore > -10) { tablemc.totalscore.text = "- " + Math.abs(totalscore); } else { tablemc.totalscore.text = "-" + Math.abs(totalscore); } } else { tablemc.totalscore.text = 0; } tablemc.totalscore.text = totalscore; if (_root.currentstage > _root.laststage) { tablemc.contbtn._visible = false; tablemc.hiscorebtn._visible = true; } else { tablemc.contbtn._visible = true; tablemc.hiscorebtn._visible = false; } i = 1; while (i < 19) { _root.golf_cookie.data.scores[i] = _root.scores[i]; i++; } _root.golf_cookie.data.currentstage = _root.currentstage; if (_root.singlehole == true) { tablemc.totalscore.text = ""; tablemc.contbtn._visible = false; tablemc.hiscorebtn._visible = false; i = _root.laststage; _root.scores[i] = _root.strokecount - _root.pars[i]; if (_root.scores[i] > 0) { format.color = 16724736 /* 0xFF3300 */; tablemc["holenum" + i].setTextFormat(format); if (_root.scores[i] < 10) { tablemc["score" + i].text = "+ " + _root.scores[i]; } else { tablemc["score" + i].text = "+" + _root.scores[i]; } } if (_root.scores[i] < 0) { format.color = 6749952 /* 0x66FF00 */; tablemc["holenum" + i].setTextFormat(format); if (_root.scores[i] > -10) { tablemc["score" + i].text = "- " + Math.abs(_root.scores[i]); } else { tablemc["score" + i].text = "-" + Math.abs(_root.scores[i]); } } if (_root.scores[i] == 0) { format.color = 6750207 /* 0x66FFFF */; tablemc["holenum" + i].setTextFormat(format); tablemc["score" + i].text = " 0"; } } _root.strokecount = 0; i = 1; while (i < 19) { i++; } }
Symbol 12 Button
on (release) { removeMovieClip(_root.popupholder); _root.play(); }
Symbol 642 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.3"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { }, ad_loaded:function (width, height) { }}; options = _parseOptions(options, _local27); if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { options.ad_failed(); _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { }, ad_loaded:function (width, height) { }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { } return(_local4); } }
Symbol 643 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 644 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 645 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 646 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static var version = "1.1.0.52"; }
Symbol 647 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce { function Bounce () { } static function easeOut(t, b, c, d) { t = t / d; if (t < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { t = t - 0.545454545454545; return((c * (((7.5625 * t) * t) + 0.75)) + b); } if (t < 0.909090909090909) { t = t - 0.818181818181818; return((c * (((7.5625 * t) * t) + 0.9375)) + b); } t = t - 0.954545454545455; return((c * (((7.5625 * t) * t) + 0.984375)) + b); } static function easeIn(t, b, c, d) { return((c - easeOut(d - t, 0, c, d)) + b); } static function easeInOut(t, b, c, d) { if (t < (d / 2)) { return((easeIn(t * 2, 0, c, d) * 0.5) + b); } return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static var version = "1.1.0.52"; }
Symbol 30 MovieClip Frame 40
if (Math.random() < 0.95) { gotoAndPlay (1); }
Symbol 30 MovieClip Frame 131
if (Math.random() > 0.5) { gotoAndPlay (1); }
Symbol 58 MovieClip Frame 26
gotoAndPlay(Math.round(Math.random() * 25));
Instance of Symbol 43 MovieClip in Symbol 59 MovieClip Frame 1
onClipEvent (load) { var endsound = new Sound(this); endsound.attachSound("beamsound"); var endsound2 = new Sound(applause); endsound2.attachSound("applause"); done = false; this._visible = false; } onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { if (done == false) { _root.sholder.stage.ball.endgame = true; _root.sholder.stage.attachMovie("lightball", "lightball", _root.getNextHighestDepth()); _root.sholder.stage.lightball._x = _root.sholder.stage.ball._x; _root.sholder.stage.lightball._y = _root.sholder.stage.ball._y; lightning.stop(); endsound.setVolume(70); endsound.setVolume(70); endsound.start(0, 1); endsound2.start(0, 1); var ob = _root.sholder.stage.ball; } done = true; ob.vx = 0; ob.vy = 0; ob.xgravity = 0; ob.ygravity = 0; _root.sholder.stage.ball._visible = false; _root.sholder.stage.updateObject(ob); } }
Symbol 86 Button
on (press) { _root.sholder.stage.ball.pressed = true; } on (release, releaseOutside) { _root.sholder.stage.ball.pressed = false; if (_root.sholder.stage.arrow.disableShot == false) { _root.sholder.stage.ball.strikescount = _root.sholder.stage.ball.strikescount + 1; _root.strokecount = _root.strokecount + 1; _root.menu.stikestext.text = _root.sholder.stage.ball.strikescount; _root.sholder.stage.ball.lstx = _root.sholder.stage.ball.p0.x; _root.sholder.stage.ball.lsty = _root.sholder.stage.ball.p0.y; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel >= 30) { vx = (30 * vx) / vel; vy = (30 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } _root.sholder.stage.ball.vx = vx; _root.sholder.stage.ball.vy = vy; _root.tee.setVolume((Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)) * 10) + 30); _root.tee.start(0.75, 1); _root.sholder.stage.ball.stopd = false; _root.sholder.stage.ball.fuck = 3; } else { _root.nottee.setVolume(100); _root.nottee.start(0, 1); } }
Symbol 95 MovieClip [Level1] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 33 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((_root.sholder.stage.ball._x + _root.sholder.stage._x) + 320, (_root.sholder.stage.ball._y + _root.sholder.stage._y) + 240)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 37 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 2291.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 483.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 398.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1205.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 612; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 61 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 496.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 552.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 952; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 1014.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 256.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 369.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 105.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 198; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 507.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 95 MovieClip [Level1] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 104 MovieClip [Level2] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 98 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0.8; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 37 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 647.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 270; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1011.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 412.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 738; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 677; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 948.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 337.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 138.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 231.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 104 MovieClip [Level2] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 110 MovieClip [Level3] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 106 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 1; } }
Instance of Symbol 33 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 108 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = -1; } }
Instance of Symbol 100 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 106 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 1; } }
Instance of Symbol 33 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 103 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 990.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 969.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 416.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 471.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 382.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1324.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 472.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1309.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 773.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 971.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 374.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 447; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 110 MovieClip [Level3] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 120 Button
on (release) { removeMovieClip(_root.popupholder); _root.play(); }
Symbol 147 MovieClip Frame 1
stop();
Symbol 170 MovieClip [lightball] Frame 65
_root.ambient.stop(); _root.ambient.setVolume(_root.musicvol); removeMovieClip(this); _root.gotoAndStop("endgame");
Symbol 171 MovieClip [glower] Frame 19
_root.sholder.stage.ball._visible = true; _root.sholder.stage.ball._alpha = 25; _root.sholder.stage.ball._xscale = 25; _root.sholder.stage.ball._yscale = 25; _root.sholder.stage.ball.pointer._visible = false;
Symbol 171 MovieClip [glower] Frame 27
_root.sholder.stage.ball._alpha = 40; _root.sholder.stage.ball._xscale = 45; _root.sholder.stage.ball._yscale = 45;
Symbol 171 MovieClip [glower] Frame 31
_root.sholder.stage.ball._alpha = 55; _root.sholder.stage.ball._xscale = 65; _root.sholder.stage.ball._yscale = 65;
Symbol 171 MovieClip [glower] Frame 34
_root.sholder.stage.ball._alpha = 70; _root.sholder.stage.ball._xscale = 85; _root.sholder.stage.ball._yscale = 85;
Symbol 171 MovieClip [glower] Frame 37
_root.sholder.stage.ball._alpha = 100; _root.sholder.stage.ball._xscale = 100; _root.sholder.stage.ball._yscale = 100; _root.gotoAndPlay("startgame");
Symbol 171 MovieClip [glower] Frame 61
removeMovieClip(this);
Symbol 172 MovieClip [glower2] Frame 18
_root.sholder.stage.ball._visible = true; _root.sholder.stage.ball.pointer._visible = false;
Symbol 172 MovieClip [glower2] Frame 27
_root.playing = true;
Symbol 172 MovieClip [glower2] Frame 59
_root.playing = true; removeMovieClip(this);
Symbol 183 MovieClip [Level4] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 33 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 174 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 176 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 181 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = _root.sholder.stage.ball.vx / 5; _root.sholder.stage.ball.xgravity = (-_root.sholder.stage.ball.vy) / 5; } }
Instance of Symbol 174 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 181 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = (-_root.sholder.stage.ball.vx) / 5; _root.sholder.stage.ball.xgravity = _root.sholder.stage.ball.vy / 5; } }
Instance of Symbol 181 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = _root.sholder.stage.ball.vx / 5; _root.sholder.stage.ball.xgravity = (-_root.sholder.stage.ball.vy) / 5; } }
Instance of Symbol 181 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = (-_root.sholder.stage.ball.vx) / 5; _root.sholder.stage.ball.xgravity = _root.sholder.stage.ball.vy / 5; } }
Instance of Symbol 37 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1388.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 399.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 984.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 657.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1092.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 183 MovieClip [Level4] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 190 MovieClip [Level5] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 35 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.sholder.stage.ball.center)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 18 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1562.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1300.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 401.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 401.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 166.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 190 MovieClip [Level5] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 196 MovieClip [Level6] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 33 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 192 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (enterFrame) { this._rotation = this._rotation + 2; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 194 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if ((count > 100) && (count < 184)) { _y = (_y - 5); } if ((count > 300) && (count < 384)) { _y = (_y + 5); } if (count > 384) { count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if ((count > 100) && (count < 184)) { _y = (_y - 5); } if ((count > 300) && (count < 384)) { _y = (_y + 5); } if (count > 384) { count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if ((count > 100) && (count < 184)) { _y = (_y - 5); } if ((count > 300) && (count < 384)) { _y = (_y + 5); } if (count > 384) { count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if ((count > 100) && (count < 184)) { _y = (_y - 5); } if ((count > 300) && (count < 384)) { _y = (_y + 5); } if (count > 384) { count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 398.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 431.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 830.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 431.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 527.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 398.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 193.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 196 MovieClip [Level6] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 220 MovieClip Frame 13
gotoAndPlay(Math.round(Math.random() * 10));
Symbol 225 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 2
onClipEvent (load) { _visible = false; count = 0; } onClipEvent (enterFrame) { count = count + 0.5; _root.sholder.stage.ball.lava.roller._rotation = _root.sholder.stage.ball.lava.roller._rotation + count; _parent.sphere._rotation = _parent.sphere._rotation + (count / 2); }
Symbol 225 MovieClip Frame 115
_root.sholder.stage.ball.vx = vx; _root.sholder.stage.ball.vy = vy; _root.sholder.stage.ball.xgravity = 0; _root.sholder.stage.ball.ygravity = 0; shot = true;
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 115
onClipEvent (load) { _visible = false; count = 20; } onClipEvent (enterFrame) { count = count - 0.5; if (count > 0) { _parent.sphere._rotation = _parent.sphere._rotation + count; } }
Symbol 225 MovieClip Frame 166
gotoAndStop (1); shot = false;
Symbol 227 MovieClip [Level7] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 33 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 198 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 200 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 201 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 37 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 291.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 398.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 376.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 292.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 225 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { vx = 40; vy = -5; shot = false; } onClipEvent (enterFrame) { if (this.sphere.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { dist = Math.sqrt(Math.pow(_root.sholder.stage.ball._y - _y, 2) + Math.pow(_root.sholder.stage.ball._x - _x, 2)); if (shot == false) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.6; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.6; _root.sholder.stage.ball.ygravity = (-1.5 * (_root.sholder.stage.ball._y - _y)) / dist; _root.sholder.stage.ball.xgravity = (-1.5 * (_root.sholder.stage.ball._x - _x)) / dist; } if (_currentframe <= 2) { gotoAndPlay (2); } } else if (shot == false) { gotoAndStop (1); } }
Instance of Symbol 103 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 563.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 336.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 595.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 550.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 696.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1099.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 508.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 226 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 226 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 80.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 226 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 225 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { vx = 0; vy = -40; shot = false; } onClipEvent (enterFrame) { if (this.sphere.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { dist = Math.sqrt(Math.pow(_root.sholder.stage.ball._y - _y, 2) + Math.pow(_root.sholder.stage.ball._x - _x, 2)); if (shot == false) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.6; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.6; _root.sholder.stage.ball.ygravity = (-1.5 * (_root.sholder.stage.ball._y - _y)) / dist; _root.sholder.stage.ball.xgravity = (-1.5 * (_root.sholder.stage.ball._x - _x)) / dist; } if (_currentframe <= 2) { gotoAndPlay (2); } } else if (shot == false) { gotoAndStop (1); } }
Instance of Symbol 225 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { vx = 0; vy = 40; shot = false; } onClipEvent (enterFrame) { if (this.sphere.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { dist = Math.sqrt(Math.pow(_root.sholder.stage.ball._y - _y, 2) + Math.pow(_root.sholder.stage.ball._x - _x, 2)); if (shot == false) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.6; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.6; _root.sholder.stage.ball.ygravity = (-1.5 * (_root.sholder.stage.ball._y - _y)) / dist; _root.sholder.stage.ball.xgravity = (-1.5 * (_root.sholder.stage.ball._x - _x)) / dist; } if (_currentframe <= 2) { gotoAndPlay (2); } } else if (shot == false) { gotoAndStop (1); } }
Instance of Symbol 225 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { vx = -40; vy = 0; shot = false; } onClipEvent (enterFrame) { if (this.sphere.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { dist = Math.sqrt(Math.pow(_root.sholder.stage.ball._y - _y, 2) + Math.pow(_root.sholder.stage.ball._x - _x, 2)); if (shot == false) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.6; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.6; _root.sholder.stage.ball.ygravity = (-1.5 * (_root.sholder.stage.ball._y - _y)) / dist; _root.sholder.stage.ball.xgravity = (-1.5 * (_root.sholder.stage.ball._x - _x)) / dist; } if (_currentframe <= 2) { gotoAndPlay (2); } } else if (shot == false) { gotoAndStop (1); } }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 227 MovieClip [Level7] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 234 MovieClip [Level8] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 229 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 230 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y + 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0.7; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y + 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -0.8; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y + 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y + 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y + 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 229 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -0.5; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 232 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 37 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 525.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 524.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 398.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 755.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 753; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 522.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 812.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 900.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1617; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 812.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 833; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 234 MovieClip [Level8] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 247 MovieClip [Level9] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 225 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { vx = -40; vy = 0; } onClipEvent (enterFrame) { if (this.sphere.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { dist = Math.sqrt(Math.pow(_root.sholder.stage.ball._y - _y, 2) + Math.pow(_root.sholder.stage.ball._x - _x, 2)); _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.7; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.7; _root.sholder.stage.ball.ygravity = (-4 * (_root.sholder.stage.ball._y - _y)) / dist; _root.sholder.stage.ball.xgravity = (-4 * (_root.sholder.stage.ball._x - _x)) / dist; if (_currentframe <= 2) { gotoAndPlay (2); } } else { gotoAndStop (1); } }
Instance of Symbol 236 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 236 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 236 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 236 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 247 MovieClip [Level9] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 255 MovieClip [Level10] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 249 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 100) { _x = (_x + 184); } if (count == 200) { _y = (_y - 184); } if (count == 300) { _y = (_y - 184); } if (count == 400) { _x = (_x - 184); } if (count == 500) { _y = (_y + 184); } if (count == 600) { _y = (_y + 184); count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = -1; } }
Instance of Symbol 251 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 100) { _y = (_y - 184); } if (count == 200) { _y = (_y - 184); } if (count == 300) { _x = (_x - 184); } if (count == 400) { _y = (_y + 184); } if (count == 500) { _y = (_y + 184); } if (count == 600) { _x = (_x + 184); count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 1; } }
Instance of Symbol 229 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 100) { _y = (_y - 184); } if (count == 200) { _x = (_x - 184); } if (count == 300) { _y = (_y + 184); } if (count == 400) { _y = (_y + 184); } if (count == 500) { _x = (_x + 184); } if (count == 600) { _y = (_y - 184); count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 230 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 100) { _x = (_x - 184); } if (count == 200) { _y = (_y + 184); } if (count == 300) { _y = (_y + 184); } if (count == 400) { _x = (_x + 184); } if (count == 500) { _y = (_y - 184); } if (count == 600) { _y = (_y - 184); count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 249 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 100) { _y = (_y + 184); } if (count == 200) { _y = (_y + 184); } if (count == 300) { _x = (_x + 184); } if (count == 400) { _y = (_y - 184); } if (count == 500) { _y = (_y - 184); } if (count == 600) { _x = (_x - 184); count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = -1; } }
Instance of Symbol 229 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { count++; if (count == 100) { _y = (_y + 184); } if (count == 200) { _x = (_x + 184); } if (count == 300) { _y = (_y - 184); } if (count == 400) { _y = (_y - 184); } if (count == 500) { _x = (_x - 184); } if (count == 600) { _y = (_y + 184); count = 0; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 100) { _y = (_y - 5.5); } else { count = 0; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 252 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 253 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 100) { _y = (_y - 5.5); } else { count = 0; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1.5; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 106 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 1; } }
Instance of Symbol 33 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 100) { _y = (_y - 5.5); } else { count = 0; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 103 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 59 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count > 100) { _y = -1000; _visible = false; } if (count > 200) { _y = originy; count = 0; _visible = true; } }
Instance of Symbol 236 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 898.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 521.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 190.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 553.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 346.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 398.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 182.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1043.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 145.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1229.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 131.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 255 MovieClip [Level10] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 271 MovieClip [Level11] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 100 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button1.glower._visible = false; this._visible = false; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.61)) { activate1 = true; _root.sholder.stage.button1.glower._visible = true; } if (activate1 == true) { count = count + 0.5; if (count < 100) { _root.sholder.stage.button1.texter.text = Math.round(100 - count); this._visible = true; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } } else { _root.sholder.stage.button1.glower._visible = false; count = 0; activate1 = false; this._visible = false; _root.sholder.stage.button1.texter.text = 100; } } else if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 252 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 258 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 252 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 252 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 258 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button2.glower._visible = false; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.62)) { activate1 = true; _root.sholder.stage.button2.glower._visible = true; } if (activate1 == true) { count = count + 0.5; if (count < 70) { _root.sholder.stage.button2.texter.text = Math.round(70 - count); this._visible = false; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } } else { _root.sholder.stage.button2.glower._visible = false; count = 0; activate1 = false; this._visible = true; _root.sholder.stage.button2.texter.text = 70; } } else if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -4; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 236 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 252 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 260 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button3.glower._visible = false; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.63)) { _root.sholder.stage.ball.walltype = 0.6; activate1 = true; _root.sholder.stage.button3.glower._visible = true; } if (activate1 == true) { count = count + 0.5; if (count < 70) { _root.sholder.stage.button3.texter.text = Math.round(70 - count); this._visible = false; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } } else { _root.sholder.stage.button3.glower._visible = false; count = 0; activate1 = false; this._visible = true; _root.sholder.stage.button3.texter.text = 70; } } else if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -4; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 486.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 174.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 269 MovieClip "button1" in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.61; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 429.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 217.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 680.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 500.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 248.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 989; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 178.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 269 MovieClip "button2" in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.62; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 167.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 460.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 229.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 269 MovieClip "button3" in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.63; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 61 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 449.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 271 MovieClip [Level11] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 275 MovieClip [Level12] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 33 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 269 MovieClip "button1" in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.61; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 253 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 253 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 100 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 18 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 18 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 310.6; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 98 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 253 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 274 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { count = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.sholder.stage.ball.center) == false) { count++; if (count < 80) { _x = (_x - 3); } if ((count > 80) && (count < 160)) { _x = (_x + 3); } if (count > 160) { count = 0; } } }
Instance of Symbol 37 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 398.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 2630.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 2802.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 825.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 336.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 180.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 311.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.7; bounc = 0.6; W = 159.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 61 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { fric = 0.5; bounc = 0.5; W = 208.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 275 MovieClip [Level12] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 283 MovieClip [Level13] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = -1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = 1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 279 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 0; _root.sholder.stage.ball.ygravity = 0; } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 277 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.xgravity = 1 * Math.sin((this._rotation / 180) * Math.PI); _root.sholder.stage.ball.ygravity = -1 * Math.cos((this._rotation / 180) * Math.PI); } }
Instance of Symbol 37 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 262.1; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 176.3; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 150; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 55; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 283 MovieClip [Level13] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 295 MovieClip [Level14] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 285 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.95; _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 285 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.95; _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 287 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 289 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 33 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 103 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 270; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 270; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 292 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 294 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 103 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 270; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1253.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 412.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 103 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 270; H = 13; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 181 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = (-0.5 * _root.sholder.stage.ball.vx) / 5; _root.sholder.stage.ball.xgravity = (0.5 * _root.sholder.stage.ball.vy) / 5; } }
Instance of Symbol 37 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 181 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = (-0.6 * _root.sholder.stage.ball.vx) / 5; _root.sholder.stage.ball.xgravity = (0.6 * _root.sholder.stage.ball.vy) / 5; } }
Instance of Symbol 181 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button1.glower._visible = false; this._visible = false; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.61)) { activate1 = true; _root.sholder.stage.ball.walltype = 0.6; _root.sholder.stage.button1.glower._visible = true; } if (activate1 == true) { count = count + 0.5; if (count < 25) { _root.sholder.stage.button1.texter.text = Math.round(25 - count); this._visible = true; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = (-0.5 * _root.sholder.stage.ball.vx) / 5; _root.sholder.stage.ball.xgravity = (0.5 * _root.sholder.stage.ball.vy) / 5; } } else { _root.sholder.stage.button1.glower._visible = false; count = 0; activate1 = false; this._visible = false; _root.sholder.stage.button1.texter.text = 25; } } else if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 37 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1253.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 130.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 181 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = (-0.5 * _root.sholder.stage.ball.vx) / 5; _root.sholder.stage.ball.xgravity = (0.5 * _root.sholder.stage.ball.vy) / 5; } }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Instance of Symbol 181 MovieClip in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = (0.45 * _root.sholder.stage.ball.vx) / 5; _root.sholder.stage.ball.xgravity = (-0.45 * _root.sholder.stage.ball.vy) / 5; } }
Instance of Symbol 269 MovieClip "button1" in Symbol 295 MovieClip [Level14] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.61; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Symbol 306 MovieClip [Level15] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 298 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 300 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = -2; } }
Instance of Symbol 33 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 226 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 302 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 304 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 1; } }
Instance of Symbol 35 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 368.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1456.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 337.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 152.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 309.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 278.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 314.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 558.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 61 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 88.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 61 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.3; bounc = 0.3; W = 282.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 1206.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 623.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 275.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 232.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 451.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 253.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 306 MovieClip [Level15] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 312 MovieClip [Level16] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 308 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 310 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 308 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 175.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 1148.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 187.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 175.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 666; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 1148.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 180.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 1148.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 180.8; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 1148.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 1148.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 559.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 1148.2; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 186.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.99; bounc = 0.85; W = 393.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 176.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 186.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 823.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 312 MovieClip [Level16] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Symbol 317 MovieClip [Level17] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 314 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { d = Math.sqrt(Math.pow(_root.sholder.stage.ball._x - _x, 2) + Math.pow(_root.sholder.stage.ball._y - _y, 2)); _root.sholder.stage.ball.ygravity = (_y - _root.sholder.stage.ball._y) / d; _root.sholder.stage.ball.xgravity = (_x - _root.sholder.stage.ball._x) / d; } }
Instance of Symbol 315 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { var ob = _root.sholder.stage.ball; ob.vx = 0; ob.vy = 0; ob.xgravity = 0; ob.ygravity = 0; ob.p0.x = _root.sholder.stage.ball.lstx; ob.p0.y = _root.sholder.stage.ball.lsty; _root.sholder.stage.ball._x = _root.sholder.stage.ball.lstx; _root.sholder.stage.ball._y = _root.sholder.stage.ball.lsty; _root.sholder.stage.updateObject(ob); _root.sholder.stage.ball._xscale = 100; _root.sholder.stage.ball._yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = _root.sholder.stage.ball.lstx; _root.sholder.stage.glower2._y = _root.sholder.stage.ball.lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * zfactor) / 100) + 150); } i++; } } }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Instance of Symbol 37 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 189 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:0.9, f:0.9}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:0.3, f:0.3}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 317 MovieClip [Level17] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Symbol 322 MovieClip [Level18] Frame 1
function perP(va, vb) { pp = (va.vx * vb.vy) - (va.vy * vb.vx); return(pp); } function updateVector(v, frompoints) { if (frompoints) { v.vx = v.p1.x - v.p0.x; v.vy = v.p1.y - v.p0.y; } else { v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; } v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); if (v.len > 0) { v.dx = v.vx / v.len; v.dy = v.vy / v.len; } else { v.dx = 0; v.dy = 0; } v.rx = -v.dy; v.ry = v.dx; v.lx = v.dy; v.ly = -v.dx; return(v); } function updateObject(v) { v.p1 = {}; v.p1.x = v.p0.x + v.vx; v.p1.y = v.p0.y + v.vy; v.len = Math.sqrt((v.vx * v.vx) + (v.vy * v.vy)); v.dx = v.vx / v.len; v.dy = v.vy / v.len; v.rx = -v.vy; v.ry = v.vx; v.lx = v.vy; v.ly = -v.vx; } function findIntersection(v1, v2) { var _local3 = {}; _local3.vx = v1.p1.x - v2.p0.x; _local3.vy = v1.p1.y - v2.p0.y; var _local7 = (_local3.vx * v2.dx) + (_local3.vy * v2.dy); if (_local7 < 0) { _root.cornet = true; var _local6 = _local3; } else { var _local4 = {}; _local4.vx = v1.p1.x - v2.p1.x; _local4.vy = v1.p1.y - v2.p1.y; _local7 = (_local4.vx * v2.dx) + (_local4.vy * v2.dy); if (_local7 > 0) { _root.cornet = true; var _local6 = _local4; } else { _root.cornet = false; var _local6 = projectVector(_local3, v2.lx, v2.ly); } } return(_local6); } function bounce(v1, v2) { var _local5 = projectVector(v1, v2.dx, v2.dy); var _local1 = projectVector(v1, v2.lx, v2.ly); var _local4 = {}; _local1.len = Math.sqrt((_local1.vx * _local1.vx) + (_local1.vy * _local1.vy)); _local1.vx = v2.lx * _local1.len; _local1.vy = v2.ly * _local1.len; _local4.vx = ((v1.f * v2.f) * _local5.vx) + ((v1.b * v2.b) * _local1.vx); _local4.vy = ((v1.f * v2.f) * _local5.vy) + ((v1.b * v2.b) * _local1.vy); return(_local4); } function projectVector(v1, dx, dy) { var _local2 = (v1.vx * dx) + (v1.vy * dy); var _local1 = {}; _local1.vx = _local2 * dx; _local1.vy = _local2 * dy; return(_local1); } cornet = false; var vectors = 0; v = new Array();
Instance of Symbol 33 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 319 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button3.glower._visible = true; _root.sholder.stage.button3.texter.text = "on"; this._visible = false; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.63)) { activate1 = true; _root.sholder.stage.button3.glower._visible = false; _root.sholder.stage.button3.texter.text = "off"; } if (activate1 == true) { this._visible = false; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } } else { this._visible = true; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = -0.8; } } }
Instance of Symbol 226 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 229 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1.1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 35 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; originx = _x; originy = _y; } onClipEvent (enterFrame) { count++; if (count < 234) { _y = (_y - 5); } if (count > 234) { count = 0; _x = originx; _y = originy; } if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 252 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 174 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 181 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = _root.sholder.stage.ball.vx / 5; _root.sholder.stage.ball.xgravity = (-_root.sholder.stage.ball.vy) / 5; } }
Instance of Symbol 35 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 98 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button1.glower._visible = false; this._visible = false; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.61)) { activate1 = true; _root.sholder.stage.button1.glower._visible = true; } else if ((activate1 == true) && (_root.sholder.stage.ball.walltype == 0.62)) { activate1 = false; _root.sholder.stage.button1.glower._visible = false; } if (activate1 == true) { this._visible = true; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } } else { this._visible = false; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } } }
Instance of Symbol 100 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button1.glower._visible = false; _root.sholder.stage.button2.glower._visible = true; this._visible = false; _root.sholder.stage.button1.texter.text = "off"; _root.sholder.stage.button2.texter.text = "on"; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.61)) { activate1 = true; _root.sholder.stage.button1.glower._visible = true; _root.sholder.stage.button2.glower._visible = false; _root.sholder.stage.button1.texter.text = "on"; _root.sholder.stage.button2.texter.text = "off"; } else if ((activate1 == true) && (_root.sholder.stage.ball.walltype == 0.62)) { activate1 = false; _root.sholder.stage.button1.glower._visible = false; _root.sholder.stage.button2.glower._visible = true; _root.sholder.stage.button1.texter.text = "off"; _root.sholder.stage.button2.texter.text = "on"; } if (activate1 == true) { this._visible = true; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } } else { this._visible = false; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } } }
Instance of Symbol 98 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { count = 0; activate1 = false; _root.sholder.stage.button1.glower._visible = false; this._visible = false; } onClipEvent (enterFrame) { if ((activate1 == false) && (_root.sholder.stage.ball.walltype == 0.61)) { activate1 = true; _root.sholder.stage.button1.glower._visible = true; } else if ((activate1 == true) && (_root.sholder.stage.ball.walltype == 0.62)) { activate1 = false; _root.sholder.stage.button1.glower._visible = false; } if (activate1 == true) { this._visible = true; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = -1; _root.sholder.stage.ball.xgravity = 0; } } else { this._visible = false; if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 1; _root.sholder.stage.ball.xgravity = 0; } } }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 531; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 412.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 295; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 665.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 410.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 697.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 315.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 679.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 294.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 289.4; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 340.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 174.3; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 37 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 554.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 692.9; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 706.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 238 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 426.6; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 233.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 225 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { vx = 25; vy = 0; shot = false; } onClipEvent (enterFrame) { if (this.sphere.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { dist = Math.sqrt(Math.pow(_root.sholder.stage.ball._y - _y, 2) + Math.pow(_root.sholder.stage.ball._x - _x, 2)); if (shot == false) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.6; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.6; _root.sholder.stage.ball.ygravity = (-1.5 * (_root.sholder.stage.ball._y - _y)) / dist; _root.sholder.stage.ball.xgravity = (-1.5 * (_root.sholder.stage.ball._x - _x)) / dist; } if (_currentframe <= 2) { gotoAndPlay (2); } } else if (shot == false) { gotoAndStop (1); } }
Instance of Symbol 238 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 238 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 238 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-_rotation) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-_rotation) * Math.PI) / 180); } }
Instance of Symbol 242 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 90)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 90)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 135)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 135)) * Math.PI) / 180); } }
Instance of Symbol 240 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.vx = _root.sholder.stage.ball.vx * 0.99; _root.sholder.stage.ball.vy = _root.sholder.stage.ball.vy * 0.99; _root.sholder.stage.ball.ygravity = 1 * Math.cos(((-1 * (_rotation - 45)) * Math.PI) / 180); _root.sholder.stage.ball.xgravity = 1 * Math.sin(((-1 * (_rotation - 45)) * Math.PI) / 180); } }
Instance of Symbol 37 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 246 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 554.7; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 226 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 226 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (enterFrame) { if (this.hitTest((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 320, (((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 240, true)) { _root.sholder.stage.ball.ygravity = 0; _root.sholder.stage.ball.xgravity = 0; } }
Instance of Symbol 63 MovieClip [trail] "trail" in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { if (_root.sholder.stage.ball.endgame == false) { _alpha = 100; } else { _alpha = 0; } } onClipEvent (enterFrame) { if ((this._name == "trail") && (this._visible == true)) { this._visible = false; } else { this._alpha = this._alpha - 15; if (this._alpha <= 5) { removeMovieClip(this); } } }
Instance of Symbol 65 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playing == true) { corning = false; var ob = _root.sholder.stage.ball; _root.sholder.stage.updateObject(ob); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(ob, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if ((pen >= 0) && (_root.cornet == false)) { corning = false; _root.sholder.stage.ball.walltype = w.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (v.dx * pen); ob.p1.y = ob.p1.y + (v.dy * pen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:v.lx, dy:v.ly, lx:v.dx, ly:v.dy, b:w.b, f:w.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; } else if ((pen >= 0) && (_root.cornet == true)) { cw = w; cv = v; cpen = pen; corning = true; } ob.p0 = ob.p1; i++; } if (corning == true) { _root.sholder.stage.ball.walltype = cw.b; _root.sholder.stage.ball.bounce = true; ob.p1.x = ob.p1.x + (cv.dx * cpen); ob.p1.y = ob.p1.y + (cv.dy * cpen); ob._x = ob.p1.x; ob._y = ob.p1.y; vbounce = {dx:cv.lx, dy:cv.ly, lx:cv.dx, ly:cv.dy, b:cw.b, f:cw.f}; vb = _root.sholder.stage.bounce(ob, vbounce); ob.vx = vb.vx; ob.vy = vb.vy; ob.p0 = ob.p1; } } }
Instance of Symbol 72 MovieClip "arrow" in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { disableShot = false; myColor = new Color(_root.sholder.stage.arrow); } onClipEvent (enterFrame) { disableShot = false; if (_root.sholder.stage.ball.pressed) { this._visible = true; this._x = _root.sholder.stage.ball._x; this._y = _root.sholder.stage.ball._y; angle = (Math.atan2(_root.sholder.stage.ball._y - _root.sholder.stage._ymouse, _root.sholder.stage.ball._x - _root.sholder.stage._xmouse) * 180) / Math.PI; _rotation = angle; vx = (_root.sholder.stage.ball._x - _root.sholder.stage._xmouse) / 5; vy = (_root.sholder.stage.ball._y - _root.sholder.stage._ymouse) / 5; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (vel < 30) { arrowin._xscale = (vel / 30) * 100; arrowin._yscale = ((arrowin._xscale / 100) * 50) + 50; } else { arrowin._xscale = 100; arrowin._yscale = 100; } var ob = _root.sholder.stage.ball; u = {p0:{x:ob.p0.x, y:ob.p0.y}, p1:{x:ob.p0.x + ((15 * vx) / vel), y:ob.p0.y + ((15 * vy) / vel)}, b:1, f:1}; _root.sholder.stage.updateVector(u, true); var i = 1; while (i < (_root.sholder.stage.vectors + 1)) { w = _root.sholder.stage.v[i]; v = _root.sholder.stage.findIntersection(u, w); v = _root.sholder.stage.updateVector(v, false); pen = ob.r - v.len; if (pen >= 0.01) { disableShot = true; } i++; } if (disableShot == true) { _alpha = 35; } else { _alpha = 65; } } else { this._visible = false; } }
Instance of Symbol 94 MovieClip [ball] "ball" in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { soundtimer = 0; endgame = false; strikescount = 0; walltype = 1; xgravity = 0; ygravity = 0; vx = 0; vy = 0; r = 15; b = 1; f = 1; bounce = false; stopping = false; stopd = false; pressed = false; p0 = {x:this._x, y:this._y}; ballbtn.enabled = false; fuck = 0; count = 0; lstx = _x; lsty = _y; this.swapDepths(5000); lastroll = 1; } onClipEvent (enterFrame) { if (vx == 0) { lava.roller._rotation = lava.roller._rotation + lastroll; } else { lastroll = vx / Math.abs(vx); if (Math.abs(vx) > 1) { lava.roller._rotation = lava.roller._rotation + vx; } else { lava.roller._rotation = lava.roller._rotation + lastroll; } } count++; if (count > 1000) { count = 1; } if ((((this._y > _root.sholder.stage.sizer._height) || (this._y < (-_root.sholder.stage.sizer._height))) || (this._x > _root.sholder.stage.sizer._width)) or (this._x < (-_root.sholder.stage.sizer._width))) { if (_xscale > 99) { _root.fiusound.start(0, 1); } _xscale = (_xscale - 2); _yscale = (_yscale - 2); _root.sholder.stage.trail._xscale = _root.sholder.stage.trail._xscale - 2; _root.sholder.stage.trail._yscale = _root.sholder.stage.trail._yscale - 2; if (_xscale < 10) { vx = 0; vy = 0; xgravity = 0; ygravity = 0; p0.x = lstx; p0.y = lsty; _x = lstx; _y = lsty; _xscale = 100; _yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.updateObject(this); _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = lstx; _root.sholder.stage.glower2._y = lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * _root.menu.zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * _root.menu.zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * _root.menu.zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * _root.menu.zfactor) / 100) + 150); } i++; } } } if (_root.playing == true) { vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); ballbtn.enabled = false; pointer._visible = false; if (((bounce == true) && (stopping == true)) && (vel < 1)) { pointer._visible = true; stopd = true; ballbtn.enabled = true; } else { stopd = false; pressed = false; } stopping = false; if (bounce == true) { if ((stopd == false) && (fuck == false)) { } stopping = true; bounce = false; } else if (endgame == false) { _x = (_x + vx); _y = (_y + vy); } duplicateMovieClip (_root.sholder.stage.trail, "trail" + count, count + 1000); _root.sholder.stage["trail" + count]._x = _x; _root.sholder.stage["trail" + count]._y = _y; vy = vy + ygravity; vx = vx + xgravity; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); if (fuck == 0) { if (vel >= 40) { vx = (40 * vx) / vel; vy = (40 * vy) / vel; vel = Math.sqrt(Math.pow(vx, 2) + Math.pow(vy, 2)); } if (vel > 15) { r = vel + 1; } else { r = 15; } } else { fuck = fuck - 1; } } }
Instance of Symbol 269 MovieClip "button1" in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.61; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 269 MovieClip "button2" in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.62; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 269 MovieClip "button3" in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.63; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 315.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 42 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.6; W = 122.1; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 60 MovieClip in Symbol 322 MovieClip [Level18] Frame 1
onClipEvent (load) { fric = 0.9; bounc = 0.9; W = 963; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Symbol 336 MovieClip Frame 13
gotoAndPlay(Math.round(Math.random() * 10));
Instance of Symbol 347 MovieClip in Symbol 348 MovieClip [popup9] Frame 1
onClipEvent (load) { fric = 0.6; bounc = 0.45; W = 143.5; H = 18; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Instance of Symbol 357 MovieClip "button1" in Symbol 358 MovieClip [popup11] Frame 1
onClipEvent (load) { fric = 0.97; bounc = 0.61; W = 90; H = 27.9; R = Math.sqrt(Math.pow(W / 2, 2) + Math.pow(H / 2, 2)); theta = -Math.atan(H / W); angle = ((_rotation - 180) / 180) * Math.PI; p1x = Math.round(this._x + (Math.cos(angle + theta) * R)); p1y = Math.round(this._y + (Math.sin(angle + theta) * R)); p2x = Math.round(this._x + (Math.cos((angle + Math.PI) - theta) * R)); p2y = Math.round(this._y + (Math.sin((angle + Math.PI) - theta) * R)); p3x = Math.round(this._x + (Math.cos((angle + Math.PI) + theta) * R)); p3y = Math.round(this._y + (Math.sin((angle + Math.PI) + theta) * R)); p4x = Math.round(this._x + (Math.cos(angle - theta) * R)); p4y = Math.round(this._y + (Math.sin(angle - theta) * R)); _root.sholder.stage.v[_root.sholder.stage.vectors + 1] = {p0:{x:p1x, y:p1y}, p1:{x:p2x, y:p2y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 2] = {p0:{x:p2x, y:p2y}, p1:{x:p3x, y:p3y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 3] = {p0:{x:p3x, y:p3y}, p1:{x:p4x, y:p4y}, b:bounc, f:fric}; _root.sholder.stage.v[_root.sholder.stage.vectors + 4] = {p0:{x:p4x, y:p4y}, p1:{x:p1x, y:p1y}, b:bounc, f:fric}; _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 1], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 2], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 3], true); _root.sholder.stage.updateVector(_root.sholder.stage.v[_root.sholder.stage.vectors + 4], true); _root.sholder.stage.vectors = _root.sholder.stage.vectors + 4; }
Symbol 380 Button
on (release, releaseOutside) { _root.cool.b1.enabled = true; _root.cool.b2.enabled = true; _root.cool.b3.enabled = true; _root.cool.b4.enabled = true; _root.cool.b5.enabled = true; _root.cool.resumebtn.enabled = true; removeMovieClip(_root.instholder); }
Symbol 416 MovieClip Frame 202
_root.play();
Symbol 432 MovieClip Frame 1
function LOGO_IN() { var _local1 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Strong.easeIn, -75, 85, 12, false); _local1.onMotionFinished = function () { LOGO_SMASH(); var _local3 = new mx.transitions.Tween(AGlogo_mc, "_y", mx.transitions.easing.Bounce.easeOut, 60, 85, 6, false); var _local4 = new mx.transitions.Tween(AGlogo_mc, "_x", mx.transitions.easing.Bounce.easeOut, 30, 50, 6, false); var _local2 = new mx.transitions.Tween(AGpresented_mc, "_y", mx.transitions.easing.Bounce.easeOut, 15, 25, 6, false); var _local1 = new mx.transitions.Tween(AGpresented_mc, "_x", mx.transitions.easing.Bounce.easeOut, 110, 100, 6, false); }; } function LOGO_SMASH() { AG_SMASH.start(); AGclick_btn._visible = true; } function AG_HOLD_COUNTER() { if (AG_COUNT == AG_TIME) { clearInterval(AG_HOLD_ID); _level0.START_ping.broadcastMessage("presented"); this.unloadMovie(); _root.play(); } else { AG_COUNT++; } } _parent.stop(); var AG_SMASH = new Sound(); AG_SMASH.attachSound("Smash"); var AG_COUNT = 0; var AG_TIME = 4; var AG_HOLD_ID; AG_HOLD_ID = setInterval(this, "AG_HOLD_COUNTER", 1000); AGpresented_mc._alpha = 0; AGclick_btn._visible = false; AGlogo_mc._y = -70; var AGpresented_IN = (new mx.transitions.Tween(AGpresented_mc, "_alpha", mx.transitions.easing.Strong.easeIn, 0, 100, 12, false)); AGpresented_IN.onMotionFinished = function () { LOGO_IN(); }; AGskip_btn.onRelease = function () { AG_COUNT = AG_TIME; AG_HOLD_COUNTER(); }; AGclick_btn.onRelease = function () { getURL ("http://www.addictinggames.com", "_blank"); };
Symbol 441 Button
on (release, releaseOutside) { if (nameinp.text != "") { _parent.play(); } }
Symbol 444 MovieClip Frame 38
if (Math.random() < 0.95) { gotoAndPlay (1); }
Symbol 445 Button
on (release, releaseOutside, keyPress "<Enter>") { if (nameinp.text != "") { _root.playername = nameinp.text; _parent.play(); } }
Symbol 446 MovieClip Frame 25
Selection.setFocus("_root.inputer.nameinp"); stop();
Symbol 455 Button
on (release, releaseOutside) { _root.play(); }
Symbol 458 Button
on (release, releaseOutside) { _root.singlehole = false; _root.currentstage = 1; _root.firststage = 1; _root.laststage = 9; _root.scores = new Array(); i = 1; while (i < 19) { _root.scores[i] = 0; _root.golf_cookie.data.scores[i] = 0; i++; } _root.strokecount = 0; _root.golf_cookie.data.currentstage = _root.currentstage; _root.golf_cookie.data.laststage = _root.laststage; _root.golf_cookie.data.firststage = _root.firststage; _root.play(); }
Symbol 461 Button
on (release, releaseOutside) { _root.singlehole = false; _root.currentstage = 10; _root.firststage = 10; _root.laststage = 18; _root.scores = new Array(); i = 1; while (i < 19) { _root.scores[i] = 0; _root.golf_cookie.data.scores[i] = 0; i++; } _root.strokecount = 0; _root.golf_cookie.data.currentstage = _root.currentstage; _root.golf_cookie.data.laststage = _root.laststage; _root.golf_cookie.data.firststage = _root.firststage; _root.play(); }
Symbol 465 Button
on (release, releaseOutside) { _root.singlehole = false; _root.currentstage = 1; _root.firststage = 1; _root.laststage = 18; _root.scores = new Array(); i = 1; while (i < 19) { _root.scores[i] = 0; _root.golf_cookie.data.scores[i] = 0; i++; } _root.strokecount = 0; _root.golf_cookie.data.currentstage = _root.currentstage; _root.golf_cookie.data.laststage = _root.laststage; _root.golf_cookie.data.firststage = _root.firststage; _root.play(); }
Symbol 469 Button
on (release, releaseOutside) { _root.singlehole = true; _root.gotoAndPlay("levelselect"); }
Symbol 472 Button
on (release, releaseOutside) { b1.enabled = false; b2.enabled = false; b3.enabled = false; b4.enabled = false; b5.enabled = false; _root.mmenu.resumebtn.enabled = false; _root.createEmptyMovieClip("instholder", _root.getNextHighestDepth()); _root.instholder.attachMovie("instructions", "iii", _root.getNextHighestDepth()); _root.instholder._x = 320; _root.instholder._y = 215; }
Symbol 474 MovieClip Frame 105
_root.play();
Symbol 485 Button
on (press) { getURL ("http://www.addictinggames.com", blank); }
Symbol 493 MovieClip Frame 38
if (Math.random() < 0.95) { gotoAndPlay (1); }
Symbol 496 MovieClip Frame 38
if (Math.random() < 0.92) { gotoAndPlay (1); }
Symbol 499 MovieClip Frame 38
if (Math.random() < 0.94) { gotoAndPlay (1); }
Symbol 549 Button
on (release, releaseOutside) { _root.chocho = false; _root.play(); }
Symbol 551 Button
on (release, releaseOutside) { _root.currentstage = levnum.text; _root.laststage = levnum.text; _root.scores = new Array(); i = 1; while (i < 19) { scores[i] = 0; i++; } _root.strokecount = 0; _root.play(); } on (rollOver) { format = new TextFormat(); format.color = 16776960 /* 0xFFFF00 */; levnum.setTextFormat(format); } on (rollOut) { format = new TextFormat(); format.color = 10053120 /* 0x996600 */; levnum.setTextFormat(format); }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "1"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "2"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "3"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "4"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "5"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "6"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "7"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "8"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "9"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "10"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "11"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "12"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "13"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "14"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "15"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "16"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "17"; }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { levnum.text = "18"; }
Symbol 559 Button
on (press) { startDrag (musicvol, false, _root.menu.pausemenu.mmm.musicrail._x, _root.menu.pausemenu.mmm.musicrail._y, _root.menu.pausemenu.mmm.musicrail._x + _root.menu.pausemenu.mmm.musicrail._width, _root.menu.pausemenu.mmm.musicrail._y); _root.menu.pausemenu.mmm.musicrail.dragging = true; } on (release, releaseOutside) { _root.menu.pausemenu.mmm.musicrail.dragging = false; stopDrag(); }
Symbol 565 Button
on (release, releaseOutside) { _root.menu.pausemenu.play(); }
Symbol 569 Button
on (release, releaseOutside) { _root.menu.pausemenu.exiting = true; _root.menu.pausemenu.play(); }
Instance of Symbol 504 MovieClip "musicrail" in Symbol 570 MovieClip Frame 1
onClipEvent (load) { dragging = false; } onClipEvent (enterFrame) { if (dragging == true) { vol = (100 * (_root.menu.pausemenu.mmm.musicvol._x - this._x)) / this._width; if (vol < 0) { vol = 0; } _root.musicvol = vol; _root.ambient.setVolume(vol); } else { _root.menu.pausemenu.mmm.musicvol._x = _x + ((_root.ambient.getVolume() / 100) * _width); _root.ambient.setVolume(_root.musicvol); } }
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 2
_root.playing = false; _root.menu.resetbutton.enabled = false; _root.menu.resetbutton._visible = false; _root.menu.zoombtn.enabled = false; _root.menu.resetglow._visible = true; _root.menu.upbtn._visible = false; _root.menu.downbtn._visible = false; _root.menu.leftbtn._visible = false; _root.menu.rightbtn._visible = false;
Symbol 571 MovieClip Frame 19
_root.playing = false; _root.menu.resetbutton.enabled = false; _root.menu.resetbutton._visible = false; _root.menu.zoombtn.enabled = false; _root.menu.resetglow._visible = true; _root.menu.upbtn._visible = false; _root.menu.downbtn._visible = false; _root.menu.leftbtn._visible = false; _root.menu.rightbtn._visible = false;
Symbol 571 MovieClip Frame 21
stop();
Symbol 571 MovieClip Frame 36
if (_root.menu.pausemenu.exiting == false) { _root.playing = true; _root.menu.resetbutton.enabled = true; _root.menu.resetbutton._visible = true; _root.menu.zoombtn.enabled = true; _root.menu.resetglow._visible = false; _root.menu.upbtn._visible = true; _root.menu.downbtn._visible = true; _root.menu.leftbtn._visible = true; _root.menu.rightbtn._visible = true; } else { stopAllSounds(); _root.gotoAndStop("mainmenu"); removeMovieClip(_root.menu); removeMovieClip(this); }
Symbol 573 Button
on (press) { startDrag (zoombtn, false, _root.menu.zoomrail._x, _root.menu.zoomrail._y, _root.menu.zoomrail._x + _root.menu.zoomrail._width, _root.menu.zoomrail._y); _root.menu.zoom = true; } on (release, releaseOutside) { stopDrag(); _root.menu.zoom = false; }
Symbol 578 Button
on (press) { pausemenu.play(); }
Symbol 580 Button
on (press) { var ob = _root.sholder.stage.ball; ob.vx = 0; ob.vy = 0; ob.xgravity = 0; ob.ygravity = 0; ob.p0.x = _root.sholder.stage.ball.lstx; ob.p0.y = _root.sholder.stage.ball.lsty; _root.sholder.stage.ball._x = _root.sholder.stage.ball.lstx; _root.sholder.stage.ball._y = _root.sholder.stage.ball.lsty; _root.sholder.stage.updateObject(ob); _root.sholder.stage.ball._xscale = 100; _root.sholder.stage.ball._yscale = 100; _root.sholder.stage.trail._xscale = 100; _root.sholder.stage.trail._yscale = 100; _root.sholder.stage.attachMovie("glower2", "glower2", getNextHighestDepth()); _root.beamsound.start(0, 1); _root.sholder.stage.glower2._x = _root.sholder.stage.ball.lstx; _root.sholder.stage.glower2._y = _root.sholder.stage.ball.lsty; i = 0; while (i < 10) { if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * zfactor) / 100) > 230) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * zfactor) / 100) - 230); } if ((((_root.sholder.stage._x + _root.sholder.stage.ball._x) * zfactor) / 100) < -240) { _root.sholder.stage._x = _root.sholder.stage._x - ((((_root.sholder.stage.ball._x + _root.sholder.stage._x) * zfactor) / 100) + 240); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * zfactor) / 100) > 100) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * zfactor) / 100) - 100); } if ((((_root.sholder.stage._y + _root.sholder.stage.ball._y) * zfactor) / 100) < -150) { _root.sholder.stage._y = _root.sholder.stage._y - ((((_root.sholder.stage.ball._y + _root.sholder.stage._y) * zfactor) / 100) + 150); } i++; } }
Instance of Symbol 571 MovieClip "pausemenu" in Symbol 583 MovieClip Frame 1
onClipEvent (load) { exiting = false; }
Instance of Symbol 577 MovieClip "upbtn" in Symbol 583 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Instance of Symbol 577 MovieClip "downbtn" in Symbol 583 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Instance of Symbol 577 MovieClip "leftbtn" in Symbol 583 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Instance of Symbol 577 MovieClip "rightbtn" in Symbol 583 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 584 MovieClip Frame 1
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 2
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 6
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 8
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 11
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 16
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 17
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 23
_root.sholder._visible = !_root.sholder._visible;
Symbol 584 MovieClip Frame 26
stop();
Symbol 634 Button
on (release, releaseOutside) { _root.scoretable.play(); _root.gotoAndStop("popup"); }
Symbol 636 Button
on (release, releaseOutside) { _root.scoretable.play(); _root.gotoAndStop("mainmenu"); removeMovieClip(_root.menu); removeMovieClip(this); }
Symbol 639 Button
on (release, releaseOutside) { _root.scoretable.play(); _root.gotoAndStop("mainmenu"); removeMovieClip(_root.menu); removeMovieClip(this); }
Symbol 641 MovieClip Frame 22
stop(); removeMovieClip(_root.sholder.stage);
Symbol 641 MovieClip Frame 41
removeMovieClip(this); removeMovieClip(_root.menu);

Library Items

Symbol 1 Sound [Smash]
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:4
Symbol 4 MovieClipUses:3Used by:14 127 132 135 328 334 341 343 348 350 358 360 362 364 366 368 370 372 381
Symbol 5 FontUsed by:6 438 439 442 443 491 492 494 495 497 498 512 513 542 543 552 558 586 587 593 594 595 596 597 598 599 600 601 603 604 605 606 607 608 609 610 611
Symbol 6 TextUses:5Used by:12
Symbol 7 GraphicUsed by:8 12
Symbol 8 MovieClipUses:7Used by:12
Symbol 9 FontUsed by:10 13 114 117 129 134 327 333 340 342 346 349 352 359 361 363 365 367 369 371 374 375 378 450 451 452 453 456 457 459 460 462 463 464 466 467 468 470 471 544 547 560 563 566 567 568 593 594 595 596 597 598 599 600 601 603 604 605 606 607 608 609 610 611 629 633 637 638
Symbol 10 TextUses:9Used by:12
Symbol 11 GraphicUsed by:12
Symbol 12 ButtonUses:6 8 10 7 11Used by:14 343
Symbol 13 TextUses:9Used by:14
Symbol 14 MovieClip [popup5]Uses:4 12 13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [MMball]Uses:15
Symbol 642 MovieClip [__Packages.MochiAd]
Symbol 643 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 644 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 645 MovieClip [__Packages.mx.transitions.Tween]
Symbol 646 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 647 MovieClip [__Packages.mx.transitions.easing.Bounce]
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:26 95 110 190 196 275 416
Symbol 19 GraphicUsed by:26
Symbol 20 FontUsed by:21 434 500 523 589 590
Symbol 21 TextUses:20Used by:26
Symbol 22 FontUsed by:23 266 267 356 435 508 509 516 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 574 575 582 591 602 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 635
Symbol 23 EditableTextUses:22Used by:26
Symbol 24 GraphicUsed by:25 43 226 230 252 348 415 421 432 584  Timeline
Symbol 25 MovieClipUses:24Used by:26
Symbol 26 MovieClipUses:18 19 21 23 25Used by:Timeline
Symbol 27 GraphicUsed by:33
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:30
Symbol 30 MovieClipUses:29Used by:33 35 98 100 106 108 176 192 198 200 229 230 249 251 252 253 258 260 298 304 314 319 390 473
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:33 35 98 100 106 108 174 176 194 198 200 201 232 252 257 258 298 302 319
Symbol 33 MovieClipUses:27 30 32Used by:95 110 183 190 196 227 234 255 275 295 306 322
Symbol 34 GraphicUsed by:35 201
Symbol 35 MovieClipUses:34 30 32Used by:95 104 183 190 196 227 234 271 295 306 312 322
Symbol 36 GraphicUsed by:37 347
Symbol 37 MovieClipUses:36Used by:95 104 110 183 190 196 227 234 247 255 271 275 283 295 317 322
Symbol 38 GraphicUsed by:95
Symbol 39 GraphicUsed by:42 60 61
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:42 60 61
Symbol 42 MovieClipUses:39 41Used by:95 104 110 183 190 196 227 234 255 271 275 283 295 306 312 322
Symbol 43 MovieClipUses:24Used by:59
Symbol 44 GraphicUsed by:58
Symbol 45 GraphicUsed by:58
Symbol 46 GraphicUsed by:58
Symbol 47 GraphicUsed by:58
Symbol 48 GraphicUsed by:58
Symbol 49 GraphicUsed by:58
Symbol 50 GraphicUsed by:58
Symbol 51 GraphicUsed by:58
Symbol 52 GraphicUsed by:58
Symbol 53 GraphicUsed by:58
Symbol 54 GraphicUsed by:58
Symbol 55 GraphicUsed by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:44 45 46 47 48 49 50 51 52 53 54 55 56 57Used by:59
Symbol 59 MovieClipUses:43 58Used by:95 104 110 183 190 196 227 234 247 255 271 274 283 295 306 312 317 322
Symbol 60 MovieClipUses:39 41Used by:95 234 275 306 312 322
Symbol 61 MovieClipUses:39 41Used by:95 271 275 306
Symbol 62 GraphicUsed by:63 121
Symbol 63 MovieClip [trail]Uses:62Used by:95 104 110 183 190 196 227 234 247 255 271 275 283 295 306 312 317 322  Timeline
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:95 104 110 183 190 196 227 234 247 255 271 275 283 295 306 312 317 322
Symbol 66 GraphicUsed by:72
Symbol 67 GraphicUsed by:71
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:67 69 70Used by:72
Symbol 72 MovieClipUses:66 71Used by:95 104 110 183 190 196 227 234 247 255 271 275 283 295 306 312 317 322
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:95 104 110 183 190 196 227 234 247 255 271 275 283 295 306 312 317 322
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:77 95
Symbol 77 MovieClipUses:76Used by:95 104 110 183 190 196 227 234 255 271 275 295 306 312 322
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:95 104 110 183 190 196 227 234 255 271 275 283 295 306 312 322
Symbol 80 GraphicUsed by:81 315
Symbol 81 MovieClipUses:80Used by:94
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84
Symbol 84 MovieClipUses:83Used by:94
Symbol 85 GraphicUsed by:86
Symbol 86 ButtonUses:85Used by:94
Symbol 87 GraphicUsed by:88 122
Symbol 88 MovieClipUses:87Used by:93
Symbol 89 GraphicUsed by:93 126
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:92
Symbol 92 MovieClipUses:91Used by:93
Symbol 93 MovieClipUses:88 89 92Used by:94 170
Symbol 94 MovieClip [ball]Uses:81 84 86 93Used by:95 104 110 183 190 196 227 234 247 255 271 275 283 295 306 312 317 322  Timeline
Symbol 95 MovieClip [Level1]Uses:33 35 37 18 38 42 59 60 61 63 65 72 74 77 79 94 76Used by:Timeline
Symbol 96 GraphicUsed by:104
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97 30 32Used by:104 190 196 227 234 275 312 322
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99 30 32Used by:104 110 190 196 227 234 271 275 322
Symbol 101 GraphicUsed by:104
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:104 110 227 234 255 283 295
Symbol 104 MovieClip [Level2]Uses:96 98 35 100 59 37 101 74 42 103 77 79 63 65 72 94Used by:Timeline
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105 30 32Used by:110 255
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107 30 32Used by:110
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClip [Level3]Uses:106 33 108 100 103 59 109 18 37 42 77 74 79 63 65 72 94Used by:Timeline
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:127
Symbol 113 GraphicUsed by:127
Symbol 114 TextUses:9Used by:127
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:127 132 135 334
Symbol 117 TextUses:9Used by:120
Symbol 118 GraphicUsed by:119 120
Symbol 119 MovieClipUses:118Used by:120
Symbol 120 ButtonUses:117 119 118Used by:127 132 135 328 334 341 348 350 358 360 362 364 366 368 370 372
Symbol 121 MovieClipUses:62Used by:127 132 135 328 341 348 358
Symbol 122 MovieClipUses:87Used by:126
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:125
Symbol 125 MovieClipUses:124Used by:126
Symbol 126 MovieClipUses:122 89 125Used by:127 132 135 328 341 348 358
Symbol 127 MovieClip [popup1]Uses:4 112 113 114 116 120 121 126Used by:Timeline
Symbol 128 GraphicUsed by:132
Symbol 129 TextUses:9Used by:132
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:132 135 328 334 341 348 358
Symbol 132 MovieClip [popup2]Uses:4 128 129 120 116 121 126 131Used by:Timeline
Symbol 133 GraphicUsed by:135
Symbol 134 TextUses:9Used by:135
Symbol 135 MovieClip [popup3]Uses:4 133 134 120 116 121 126 131Used by:Timeline
Symbol 136 Sound [jazzy]Used by:147
Symbol 137 Sound [lightning]Used by:147
Symbol 138 Sound [glowersound]Used by:147
Symbol 139 Sound [power]Used by:147
Symbol 140 Sound [fiusound]Used by:147
Symbol 141 Sound [applause]Used by:147
Symbol 142 Sound [funky]Used by:147
Symbol 143 Sound [zooming]Used by:147
Symbol 144 Sound [nottee]Used by:147
Symbol 145 Sound [tee]Used by:147
Symbol 146 Sound [beamsound]Used by:147
Symbol 147 MovieClipUses:136 137 138 139 140 141 142 143 144 145 146Used by:Timeline
Symbol 148 GraphicUsed by:166 167
Symbol 149 GraphicUsed by:166
Symbol 150 GraphicUsed by:166 167
Symbol 151 GraphicUsed by:166
Symbol 152 GraphicUsed by:166 167
Symbol 153 GraphicUsed by:166
Symbol 154 GraphicUsed by:166 167
Symbol 155 GraphicUsed by:166
Symbol 156 GraphicUsed by:166 167
Symbol 157 GraphicUsed by:166
Symbol 158 GraphicUsed by:166 167
Symbol 159 GraphicUsed by:166
Symbol 160 GraphicUsed by:166 167
Symbol 161 GraphicUsed by:166
Symbol 162 GraphicUsed by:166 167
Symbol 163 GraphicUsed by:166
Symbol 164 GraphicUsed by:166 167
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165Used by:168
Symbol 167 MovieClipUses:156 158 160 162 164 148 150 152 154Used by:168
Symbol 168 MovieClipUses:166 167Used by:169
Symbol 169 MovieClipUses:168Used by:170 171 172
Symbol 170 MovieClip [lightball]Uses:93 169Used by:Timeline
Symbol 171 MovieClip [glower]Uses:169Used by:Timeline
Symbol 172 MovieClip [glower2]Uses:169Used by:Timeline
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClipUses:173 32Used by:183 322
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:175 32 30Used by:183
Symbol 177 GraphicUsed by:178 324
Symbol 178 MovieClipUses:177Used by:181
Symbol 179 GraphicUsed by:180 325
Symbol 180 MovieClipUses:179Used by:181
Symbol 181 MovieClipUses:178 180Used by:183 295 322
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClip [Level4]Uses:33 35 174 59 176 181 182 74 37 42 63 65 72 94 77 79Used by:Timeline
Symbol 184 GraphicUsed by:190
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:185Used by:189
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:189
Symbol 189 MovieClipUses:186 188Used by:190 317
Symbol 190 MovieClip [Level5]Uses:35 33 100 98 18 37 74 184 42 59 189 77 63 65 72 94 79Used by:Timeline
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClipUses:191 30Used by:196
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClipUses:193 32Used by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClip [Level6]Uses:33 192 194 100 35 98 195 42 37 18 59 79 74 63 65 72 94 77Used by:Timeline
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197 32 30Used by:227
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:199 32 30Used by:227
Symbol 201 MovieClipUses:34 32Used by:227
Symbol 202 GraphicUsed by:227
Symbol 203 BitmapUsed by:204 221 270 273 281 316
Symbol 204 GraphicUses:203Used by:227 247
Symbol 205 GraphicUsed by:227
Symbol 206 GraphicUsed by:222 339
Symbol 207 GraphicUsed by:220 336
Symbol 208 GraphicUsed by:220 336
Symbol 209 GraphicUsed by:220 336
Symbol 210 GraphicUsed by:220 336
Symbol 211 GraphicUsed by:220 336
Symbol 212 GraphicUsed by:220 336
Symbol 213 GraphicUsed by:220 336
Symbol 214 GraphicUsed by:220 336
Symbol 215 GraphicUsed by:220 336
Symbol 216 GraphicUsed by:220 336
Symbol 217 GraphicUsed by:220 336
Symbol 218 GraphicUsed by:220 336
Symbol 219 GraphicUsed by:220 336
Symbol 220 MovieClipUses:207 208 209 210 211 212 213 214 215 216 217 218 219Used by:222
Symbol 221 GraphicUses:203Used by:222
Symbol 222 MovieClipUses:206 220 221Used by:225
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:225
Symbol 225 MovieClipUses:222 224Used by:227 247 322
Symbol 226 MovieClipUses:24Used by:227 306 322
Symbol 227 MovieClip [Level7]Uses:33 35 98 100 198 200 201 202 37 59 204 74 205 103 42 225 226 79 63 65 72 94 77Used by:Timeline
Symbol 228 GraphicUsed by:229 253 258 282
Symbol 229 MovieClipUses:228 30Used by:234 255 322
Symbol 230 MovieClipUses:24 30Used by:234 255
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:231 32Used by:234 322
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClip [Level8]Uses:35 33 229 100 230 98 232 37 233 42 59 74 103 60 79 63 65 72 94 77Used by:Timeline
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:235Used by:247 255 271
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:247 271 295 322
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:247 271 295 322
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:241Used by:247 271 295 322
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:247 271 295 322
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:247 271 295 322
Symbol 247 MovieClip [Level9]Uses:59 225 236 204 37 74 238 240 242 244 246 63 65 72 94Used by:Timeline
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:248 30Used by:255
Symbol 250 GraphicUsed by:251 303
Symbol 251 MovieClipUses:250 30Used by:255
Symbol 252 MovieClipUses:24 30 32Used by:255 271 322
Symbol 253 MovieClipUses:228 30Used by:255 275
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClip [Level10]Uses:249 251 229 230 33 252 253 106 103 59 236 254 42 37 77 63 65 72 94 79 74Used by:Timeline
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:256 32Used by:271
Symbol 258 MovieClipUses:228 30 32Used by:271
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259 30Used by:271
Symbol 261 GraphicUsed by:271
Symbol 262 GraphicUsed by:269 357
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClipUses:263Used by:269
Symbol 265 GraphicUsed by:269
Symbol 266 TextUses:22Used by:269 357
Symbol 267 EditableTextUses:22Used by:269
Symbol 268 GraphicUsed by:269 357
Symbol 269 MovieClipUses:262 264 265 266 267 268Used by:271 275 295 322
Symbol 270 GraphicUses:203Used by:271
Symbol 271 MovieClip [Level11]Uses:257 100 252 35 258 236 260 238 240 242 244 37 246 261 42 269 61 74 59 270 63 65 72 94 77 79Used by:Timeline
Symbol 272 GraphicUsed by:275
Symbol 273 GraphicUses:203Used by:274 322
Symbol 274 MovieClipUses:59 273Used by:275
Symbol 275 MovieClip [Level12]Uses:33 269 253 98 100 18 37 272 74 274 42 60 61 63 65 72 94 77 79Used by:Timeline
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:276Used by:283
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:278Used by:283
Symbol 280 GraphicUsed by:283
Symbol 281 GraphicUses:203Used by:283
Symbol 282 MovieClipUses:228Used by:283
Symbol 283 MovieClip [Level13]Uses:277 279 37 280 74 103 59 281 42 79 282 63 65 72 94Used by:Timeline
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:295
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:286Used by:295
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:288Used by:295
Symbol 290 GraphicUsed by:295
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:295
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:295
Symbol 295 MovieClip [Level14]Uses:285 287 289 33 35 103 290 292 294 74 59 37 42 181 238 240 242 244 246 63 65 72 94 269 77 79Used by:Timeline
Symbol 296 GraphicUsed by:306
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:297 30 32Used by:306
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:299Used by:306
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:301 32Used by:306
Symbol 303 MovieClipUses:250Used by:304
Symbol 304 MovieClipUses:303 30Used by:306
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClip [Level15]Uses:296 298 300 33 226 35 302 304 305 74 42 61 79 60 59 63 65 72 94 77Used by:Timeline
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:307Used by:312
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClipUses:309Used by:312
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClip [Level16]Uses:308 310 98 35 59 311 74 42 60 63 65 72 94 77 79Used by:Timeline
Symbol 313 GraphicUsed by:314
Symbol 314 MovieClipUses:313 30Used by:317
Symbol 315 MovieClipUses:80Used by:317
Symbol 316 GraphicUses:203Used by:317
Symbol 317 MovieClip [Level17]Uses:314 315 74 63 65 72 94 37 189 59 316Used by:Timeline
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318 30 32Used by:322
Symbol 320 GraphicUsed by:322
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClip [Level18]Uses:33 232 252 35 319 226 229 174 181 98 100 320 74 42 37 238 240 242 244 246 225 63 65 72 94 321 77 269 59 273 79 60Used by:Timeline
Symbol 323 GraphicUsed by:328
Symbol 324 MovieClipUses:177Used by:326
Symbol 325 MovieClipUses:179Used by:326
Symbol 326 MovieClipUses:324 325Used by:328
Symbol 327 TextUses:9Used by:328
Symbol 328 MovieClip [popup4]Uses:4 323 326 327 120 121 126 131Used by:Timeline
Symbol 329 GraphicUsed by:334
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClipUses:330Used by:332
Symbol 332 MovieClipUses:331Used by:334
Symbol 333 TextUses:9Used by:334
Symbol 334 MovieClip [popup6]Uses:4 329 332 333 120 116 131Used by:Timeline
Symbol 335 GraphicUsed by:341
Symbol 336 MovieClipUses:207 208 209 210 211 212 213 214 215 216 217 218 219Used by:339
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:339
Symbol 339 MovieClipUses:206 336 338Used by:341
Symbol 340 TextUses:9Used by:341
Symbol 341 MovieClip [popup7]Uses:4 335 339 340 120 121 126 131Used by:Timeline
Symbol 342 TextUses:9Used by:343
Symbol 343 MovieClip [popup8]Uses:4 12 342Used by:Timeline
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClipUses:344Used by:348
Symbol 346 TextUses:9Used by:348
Symbol 347 MovieClipUses:36Used by:348
Symbol 348 MovieClip [popup9]Uses:4 24 121 126 131 345 346 120 347Used by:Timeline
Symbol 349 TextUses:9Used by:350
Symbol 350 MovieClip [popup10]Uses:4 349 120Used by:Timeline
Symbol 351 GraphicUsed by:358
Symbol 352 TextUses:9Used by:358
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:357
Symbol 355 GraphicUsed by:357
Symbol 356 EditableTextUses:22Used by:357
Symbol 357 MovieClipUses:262 354 355 266 356 268Used by:358
Symbol 358 MovieClip [popup11]Uses:4 351 352 120 357 131 121 126Used by:Timeline
Symbol 359 TextUses:9Used by:360
Symbol 360 MovieClip [popup12]Uses:4 359 120Used by:Timeline
Symbol 361 TextUses:9Used by:362
Symbol 362 MovieClip [popup13]Uses:4 361 120Used by:Timeline
Symbol 363 TextUses:9Used by:364
Symbol 364 MovieClip [popup14]Uses:4 363 120Used by:Timeline
Symbol 365 TextUses:9Used by:366
Symbol 366 MovieClip [popup15]Uses:4 365 120Used by:Timeline
Symbol 367 TextUses:9Used by:368
Symbol 368 MovieClip [popup16]Uses:4 367 120Used by:Timeline
Symbol 369 TextUses:9Used by:370
Symbol 370 MovieClip [popup17]Uses:4 369 120Used by:Timeline
Symbol 371 TextUses:9Used by:372
Symbol 372 MovieClip [popup18]Uses:4 371 120Used by:Timeline
Symbol 373 FontUsed by:374
Symbol 374 TextUses:9 373Used by:381
Symbol 375 TextUses:9Used by:380
Symbol 376 GraphicUsed by:377 380 441 445 515 565 569 578 580 634 636 639
Symbol 377 MovieClipUses:376Used by:380 441 445 515 519 578 580 581
Symbol 378 TextUses:9Used by:380
Symbol 379 GraphicUsed by:380
Symbol 380 ButtonUses:375 377 378 379 376Used by:381
Symbol 381 MovieClip [instructions]Uses:4 374 380Used by:Timeline
Symbol 382 FontUsed by:383 391 393 395 397 399 401 403 405 407
Symbol 383 TextUses:382Used by:384
Symbol 384 MovieClipUses:383Used by:416
Symbol 385 SoundUsed by:416 446 474
Symbol 386 SoundUsed by:416
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:416
Symbol 389 SoundUsed by:416 474
Symbol 390 MovieClipUses:30Used by:416
Symbol 391 TextUses:382Used by:392
Symbol 392 MovieClipUses:391Used by:416
Symbol 393 TextUses:382Used by:394
Symbol 394 MovieClipUses:393Used by:416
Symbol 395 TextUses:382Used by:396
Symbol 396 MovieClipUses:395Used by:416
Symbol 397 TextUses:382Used by:398
Symbol 398 MovieClipUses:397Used by:416
Symbol 399 TextUses:382Used by:400
Symbol 400 MovieClipUses:399Used by:416
Symbol 401 TextUses:382Used by:402
Symbol 402 MovieClipUses:401Used by:416
Symbol 403 TextUses:382Used by:404 409
Symbol 404 MovieClipUses:403Used by:416
Symbol 405 TextUses:382Used by:406
Symbol 406 MovieClipUses:405Used by:416
Symbol 407 TextUses:382Used by:408
Symbol 408 MovieClipUses:407Used by:416
Symbol 409 MovieClipUses:403Used by:416
Symbol 410 FontUsed by:411
Symbol 411 TextUses:410Used by:412
Symbol 412 MovieClipUses:411Used by:416
Symbol 413 FontUsed by:414
Symbol 414 TextUses:413Used by:416  Timeline
Symbol 415 MovieClipUses:24Used by:416
Symbol 416 MovieClipUses:384 18 385 386 388 389 390 392 394 396 398 400 402 404 406 408 409 412 414 415Used by:Timeline
Symbol 417 GraphicUsed by:421
Symbol 418 GraphicUsed by:421
Symbol 419 GraphicUsed by:421
Symbol 420 GraphicUsed by:421
Symbol 421 ButtonUses:24 417 418 419 420Used by:432
Symbol 422 GraphicUsed by:427
Symbol 423 GraphicUsed by:427
Symbol 424 GraphicUsed by:427
Symbol 425 GraphicUsed by:427
Symbol 426 GraphicUsed by:427
Symbol 427 ButtonUses:422 423 424 425 426Used by:432
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:428Used by:432
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:430Used by:432
Symbol 432 MovieClipUses:24 421 427 429 431Used by:Timeline
Symbol 433 GraphicUsed by:446
Symbol 434 TextUses:20Used by:446
Symbol 435 EditableTextUses:22Used by:446
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:436Used by:446
Symbol 438 TextUses:5Used by:441 445
Symbol 439 TextUses:5Used by:441 445
Symbol 440 GraphicUsed by:441 445
Symbol 441 ButtonUses:438 377 439 440 376Used by:446
Symbol 442 TextUses:5Used by:444
Symbol 443 TextUses:5Used by:444
Symbol 444 MovieClipUses:442 443Used by:446
Symbol 445 ButtonUses:438 377 439 440 376Used by:446
Symbol 446 MovieClipUses:433 434 435 437 441 444 385 445Used by:Timeline
Symbol 447 GraphicUsed by:448
Symbol 448 MovieClipUses:447Used by:449 455 458 461 465 469 472
Symbol 449 MovieClipUses:448Used by:474
Symbol 450 TextUses:9Used by:455
Symbol 451 TextUses:9Used by:455
Symbol 452 TextUses:9Used by:455
Symbol 453 TextUses:9Used by:455 458 461 465 469 472
Symbol 454 GraphicUsed by:455 458 461 465 469 472
Symbol 455 ButtonUses:448 450 451 452 453 454Used by:474 486
Symbol 456 TextUses:9Used by:458
Symbol 457 TextUses:9Used by:458
Symbol 458 ButtonUses:448 456 457 453 454Used by:474 486
Symbol 459 TextUses:9Used by:461
Symbol 460 TextUses:9Used by:461
Symbol 461 ButtonUses:459 448 460 453 454Used by:474 486
Symbol 462 TextUses:9Used by:465
Symbol 463 TextUses:9Used by:465
Symbol 464 TextUses:9Used by:465
Symbol 465 ButtonUses:448 462 463 464 453 454Used by:474 486
Symbol 466 TextUses:9Used by:469
Symbol 467 TextUses:9Used by:469
Symbol 468 TextUses:9Used by:469
Symbol 469 ButtonUses:448 466 467 468 453 454Used by:474 486
Symbol 470 TextUses:9Used by:472
Symbol 471 TextUses:9Used by:472
Symbol 472 ButtonUses:448 470 471 453 454Used by:474 486
Symbol 473 MovieClipUses:30Used by:474 475
Symbol 474 MovieClipUses:449 385 455 458 461 465 469 472 389 473Used by:Timeline
Symbol 475 MovieClipUses:473Used by:Timeline
Symbol 476 GraphicUsed by:484 485
Symbol 477 FontUsed by:478 480 481 482
Symbol 478 TextUses:477Used by:484 485
Symbol 479 GraphicUsed by:484 485
Symbol 480 TextUses:477Used by:484 485
Symbol 481 TextUses:477Used by:484 485
Symbol 482 TextUses:477Used by:484 485
Symbol 483 GraphicUsed by:484 485
Symbol 484 MovieClipUses:476 478 479 480 481 482 483Used by:485
Symbol 485 ButtonUses:484 476 478 479 480 481 482 483Used by:Timeline
Symbol 486 MovieClipUses:465 458 461 469 455 472Used by:Timeline
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:489
Symbol 489 MovieClipUses:488Used by:519 583
Symbol 490 GraphicUsed by:519
Symbol 491 TextUses:5Used by:493
Symbol 492 TextUses:5Used by:493
Symbol 493 MovieClipUses:491 492Used by:519 583
Symbol 494 TextUses:5Used by:496
Symbol 495 TextUses:5Used by:496
Symbol 496 MovieClipUses:494 495Used by:519 583
Symbol 497 TextUses:5Used by:499
Symbol 498 TextUses:5Used by:499
Symbol 499 MovieClipUses:497 498Used by:519 583
Symbol 500 TextUses:20Used by:519 583
Symbol 501 FontUsed by:502
Symbol 502 TextUses:501Used by:519 583
Symbol 503 GraphicUsed by:504
Symbol 504 MovieClipUses:503Used by:519 570 583
Symbol 505 BitmapUsed by:506
Symbol 506 GraphicUses:505Used by:507 559 573
Symbol 507 ButtonUses:506Used by:519
Symbol 508 EditableTextUses:22Used by:519
Symbol 509 EditableTextUses:22Used by:519
Symbol 510 GraphicUsed by:511
Symbol 511 MovieClipUses:510Used by:519 583
Symbol 512 TextUses:5Used by:515 578
Symbol 513 TextUses:5Used by:515 578
Symbol 514 GraphicUsed by:515 578
Symbol 515 ButtonUses:512 377 513 514 376Used by:519
Symbol 516 EditableTextUses:22Used by:519
Symbol 517 FontUsed by:518 579
Symbol 518 TextUses:517Used by:519 580 581
Symbol 519 MovieClipUses:489 490 493 496 499 500 502 504 507 508 509 511 515 516 518 377Used by:Timeline
Symbol 520 GraphicUsed by:554
Symbol 521 GraphicUsed by:522
Symbol 522 MovieClipUses:521Used by:554 640
Symbol 523 TextUses:20Used by:554 640
Symbol 524 TextUses:22Used by:554
Symbol 525 TextUses:22Used by:554
Symbol 526 TextUses:22Used by:554
Symbol 527 TextUses:22Used by:554
Symbol 528 TextUses:22Used by:554
Symbol 529 TextUses:22Used by:554
Symbol 530 TextUses:22Used by:554
Symbol 531 TextUses:22Used by:554
Symbol 532 TextUses:22Used by:554
Symbol 533 TextUses:22Used by:554
Symbol 534 TextUses:22Used by:554
Symbol 535 TextUses:22Used by:554
Symbol 536 TextUses:22Used by:554
Symbol 537 TextUses:22Used by:554
Symbol 538 TextUses:22Used by:554
Symbol 539 TextUses:22Used by:554
Symbol 540 TextUses:22Used by:554
Symbol 541 TextUses:22Used by:554
Symbol 542 TextUses:5Used by:554
Symbol 543 TextUses:5Used by:554
Symbol 544 TextUses:9Used by:549
Symbol 545 GraphicUsed by:546 549
Symbol 546 MovieClipUses:545Used by:549
Symbol 547 TextUses:9Used by:549
Symbol 548 GraphicUsed by:549
Symbol 549 ButtonUses:544 546 547 545 548Used by:554
Symbol 550 GraphicUsed by:551
Symbol 551 ButtonUses:550Used by:553
Symbol 552 EditableTextUses:5Used by:553
Symbol 553 MovieClipUses:551 552Used by:554
Symbol 554 MovieClipUses:520 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 549 553Used by:Timeline
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:557 585
Symbol 557 MovieClipUses:556Used by:570
Symbol 558 TextUses:5Used by:570
Symbol 559 ButtonUses:506Used by:570
Symbol 560 TextUses:9Used by:565
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClipUses:561Used by:565 569 634 636 639
Symbol 563 TextUses:9Used by:565
Symbol 564 GraphicUsed by:565 569 636 639
Symbol 565 ButtonUses:560 562 563 564 376Used by:570
Symbol 566 TextUses:9Used by:569 636
Symbol 567 TextUses:9Used by:569 636
Symbol 568 TextUses:9Used by:569 636
Symbol 569 ButtonUses:566 562 567 564 568 376Used by:570
Symbol 570 MovieClipUses:557 504 558 559 565 569Used by:571
Symbol 571 MovieClipUses:570Used by:583
Symbol 572 GraphicUsed by:583
Symbol 573 ButtonUses:506Used by:583
Symbol 574 EditableTextUses:22Used by:583
Symbol 575 EditableTextUses:22Used by:583
Symbol 576 GraphicUsed by:577
Symbol 577 MovieClipUses:576Used by:583
Symbol 578 ButtonUses:512 377 513 514 376Used by:583
Symbol 579 TextUses:517Used by:580
Symbol 580 ButtonUses:579 377 518 376Used by:583
Symbol 581 MovieClipUses:518 377Used by:583
Symbol 582 EditableTextUses:22Used by:583
Symbol 583 MovieClipUses:571 493 489 496 499 572 500 502 504 573 574 575 511 577 578 580 581 582Used by:Timeline
Symbol 584 MovieClipUses:24Used by:Timeline
Symbol 585 MovieClipUses:556Used by:640
Symbol 586 TextUses:5Used by:640
Symbol 587 TextUses:5Used by:640
Symbol 588 GraphicUsed by:640
Symbol 589 TextUses:20Used by:640
Symbol 590 TextUses:20Used by:640
Symbol 591 EditableTextUses:22Used by:640
Symbol 592 GraphicUsed by:640
Symbol 593 EditableTextUses:5 9Used by:640
Symbol 594 EditableTextUses:5 9Used by:640
Symbol 595 EditableTextUses:5 9Used by:640
Symbol 596 EditableTextUses:5 9Used by:640
Symbol 597 EditableTextUses:5 9Used by:640
Symbol 598 EditableTextUses:5 9Used by:640
Symbol 599 EditableTextUses:5 9Used by:640
Symbol 600 EditableTextUses:5 9Used by:640
Symbol 601 EditableTextUses:5 9Used by:640
Symbol 602 EditableTextUses:22Used by:640
Symbol 603 EditableTextUses:5 9Used by:640
Symbol 604 EditableTextUses:5 9Used by:640
Symbol 605 EditableTextUses:5 9Used by:640
Symbol 606 EditableTextUses:5 9Used by:640
Symbol 607 EditableTextUses:5 9Used by:640
Symbol 608 EditableTextUses:5 9Used by:640
Symbol 609 EditableTextUses:5 9Used by:640
Symbol 610 EditableTextUses:5 9Used by:640
Symbol 611 EditableTextUses:5 9Used by:640
Symbol 612 EditableTextUses:22Used by:640
Symbol 613 EditableTextUses:22Used by:640
Symbol 614 EditableTextUses:22Used by:640
Symbol 615 EditableTextUses:22Used by:640
Symbol 616 EditableTextUses:22Used by:640
Symbol 617 EditableTextUses:22Used by:640
Symbol 618 EditableTextUses:22Used by:640
Symbol 619 EditableTextUses:22Used by:640
Symbol 620 EditableTextUses:22Used by:640
Symbol 621 EditableTextUses:22Used by:640
Symbol 622 EditableTextUses:22Used by:640
Symbol 623 EditableTextUses:22Used by:640
Symbol 624 EditableTextUses:22Used by:640
Symbol 625 EditableTextUses:22Used by:640
Symbol 626 EditableTextUses:22Used by:640
Symbol 627 EditableTextUses:22Used by:640
Symbol 628 EditableTextUses:22Used by:640
Symbol 629 TextUses:9Used by:634
Symbol 630 GraphicUsed by:631
Symbol 631 MovieClipUses:630Used by:634
Symbol 632 GraphicUsed by:634
Symbol 633 TextUses:9Used by:634
Symbol 634 ButtonUses:629 631 562 632 633 376Used by:640
Symbol 635 EditableTextUses:22Used by:640
Symbol 636 ButtonUses:566 562 567 564 568 376Used by:640
Symbol 637 TextUses:9Used by:639
Symbol 638 TextUses:9Used by:639
Symbol 639 ButtonUses:637 562 638 564 376Used by:640
Symbol 640 MovieClipUses:585 586 587 588 589 590 591 592 522 593 594 595 596 597 598 599 600 601 523 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 634 635 636 639Used by:641
Symbol 641 MovieClipUses:640Used by:Timeline

Instance Names

"inputer"Frame 7Symbol 446 MovieClip
"agButton_btn"Frame 57Symbol 485 Button
"cool"Frame 57Symbol 486 MovieClip
"menu"Frame 144Symbol 583 MovieClip
"blinker"Frame 153Symbol 584 MovieClip
"scoretable"Frame 183Symbol 641 MovieClip
"barra"Symbol 26 MovieClip Frame 1Symbol 18 MovieClip
"percent"Symbol 26 MovieClip Frame 1Symbol 23 EditableText
"loadermask"Symbol 26 MovieClip Frame 1Symbol 25 MovieClip
"barra"Symbol 26 MovieClip Frame 1Symbol 18 MovieClip
"lightning"Symbol 59 MovieClip Frame 1Symbol 58 MovieClip
"arrowin"Symbol 72 MovieClip Frame 1Symbol 71 MovieClip
"roller"Symbol 93 MovieClip Frame 1Symbol 92 MovieClip
"center"Symbol 94 MovieClip [ball] Frame 1Symbol 81 MovieClip
"pointer"Symbol 94 MovieClip [ball] Frame 1Symbol 84 MovieClip
"ballbtn"Symbol 94 MovieClip [ball] Frame 1Symbol 86 Button
"lava"Symbol 94 MovieClip [ball] Frame 1Symbol 93 MovieClip
"trail"Symbol 95 MovieClip [Level1] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 95 MovieClip [Level1] Frame 1Symbol 72 MovieClip
"sizer"Symbol 95 MovieClip [Level1] Frame 1Symbol 74 MovieClip
"ball"Symbol 95 MovieClip [Level1] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 104 MovieClip [Level2] Frame 1Symbol 74 MovieClip
"trail"Symbol 104 MovieClip [Level2] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 104 MovieClip [Level2] Frame 1Symbol 72 MovieClip
"ball"Symbol 104 MovieClip [Level2] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 110 MovieClip [Level3] Frame 1Symbol 74 MovieClip
"trail"Symbol 110 MovieClip [Level3] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 110 MovieClip [Level3] Frame 1Symbol 72 MovieClip
"ball"Symbol 110 MovieClip [Level3] Frame 1Symbol 94 MovieClip [ball]
"roller"Symbol 126 MovieClip Frame 1Symbol 125 MovieClip
"lava"Symbol 127 MovieClip [popup1] Frame 1Symbol 126 MovieClip
"lava"Symbol 127 MovieClip [popup1] Frame 1Symbol 126 MovieClip
"lava"Symbol 127 MovieClip [popup1] Frame 1Symbol 126 MovieClip
"lava"Symbol 132 MovieClip [popup2] Frame 1Symbol 126 MovieClip
"lava"Symbol 135 MovieClip [popup3] Frame 1Symbol 126 MovieClip
"lava"Symbol 135 MovieClip [popup3] Frame 1Symbol 126 MovieClip
"lava"Symbol 170 MovieClip [lightball] Frame 1Symbol 93 MovieClip
"sizer"Symbol 183 MovieClip [Level4] Frame 1Symbol 74 MovieClip
"trail"Symbol 183 MovieClip [Level4] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 183 MovieClip [Level4] Frame 1Symbol 72 MovieClip
"ball"Symbol 183 MovieClip [Level4] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 190 MovieClip [Level5] Frame 1Symbol 74 MovieClip
"trail"Symbol 190 MovieClip [Level5] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 190 MovieClip [Level5] Frame 1Symbol 72 MovieClip
"ball"Symbol 190 MovieClip [Level5] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 196 MovieClip [Level6] Frame 1Symbol 74 MovieClip
"trail"Symbol 196 MovieClip [Level6] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 196 MovieClip [Level6] Frame 1Symbol 72 MovieClip
"ball"Symbol 196 MovieClip [Level6] Frame 1Symbol 94 MovieClip [ball]
"lights"Symbol 222 MovieClip Frame 1Symbol 220 MovieClip
"sphere"Symbol 225 MovieClip Frame 1Symbol 222 MovieClip
"sizer"Symbol 227 MovieClip [Level7] Frame 1Symbol 74 MovieClip
"trail"Symbol 227 MovieClip [Level7] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 227 MovieClip [Level7] Frame 1Symbol 72 MovieClip
"ball"Symbol 227 MovieClip [Level7] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 234 MovieClip [Level8] Frame 1Symbol 74 MovieClip
"trail"Symbol 234 MovieClip [Level8] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 234 MovieClip [Level8] Frame 1Symbol 72 MovieClip
"ball"Symbol 234 MovieClip [Level8] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 247 MovieClip [Level9] Frame 1Symbol 74 MovieClip
"trail"Symbol 247 MovieClip [Level9] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 247 MovieClip [Level9] Frame 1Symbol 72 MovieClip
"ball"Symbol 247 MovieClip [Level9] Frame 1Symbol 94 MovieClip [ball]
"trail"Symbol 255 MovieClip [Level10] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 255 MovieClip [Level10] Frame 1Symbol 72 MovieClip
"ball"Symbol 255 MovieClip [Level10] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 255 MovieClip [Level10] Frame 1Symbol 74 MovieClip
"glower"Symbol 269 MovieClip Frame 1Symbol 264 MovieClip
"texter"Symbol 269 MovieClip Frame 1Symbol 267 EditableText
"button1"Symbol 271 MovieClip [Level11] Frame 1Symbol 269 MovieClip
"button2"Symbol 271 MovieClip [Level11] Frame 1Symbol 269 MovieClip
"button3"Symbol 271 MovieClip [Level11] Frame 1Symbol 269 MovieClip
"sizer"Symbol 271 MovieClip [Level11] Frame 1Symbol 74 MovieClip
"trail"Symbol 271 MovieClip [Level11] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 271 MovieClip [Level11] Frame 1Symbol 72 MovieClip
"ball"Symbol 271 MovieClip [Level11] Frame 1Symbol 94 MovieClip [ball]
"button1"Symbol 275 MovieClip [Level12] Frame 1Symbol 269 MovieClip
"sizer"Symbol 275 MovieClip [Level12] Frame 1Symbol 74 MovieClip
"trail"Symbol 275 MovieClip [Level12] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 275 MovieClip [Level12] Frame 1Symbol 72 MovieClip
"ball"Symbol 275 MovieClip [Level12] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 283 MovieClip [Level13] Frame 1Symbol 74 MovieClip
"trail"Symbol 283 MovieClip [Level13] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 283 MovieClip [Level13] Frame 1Symbol 72 MovieClip
"ball"Symbol 283 MovieClip [Level13] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 295 MovieClip [Level14] Frame 1Symbol 74 MovieClip
"trail"Symbol 295 MovieClip [Level14] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 295 MovieClip [Level14] Frame 1Symbol 72 MovieClip
"ball"Symbol 295 MovieClip [Level14] Frame 1Symbol 94 MovieClip [ball]
"button1"Symbol 295 MovieClip [Level14] Frame 1Symbol 269 MovieClip
"sizer"Symbol 306 MovieClip [Level15] Frame 1Symbol 74 MovieClip
"trail"Symbol 306 MovieClip [Level15] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 306 MovieClip [Level15] Frame 1Symbol 72 MovieClip
"ball"Symbol 306 MovieClip [Level15] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 312 MovieClip [Level16] Frame 1Symbol 74 MovieClip
"trail"Symbol 312 MovieClip [Level16] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 312 MovieClip [Level16] Frame 1Symbol 72 MovieClip
"ball"Symbol 312 MovieClip [Level16] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 317 MovieClip [Level17] Frame 1Symbol 74 MovieClip
"trail"Symbol 317 MovieClip [Level17] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 317 MovieClip [Level17] Frame 1Symbol 72 MovieClip
"ball"Symbol 317 MovieClip [Level17] Frame 1Symbol 94 MovieClip [ball]
"sizer"Symbol 322 MovieClip [Level18] Frame 1Symbol 74 MovieClip
"trail"Symbol 322 MovieClip [Level18] Frame 1Symbol 63 MovieClip [trail]
"arrow"Symbol 322 MovieClip [Level18] Frame 1Symbol 72 MovieClip
"ball"Symbol 322 MovieClip [Level18] Frame 1Symbol 94 MovieClip [ball]
"button1"Symbol 322 MovieClip [Level18] Frame 1Symbol 269 MovieClip
"button2"Symbol 322 MovieClip [Level18] Frame 1Symbol 269 MovieClip
"button3"Symbol 322 MovieClip [Level18] Frame 1Symbol 269 MovieClip
"lava"Symbol 328 MovieClip [popup4] Frame 1Symbol 126 MovieClip
"lava"Symbol 328 MovieClip [popup4] Frame 1Symbol 126 MovieClip
"lights"Symbol 339 MovieClip Frame 1Symbol 336 MovieClip
"sphere"Symbol 341 MovieClip [popup7] Frame 1Symbol 339 MovieClip
"sphere"Symbol 341 MovieClip [popup7] Frame 1Symbol 339 MovieClip
"sphere"Symbol 341 MovieClip [popup7] Frame 1Symbol 339 MovieClip
"sphere"Symbol 341 MovieClip [popup7] Frame 1Symbol 339 MovieClip
"lava"Symbol 341 MovieClip [popup7] Frame 1Symbol 126 MovieClip
"lava"Symbol 348 MovieClip [popup9] Frame 1Symbol 126 MovieClip
"glower"Symbol 357 MovieClip Frame 1Symbol 354 MovieClip
"texter"Symbol 357 MovieClip Frame 1Symbol 356 EditableText
"button1"Symbol 358 MovieClip [popup11] Frame 1Symbol 357 MovieClip
"lava"Symbol 358 MovieClip [popup11] Frame 1Symbol 126 MovieClip
"lava"Symbol 358 MovieClip [popup11] Frame 1Symbol 126 MovieClip
"AGclick_btn"Symbol 432 MovieClip Frame 1Symbol 421 Button
"AGskip_btn"Symbol 432 MovieClip Frame 1Symbol 427 Button
"AGpresented_mc"Symbol 432 MovieClip Frame 1Symbol 429 MovieClip
"AGlogo_mc"Symbol 432 MovieClip Frame 1Symbol 431 MovieClip
"nameinp"Symbol 446 MovieClip Frame 1Symbol 435 EditableText
"continuebtn"Symbol 446 MovieClip Frame 6Symbol 441 Button
"continuebtn"Symbol 446 MovieClip Frame 10Symbol 441 Button
"continuebtn"Symbol 446 MovieClip Frame 12Symbol 441 Button
"continuebtn"Symbol 446 MovieClip Frame 14Symbol 441 Button
"continuebtn"Symbol 446 MovieClip Frame 18Symbol 441 Button
"continuebtn"Symbol 446 MovieClip Frame 20Symbol 441 Button
"continuebtn"Symbol 446 MovieClip Frame 25Symbol 445 Button
"resumebtn"Symbol 474 MovieClip Frame 41Symbol 455 Button
"b2"Symbol 474 MovieClip Frame 41Symbol 458 Button
"b3"Symbol 474 MovieClip Frame 41Symbol 461 Button
"b1"Symbol 474 MovieClip Frame 41Symbol 465 Button
"b4"Symbol 474 MovieClip Frame 41Symbol 469 Button
"b5"Symbol 474 MovieClip Frame 41Symbol 472 Button
"resumebtn"Symbol 474 MovieClip Frame 44Symbol 455 Button
"b2"Symbol 474 MovieClip Frame 44Symbol 458 Button
"b3"Symbol 474 MovieClip Frame 44Symbol 461 Button
"b1"Symbol 474 MovieClip Frame 44Symbol 465 Button
"b4"Symbol 474 MovieClip Frame 44Symbol 469 Button
"b5"Symbol 474 MovieClip Frame 44Symbol 472 Button
"resumebtn"Symbol 474 MovieClip Frame 48Symbol 455 Button
"b2"Symbol 474 MovieClip Frame 48Symbol 458 Button
"b3"Symbol 474 MovieClip Frame 48Symbol 461 Button
"b1"Symbol 474 MovieClip Frame 48Symbol 465 Button
"b4"Symbol 474 MovieClip Frame 48Symbol 469 Button
"b5"Symbol 474 MovieClip Frame 48Symbol 472 Button
"resumebtn"Symbol 474 MovieClip Frame 50Symbol 455 Button
"b2"Symbol 474 MovieClip Frame 50Symbol 458 Button
"b3"Symbol 474 MovieClip Frame 50Symbol 461 Button
"b1"Symbol 474 MovieClip Frame 50Symbol 465 Button
"b4"Symbol 474 MovieClip Frame 50Symbol 469 Button
"b5"Symbol 474 MovieClip Frame 50Symbol 472 Button
"resumebtn"Symbol 474 MovieClip Frame 52Symbol 455 Button
"b2"Symbol 474 MovieClip Frame 52Symbol 458 Button
"b3"Symbol 474 MovieClip Frame 52Symbol 461 Button
"b1"Symbol 474 MovieClip Frame 52Symbol 465 Button
"b4"Symbol 474 MovieClip Frame 52Symbol 469 Button
"b5"Symbol 474 MovieClip Frame 52Symbol 472 Button
"resumebtn"Symbol 474 MovieClip Frame 56Symbol 455 Button
"b2"Symbol 474 MovieClip Frame 56Symbol 458 Button
"b3"Symbol 474 MovieClip Frame 56Symbol 461 Button
"b1"Symbol 474 MovieClip Frame 56Symbol 465 Button
"b4"Symbol 474 MovieClip Frame 56Symbol 469 Button
"b5"Symbol 474 MovieClip Frame 56Symbol 472 Button
"b1"Symbol 486 MovieClip Frame 1Symbol 465 Button
"b2"Symbol 486 MovieClip Frame 1Symbol 458 Button
"b3"Symbol 486 MovieClip Frame 1Symbol 461 Button
"b4"Symbol 486 MovieClip Frame 1Symbol 469 Button
"resumebtn"Symbol 486 MovieClip Frame 1Symbol 455 Button
"b5"Symbol 486 MovieClip Frame 1Symbol 472 Button
"zoomrail"Symbol 519 MovieClip Frame 1Symbol 504 MovieClip
"zoomrail"Symbol 519 MovieClip Frame 1Symbol 504 MovieClip
"zoombtn"Symbol 519 MovieClip Frame 1Symbol 507 Button
"holetext"Symbol 519 MovieClip Frame 1Symbol 508 EditableText
"partext"Symbol 519 MovieClip Frame 1Symbol 509 EditableText
"stikestext"Symbol 519 MovieClip Frame 1Symbol 516 EditableText
"levnum"Symbol 553 MovieClip Frame 1Symbol 552 EditableText
"musicrail"Symbol 570 MovieClip Frame 1Symbol 504 MovieClip
"musicvol"Symbol 570 MovieClip Frame 1Symbol 559 Button
"mmm"Symbol 571 MovieClip Frame 1Symbol 570 MovieClip
"pausemenu"Symbol 583 MovieClip Frame 1Symbol 571 MovieClip
"zoomrail"Symbol 583 MovieClip Frame 1Symbol 504 MovieClip
"zoomrail"Symbol 583 MovieClip Frame 1Symbol 504 MovieClip
"zoombtn"Symbol 583 MovieClip Frame 1Symbol 573 Button
"holetext"Symbol 583 MovieClip Frame 1Symbol 574 EditableText
"partext"Symbol 583 MovieClip Frame 1Symbol 575 EditableText
"upbtn"Symbol 583 MovieClip Frame 1Symbol 577 MovieClip
"downbtn"Symbol 583 MovieClip Frame 1Symbol 577 MovieClip
"leftbtn"Symbol 583 MovieClip Frame 1Symbol 577 MovieClip
"rightbtn"Symbol 583 MovieClip Frame 1Symbol 577 MovieClip
"resetbutton"Symbol 583 MovieClip Frame 1Symbol 580 Button
"resetglow"Symbol 583 MovieClip Frame 1Symbol 581 MovieClip
"stikestext"Symbol 583 MovieClip Frame 1Symbol 582 EditableText
"playername"Symbol 640 MovieClip Frame 1Symbol 591 EditableText
"holenum1"Symbol 640 MovieClip Frame 1Symbol 593 EditableText
"holenum2"Symbol 640 MovieClip Frame 1Symbol 594 EditableText
"holenum3"Symbol 640 MovieClip Frame 1Symbol 595 EditableText
"holenum4"Symbol 640 MovieClip Frame 1Symbol 596 EditableText
"holenum5"Symbol 640 MovieClip Frame 1Symbol 597 EditableText
"holenum6"Symbol 640 MovieClip Frame 1Symbol 598 EditableText
"holenum7"Symbol 640 MovieClip Frame 1Symbol 599 EditableText
"holenum8"Symbol 640 MovieClip Frame 1Symbol 600 EditableText
"holenum9"Symbol 640 MovieClip Frame 1Symbol 601 EditableText
"score1"Symbol 640 MovieClip Frame 1Symbol 602 EditableText
"holenum10"Symbol 640 MovieClip Frame 1Symbol 603 EditableText
"holenum11"Symbol 640 MovieClip Frame 1Symbol 604 EditableText
"holenum12"Symbol 640 MovieClip Frame 1Symbol 605 EditableText
"holenum13"Symbol 640 MovieClip Frame 1Symbol 606 EditableText
"holenum14"Symbol 640 MovieClip Frame 1Symbol 607 EditableText
"holenum15"Symbol 640 MovieClip Frame 1Symbol 608 EditableText
"holenum16"Symbol 640 MovieClip Frame 1Symbol 609 EditableText
"holenum17"Symbol 640 MovieClip Frame 1Symbol 610 EditableText
"holenum18"Symbol 640 MovieClip Frame 1Symbol 611 EditableText
"score10"Symbol 640 MovieClip Frame 1Symbol 612 EditableText
"score11"Symbol 640 MovieClip Frame 1Symbol 613 EditableText
"score2"Symbol 640 MovieClip Frame 1Symbol 614 EditableText
"score3"Symbol 640 MovieClip Frame 1Symbol 615 EditableText
"score4"Symbol 640 MovieClip Frame 1Symbol 616 EditableText
"score5"Symbol 640 MovieClip Frame 1Symbol 617 EditableText
"score6"Symbol 640 MovieClip Frame 1Symbol 618 EditableText
"score7"Symbol 640 MovieClip Frame 1Symbol 619 EditableText
"score8"Symbol 640 MovieClip Frame 1Symbol 620 EditableText
"score9"Symbol 640 MovieClip Frame 1Symbol 621 EditableText
"score18"Symbol 640 MovieClip Frame 1Symbol 622 EditableText
"score17"Symbol 640 MovieClip Frame 1Symbol 623 EditableText
"score16"Symbol 640 MovieClip Frame 1Symbol 624 EditableText
"score15"Symbol 640 MovieClip Frame 1Symbol 625 EditableText
"score14"Symbol 640 MovieClip Frame 1Symbol 626 EditableText
"score13"Symbol 640 MovieClip Frame 1Symbol 627 EditableText
"score12"Symbol 640 MovieClip Frame 1Symbol 628 EditableText
"contbtn"Symbol 640 MovieClip Frame 1Symbol 634 Button
"totalscore"Symbol 640 MovieClip Frame 1Symbol 635 EditableText
"hiscorebtn"Symbol 640 MovieClip Frame 1Symbol 639 Button
"tablemc"Symbol 641 MovieClip Frame 1Symbol 640 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "Smash"
ExportAssets (56)Timeline Frame 1Symbol 14 as "popup5"
ExportAssets (56)Timeline Frame 1Symbol 16 as "MMball"
ExportAssets (56)Timeline Frame 1Symbol 642 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 643 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 644 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 645 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 646 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 647 as "__Packages.mx.transitions.easing.Bounce"
ExportAssets (56)Timeline Frame 3Symbol 63 as "trail"
ExportAssets (56)Timeline Frame 3Symbol 94 as "ball"
ExportAssets (56)Timeline Frame 3Symbol 95 as "Level1"
ExportAssets (56)Timeline Frame 3Symbol 104 as "Level2"
ExportAssets (56)Timeline Frame 3Symbol 110 as "Level3"
ExportAssets (56)Timeline Frame 3Symbol 127 as "popup1"
ExportAssets (56)Timeline Frame 3Symbol 132 as "popup2"
ExportAssets (56)Timeline Frame 3Symbol 135 as "popup3"
ExportAssets (56)Timeline Frame 3Symbol 136 as "jazzy"
ExportAssets (56)Timeline Frame 3Symbol 137 as "lightning"
ExportAssets (56)Timeline Frame 3Symbol 138 as "glowersound"
ExportAssets (56)Timeline Frame 3Symbol 139 as "power"
ExportAssets (56)Timeline Frame 3Symbol 140 as "fiusound"
ExportAssets (56)Timeline Frame 3Symbol 141 as "applause"
ExportAssets (56)Timeline Frame 3Symbol 142 as "funky"
ExportAssets (56)Timeline Frame 3Symbol 143 as "zooming"
ExportAssets (56)Timeline Frame 3Symbol 144 as "nottee"
ExportAssets (56)Timeline Frame 3Symbol 145 as "tee"
ExportAssets (56)Timeline Frame 3Symbol 146 as "beamsound"
ExportAssets (56)Timeline Frame 3Symbol 170 as "lightball"
ExportAssets (56)Timeline Frame 3Symbol 171 as "glower"
ExportAssets (56)Timeline Frame 3Symbol 172 as "glower2"
ExportAssets (56)Timeline Frame 3Symbol 183 as "Level4"
ExportAssets (56)Timeline Frame 3Symbol 190 as "Level5"
ExportAssets (56)Timeline Frame 3Symbol 196 as "Level6"
ExportAssets (56)Timeline Frame 3Symbol 227 as "Level7"
ExportAssets (56)Timeline Frame 3Symbol 234 as "Level8"
ExportAssets (56)Timeline Frame 3Symbol 247 as "Level9"
ExportAssets (56)Timeline Frame 3Symbol 255 as "Level10"
ExportAssets (56)Timeline Frame 3Symbol 271 as "Level11"
ExportAssets (56)Timeline Frame 3Symbol 275 as "Level12"
ExportAssets (56)Timeline Frame 3Symbol 283 as "Level13"
ExportAssets (56)Timeline Frame 3Symbol 295 as "Level14"
ExportAssets (56)Timeline Frame 3Symbol 306 as "Level15"
ExportAssets (56)Timeline Frame 3Symbol 312 as "Level16"
ExportAssets (56)Timeline Frame 3Symbol 317 as "Level17"
ExportAssets (56)Timeline Frame 3Symbol 322 as "Level18"
ExportAssets (56)Timeline Frame 3Symbol 328 as "popup4"
ExportAssets (56)Timeline Frame 3Symbol 334 as "popup6"
ExportAssets (56)Timeline Frame 3Symbol 341 as "popup7"
ExportAssets (56)Timeline Frame 3Symbol 343 as "popup8"
ExportAssets (56)Timeline Frame 3Symbol 348 as "popup9"
ExportAssets (56)Timeline Frame 3Symbol 350 as "popup10"
ExportAssets (56)Timeline Frame 3Symbol 358 as "popup11"
ExportAssets (56)Timeline Frame 3Symbol 360 as "popup12"
ExportAssets (56)Timeline Frame 3Symbol 362 as "popup13"
ExportAssets (56)Timeline Frame 3Symbol 364 as "popup14"
ExportAssets (56)Timeline Frame 3Symbol 366 as "popup15"
ExportAssets (56)Timeline Frame 3Symbol 368 as "popup16"
ExportAssets (56)Timeline Frame 3Symbol 370 as "popup17"
ExportAssets (56)Timeline Frame 3Symbol 372 as "popup18"
ExportAssets (56)Timeline Frame 3Symbol 381 as "instructions"

Labels

"logos"Frame 4
"nameinput"Frame 6
"mainmenu"Frame 57
"levelselect"Frame 92
"popup"Frame 144
"zoom"Frame 153
"intro"Frame 163
"startgame"Frame 173
"endgame"Frame 183




http://swfchan.com/7/30172/info.shtml
Created: 19/5 -2019 12:37:32 Last modified: 19/5 -2019 12:37:32 Server time: 22/12 -2024 11:56:44