STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
A Very Merry Christmas! |
This is the info page for Flash #66832 |
Loading.. |
NORMAL |
CAP |
Music by khuskan |
C |
Daniel Cherbanich 2007 |
by Daniel Cherbanich (Psycho) |
by Daniel Cherbanich (Psycho) |
by Daniel Cherbanich (Psycho) |
In Slider, you must draw the lines and land for your character to slide on. You may do this before you release your character, or even draw the lines as it goes along. LEVEL MODE: In this mode, you need to make your character collect all the stars in one run. Explorer Mode This mode lets you play around freely, and you're not limited to one screen. draw lines as your character flies, either to fly off or bounce off into the opposite direction! |
GameGecko |
NORMAL |
Angry face |
shoop da whoop |
Mexican hat |
ng tank |
Pirate |
AFRO |
Bunny rabbit! |
halo |
Crown |
ghost |
Santa hat |
Clock |
bandages |
Transparent |
Cap |
H |
M |
Quality |
L |
Music |
2 |
Mute |
Mute |
1 |
Welcome to Explorer Mode. Please press "GO" when you want to launch your character, you should draw the line as you go, but you can make some preparations if you want. Press "c" to clear your current tracks. This helps if you are lagging. press ENTER to exit. Have fun! |
Level 1 Nice and easy. ENTER to exit. collect all the stars. |
Stars collected: |
0 |
Level 2 Still easy. ENTER to exit. collect all the stars. |
0 |
Level 3 *snore* ENTER to exit. collect all the stars. |
0 |
Level 4 up, down, up, down ENTER to exit. collect all the stars. |
0 |
Level 5 SHAPE TIME! ENTER to exit. collect all the stars. |
0 |
Level 6 TRIANGLE!? ENTER to exit. collect all the stars. |
0 |
Level 8 ciRCLE! ENTER to exit. collect all the stars. |
0 |
Level 9 dIAMOND! ENTER to exit. collect all the stars. |
0 |
Level 10 moving stars! ENTER to exit. collect all the stars. |
0 |
Level 11 Pacman! ENTER to exit. collect all the stars. |
0 |
Level 12 X ENTER to exit. collect all the stars. |
0 |
Level 13 tHE CORNERS ENTER to exit. collect all the stars. |
0 |
Level 14 Back to the moving stars.. ENTER to exit. collect all the stars. |
0 |
Level 15 eek! ENTER to exit. collect all the stars. |
0 |
Level 16 THey come out the other side!!! ENTER to exit. collect all the stars. |
0 |
Level 17 not always the opposite side.. ENTER to exit. collect all the stars. |
0 |
Level 18 Act quick! ENTER to exit. collect all the stars. |
0 |
Level 19 Theres.. so.. many.. ENTER to exit. collect all the stars. |
0 |
Level 20 Lets make everything tiny! ENTER to exit. collect all the stars. |
0 |
Level 21 Random tiny stars! ENTER to exit. collect all the stars. |
0 |
Level 22 Random moving tiny stars! ENTER to exit. collect all the stars. |
0 |
Level 25 now the lines you draw are invisible! ENTER to exit. collect all the stars. |
0 |
Level 26 Now it's even harder! ENTER to exit. collect all the stars. |
0 |
Level 27 invisible, tiny, and moving! ENTER to exit. collect all the stars. |
0 |
Level 28 craaaaaazy! ENTER to exit. collect all the stars. |
0 |
Level 29 craaazier! ENTER to exit. collect all the stars. |
0 |
Level 30 The final level. 36 stars are you prepared? ENTER to exit. collect all the stars. |
0 |
CONGRATULATIONS! yOU HAVE COMPLETED SLIDER! iF YOU HAVE NOT PLAYED EXPLORER MODE, TRY IT NOW! |
ActionScript [AS1/AS2]
Frame 1MochiAd.showPreloaderAd({id:"d7f88b02e5fea23d", res:"800x600", no_bg:true});Frame 2stop(); _root.ball.removeMovieClip(); _root.terrain.removeMovieClip(); _root.reset_button.removeMovieClip(); _root.go_button.removeMovieClip(); _root.clear_button.removeMovieClip(); _root.terrain.removeMovieClip();Frame 3var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 5; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 5; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stop(); bgz.stars = 0; stars = 0;Instance of Symbol 321 MovieClip "bgz" in Frame 3onClipEvent (enterFrame) { this._x = _root.ball._x; this._y = _root.ball._y; }Instance of Symbol 327 MovieClip in Frame 3onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 327 MovieClip in Frame 3onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 327 MovieClip in Frame 3onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 327 MovieClip in Frame 3onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 321 MovieClip "bgz" in Frame 3onClipEvent (enterFrame) { this._x = _root.ball._x; this._y = _root.ball._y; }Instance of Symbol 331 MovieClip "aaaaa" in Frame 3onClipEvent (enterFrame) { this._x = _root.ball._x; this._y = _root.ball._y; }Frame 4var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 5; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 5; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { gotoAndPlay (100); go = false; m._x = 125; m._y = 15; }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stop(); stars = 0;Instance of Symbol 340 MovieClip in Frame 4onClipEvent (enterFrame) { if (_root.stars == "3") { _root.play(); } }Instance of Symbol 342 MovieClip in Frame 4onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.gotoAndPlay(100); } }Instance of Symbol 342 MovieClip in Frame 4onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.gotoAndPlay(100); } }Instance of Symbol 342 MovieClip in Frame 4onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.gotoAndPlay(100); } }Instance of Symbol 342 MovieClip in Frame 4onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.gotoAndPlay(100); } }Instance of Symbol 346 MovieClip "bg" in Frame 4onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 4onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 4onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 4onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 5play();Frame 6stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 342 MovieClip in Frame 6onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.prevFrame(); } }Instance of Symbol 342 MovieClip in Frame 6onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.prevFrame(); } }Instance of Symbol 342 MovieClip in Frame 6onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.prevFrame(); } }Instance of Symbol 342 MovieClip in Frame 6onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.prevFrame(); } }Instance of Symbol 346 MovieClip "bg" in Frame 6onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 6onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 6onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 6onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 340 MovieClip in Frame 6onClipEvent (enterFrame) { if (_root.stars == "3") { _root.play(); } }Frame 7play();Frame 8stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 8onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 8onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 8onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 8onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 340 MovieClip in Frame 8onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 8onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 9play();Frame 10stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 10onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 10onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 10onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 10onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 340 MovieClip in Frame 10onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 10onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 11play();Frame 12stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 12onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 12onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 12onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 12onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 340 MovieClip in Frame 12onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 12onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 13play();Frame 14stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 14onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 14onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 14onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 340 MovieClip in Frame 14onClipEvent (enterFrame) { if (_root.stars == "3") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 14onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 15play();Frame 16stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 16onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 340 MovieClip in Frame 16onClipEvent (enterFrame) { if (_root.stars == "8") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 16onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 17play();Frame 18stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 18onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 358 MovieClip in Frame 18onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 340 MovieClip in Frame 18onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 18onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 18onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 18onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 19play();Frame 20stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 20onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 20onClipEvent (enterFrame) { if (_root.stars == "1") { _root.play(); } }Frame 21play();Frame 22stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 22onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 22onClipEvent (enterFrame) { if (_root.stars == "9") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 22onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 23play();Frame 24stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 24onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 24onClipEvent (enterFrame) { if (_root.stars == "13") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 24onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 25play();Frame 26stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 26onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 26onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 26onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 26onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 26onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 26onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 27play();Frame 28stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 28onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 28onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Frame 29play();Frame 30stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 30onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 30onClipEvent (enterFrame) { if (_root.stars == "8") { _root.play(); } }Frame 31play();Frame 32stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 32onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 32onClipEvent (enterFrame) { if (_root.stars == "3") { _root.play(); } }Frame 33play();Frame 34stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 34onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 34onClipEvent (enterFrame) { if (_root.stars == "2") { _root.play(); } }Frame 35play();Frame 36stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 36onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 36onClipEvent (enterFrame) { if (_root.stars == "5") { _root.play(); } }Frame 37play();Frame 38stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 38onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 38onClipEvent (enterFrame) { if (_root.stars == "12") { _root.play(); } }Frame 39play();Frame 40stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 40onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 40onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 40onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 40onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 40onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 40onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 41play();Frame 42stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 42onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 42onClipEvent (enterFrame) { if (_root.stars == "10") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 42onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 43play();Frame 44stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 50); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 50); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 44onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 44onClipEvent (enterFrame) { if (_root.stars == "3") { _root.play(); } }Frame 45play();Frame 46stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 0); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 0); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 46onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 46onClipEvent (enterFrame) { if (_root.stars == "4") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 46onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 46onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 46onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 46onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 47play();Frame 48stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 0); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 0); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 48onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 48onClipEvent (enterFrame) { if (_root.stars == "11") { _root.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Frame 48onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Frame 49play();Frame 50stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 0); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 0); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 50onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 50onClipEvent (enterFrame) { if (_root.stars == "3") { _root.play(); } }Frame 51play();Frame 52stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 0); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 0); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 52onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 52onClipEvent (enterFrame) { if (_root.stars == "12") { _root.play(); } }Frame 53play();Frame 54stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 0); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 0); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 54onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 54onClipEvent (enterFrame) { if (_root.stars == "15") { _root.play(); } }Frame 55play();Frame 56stop(); var m = _root.attachMovie("ball", "ball", 1, {_x:125, _y:15}); var t = _root.createEmptyMovieClip("terrain", 0); var r = _root.attachMovie("button", "reset_button", 106, {_x:20, _y:0}); var g = _root.attachMovie("button", "go_button", 105, {_x:0, _y:0}); var c = _root.attachMovie("button", "clear_button", 107, {_x:40, _y:0}); _root.custom.play(); var precision = 1; var radius = (m._height / 2); var sum_x = 0; var sum_y = 0; var collisions = 0; var normal_x = 0; var normal_y = 0; var vector_length = 0; var go = false; var im_drawing = false; var friction = 1; var vector_length = (m._height / 0); var speed = {x:0, y:1, g:0.15}; t.lineStyle(10, 16711680, 0); r.gotoAndStop(2); c.gotoAndStop(3); _root.onMouseDown = function () { if (!im_drawing) { t.moveTo(_xmouse, _ymouse); im_drawing = true; t.onEnterFrame = function () { linesDrawn = t.lineTo(_xmouse, _ymouse); }; } }; _root.onMouseUp = function () { im_drawing = false; t.onEnterFrame = function () { }; }; g.onRelease = function () { go = true; }; r.onRelease = function () { go = false; m._x = 125; m._y = 15; prevFrame(); }; c.onRelease = function () { t.clear(); t.lineStyle(10, 16711680, 0); }; _root.onEnterFrame = function () { sum_x = 0; sum_y = 0; collisions = 0; if (go) { var _local2 = 1; while (_local2 < 360) { var _local12 = (_local2 * precision) * (Math.PI/180); var _local6 = m._x + (radius * Math.sin(_local12)); var _local5 = m._y - (radius * Math.cos(_local12)); if (t.hitTest(_local6, _local5, true)) { collisions++; sum_x = sum_x + _local6; sum_y = sum_y + _local5; } _local2 = _local2 + precision; } if (collisions > 0) { var _local11 = Math.sqrt(Math.pow(speed.x, 2) + Math.pow(speed.y, 2)); var _local6 = -((sum_x / collisions) - m._x); var _local5 = -((sum_y / collisions) - m._y); var _local16 = sum_x / collisions; var _local15 = sum_y / collisions; var _local9 = -_local5; var _local8 = _local6; var _local12 = Math.atan(_local8 / _local9) / (Math.PI/180); m._rotation = _local12; var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5)); _root.subtract_x = _local6 / _local7; _root.subtract_y = _local5 / _local7; var _local4 = _local9 / _local7; var _local3 = _local8 / _local7; f.lineStyle(1, 65280); f.moveTo(0, 0); f.lineTo(_local6 * 20, _local5 * 20); f.moveTo(0, 0); f.lineTo(_local9 * 20, _local8 * 20); var _local10 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); _local4 = _local4 / _local10; _local3 = _local3 / _local10; _local4 = _local4 * _local11; _local3 = _local3 * _local11; var _local14 = _local4; var _local13 = _local3; speed.x = _local14; speed.y = _local13; m._x = m._x + subtract_x; m._y = m._y + subtract_y; } else { old_x = m._x; old_y = m._y; } speed.y = speed.y + speed.g; speed.x = speed.x * friction; m._x = m._x + speed.x; m._y = m._y + speed.y; } if (!go) { speed.x = 0; speed.y = 0; } }; stars = 0;Instance of Symbol 346 MovieClip "bg" in Frame 56onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Instance of Symbol 340 MovieClip in Frame 56onClipEvent (enterFrame) { if (_root.stars == "36") { _root.play(); } }Frame 57stop();Instance of Symbol 346 MovieClip "bg" in Frame 58onClipEvent (enterFrame) { if (_root.mainguy._y > _y) { _y = (_y + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._y < _y) { _y = (_y - 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x > _x) { _x = (_x + 10); } } onClipEvent (enterFrame) { if (_root.mainguy._x < _x) { _x = (_x - 10); } }Frame 99gotoAndPlay (2);Frame 100gotoAndPlay (4);Symbol 7 MovieClip [button] Frame 1stop();Symbol 71 MovieClip [ball] Frame 5gotoAndPlay (1);Symbol 71 MovieClip [ball] Frame 10gotoAndPlay (6);Symbol 71 MovieClip [ball] Frame 15gotoAndPlay (11);Symbol 71 MovieClip [ball] Frame 20gotoAndPlay (16);Symbol 71 MovieClip [ball] Frame 25gotoAndPlay (21);Symbol 71 MovieClip [ball] Frame 30gotoAndPlay (26);Symbol 71 MovieClip [ball] Frame 35gotoAndPlay (31);Symbol 71 MovieClip [ball] Frame 40gotoAndPlay (36);Symbol 71 MovieClip [ball] Frame 45gotoAndPlay (41);Symbol 71 MovieClip [ball] Frame 50gotoAndPlay (46);Symbol 71 MovieClip [ball] Frame 55gotoAndPlay (51);Symbol 71 MovieClip [ball] Frame 60gotoAndPlay (56);Symbol 71 MovieClip [ball] Frame 65gotoAndPlay (61);Symbol 71 MovieClip [ball] Frame 70gotoAndPlay (66);Symbol 71 MovieClip [ball] Frame 75gotoAndPlay (71);Symbol 71 MovieClip [ball] Frame 80gotoAndPlay (76);Symbol 71 MovieClip [ball] Frame 85gotoAndPlay (81);Symbol 78 MovieClip Frame 5_root.ball.gotoAndPlay(1); gotoAndPlay (1);Symbol 78 MovieClip Frame 10_root.ball.gotoAndPlay(6); gotoAndPlay (6);Symbol 78 MovieClip Frame 15_root.ball.gotoAndPlay(11); gotoAndPlay (11);Symbol 78 MovieClip Frame 20_root.ball.gotoAndPlay(16); gotoAndPlay (16);Symbol 78 MovieClip Frame 25_root.ball.gotoAndPlay(21); gotoAndPlay (21);Symbol 78 MovieClip Frame 30_root.ball.gotoAndPlay(26); gotoAndPlay (26);Symbol 78 MovieClip Frame 35_root.ball.gotoAndPlay(31); gotoAndPlay (31);Symbol 78 MovieClip Frame 40_root.ball.gotoAndPlay(36); gotoAndPlay (36);Symbol 78 MovieClip Frame 45_root.ball.gotoAndPlay(41); gotoAndPlay (41);Symbol 78 MovieClip Frame 50_root.ball.gotoAndPlay(46); gotoAndPlay (46);Symbol 78 MovieClip Frame 55_root.ball.gotoAndPlay(51); gotoAndPlay (51);Symbol 78 MovieClip Frame 60_root.ball.gotoAndPlay(56); gotoAndPlay (56);Symbol 78 MovieClip Frame 65_root.ball.gotoAndPlay(61); gotoAndPlay (61);Symbol 78 MovieClip Frame 70_root.ball.gotoAndPlay(66); gotoAndPlay (66);Symbol 78 MovieClip Frame 75_root.ball.gotoAndPlay(71); gotoAndPlay (71);Symbol 78 MovieClip Frame 80_root.ball.gotoAndPlay(76); gotoAndPlay (76);Symbol 78 MovieClip Frame 85_root.ball.gotoAndPlay(81); gotoAndPlay (81);Symbol 452 MovieClip [__Packages.MochiAd] Frame 0class MochiAd { function MochiAd () { } static function getVersion() { return("2.1"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:4653489, background:13369344, outline:16711935, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local27); 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_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 = function (width, height) { }; 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) { _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(); }}; 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_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 = function (width, height) { }; 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) { _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++; } } return(_local4); } }Symbol 99 Buttonon (release) { getURL ("http://www.gamegecko.com", "_blank"); }Symbol 101 MovieClip Frame 40stop();Symbol 115 Buttonon (release) { _root.play(); }Symbol 116 Buttonon (release) { _root.mainscene.play(); }Symbol 117 MovieClip Frame 1function onEnterFrame() { if (!loaded) { var _local3 = _root.getBytesLoaded() / _root.getBytesTotal(); if (_local3 >= 1) { play(); bar._x = initX; loaded = true; } else { bar._x = initX + ((_local3 - 1) * bar._width); } } var _local4 = getTimer() - time; timeAccum = timeAccum + _local4; while (timeAccum >= FRAME_TIME) { var _local2 = 0; while (_local2 < timeClips.length) { if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) { timeClips[_local2].nextFrame(); } else { timeClips[_local2].gotoAndStop(1); } _local2++; } if (loaded && (_currentframe < _totalframes)) { nextFrame(); } timeAccum = timeAccum - FRAME_TIME; } time = time + _local4; } stop(); _root.stop(); var initX = bar._x; var time = getTimer(); var FRAME_TIME = 33.3333333333333; var timeAccum = 0; var loaded = false; timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0]; var i = 0; while (i < timeClips.length) { timeClips[i].stop(); i++; }Symbol 117 MovieClip Frame 51Symbol 135 Buttonon (release) { gotoAndPlay (200); }Symbol 137 Buttonon (release) { gotoAndPlay (116); }Symbol 140 Buttonon (release) { gotoAndPlay (153); }Symbol 146 Buttonon (release) { gotoAndPlay (273); }Symbol 153 Buttonon (release) { getURL ("http://www.gamegecko.com", "_blank"); }Symbol 154 MovieClip Frame 26stop();Symbol 167 Buttonon (release) { getURL ("http://www.dansgames.tk", "_blank"); }Symbol 171 Buttonon (release) { gotoAndPlay (134); }Symbol 174 Buttonon (release) { gotoAndPlay (177); }Symbol 193 Buttonon (release) { _root.gotoAndPlay(3); }Symbol 194 Buttonon (release) { gotoAndPlay (236); }Symbol 195 Buttonon (release) { _root.gotoAndPlay(4); }Symbol 200 Buttonon (release) { gotoAndPlay (135); }Symbol 205 Buttonon (release) { nextFrame(); ball.gotoAndPlay(6); _root.types.gotoAndPlay(6); }Symbol 207 Buttonon (release) { prevFrame(); ball.gotoAndPlay(1); _root.types.gotoAndPlay(1); }Symbol 208 Buttonon (release) { nextFrame(); ball.gotoAndPlay(11); _root.types.gotoAndPlay(11); }Symbol 210 Buttonon (release) { prevFrame(); ball.gotoAndPlay(6); _root.types.gotoAndPlay(6); }Symbol 211 Buttonon (release) { nextFrame(); ball.gotoAndPlay(16); _root.types.gotoAndPlay(16); }Symbol 213 Buttonon (release) { prevFrame(); ball.gotoAndPlay(11); _root.types.gotoAndPlay(11); }Symbol 214 Buttonon (release) { nextFrame(); ball.gotoAndPlay(21); _root.types.gotoAndPlay(21); }Symbol 216 Buttonon (release) { prevFrame(); ball.gotoAndPlay(16); _root.types.gotoAndPlay(16); }Symbol 217 Buttonon (release) { nextFrame(); ball.gotoAndPlay(26); _root.types.gotoAndPlay(26); }Symbol 219 Buttonon (release) { prevFrame(); ball.gotoAndPlay(21); _root.types.gotoAndPlay(21); }Symbol 220 Buttonon (release) { nextFrame(); ball.gotoAndPlay(31); _root.types.gotoAndPlay(31); }Symbol 222 Buttonon (release) { prevFrame(); ball.gotoAndPlay(26); _root.types.gotoAndPlay(26); }Symbol 223 Buttonon (release) { nextFrame(); ball.gotoAndPlay(36); _root.types.gotoAndPlay(36); }Symbol 225 Buttonon (release) { prevFrame(); ball.gotoAndPlay(31); _root.types.gotoAndPlay(31); }Symbol 226 Buttonon (release) { nextFrame(); ball.gotoAndPlay(41); _root.types.gotoAndPlay(41); }Symbol 228 Buttonon (release) { prevFrame(); ball.gotoAndPlay(36); _root.types.gotoAndPlay(36); }Symbol 229 Buttonon (release) { nextFrame(); ball.gotoAndPlay(46); _root.types.gotoAndPlay(46); }Symbol 231 Buttonon (release) { prevFrame(); ball.gotoAndPlay(41); _root.types.gotoAndPlay(41); }Symbol 232 Buttonon (release) { nextFrame(); ball.gotoAndPlay(51); _root.types.gotoAndPlay(51); }Symbol 234 Buttonon (release) { prevFrame(); ball.gotoAndPlay(46); _root.types.gotoAndPlay(46); }Symbol 235 Buttonon (release) { nextFrame(); ball.gotoAndPlay(56); _root.types.gotoAndPlay(56); }Symbol 237 Buttonon (release) { prevFrame(); ball.gotoAndPlay(51); _root.types.gotoAndPlay(51); }Symbol 238 Buttonon (release) { nextFrame(); ball.gotoAndPlay(61); _root.types.gotoAndPlay(61); }Symbol 240 Buttonon (release) { prevFrame(); ball.gotoAndPlay(56); _root.types.gotoAndPlay(56); }Symbol 241 Buttonon (release) { nextFrame(); ball.gotoAndPlay(66); _root.types.gotoAndPlay(66); }Symbol 243 Buttonon (release) { prevFrame(); ball.gotoAndPlay(61); _root.types.gotoAndPlay(61); }Symbol 244 Buttonon (release) { nextFrame(); ball.gotoAndPlay(71); _root.types.gotoAndPlay(71); }Symbol 246 Buttonon (release) { prevFrame(); ball.gotoAndPlay(66); _root.types.gotoAndPlay(66); }Symbol 247 Buttonon (release) { nextFrame(); ball.gotoAndPlay(76); _root.types.gotoAndPlay(76); }Symbol 249 Buttonon (release) { prevFrame(); ball.gotoAndPlay(71); _root.types.gotoAndPlay(71); }Symbol 250 Buttonon (release) { nextFrame(); ball.gotoAndPlay(81); _root.types.gotoAndPlay(81); }Symbol 252 Buttonon (release) { prevFrame(); ball.gotoAndPlay(76); _root.types.gotoAndPlay(76); }Symbol 253 MovieClip Frame 1stop();Symbol 253 MovieClip Frame 2stop();Symbol 253 MovieClip Frame 3stop();Symbol 253 MovieClip Frame 4stop();Symbol 253 MovieClip Frame 5stop();Symbol 253 MovieClip Frame 6stop();Symbol 253 MovieClip Frame 7stop();Symbol 253 MovieClip Frame 8stop();Symbol 253 MovieClip Frame 9stop();Symbol 253 MovieClip Frame 10stop();Symbol 253 MovieClip Frame 11stop();Symbol 253 MovieClip Frame 12stop();Symbol 253 MovieClip Frame 13stop();Symbol 253 MovieClip Frame 14stop();Symbol 253 MovieClip Frame 15stop();Symbol 253 MovieClip Frame 16stop();Symbol 253 MovieClip Frame 17stop();Symbol 254 MovieClip Frame 1stop();Symbol 254 MovieClip Frame 115stop();Symbol 254 MovieClip Frame 134stop();Symbol 254 MovieClip Frame 152gotoAndPlay (115);Symbol 254 MovieClip Frame 176stop();Symbol 254 MovieClip Frame 199gotoAndPlay (115);Symbol 254 MovieClip Frame 236stop();Symbol 254 MovieClip Frame 272gotoAndPlay (115);Symbol 254 MovieClip Frame 275stop();Symbol 261 Buttonon (release) { gotoAndPlay (2); }Symbol 265 Buttonon (release) { gotoAndPlay (3); }Symbol 268 Buttonon (release) { gotoAndPlay (1); }Symbol 270 Buttonon (release) { gotoAndPlay (1); }Symbol 271 MovieClip Frame 1stop(); _quality = "MEDIUM";Symbol 271 MovieClip Frame 2stop(); _quality = "HIGH";Symbol 271 MovieClip Frame 3stop(); _quality = "LOW";Symbol 277 Buttonon (release) { gotoAndPlay (6); }Symbol 282 Buttonon (release) { _root.stopAllSounds; gotoAndPlay (3); }Instance of Symbol 284 MovieClip in Symbol 287 MovieClip Frame 1onClipEvent (enterFrame) { _root.stopAllSounds(); }Symbol 287 MovieClip Frame 8952gotoAndPlay (1);Symbol 292 Buttonon (release) { gotoAndPlay (4); }Symbol 294 MovieClip Frame 918_root.music.gotoAndPlay(1);Symbol 295 Buttonon (release) { gotoAndPlay (1); }Symbol 296 Buttonon (release) { gotoAndPlay (2); }Symbol 299 MovieClip Frame 1stop();Symbol 299 MovieClip Frame 2stop();Symbol 299 MovieClip Frame 3stop(); _root.stopAllSounds();Instance of Symbol 298 MovieClip in Symbol 299 MovieClip Frame 3onClipEvent (enterFrame) { stopAllSounds(); }Symbol 299 MovieClip Frame 5gotoAndPlay (1);Symbol 299 MovieClip Frame 7gotoAndPlay (2);Symbol 305 MovieClip Frame 5001stop();Symbol 327 MovieClip Frame 1stop();Symbol 327 MovieClip Frame 4_root.bgz.stars = _root.bgz.stars + 1;Symbol 327 MovieClip Frame 26stop();Symbol 329 Buttonon (keyPress "c") { t.clear(); t.lineStyle(10, 0, 50); } on (keyPress "z") { gotoAndPlay (2); }Symbol 331 MovieClip Frame 1function camControl() { parentColor.setTransform(camColor.getTransform()); var _local4 = sX / this._width; var _local3 = sY / this._height; _parent._x = cX - (this._x * _local4); _parent._y = cY - (this._y * _local3); _parent._xscale = 100 * _local4; _parent._yscale = 100 * _local3; } function resetStage() { var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(_local2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage;Symbol 333 Buttonon (keyPress "<Enter>") { _root.gotoAndPlay(2); }Symbol 338 Buttonon (release) { getURL ("http://www.gamegecko.com", "_blank"); }Symbol 358 MovieClip Frame 1stop();Symbol 358 MovieClip Frame 4_root.stars = _root.stars + 1;Symbol 358 MovieClip Frame 26stop();Instance of Symbol 358 MovieClip in Symbol 384 MovieClip Frame 1onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Symbol 398 MovieClip Frame 1onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Symbol 406 MovieClip Frame 1onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Symbol 410 MovieClip Frame 1onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Instance of Symbol 358 MovieClip in Symbol 426 MovieClip Frame 1onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { this.play(); } }Symbol 447 Buttonon (release) { _root.gotoAndPlay(58); }
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 Button | Uses:1 | Used by:7 |
Symbol 3 Graphic | Used by:7 | |
Symbol 4 Graphic | Used by:7 | |
Symbol 5 Graphic | Used by:7 | |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip [button] | Uses:2 3 4 5 6 | |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:71 |
Symbol 10 Graphic | Used by:11 | |
Symbol 11 MovieClip | Uses:10 | Used by:71 |
Symbol 12 Graphic | Used by:13 | |
Symbol 13 MovieClip | Uses:12 | Used by:71 |
Symbol 14 Graphic | Used by:71 | |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip | Uses:15 | Used by:71 |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:71 |
Symbol 19 Graphic | Used by:20 | |
Symbol 20 MovieClip | Uses:19 | Used by:40 |
Symbol 21 Graphic | Used by:25 | |
Symbol 22 Graphic | Used by:25 | |
Symbol 23 Graphic | Used by:24 | |
Symbol 24 MovieClip | Uses:23 | Used by:25 28 |
Symbol 25 MovieClip | Uses:21 22 24 | Used by:39 |
Symbol 26 Graphic | Used by:28 | |
Symbol 27 Graphic | Used by:28 | |
Symbol 28 MovieClip | Uses:26 27 24 | Used by:39 |
Symbol 29 Graphic | Used by:32 | |
Symbol 30 Graphic | Used by:32 35 | |
Symbol 31 Graphic | Used by:32 | |
Symbol 32 MovieClip | Uses:29 30 31 | Used by:36 |
Symbol 33 Graphic | Used by:35 | |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:33 30 34 | Used by:36 |
Symbol 36 MovieClip | Uses:32 35 | Used by:39 |
Symbol 37 Graphic | Used by:38 | |
Symbol 38 MovieClip | Uses:37 | Used by:39 |
Symbol 39 MovieClip | Uses:25 28 36 38 | Used by:40 |
Symbol 40 MovieClip | Uses:20 39 | Used by:71 |
Symbol 41 Graphic | Used by:42 | |
Symbol 42 MovieClip | Uses:41 | Used by:47 |
Symbol 43 Graphic | Used by:46 | |
Symbol 44 Graphic | Used by:45 | |
Symbol 45 MovieClip | Uses:44 | Used by:46 |
Symbol 46 MovieClip | Uses:43 45 | Used by:47 |
Symbol 47 MovieClip | Uses:42 46 | Used by:71 |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip | Uses:48 | Used by:71 |
Symbol 50 Graphic | Used by:53 | |
Symbol 51 Graphic | Used by:52 | |
Symbol 52 MovieClip | Uses:51 | Used by:53 |
Symbol 53 MovieClip | Uses:50 52 | Used by:71 |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip | Uses:54 | Used by:71 |
Symbol 56 Graphic | Used by:57 | |
Symbol 57 MovieClip | Uses:56 | Used by:71 |
Symbol 58 Graphic | Used by:59 | |
Symbol 59 MovieClip | Uses:58 | Used by:71 |
Symbol 60 Graphic | Used by:61 | |
Symbol 61 MovieClip | Uses:60 | Used by:71 |
Symbol 62 Graphic | Used by:71 | |
Symbol 63 Graphic | Used by:64 | |
Symbol 64 MovieClip | Uses:63 | Used by:71 |
Symbol 65 Graphic | Used by:66 | |
Symbol 66 MovieClip | Uses:65 | Used by:71 |
Symbol 67 Graphic | Used by:68 | |
Symbol 68 MovieClip | Uses:67 | Used by:71 |
Symbol 69 Graphic | Used by:70 | |
Symbol 70 MovieClip | Uses:69 | Used by:71 |
Symbol 71 MovieClip [ball] | Uses:9 11 13 14 16 18 40 47 49 53 55 57 59 61 62 64 66 68 70 | Used by:253 |
Symbol 72 Graphic | Used by:254 Timeline | |
Symbol 73 Font | Used by:74 159 160 161 177 201 206 209 212 215 218 221 224 227 230 233 236 239 242 245 248 251 304 348 349 361 364 367 370 373 376 379 382 387 390 393 396 400 404 408 412 415 418 421 424 428 431 434 437 440 443 446 | |
Symbol 74 Text | Uses:73 | Used by:Timeline |
Symbol 75 Font | Used by:76 77 | |
Symbol 76 Text | Uses:75 | Used by:78 |
Symbol 77 Text | Uses:75 | Used by:78 |
Symbol 78 MovieClip | Uses:76 77 | Used by:Timeline |
Symbol 452 MovieClip [__Packages.MochiAd] | ||
Symbol 79 Graphic | Used by:117 | |
Symbol 80 Graphic | Used by:81 | |
Symbol 81 MovieClip | Uses:80 | Used by:117 |
Symbol 82 Graphic | Used by:84 | |
Symbol 83 Graphic | Used by:84 | |
Symbol 84 MovieClip | Uses:82 83 | Used by:117 |
Symbol 85 Graphic | Used by:117 | |
Symbol 86 Graphic | Used by:117 | |
Symbol 87 Graphic | Used by:117 | |
Symbol 88 Graphic | Used by:95 101 | |
Symbol 89 Graphic | Used by:95 101 | |
Symbol 90 Graphic | Used by:95 101 | |
Symbol 91 Graphic | Used by:95 101 | |
Symbol 92 Graphic | Used by:95 101 | |
Symbol 93 Graphic | Used by:95 101 | |
Symbol 94 Graphic | Used by:95 101 | |
Symbol 95 MovieClip | Uses:88 89 90 91 92 93 94 | Used by:117 |
Symbol 96 Bitmap | Used by:97 | |
Symbol 97 Graphic | Uses:96 | Used by:98 99 |
Symbol 98 MovieClip | Uses:97 | Used by:99 |
Symbol 99 Button | Uses:97 98 | Used by:117 |
Symbol 100 Graphic | Used by:101 | |
Symbol 101 MovieClip | Uses:88 89 90 91 92 93 94 100 | Used by:117 |
Symbol 102 ShapeTweening | Used by:117 | |
Symbol 103 Graphic | Used by:117 | |
Symbol 104 ShapeTweening | Used by:117 | |
Symbol 105 ShapeTweening | Used by:117 | |
Symbol 106 Graphic | Used by:117 | |
Symbol 107 Graphic | Used by:115 116 | |
Symbol 108 Graphic | Used by:115 116 | |
Symbol 109 Graphic | Used by:115 116 | |
Symbol 110 Graphic | Used by:115 116 | |
Symbol 111 Graphic | Used by:115 116 | |
Symbol 112 Graphic | Used by:114 | |
Symbol 113 Graphic | Used by:114 | |
Symbol 114 MovieClip | Uses:112 113 | Used by:115 116 |
Symbol 115 Button | Uses:107 108 109 110 111 114 | Used by:117 |
Symbol 116 Button | Uses:107 108 109 110 111 114 | Used by:117 |
Symbol 117 MovieClip | Uses:79 81 84 85 86 87 95 99 101 102 103 104 105 106 115 116 | Used by:254 |
Symbol 118 ShapeTweening | Used by:254 | |
Symbol 119 Graphic | Used by:120 | |
Symbol 120 MovieClip | Uses:119 | Used by:254 |
Symbol 121 ShapeTweening | Used by:254 | |
Symbol 122 ShapeTweening | Used by:254 | |
Symbol 123 ShapeTweening | Used by:254 | |
Symbol 124 ShapeTweening | Used by:254 | |
Symbol 125 ShapeTweening | Used by:254 | |
Symbol 126 ShapeTweening | Used by:254 | |
Symbol 127 Graphic | Used by:254 Timeline | |
Symbol 128 Graphic | Used by:129 135 155 | |
Symbol 129 MovieClip | Uses:128 | Used by:135 155 254 |
Symbol 130 Graphic | Used by:131 137 156 | |
Symbol 131 MovieClip | Uses:130 | Used by:137 156 254 |
Symbol 132 Graphic | Used by:133 138 | |
Symbol 133 MovieClip | Uses:132 | Used by:138 254 |
Symbol 134 Graphic | Used by:135 155 | |
Symbol 135 Button | Uses:129 134 128 | Used by:254 |
Symbol 136 Graphic | Used by:137 156 | |
Symbol 137 Button | Uses:131 136 130 | Used by:254 |
Symbol 138 Button | Uses:133 132 | Used by:140 157 |
Symbol 139 Graphic | Used by:140 157 | |
Symbol 140 Button | Uses:138 139 | Used by:254 |
Symbol 141 Graphic | Used by:142 | |
Symbol 142 MovieClip | Uses:141 | Used by:146 197 |
Symbol 143 Graphic | Used by:144 146 197 | |
Symbol 144 MovieClip | Uses:143 | Used by:146 197 |
Symbol 145 Graphic | Used by:146 197 | |
Symbol 146 Button | Uses:142 144 143 145 | Used by:254 |
Symbol 147 Graphic | Used by:148 | |
Symbol 148 MovieClip | Uses:147 | Used by:153 |
Symbol 149 Graphic | Used by:153 | |
Symbol 150 Graphic | Used by:151 153 | |
Symbol 151 MovieClip | Uses:150 | Used by:153 |
Symbol 152 Graphic | Used by:153 | |
Symbol 153 Button | Uses:148 149 151 152 150 | Used by:154 |
Symbol 154 MovieClip | Uses:153 | Used by:254 |
Symbol 155 Button | Uses:129 134 128 | Used by:254 |
Symbol 156 Button | Uses:131 136 130 | Used by:254 |
Symbol 157 Button | Uses:138 139 | Used by:254 |
Symbol 158 Graphic | Used by:254 | |
Symbol 159 Text | Uses:73 | Used by:254 |
Symbol 160 Text | Uses:73 | Used by:254 |
Symbol 161 Text | Uses:73 | Used by:254 |
Symbol 162 Font | Used by:163 164 165 | |
Symbol 163 Text | Uses:162 | Used by:167 |
Symbol 164 Text | Uses:162 | Used by:167 |
Symbol 165 Text | Uses:162 | Used by:167 |
Symbol 166 Graphic | Used by:167 | |
Symbol 167 Button | Uses:163 164 165 166 | Used by:254 |
Symbol 168 Graphic | Used by:169 171 174 194 200 447 | |
Symbol 169 MovieClip | Uses:168 | Used by:171 174 194 200 447 |
Symbol 170 Graphic | Used by:171 174 194 200 447 | |
Symbol 171 Button | Uses:169 170 168 | Used by:254 |
Symbol 172 ShapeTweening | Used by:254 | |
Symbol 173 Graphic | Used by:254 | |
Symbol 174 Button | Uses:169 170 168 | Used by:254 |
Symbol 175 Font | Used by:177 424 434 446 | |
Symbol 176 Font | Used by:177 304 348 361 364 367 370 373 376 379 382 387 390 393 396 400 404 408 412 415 418 421 424 428 431 434 437 440 443 | |
Symbol 177 Text | Uses:73 175 176 | Used by:254 |
Symbol 178 ShapeTweening | Used by:254 | |
Symbol 179 Graphic | Used by:254 | |
Symbol 180 ShapeTweening | Used by:254 | |
Symbol 181 Graphic | Used by:254 | |
Symbol 182 Graphic | Used by:183 | |
Symbol 183 MovieClip | Uses:182 | Used by:193 254 |
Symbol 184 Graphic | Used by:185 | |
Symbol 185 MovieClip | Uses:184 | Used by:189 195 |
Symbol 186 Graphic | Used by:187 189 195 | |
Symbol 187 MovieClip | Uses:186 | Used by:189 195 |
Symbol 188 Graphic | Used by:189 195 | |
Symbol 189 Button | Uses:185 187 188 186 | Used by:254 |
Symbol 190 Graphic | Used by:191 193 | |
Symbol 191 MovieClip | Uses:190 | Used by:193 |
Symbol 192 Graphic | Used by:193 | |
Symbol 193 Button | Uses:183 191 192 190 | Used by:254 |
Symbol 194 Button | Uses:169 170 168 | Used by:254 |
Symbol 195 Button | Uses:185 187 188 186 | Used by:254 |
Symbol 196 ShapeTweening | Used by:254 | |
Symbol 197 Button | Uses:142 144 143 145 | Used by:254 |
Symbol 198 Graphic | Used by:254 | |
Symbol 199 Graphic | Used by:254 | |
Symbol 200 Button | Uses:169 170 168 | Used by:254 |
Symbol 201 Text | Uses:73 | Used by:253 |
Symbol 202 Graphic | Used by:205 207 208 210 211 213 214 216 217 219 220 222 223 225 226 228 229 231 232 234 235 237 238 240 241 243 244 246 247 249 250 252 | |
Symbol 203 Graphic | Used by:205 207 208 210 211 213 214 216 217 219 220 222 223 225 226 228 229 231 232 234 235 237 238 240 241 243 244 246 247 249 250 252 | |
Symbol 204 Graphic | Used by:205 207 208 210 211 213 214 216 217 219 220 222 223 225 226 228 229 231 232 234 235 237 238 240 241 243 244 246 247 249 250 252 | |
Symbol 205 Button | Uses:202 203 204 | Used by:253 |
Symbol 206 Text | Uses:73 | Used by:253 |
Symbol 207 Button | Uses:202 203 204 | Used by:253 |
Symbol 208 Button | Uses:202 203 204 | Used by:253 |
Symbol 209 Text | Uses:73 | Used by:253 |
Symbol 210 Button | Uses:202 203 204 | Used by:253 |
Symbol 211 Button | Uses:202 203 204 | Used by:253 |
Symbol 212 Text | Uses:73 | Used by:253 |
Symbol 213 Button | Uses:202 203 204 | Used by:253 |
Symbol 214 Button | Uses:202 203 204 | Used by:253 |
Symbol 215 Text | Uses:73 | Used by:253 |
Symbol 216 Button | Uses:202 203 204 | Used by:253 |
Symbol 217 Button | Uses:202 203 204 | Used by:253 |
Symbol 218 Text | Uses:73 | Used by:253 |
Symbol 219 Button | Uses:202 203 204 | Used by:253 |
Symbol 220 Button | Uses:202 203 204 | Used by:253 |
Symbol 221 Text | Uses:73 | Used by:253 |
Symbol 222 Button | Uses:202 203 204 | Used by:253 |
Symbol 223 Button | Uses:202 203 204 | Used by:253 |
Symbol 224 Text | Uses:73 | Used by:253 |
Symbol 225 Button | Uses:202 203 204 | Used by:253 |
Symbol 226 Button | Uses:202 203 204 | Used by:253 |
Symbol 227 Text | Uses:73 | Used by:253 |
Symbol 228 Button | Uses:202 203 204 | Used by:253 |
Symbol 229 Button | Uses:202 203 204 | Used by:253 |
Symbol 230 Text | Uses:73 | Used by:253 |
Symbol 231 Button | Uses:202 203 204 | Used by:253 |
Symbol 232 Button | Uses:202 203 204 | Used by:253 |
Symbol 233 Text | Uses:73 | Used by:253 |
Symbol 234 Button | Uses:202 203 204 | Used by:253 |
Symbol 235 Button | Uses:202 203 204 | Used by:253 |
Symbol 236 Text | Uses:73 | Used by:253 |
Symbol 237 Button | Uses:202 203 204 | Used by:253 |
Symbol 238 Button | Uses:202 203 204 | Used by:253 |
Symbol 239 Text | Uses:73 | Used by:253 |
Symbol 240 Button | Uses:202 203 204 | Used by:253 |
Symbol 241 Button | Uses:202 203 204 | Used by:253 |
Symbol 242 Text | Uses:73 | Used by:253 |
Symbol 243 Button | Uses:202 203 204 | Used by:253 |
Symbol 244 Button | Uses:202 203 204 | Used by:253 |
Symbol 245 Text | Uses:73 | Used by:253 |
Symbol 246 Button | Uses:202 203 204 | Used by:253 |
Symbol 247 Button | Uses:202 203 204 | Used by:253 |
Symbol 248 Text | Uses:73 | Used by:253 |
Symbol 249 Button | Uses:202 203 204 | Used by:253 |
Symbol 250 Button | Uses:202 203 204 | Used by:253 |
Symbol 251 Text | Uses:73 | Used by:253 |
Symbol 252 Button | Uses:202 203 204 | Used by:253 |
Symbol 253 MovieClip | Uses:71 201 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | Used by:254 |
Symbol 254 MovieClip | Uses:72 117 118 120 121 122 123 124 125 126 127 129 131 133 135 137 140 146 154 155 156 157 158 159 160 161 167 171 172 173 174 177 178 179 180 181 183 189 193 194 195 196 197 198 199 200 253 | Used by:Timeline |
Symbol 255 Graphic | Used by:271 | |
Symbol 256 Graphic | Used by:261 265 270 | |
Symbol 257 Font | Used by:258 262 263 264 273 275 279 281 290 | |
Symbol 258 Text | Uses:257 | Used by:261 270 271 |
Symbol 259 Graphic | Used by:261 265 268 270 | |
Symbol 260 Graphic | Used by:261 265 268 270 | |
Symbol 261 Button | Uses:256 258 259 260 | Used by:271 |
Symbol 262 Text | Uses:257 | Used by:268 271 |
Symbol 263 Text | Uses:257 | Used by:271 |
Symbol 264 Text | Uses:257 | Used by:265 271 |
Symbol 265 Button | Uses:256 264 259 260 | Used by:271 |
Symbol 266 Graphic | Used by:271 | |
Symbol 267 Graphic | Used by:268 | |
Symbol 268 Button | Uses:267 262 259 260 | Used by:271 |
Symbol 269 Graphic | Used by:271 | |
Symbol 270 Button | Uses:256 258 259 260 | Used by:271 |
Symbol 271 MovieClip | Uses:255 261 262 263 265 266 258 268 269 264 270 | Used by:Timeline |
Symbol 272 Graphic | Used by:299 | |
Symbol 273 Text | Uses:257 | Used by:299 |
Symbol 274 Graphic | Used by:277 296 | |
Symbol 275 Text | Uses:257 | Used by:277 296 |
Symbol 276 Graphic | Used by:277 296 | |
Symbol 277 Button | Uses:274 275 276 | Used by:299 |
Symbol 278 Graphic | Used by:282 | |
Symbol 279 Text | Uses:257 | Used by:282 |
Symbol 280 Graphic | Used by:282 | |
Symbol 281 Text | Uses:257 | Used by:282 |
Symbol 282 Button | Uses:278 279 280 281 | Used by:299 |
Symbol 283 Graphic | Used by:284 | |
Symbol 284 MovieClip | Uses:283 | Used by:287 |
Symbol 285 Graphic | Used by:287 | |
Symbol 286 Graphic | Used by:287 | |
Symbol 287 MovieClip | Uses:284 285 286 SS1 | Used by:299 |
Symbol 288 Graphic | Used by:299 | |
Symbol 289 Graphic | Used by:292 295 | |
Symbol 290 Text | Uses:257 | Used by:292 295 |
Symbol 291 Graphic | Used by:292 295 | |
Symbol 292 Button | Uses:289 290 291 | Used by:299 |
Symbol 293 Graphic | Used by:294 | |
Symbol 294 MovieClip | Uses:293 | Used by:299 |
Symbol 295 Button | Uses:289 290 291 | Used by:299 |
Symbol 296 Button | Uses:274 275 276 | Used by:299 |
Symbol 297 Graphic | Used by:298 | |
Symbol 298 MovieClip | Uses:297 | Used by:299 |
Symbol 299 MovieClip | Uses:272 273 277 282 287 288 292 294 295 296 298 | Used by:Timeline |
Symbol 300 Graphic | Used by:321 | |
Symbol 301 Graphic | Used by:302 | |
Symbol 302 MovieClip | Uses:301 | Used by:321 |
Symbol 303 ShapeTweening | Used by:321 | |
Symbol 304 Text | Uses:73 176 | Used by:305 |
Symbol 305 MovieClip | Uses:304 | Used by:321 |
Symbol 306 ShapeTweening | Used by:321 | |
Symbol 307 Graphic | Used by:321 | |
Symbol 308 ShapeTweening | Used by:321 | |
Symbol 309 ShapeTweening | Used by:321 | |
Symbol 310 Graphic | Used by:321 | |
Symbol 311 ShapeTweening | Used by:321 | |
Symbol 312 Graphic | Used by:321 | |
Symbol 313 Graphic | Used by:321 | |
Symbol 314 ShapeTweening | Used by:321 | |
Symbol 315 ShapeTweening | Used by:321 | |
Symbol 316 Graphic | Used by:321 | |
Symbol 317 ShapeTweening | Used by:321 | |
Symbol 318 ShapeTweening | Used by:321 | |
Symbol 319 ShapeTweening | Used by:321 | |
Symbol 320 Graphic | Used by:321 | |
Symbol 321 MovieClip | Uses:300 302 303 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | Used by:Timeline |
Symbol 322 Graphic | Used by:327 | |
Symbol 323 Graphic | Used by:327 | |
Symbol 324 Graphic | Used by:327 | |
Symbol 325 ShapeTweening | Used by:327 | |
Symbol 326 Graphic | Used by:327 | |
Symbol 327 MovieClip | Uses:322 323 324 325 326 | Used by:Timeline |
Symbol 328 Graphic | Used by:329 | |
Symbol 329 Button | Uses:328 | Used by:Timeline |
Symbol 330 Graphic | Used by:331 | |
Symbol 331 MovieClip | Uses:330 | Used by:Timeline |
Symbol 332 Graphic | Used by:333 | |
Symbol 333 Button | Uses:332 | Used by:Timeline |
Symbol 334 MovieClip | Used by:Timeline | |
Symbol 335 Bitmap | Used by:336 | |
Symbol 336 Graphic | Uses:335 | Used by:337 338 |
Symbol 337 MovieClip | Uses:336 | Used by:338 |
Symbol 338 Button | Uses:337 336 | Used by:Timeline |
Symbol 339 Graphic | Used by:340 | |
Symbol 340 MovieClip | Uses:339 | Used by:Timeline |
Symbol 341 Graphic | Used by:342 | |
Symbol 342 MovieClip | Uses:341 | Used by:Timeline |
Symbol 343 Graphic | Used by:Timeline | |
Symbol 344 Graphic | Used by:346 | |
Symbol 345 Graphic | Used by:346 | |
Symbol 346 MovieClip | Uses:344 345 | Used by:Timeline |
Symbol 347 Graphic | Used by:Timeline | |
Symbol 348 Text | Uses:73 176 | Used by:Timeline |
Symbol 349 Text | Uses:73 | Used by:Timeline |
Symbol 350 Font | Used by:351 362 365 368 371 374 377 380 383 388 391 394 397 401 405 409 413 416 419 422 425 429 432 435 438 441 444 | |
Symbol 351 EditableText | Uses:350 | Used by:Timeline |
Symbol 352 Graphic | Used by:353 | |
Symbol 353 MovieClip | Uses:352 | Used by:358 |
Symbol 354 Graphic | Used by:358 | |
Symbol 355 Graphic | Used by:358 | |
Symbol 356 ShapeTweening | Used by:358 | |
Symbol 357 Graphic | Used by:358 | |
Symbol 358 MovieClip | Uses:353 354 355 356 357 | Used by:384 398 406 410 426 Timeline |
Symbol 359 Graphic | Used by:Timeline | |
Symbol 360 Graphic | Used by:Timeline | |
Symbol 361 Text | Uses:73 176 | Used by:Timeline |
Symbol 362 EditableText | Uses:350 | Used by:Timeline |
Symbol 363 Graphic | Used by:Timeline | |
Symbol 364 Text | Uses:73 176 | Used by:Timeline |
Symbol 365 EditableText | Uses:350 | Used by:Timeline |
Symbol 366 Graphic | Used by:Timeline | |
Symbol 367 Text | Uses:73 176 | Used by:Timeline |
Symbol 368 EditableText | Uses:350 | Used by:Timeline |
Symbol 369 Graphic | Used by:Timeline | |
Symbol 370 Text | Uses:73 176 | Used by:Timeline |
Symbol 371 EditableText | Uses:350 | Used by:Timeline |
Symbol 372 Graphic | Used by:Timeline | |
Symbol 373 Text | Uses:73 176 | Used by:Timeline |
Symbol 374 EditableText | Uses:350 | Used by:Timeline |
Symbol 375 Graphic | Used by:Timeline | |
Symbol 376 Text | Uses:73 176 | Used by:Timeline |
Symbol 377 EditableText | Uses:350 | Used by:Timeline |
Symbol 378 Graphic | Used by:Timeline | |
Symbol 379 Text | Uses:73 176 | Used by:Timeline |
Symbol 380 EditableText | Uses:350 | Used by:Timeline |
Symbol 381 Graphic | Used by:Timeline | |
Symbol 382 Text | Uses:73 176 | Used by:Timeline |
Symbol 383 EditableText | Uses:350 | Used by:Timeline |
Symbol 384 MovieClip | Uses:358 | Used by:Timeline |
Symbol 385 Graphic | Used by:Timeline | |
Symbol 386 Graphic | Used by:Timeline | |
Symbol 387 Text | Uses:73 176 | Used by:Timeline |
Symbol 388 EditableText | Uses:350 | Used by:Timeline |
Symbol 389 Graphic | Used by:Timeline | |
Symbol 390 Text | Uses:73 176 | Used by:Timeline |
Symbol 391 EditableText | Uses:350 | Used by:Timeline |
Symbol 392 Graphic | Used by:Timeline | |
Symbol 393 Text | Uses:73 176 | Used by:Timeline |
Symbol 394 EditableText | Uses:350 | Used by:Timeline |
Symbol 395 Graphic | Used by:Timeline | |
Symbol 396 Text | Uses:73 176 | Used by:Timeline |
Symbol 397 EditableText | Uses:350 | Used by:Timeline |
Symbol 398 MovieClip | Uses:358 | Used by:Timeline |
Symbol 399 Graphic | Used by:Timeline | |
Symbol 400 Text | Uses:73 176 | Used by:Timeline |
Symbol 401 EditableText | Uses:350 | Used by:Timeline |
Symbol 402 Graphic | Used by:Timeline | |
Symbol 403 Graphic | Used by:Timeline | |
Symbol 404 Text | Uses:73 176 | Used by:Timeline |
Symbol 405 EditableText | Uses:350 | Used by:Timeline |
Symbol 406 MovieClip | Uses:358 | Used by:Timeline |
Symbol 407 Graphic | Used by:Timeline | |
Symbol 408 Text | Uses:73 176 | Used by:Timeline |
Symbol 409 EditableText | Uses:350 | Used by:Timeline |
Symbol 410 MovieClip | Uses:358 | Used by:Timeline |
Symbol 411 Graphic | Used by:Timeline | |
Symbol 412 Text | Uses:73 176 | Used by:Timeline |
Symbol 413 EditableText | Uses:350 | Used by:Timeline |
Symbol 414 Graphic | Used by:Timeline | |
Symbol 415 Text | Uses:73 176 | Used by:Timeline |
Symbol 416 EditableText | Uses:350 | Used by:Timeline |
Symbol 417 Graphic | Used by:Timeline | |
Symbol 418 Text | Uses:73 176 | Used by:Timeline |
Symbol 419 EditableText | Uses:350 | Used by:Timeline |
Symbol 420 Graphic | Used by:Timeline | |
Symbol 421 Text | Uses:73 176 | Used by:Timeline |
Symbol 422 EditableText | Uses:350 | Used by:Timeline |
Symbol 423 Graphic | Used by:Timeline | |
Symbol 424 Text | Uses:73 175 176 | Used by:Timeline |
Symbol 425 EditableText | Uses:350 | Used by:Timeline |
Symbol 426 MovieClip | Uses:358 | Used by:Timeline |
Symbol 427 Graphic | Used by:Timeline | |
Symbol 428 Text | Uses:73 176 | Used by:Timeline |
Symbol 429 EditableText | Uses:350 | Used by:Timeline |
Symbol 430 Graphic | Used by:Timeline | |
Symbol 431 Text | Uses:73 176 | Used by:Timeline |
Symbol 432 EditableText | Uses:350 | Used by:Timeline |
Symbol 433 Graphic | Used by:Timeline | |
Symbol 434 Text | Uses:73 175 176 | Used by:Timeline |
Symbol 435 EditableText | Uses:350 | Used by:Timeline |
Symbol 436 Graphic | Used by:Timeline | |
Symbol 437 Text | Uses:73 176 | Used by:Timeline |
Symbol 438 EditableText | Uses:350 | Used by:Timeline |
Symbol 439 Graphic | Used by:Timeline | |
Symbol 440 Text | Uses:73 176 | Used by:Timeline |
Symbol 441 EditableText | Uses:350 | Used by:Timeline |
Symbol 442 Graphic | Used by:Timeline | |
Symbol 443 Text | Uses:73 176 | Used by:Timeline |
Symbol 444 EditableText | Uses:350 | Used by:Timeline |
Symbol 445 Graphic | Used by:Timeline | |
Symbol 446 Text | Uses:73 175 | Used by:Timeline |
Symbol 447 Button | Uses:169 170 168 | Used by:Timeline |
Symbol 448 ShapeTweening | Used by:Timeline | |
Symbol 449 ShapeTweening | Used by:Timeline | |
Symbol 450 ShapeTweening | Used by:Timeline | |
Symbol 451 Graphic | Used by:Timeline | |
Streaming Sound 1 | Used by:Symbol 287 MovieClip |
Instance Names
"types" | Frame 1 | Symbol 78 MovieClip |
"mainscene" | Frame 2 | Symbol 254 MovieClip |
"qquality" | Frame 2 | Symbol 271 MovieClip |
"bgz" | Frame 3 | Symbol 321 MovieClip |
"bgz" | Frame 3 | Symbol 321 MovieClip |
"aaaaa" | Frame 3 | Symbol 331 MovieClip |
"bg" | Frame 4 | Symbol 346 MovieClip |
"bg" | Frame 6 | Symbol 346 MovieClip |
"bg" | Frame 8 | Symbol 346 MovieClip |
"bg" | Frame 10 | Symbol 346 MovieClip |
"bg" | Frame 12 | Symbol 346 MovieClip |
"bg" | Frame 14 | Symbol 346 MovieClip |
"bg" | Frame 16 | Symbol 346 MovieClip |
"bg" | Frame 18 | Symbol 346 MovieClip |
"bg" | Frame 20 | Symbol 346 MovieClip |
"bg" | Frame 22 | Symbol 346 MovieClip |
"bg" | Frame 24 | Symbol 346 MovieClip |
"bg" | Frame 26 | Symbol 346 MovieClip |
"bg" | Frame 28 | Symbol 346 MovieClip |
"bg" | Frame 30 | Symbol 346 MovieClip |
"bg" | Frame 32 | Symbol 346 MovieClip |
"bg" | Frame 34 | Symbol 346 MovieClip |
"bg" | Frame 36 | Symbol 346 MovieClip |
"bg" | Frame 38 | Symbol 346 MovieClip |
"bg" | Frame 40 | Symbol 346 MovieClip |
"bg" | Frame 42 | Symbol 346 MovieClip |
"bg" | Frame 44 | Symbol 346 MovieClip |
"bg" | Frame 46 | Symbol 346 MovieClip |
"bg" | Frame 48 | Symbol 346 MovieClip |
"bg" | Frame 50 | Symbol 346 MovieClip |
"bg" | Frame 52 | Symbol 346 MovieClip |
"bg" | Frame 54 | Symbol 346 MovieClip |
"bg" | Frame 56 | Symbol 346 MovieClip |
"bg" | Frame 58 | Symbol 346 MovieClip |
"bar" | Symbol 117 MovieClip Frame 1 | Symbol 81 MovieClip |
"bargfx" | Symbol 117 MovieClip Frame 1 | Symbol 84 MovieClip |
"bargfx" | Symbol 117 MovieClip Frame 2 | Symbol 84 MovieClip |
"bargfx" | Symbol 117 MovieClip Frame 20 | Symbol 84 MovieClip |
"ball" | Symbol 253 MovieClip Frame 1 | Symbol 71 MovieClip [ball] |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 7 as "button" |
ExportAssets (56) | Timeline Frame 1 | Symbol 71 as "ball" |
ExportAssets (56) | Timeline Frame 1 | Symbol 452 as "__Packages.MochiAd" |
Labels
"LOAD" | Symbol 117 MovieClip Frame 1 |
"COMPLETE_STOP" | Symbol 117 MovieClip Frame 2 |
Dynamic Text Variables
stars | Symbol 351 EditableText | "0 " |
stars | Symbol 362 EditableText | "0 " |
stars | Symbol 365 EditableText | "0 " |
stars | Symbol 368 EditableText | "0 " |
stars | Symbol 371 EditableText | "0 " |
stars | Symbol 374 EditableText | "0 " |
stars | Symbol 377 EditableText | "0 " |
stars | Symbol 380 EditableText | "0 " |
stars | Symbol 383 EditableText | "0 " |
stars | Symbol 388 EditableText | "0 " |
stars | Symbol 391 EditableText | "0 " |
stars | Symbol 394 EditableText | "0 " |
stars | Symbol 397 EditableText | "0 " |
stars | Symbol 401 EditableText | "0 " |
stars | Symbol 405 EditableText | "0 " |
stars | Symbol 409 EditableText | "0 " |
stars | Symbol 413 EditableText | "0 " |
stars | Symbol 416 EditableText | "0 " |
stars | Symbol 419 EditableText | "0 " |
stars | Symbol 422 EditableText | "0 " |
stars | Symbol 425 EditableText | "0 " |
stars | Symbol 429 EditableText | "0 " |
stars | Symbol 432 EditableText | "0 " |
stars | Symbol 435 EditableText | "0 " |
stars | Symbol 438 EditableText | "0 " |
stars | Symbol 441 EditableText | "0 " |
stars | Symbol 444 EditableText | "0 " |
|