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

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

Ball Panic.swf

This is the info page for
Flash #75631

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


Text
Play

Play Game

Instructions

Credits

High Scores

Options

Menu

Lefty

Lefty

Righty

Righty

Sound:

on

on

off

off

Paus Game: P                                Keep the purple balls out of harm by
Right ball: mouse / arrow keys               avoiding the other balls.
Left ball: WASD / mouse

Graphic and Coding:

GrimNicker

Beta testing:

Tzeta
Oakground
DreamworX

Music:

ABRUPT, by PimpinJ

Ball Panic

Play More Games

Press space to start

Mouse here

W
ASD

UP
Left Right
Down

Back to Menu

Score: 0

Level: 0

Submit score

Game Over

Meny

Name:

Your Name

Play again

Game Paused

Sound:

off

on

Quit to menu

Return to game

ActionScript [AS1/AS2]

Frame 1
function findAnAngle(xthing, ything) { if (xthing < 0) { t = 180 + (Math.atan(ything / xthing) / term); } else if ((xthing > 0) && (ything >= 0)) { t = Math.atan(ything / xthing) / term; } else if ((xthing > 0) && (ything < 0)) { t = 360 + (Math.atan(ything / xthing) / term); } else if ((xthing == 0) && (ything == 0)) { t = 0; } else if ((xthing == 0) && (ything >= 0)) { t = 90; } else { t = 270; } return(t); } stop(); var beep = new Sound(this); beep.attachSound("button"); beep.setVolume(100); var term = (Math.PI/180); var balls = 15; var percent; onEnterFrame = function () { percent = int((getBytesLoaded() / getBytesTotal()) * 100); playbutton.procent = percent + "%"; var _local2 = new flash.filters.BlurFilter(100 - percent, 10 - (percent / 10), 3); playbutton.pbi.filters = [_local2]; if (percent == 100) { playbutton.gotoAndStop("playable"); playbutton.onRelease = function () { beep.start(0, 1); play(); }; } i = 0; while ((++i) <= balls) { j = i; while ((++j) <= balls) { h = Math.sqrt(Math.pow(_root["ball" + i]._x - _root["ball" + j]._x, 2) + Math.pow(_root["ball" + i]._y - _root["ball" + j]._y, 2)); if (h < ((_root["ball" + i]._width / 2) + (_root["ball" + j]._width / 2))) { dx = _root["ball" + i]._x - _root["ball" + j]._x; dy = _root["ball" + i]._y - _root["ball" + j]._y; phi = Math.atan(dy / dx); v1i = Math.sqrt((_root["ball" + i].vx * _root["ball" + i].vx) + (_root["ball" + i].vy * _root["ball" + i].vy)); v2i = Math.sqrt((_root["ball" + j].vx * _root["ball" + j].vx) + (_root["ball" + j].vy * _root["ball" + j].vy)); ang1 = findAnAngle(_root["ball" + i].vx, _root["ball" + i].vy) * term; ang2 = findAnAngle(_root["ball" + j].vx, _root["ball" + j].vy) * term; v1xr = v1i * Math.cos(ang1 - phi); v1yr = v1i * Math.sin(ang1 - phi); v2xr = v2i * Math.cos(ang2 - phi); v2yr = v2i * Math.sin(ang2 - phi); v1fxr = (((_root["ball" + i].m - _root["ball" + j].m) * v1xr) + ((_root["ball" + j].m + _root["ball" + j].m) * v2xr)) / (_root["ball" + i].m + _root["ball" + j].m); v2fxr = (((_root["ball" + i].m + _root["ball" + i].m) * v1xr) + ((_root["ball" + j].m - _root["ball" + i].m) * v2xr)) / (_root["ball" + i].m + _root["ball" + j].m); v1fyr = v1yr; v2fyr = v2yr; _root["ball" + i].vx = (Math.cos(phi) * v1fxr) + (Math.cos(phi + (Math.PI/2)) * v1fyr); _root["ball" + i].vy = (Math.sin(phi) * v1fxr) + (Math.sin(phi + (Math.PI/2)) * v1fyr); _root["ball" + j].vx = (Math.cos(phi) * v2fxr) + (Math.cos(phi + (Math.PI/2)) * v2fyr); _root["ball" + j].vy = (Math.sin(phi) * v2fxr) + (Math.sin(phi + (Math.PI/2)) * v2fyr); } } } };
Instance of Symbol 4 MovieClip "ball2" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 6 MovieClip "ball5" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 8 MovieClip "ball9" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 4 MovieClip "ball4" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 6 MovieClip "ball6" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 8 MovieClip "ball8" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 4 MovieClip "ball10" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 6 MovieClip "ball13" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 8 MovieClip "ball14" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 4 MovieClip "ball3" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 6 MovieClip "ball1" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 8 MovieClip "ball7" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 4 MovieClip "ball12" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 6 MovieClip "ball11" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 8 MovieClip "ball15" in Frame 1
onClipEvent (load) { vx = random(7) - 3; vy = random(7) - 3; m = random(3) + 1; } onClipEvent (enterFrame) { _y = (_y + vy); _x = (_x + vx); if (_x < 15) { vx = vx * -1; _x = 15; } else if (_x > (Stage.width - 15)) { vx = vx * -1; _x = (Stage.width - 15); } if (_y < 15) { vy = vy * -1; _y = 15; } else if (_y > (Stage.height - 15)) { vy = vy * -1; _y = (Stage.height - 15); } }
Instance of Symbol 19 MovieClip in Frame 1
on (release) { getURL ("http://www.maxgames.com", "_blank"); }
Frame 243
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("4caf8016", this, 10301, true); function findAnAngle(xthing, ything) { if (xthing < 0) { t = 180 + (Math.atan(ything / xthing) / term); } else if ((xthing > 0) && (ything >= 0)) { t = Math.atan(ything / xthing) / term; } else if ((xthing > 0) && (ything < 0)) { t = 360 + (Math.atan(ything / xthing) / term); } else if ((xthing == 0) && (ything == 0)) { t = 0; } else if ((xthing == 0) && (ything >= 0)) { t = 90; } else { t = 270; } return(t); } var sound = new Sound(this); sound.attachSound("collision"); sound.setVolume(0); var wallHit = new Sound(this); wallHit.attachSound("wallHit"); wallHit.setVolume(0); var beep = new Sound(this); beep.attachSound("button"); beep.setVolume(100); var music = new Sound(this); music.attachSound("song"); music.setVolume(100); var gamePlay = true; var pausGame = false; var where; var mon = true; var son = true; var keyUp1 = 87; var keyUp2 = 38; var keyDown1 = 83; var keyDown2 = 40; var keyLeft1 = 65; var keyLeft2 = 37; var keyRight1 = 68; var keyRight2 = 39; var style = 1; over = function () { meny.playGame.onRollOver = function () { meny.playGame.play(); }; meny.playGame.onRelease = function () { beep.start(0, 1); meny.menuinner.play(); outrofunc(); where = "game"; }; meny.credits.onRollOver = function () { meny.credits.play(); }; meny.credits.onRelease = function () { beep.start(0, 1); meny.menuinner.play(); outrofunc(); where = "credits"; }; meny.instruct.onRollOver = function () { meny.instruct.play(); }; meny.instruct.onRelease = function () { beep.start(0, 1); meny.menuinner.play(); outrofunc(); where = "instructions"; }; meny.options.onRollOver = function () { meny.options.play(); }; meny.options.onRelease = function () { beep.start(0, 1); meny.menuinner.play(); outrofunc(); where = "options"; }; meny.highScore.onRollOver = function () { meny.highScore.play(); }; meny.highScore.onRelease = function () { getURL ("http://rankz.armorbot.com/BallPanic/", "_blank"); }; }; outrofunc = function () { meny.playGame.gotoAndPlay("outro"); meny.options.gotoAndPlay("outro"); meny.instruct.gotoAndPlay("outro"); meny.credits.gotoAndPlay("outro"); meny.highScore.gotoAndPlay("outro"); }; createBall = function (place, types) { balls++; if (types == 1) { attachMovie("ballBlue", "ball" + balls, getNextHighestDepth(), {m:1, vy:random(5) - 2, vx:random(5) - 2, init:false, _y:random(260) + 145, _x:random((290 + (340 * (place - 1))) - (20 + (340 * (place - 1)))) + (20 + (340 * (place - 1))), starter:false, nr:balls}); } else if (types == 2) { attachMovie("ballGreen", "ball" + balls, getNextHighestDepth(), {m:2, vy:random(5) - 2, vx:random(5) - 2, init:false, _y:random(260) + 145, _x:random((290 + (340 * (place - 1))) - (20 + (340 * (place - 1)))) + (20 + (340 * (place - 1))), starter:false, nr:balls}); } else if (types == 3) { attachMovie("ballRed", "ball" + balls, getNextHighestDepth(), {m:3, vy:random(5) - 2, vx:random(5) - 2, init:false, _y:random(260) + 145, _x:random((290 + (340 * (place - 1))) - (20 + (340 * (place - 1)))) + (20 + (340 * (place - 1))), starter:false, nr:balls}); } _root["ball" + balls].onEnterFrame = function () { if (!this.init) { this.init = true; i = 0; while ((++i) <= balls) { if (i == this.nr) { if (this.nr == balls) { break; } } if ((this._x == _root["ball" + i]._x) && (this._y == _root["ball" + i]._y)) { this.removeMovieClip(); } } if ((this.vx == 0) && (this.vy == 0)) { this.vx = 1; this.vy = 1; } } if (!pausGame) { if (this._currentframe == 2) { if (!this.starter) { this.test = false; this.i = 0; while ((++this.i) <= balls) { if (this.i == this.nr) { this.i++; } if ((this.hitTest(_root["ball" + this.i]) && (this.i != 1)) && (this.i != 2)) { this.test = true; } } if (!this.test) { this.starter = true; } } } if (this.starter) { this._x = this._x + this.vx; this._y = this._y + this.vy; if (this._x < (_root["left" + place] + 15)) { this.vx = this.vx * -1; this._x = _root["left" + place] + 15; wallHit.start(0, 1); } else if (this._x > (_root["right" + place] - 15)) { this.vx = this.vx * -1; this._x = _root["right" + place] - 15; wallHit.start(0, 1); } if (this._y < (_root["top" + place] + 15)) { this.vy = this.vy * -1; this._y = _root["top" + place] + 15; wallHit.start(0, 1); } else if (this._y > (_root["bottom" + place] - 15)) { this.vy = this.vy * -1; this._y = _root["bottom" + place] - 15; wallHit.start(0, 1); } } } }; };
Frame 244
stop(); onEnterFrame = function () { };
Instance of Symbol 125 MovieClip in Frame 244
on (release) { getURL ("http://www.maxgames.com", "_blank"); }
Frame 245
var pressonce = false; var backwards = true; ready = function () { ig.ig2.startText._visible = false; changes = function () { ig.ig2.mouseLocation._y = -110; ig.ig2.mouseLocation._x = 10 - ((style - 1) * 320); ig.ig2.keyLocation._y = -110; ig.ig2.keyLocation._x = -310 + ((style - 1) * 320); if (style == 2) { ig.ig2.keyLocation.keys.gotoAndStop("udrl"); ig.ig2.lefty.gotoAndStop("chose"); ig.ig2.righty.gotoAndStop("dischose"); } else { ig.ig2.keyLocation.keys.gotoAndStop("wasd"); ig.ig2.lefty.gotoAndStop("dischose"); ig.ig2.righty.gotoAndStop("chose"); } }; ig.ig2.lefty.onRelease = function () { beep.start(0, 1); style = 2; changes(); }; ig.ig2.righty.onRelease = function () { beep.start(0, 1); style = 1; changes(); }; ig.ig2.back.onRelease = function () { ig.play(); beep.start(0, 1); backwards = true; }; onEnterFrame = function () { if ((((_xmouse > (30 + ((2 - style) * 320))) && (_xmouse < (300 + ((2 - style) * 320)))) && (_ymouse > 150)) && (_ymouse < 390)) { ig.ig2.startText._visible = true; if (Key.isDown(32) && (!pressonce)) { ig.play(); beep.start(0, 1); pressonce = true; backwards = false; } } else { ig.ig2.startText._visible = false; } }; changes(); };
Frame 246
var term = (Math.PI/180); var balls = 2; var left1 = 0; var right1 = 310; var top1 = 200; var bottom1 = Stage.height; var left2 = 340; var right2 = Stage.width; var top2 = 200; var bottom2 = Stage.height; var count = 200; var countNumber = 250; var scoreMultiplier = 2; var score = 0; var level = 0; var once1 = false; var once2 = false; var pressTest = false; var draging = 10; onEnterFrame = function () { if (pausGame) { pausMeny._visible = true; } else { pausMeny._visible = false; } if (Key.isDown(16)) { if ((!pausGame) && (!pressTest)) { pausGame = true; pressTest = true; Mouse.show(); } else if (!pressTest) { pausGame = false; pressTest = true; Mouse.hide(); } } if (!Key.isDown(16)) { pressTest = false; } if (!pausGame) { if ((!ball1.hitted) && (!ball2.hitted)) { scoreMultiplier = 2; } else if ((!ball1.hitted) || (!ball2.hitted)) { scoreMultiplier = 1; countNumber = 125; } else if (ball1.hitted && (ball2.hitted)) { scoreMultiplier = 0; } if (scoreMultiplier > 0) { score = score + (Math.pow(scoreMultiplier, 2) * level); meny.score = "Score: " + score; level = int((balls - 2) / 3) + 1; meny.level = "Level: " + level; } else { meny.gotoAndStop("gameOver"); meny.finalScore = "Final Score: " + score; meny.meny2.onRelease = function () { i = 0; while ((++i) <= balls) { _root["ball" + i].removeMovieClip(); } gotoAndStop ("meny"); }; meny.submit.onRelease = function () { trace("LOL"); }; } count++; if ((count % countNumber) == 0) { if (scoreMultiplier == 2) { createBall(random(2) + 1, random(3) + 1); } else if ((scoreMultiplier == 1) && (_root["ball" + (3 - style)].hitted)) { createBall(random(1) + (3 - style), random(3) + 1); } else if (scoreMultiplier == 1) { createBall(random(1) + style, random(3) + 1); } count = 0; } i = 0; while ((++i) <= balls) { if (!_root["ball" + i].starter) { i++; } j = i; while ((++j) <= balls) { if (!_root["ball" + j].starter) { j++; } h = Math.sqrt(Math.pow(_root["ball" + i]._x - _root["ball" + j]._x, 2) + Math.pow(_root["ball" + i]._y - _root["ball" + j]._y, 2)); if (h < ((_root["ball" + i]._width / 2) + (_root["ball" + j]._width / 2))) { dx = _root["ball" + i]._x - _root["ball" + j]._x; dy = _root["ball" + i]._y - _root["ball" + j]._y; phi = Math.atan(dy / dx); v1i = Math.sqrt((_root["ball" + i].vx * _root["ball" + i].vx) + (_root["ball" + i].vy * _root["ball" + i].vy)); v2i = Math.sqrt((_root["ball" + j].vx * _root["ball" + j].vx) + (_root["ball" + j].vy * _root["ball" + j].vy)); ang1 = findAnAngle(_root["ball" + i].vx, _root["ball" + i].vy) * term; ang2 = findAnAngle(_root["ball" + j].vx, _root["ball" + j].vy) * term; v1xr = v1i * Math.cos(ang1 - phi); v1yr = v1i * Math.sin(ang1 - phi); v2xr = v2i * Math.cos(ang2 - phi); v2yr = v2i * Math.sin(ang2 - phi); v1fxr = (((_root["ball" + i].m - _root["ball" + j].m) * v1xr) + ((_root["ball" + j].m + _root["ball" + j].m) * v2xr)) / (_root["ball" + i].m + _root["ball" + j].m); v2fxr = (((_root["ball" + i].m + _root["ball" + i].m) * v1xr) + ((_root["ball" + j].m - _root["ball" + i].m) * v2xr)) / (_root["ball" + i].m + _root["ball" + j].m); v1fyr = v1yr; v2fyr = v2yr; _root["ball" + i].vx = (Math.cos(phi) * v1fxr) + (Math.cos(phi + (Math.PI/2)) * v1fyr); _root["ball" + i].vy = (Math.sin(phi) * v1fxr) + (Math.sin(phi + (Math.PI/2)) * v1fyr); _root["ball" + j].vx = (Math.cos(phi) * v2fxr) + (Math.cos(phi + (Math.PI/2)) * v2fyr); _root["ball" + j].vy = (Math.sin(phi) * v2fxr) + (Math.sin(phi + (Math.PI/2)) * v2fyr); if ((i == (3 - style)) || (j == (3 - style))) { _root["ball" + (3 - style)].hitted = true; } sound.start(0, 1); } } } } }; _root["ball" + style].onEnterFrame = function () { if (!once1) { this.m = 5; this.vy = 0; this.vx = 0; this.starter = true; this.hitted = false; this.test = true; once1 = true; } if (!pausGame) { if ((this.vx == 0) || (this.vy == 0)) { this.hm = Math.sqrt(Math.pow(_xmouse - this._x, 2) + Math.pow(_ymouse - this._y, 2)); this._y = this._y + ((((_ymouse - this._y) / this.hm) * this.hm) / draging); this._x = this._x + ((((_xmouse - this._x) / this.hm) * this.hm) / draging); if ((((_xmouse > _root["left" + (3 - style)]) && (_xmouse < _root["right" + (3 - style)])) && (_ymouse > _root["top" + (3 - style)])) && (_ymouse < _root["bottom" + (3 - style)])) { Mouse.hide(); } else { Mouse.show(); } } else { this._x = this._x + this.vx; this._y = this._y + this.vy; if (this.test) { this.hitted = true; this.starter = false; Mouse.show(); } } if (this._x < (_root["left" + (3 - style)] + 15)) { this.vx = this.vx * -1; this._x = _root["left" + (3 - style)] + 15; } else if (this._x > (_root["right" + (3 - style)] - 15)) { this.vx = this.vx * -1; this._x = _root["right" + (3 - style)] - 15; } if (this._y < (_root["top" + (3 - style)] + 15)) { this.vy = this.vy * -1; this._y = _root["top" + (3 - style)] + 15; } else if (this._y > (_root["bottom" + (3 - style)] - 15)) { this.vy = this.vy * -1; this._y = _root["bottom" + (3 - style)] - 15; } if (this.test && (this.hitted)) { this.test = false; this.i = 2; while ((++this.i) <= balls) { if (this.i == this.nr) { this.i++; } if (this.hitTest(_root["ball" + this.i])) { this.test = true; } } if (!this.test) { this.starter = true; } } } }; _root["ball" + (3 - style)].onEnterFrame = function () { if (!once2) { this.m = 1; this.vy = 0; this.vx = 0; this.acc = 0.3; this.hitted = false; this.starter = true; this.test = true; once2 = true; } if (!pausGame) { if (!this.hitted) { this.vx = this.vx - (Key.isDown(_root["keyLeft" + style]) * this.acc); this.vx = this.vx + (Key.isDown(_root["keyRight" + style]) * this.acc); this.vy = this.vy + (Key.isDown(_root["keyDown" + style]) * this.acc); this.vy = this.vy - (Key.isDown(_root["keyUp" + style]) * this.acc); if (this.vx < -7) { this.vx = -7; } if (this.vx > 7) { this.vx = 7; } if (this.vy < -7) { this.vy = -7; } if (this.vy > 7) { this.vy = 7; } } this._y = this._y + this.vy; this._x = this._x + this.vx; if (this._x < (_root["left" + style] + 15)) { this.vx = this.vx * -1; this._x = _root["left" + style] + 15; wallHit.start(0, 1); } else if (this._x > (_root["right" + style] - 15)) { this.vx = this.vx * -1; this._x = _root["right" + style] - 15; wallHit.start(0, 1); } if (this._y < (_root["top" + style] + 15)) { this.vy = this.vy * -1; this._y = _root["top" + style] + 15; wallHit.start(0, 1); } else if (this._y > (_root["bottom" + style] - 15)) { this.vy = this.vy * -1; this._y = _root["bottom" + style] - 15; wallHit.start(0, 1); } if (this.test && (this.hitted)) { this.starter = false; this.test = false; this.i = 2; while ((++this.i) <= balls) { if (this.i == this.nr) { this.i++; } if (this.hitTest(_root["ball" + this.i])) { this.test = true; } } if (!this.test) { this.starter = true; } } } };
Frame 247
stop(); var term = (Math.PI/180); var balls = 2; var left1 = 0; var right1 = 310; var top1 = 125; var bottom1 = 425; var left2 = 340; var right2 = Stage.width; var top2 = 125; var bottom2 = 425; var count = 200; var countNumber = 250; var scoreMultiplier = 2; var score = 0; var level = 0; var once1 = false; var once2 = false; var pressTest = false; var draging = 10; music.start(0, 2); onEnterFrame = function () { if (pausGame) { pausMeny._visible = true; } else { pausMeny._visible = false; } if (Key.isDown(80) && (gamePlay)) { if ((!pausGame) && (!pressTest)) { pausGame = true; pressTest = true; Mouse.show(); } else if (!pressTest) { pausGame = false; pressTest = true; } } if (!Key.isDown(80)) { pressTest = false; } if (!pausGame) { if ((!ball1.hitted) && (!ball2.hitted)) { scoreMultiplier = 2; } else if ((!ball1.hitted) || (!ball2.hitted)) { scoreMultiplier = 1; countNumber = 125; } else if (ball1.hitted && (ball2.hitted)) { scoreMultiplier = 0; } if (scoreMultiplier > 0) { score = score + (Math.pow(scoreMultiplier, 2) * level); meny.score = "Score: " + score; level = int((balls - 2) / 3) + 1; meny.level = "Level: " + level; } else { gamePlay = false; meny.gotoAndStop("gameOver"); meny.finalScore = "Final Score: " + score; meny.meny2.onRelease = function () { i = 0; while ((++i) <= balls) { _root["ball" + i].removeMovieClip(); } stopAllSounds(); gotoAndStop ("meny"); }; meny.submit.onRelease = function () { function __rankz_send__(par1, par2, par3, par4) { par227 = new LoadVars(); par228 = new LoadVars(); par227.flashkey = par2; par227.SU0249 = par1; par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3); par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s"); par227.flashkey = par227.flashkey.split("=").join(""); par227.SU0249 = par227.SU0249.split("=").join(""); par228.onLoad = function (success) { if (success) { trace(par228.msg); } else { trace(par228.loaded); } }; par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST"); } bXlnYW1lX25hbWVfdmFyaWFibGU = _root.meny.namn; bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score; __rankz_send__("MTg1MmolZSVhJW4lcw==", "cEdOZ2hOQlI=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl); i = 0; while ((++i) <= balls) { _root["ball" + i].removeMovieClip(); } gamePlay = true; stopAllSounds(); getURL ("http://rankz.armorbot.com/BallPanic/", "_blank"); gotoAndStop ("meny"); }; meny.playagain.onRelease = function () { i = 0; while ((++i) <= balls) { _root["ball" + i].removeMovieClip(); } stopAllSounds(); gamePlay = true; _root.gotoAndStop("introGame"); }; } count++; if ((count % countNumber) == 0) { if (scoreMultiplier == 2) { createBall(random(2) + 1, random(3) + 1); } else if ((scoreMultiplier == 1) && (_root["ball" + (3 - style)].hitted)) { createBall(random(1) + (3 - style), random(3) + 1); } else if (scoreMultiplier == 1) { createBall(random(1) + style, random(3) + 1); } count = 0; } i = 0; while ((++i) <= balls) { if (!_root["ball" + i].starter) { i++; } j = i; while ((++j) <= balls) { if (!_root["ball" + j].starter) { j++; } h = Math.sqrt(Math.pow(_root["ball" + i]._x - _root["ball" + j]._x, 2) + Math.pow(_root["ball" + i]._y - _root["ball" + j]._y, 2)); if (h < ((_root["ball" + i]._width / 2) + (_root["ball" + j]._width / 2))) { dx = _root["ball" + i]._x - _root["ball" + j]._x; dy = _root["ball" + i]._y - _root["ball" + j]._y; phi = Math.atan(dy / dx); v1i = Math.sqrt((_root["ball" + i].vx * _root["ball" + i].vx) + (_root["ball" + i].vy * _root["ball" + i].vy)); v2i = Math.sqrt((_root["ball" + j].vx * _root["ball" + j].vx) + (_root["ball" + j].vy * _root["ball" + j].vy)); ang1 = findAnAngle(_root["ball" + i].vx, _root["ball" + i].vy) * term; ang2 = findAnAngle(_root["ball" + j].vx, _root["ball" + j].vy) * term; v1xr = v1i * Math.cos(ang1 - phi); v1yr = v1i * Math.sin(ang1 - phi); v2xr = v2i * Math.cos(ang2 - phi); v2yr = v2i * Math.sin(ang2 - phi); v1fxr = (((_root["ball" + i].m - _root["ball" + j].m) * v1xr) + ((_root["ball" + j].m + _root["ball" + j].m) * v2xr)) / (_root["ball" + i].m + _root["ball" + j].m); v2fxr = (((_root["ball" + i].m + _root["ball" + i].m) * v1xr) + ((_root["ball" + j].m - _root["ball" + i].m) * v2xr)) / (_root["ball" + i].m + _root["ball" + j].m); v1fyr = v1yr; v2fyr = v2yr; _root["ball" + i].vx = (Math.cos(phi) * v1fxr) + (Math.cos(phi + (Math.PI/2)) * v1fyr); _root["ball" + i].vy = (Math.sin(phi) * v1fxr) + (Math.sin(phi + (Math.PI/2)) * v1fyr); _root["ball" + j].vx = (Math.cos(phi) * v2fxr) + (Math.cos(phi + (Math.PI/2)) * v2fyr); _root["ball" + j].vy = (Math.sin(phi) * v2fxr) + (Math.sin(phi + (Math.PI/2)) * v2fyr); if ((i == (3 - style)) || (j == (3 - style))) { _root["ball" + (3 - style)].hitted = true; } sound.start(0, 1); } } } } }; _root["ball" + style].onEnterFrame = function () { if (!once1) { this.m = 5; this.vy = 0; this.vx = 0; this.starter = true; this.hitted = false; this.test = true; once1 = true; } if (!pausGame) { if ((this.vx == 0) || (this.vy == 0)) { this.hm = Math.sqrt(Math.pow(_xmouse - this._x, 2) + Math.pow(_ymouse - this._y, 2)); this._y = this._y + ((((_ymouse - this._y) / this.hm) * this.hm) / draging); this._x = this._x + ((((_xmouse - this._x) / this.hm) * this.hm) / draging); if ((((_xmouse > _root["left" + (3 - style)]) && (_xmouse < _root["right" + (3 - style)])) && (_ymouse > _root["top" + (3 - style)])) && (_ymouse < _root["bottom" + (3 - style)])) { Mouse.hide(); } else { Mouse.show(); } } else { this._x = this._x + this.vx; this._y = this._y + this.vy; if (this.test) { this.hitted = true; this.starter = false; Mouse.show(); } } if (this._x < (_root["left" + (3 - style)] + 15)) { this.vx = this.vx * -1; this._x = _root["left" + (3 - style)] + 15; } else if (this._x > (_root["right" + (3 - style)] - 15)) { this.vx = this.vx * -1; this._x = _root["right" + (3 - style)] - 15; } if (this._y < (_root["top" + (3 - style)] + 15)) { this.vy = this.vy * -1; this._y = _root["top" + (3 - style)] + 15; } else if (this._y > (_root["bottom" + (3 - style)] - 15)) { this.vy = this.vy * -1; this._y = _root["bottom" + (3 - style)] - 15; } if (this.test && (this.hitted)) { this.test = false; this.i = 2; while ((++this.i) <= balls) { if (this.i == this.nr) { this.i++; } if (this.hitTest(_root["ball" + this.i])) { this.test = true; } } if (!this.test) { this.starter = true; } } } }; _root["ball" + (3 - style)].onEnterFrame = function () { if (!once2) { this.m = 1; this.vy = 0; this.vx = 0; this.acc = 0.3; this.hitted = false; this.starter = true; this.test = true; once2 = true; } if (!pausGame) { if (!this.hitted) { this.vy = this.vy * 0.95; this.vx = this.vx * 0.95; this.vx = this.vx - (Key.isDown(_root["keyLeft" + style]) * this.acc); this.vx = this.vx + (Key.isDown(_root["keyRight" + style]) * this.acc); this.vy = this.vy + (Key.isDown(_root["keyDown" + style]) * this.acc); this.vy = this.vy - (Key.isDown(_root["keyUp" + style]) * this.acc); if (this.vx < -7) { this.vx = -7; } if (this.vx > 7) { this.vx = 7; } if (this.vy < -7) { this.vy = -7; } if (this.vy > 7) { this.vy = 7; } } this._y = this._y + this.vy; this._x = this._x + this.vx; if (this._x < (_root["left" + style] + 15)) { this.vx = this.vx * -1; this._x = _root["left" + style] + 15; wallHit.start(0, 1); } else if (this._x > (_root["right" + style] - 15)) { this.vx = this.vx * -1; this._x = _root["right" + style] - 15; wallHit.start(0, 1); } if (this._y < (_root["top" + style] + 15)) { this.vy = this.vy * -1; this._y = _root["top" + style] + 15; wallHit.start(0, 1); } else if (this._y > (_root["bottom" + style] - 15)) { this.vy = this.vy * -1; this._y = _root["bottom" + style] - 15; wallHit.start(0, 1); } if (this.test && (this.hitted)) { this.starter = false; this.test = false; this.i = 2; while ((++this.i) <= balls) { if (this.i == this.nr) { this.i++; } if (this.hitTest(_root["ball" + this.i])) { this.test = true; } } if (!this.test) { this.starter = true; } } } };
Instance of Symbol 172 MovieClip in Frame 247
on (release) { getURL ("http://www.maxgames.com", "_blank"); } onClipEvent (enterFrame) { if (_root.meny._currentframe == 1) { _visible = true; } else { _visible = false; } }
Symbol 16 MovieClip Frame 40
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 173 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object { static var _CharsReverseLookup; var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count; function Armor_Bot_30_En_AS1 () { super(); } static function Encode(str) { var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1(); return(_local1.encodeArmor_Bot_30_En_AS1(str)); } static function Decode(str) { var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1(); return(_local1.decodeArmor_Bot_30_En_AS1(str)); } static function StringReplaceAll(source, find, replacement) { return(source.split(find).join(replacement)); } static function InitReverseChars() { _CharsReverseLookup = new Array(); var _local1 = 0; while (_local1 < _Chars.length) { _CharsReverseLookup[_Chars[_local1]] = _local1; _local1++; } return(true); } static function UrlDecode(str) { str = StringReplaceAll(str, "\\", " "); str = unescape(str); return(str); } static function UrlEncode(str) { str = escape(str); str = StringReplaceAll(str, "\\", "%2B"); str = StringReplaceAll(str, "%20", "+"); return(str); } function setArmor_Bot_30_En_AS1Str(str) { _Armor_Bot_30_En_AS1Str = str; _Armor_Bot_30_En_AS1Count = 0; } function readArmor_Bot_30_En_AS1() { if (!_Armor_Bot_30_En_AS1Str) { return(_EndOfInput); } if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) { return(_EndOfInput); } var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255; _Armor_Bot_30_En_AS1Count++; return(_local2); } function encodeArmor_Bot_30_En_AS1(str) { setArmor_Bot_30_En_AS1Str(str); var _local3 = ""; var _local2 = new Array(3); var _local5 = 0; var _local4 = false; while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) { _local2[1] = readArmor_Bot_30_En_AS1(); _local2[2] = readArmor_Bot_30_En_AS1(); _local3 = _local3 + _Chars[_local2[0] >> 2]; if (_local2[1] != _EndOfInput) { _local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)]; if (_local2[2] != _EndOfInput) { _local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)]; _local3 = _local3 + _Chars[_local2[2] & 63]; } else { _local3 = _local3 + _Chars[(_local2[1] << 2) & 60]; _local3 = _local3 + "="; _local4 = true; } } else { _local3 = _local3 + _Chars[(_local2[0] << 4) & 48]; _local3 = _local3 + "="; _local3 = _local3 + "="; _local4 = true; } _local5 = _local5 + 4; if (_local5 >= 76) { _local3 = _local3 + newline; _local5 = 0; } } return(_local3); } function readReverseArmor_Bot_30_En_AS1() { if (!_Armor_Bot_30_En_AS1Str) { return(_EndOfInput); } while (true) { if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) { return(_EndOfInput); } var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count); _Armor_Bot_30_En_AS1Count++; if (_CharsReverseLookup[_local2]) { return(_CharsReverseLookup[_local2]); } if (_local2 == "A") { return(0); } } } function ntos(n) { var _local1 = n.toString(16); if (_local1.length == 1) { _local1 = "0" + _local1; } _local1 = "%" + _local1; return(unescape(_local1)); } function decodeArmor_Bot_30_En_AS1(str) { setArmor_Bot_30_En_AS1Str(str); var _local3 = ""; var _local2 = new Array(4); var _local4 = false; while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) { _local2[2] = readReverseArmor_Bot_30_En_AS1(); _local2[3] = readReverseArmor_Bot_30_En_AS1(); _local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4)); if (_local2[2] != _EndOfInput) { _local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2)); if (_local2[3] != _EndOfInput) { _local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]); } else { _local4 = true; } } else { _local4 = true; } } return(_local3); } function toHex(n) { var _local4 = ""; var _local3 = true; var _local1 = 32; while (_local1 > 0) { _local1 = _local1 - 4; var _local2 = (n >> _local1) & 15; if ((!_local3) || (_local2 != 0)) { _local3 = false; _local4 = _local4 + _Digits[_local2]; } } return(((_local4 == "") ? "0" : (_local4))); } function pad(str, len, pad) { var _local2 = str; var _local1 = str.length; while (_local1 < len) { _local2 = pad + _local2; _local1++; } return(_local2); } function encodeHex(str) { var _local4 = ""; var _local2 = 0; while (_local2 < str.length) { _local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0"); _local2++; } return(_local4); } function decodeHex(str) { var _local5 = ""; var _local3 = ""; var _local2 = 0; while (_local2 < str.length) { _local3 = _local3 + str.charAt(_local2); if (_local3.length == 2) { _local5 = _local5 + ntos(parseInt("0x" + _local3)); _local3 = ""; } _local2++; } return(_local5); } static var _EndOfInput = -1; static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/"); static var _CharsReverseLookupInited = InitReverseChars(); static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"); }
Symbol 27 MovieClip Frame 80
_parent.gotoAndStop("ready");
Symbol 28 MovieClip [BallBlue] Frame 1
stop();
Symbol 29 MovieClip Frame 80
_parent.gotoAndStop("ready");
Symbol 30 MovieClip [BallRed] Frame 1
stop();
Symbol 31 MovieClip Frame 80
_parent.gotoAndStop("ready");
Symbol 32 MovieClip [BallGreen] Frame 1
stop();
Symbol 38 Button
on (release) { getURL ("http://www.maxgames.com", "_blank"); }
Symbol 41 MovieClip Frame 60
stop();
Symbol 55 MovieClip Frame 14
stop();
Symbol 58 MovieClip Frame 30
stop(); _root.over();
Symbol 58 MovieClip Frame 60
stop(); if (_root.where == "game") { _root.gotoAndStop("introGame"); } _parent.gotoAndStop(_root.where);
Symbol 61 MovieClip Frame 30
gotoAndStop ("rollover");
Symbol 61 MovieClip Frame 60
stop();
Symbol 61 MovieClip Frame 61
stop();
Symbol 61 MovieClip Frame 106
gotoAndStop ("rollover");
Symbol 64 MovieClip Frame 30
gotoAndStop ("rollover");
Symbol 64 MovieClip Frame 61
stop();
Symbol 64 MovieClip Frame 106
gotoAndStop ("rollover");
Symbol 67 MovieClip Frame 30
gotoAndStop ("rollover");
Symbol 67 MovieClip Frame 106
gotoAndStop ("rollover");
Symbol 70 MovieClip Frame 30
gotoAndStop ("rollover");
Symbol 70 MovieClip Frame 106
gotoAndStop ("rollover");
Symbol 74 MovieClip Frame 30
gotoAndStop ("rollover");
Symbol 74 MovieClip Frame 61
stop();
Symbol 74 MovieClip Frame 106
gotoAndStop ("rollover");
Symbol 76 MovieClip Frame 30
stop(); _parent.back.onRelease = function () { _root.beep.start(0, 1); _parent.optionsMenu.play(); _parent.lr.gotoAndPlay("outro"); _parent.back.gotoAndPlay("outro"); _parent.sound.gotoAndPlay("outro"); }; _parent.back.onRollOver = function () { _parent.back.play(); }; _parent.lr.lr2.righty.onRelease = function () { _root.beep.start(0, 1); _root.style = 1; _parent.lr.lr2.righty.gotoAndStop("chose"); _parent.lr.lr2.lefty.gotoAndStop("dischose"); }; _parent.lr.lr2.lefty.onRelease = function () { _root.beep.start(0, 1); _root.style = 2; _parent.lr.lr2.righty.gotoAndStop("dischose"); _parent.lr.lr2.lefty.gotoAndStop("chose"); }; _parent.sound.sound2.on2.onRelease = function () { _root.son = true; _parent.sound.sound2.on2.gotoAndStop(2); _parent.sound.sound2.off2.gotoAndStop(1); _root.beep.setVolume(100); _root.beep.start(0, 1); }; _parent.sound.sound2.off2.onRelease = function () { _root.son = false; _parent.sound.sound2.on2.gotoAndStop(1); _parent.sound.sound2.off2.gotoAndStop(2); _root.beep.setVolume(0); }; _parent.sound.sound2.on1.onRelease = function () { _root.mon = true; _parent.sound.sound2.on1.gotoAndStop(2); _parent.sound.sound2.off1.gotoAndStop(1); _root.beep.start(0, 1); }; _parent.sound.sound2.off1.onRelease = function () { _root.mon = false; _parent.sound.sound2.on1.gotoAndStop(1); _parent.sound.sound2.off1.gotoAndStop(2); _root.beep.start(0, 1); };
Symbol 76 MovieClip Frame 60
_parent.gotoAndStop("meny");
Symbol 81 MovieClip Frame 30
gotoAndStop ("rollover");
Symbol 81 MovieClip Frame 62
stop();
Symbol 81 MovieClip Frame 107
gotoAndStop ("rollover");
Symbol 84 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 30
gotoAndStop ("outro");
Symbol 89 MovieClip Frame 61
gotoAndStop ("outro");
Symbol 98 MovieClip Frame 30
gotoAndStop ("outro");
Symbol 98 MovieClip Frame 61
gotoAndStop ("outro");
Symbol 104 MovieClip Frame 30
_parent.back.onRelease = function () { _root.beep.start(0, 1); _parent.symbols.gotoAndPlay("outro"); _parent.back.gotoAndPlay("outro"); }; _parent.back.onRollOver = function () { _parent.back.play(); };
Symbol 104 MovieClip Frame 31
stop();
Symbol 104 MovieClip Frame 60
_parent.gotoAndStop("meny");
Symbol 105 MovieClip Frame 31
gotoAndStop ("rollover");
Symbol 105 MovieClip Frame 62
stop();
Symbol 105 MovieClip Frame 107
gotoAndStop ("rollover");
Symbol 108 MovieClip Frame 30
stop(); _parent.back.onRelease = function () { _root.beep.start(0, 1); _parent.creditMenu.play(); _parent.back.gotoAndPlay("outro"); _parent.credtext.gotoAndPlay("outro"); }; _parent.back.onRollOver = function () { _parent.back.play(); };
Symbol 108 MovieClip Frame 60
_parent.gotoAndStop("meny");
Symbol 109 MovieClip Frame 30
gotoAndStop ("rollover");
Symbol 109 MovieClip Frame 61
stop();
Symbol 109 MovieClip Frame 106
gotoAndStop ("rollover");
Symbol 118 MovieClip Frame 30
gotoAndStop ("outro");
Symbol 118 MovieClip Frame 61
gotoAndStop ("outro");
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
if (_root.style == 1) { lr.lr2.righty.gotoAndStop("chose"); lr.lr2.lefty.gotoAndStop("dischose"); } else { lr.lr2.righty.gotoAndStop("dischose"); lr.lr2.lefty.gotoAndStop("chose"); } if (_root.mon) { sound.sound2.on1.gotoAndStop(2); sound.sound2.off1.gotoAndStop(1); } else { sound.sound2.on1.gotoAndStop(1); sound.sound2.off1.gotoAndStop(2); } if (_root.son) { sound.sound2.on2.gotoAndStop(2); sound.sound2.off2.gotoAndStop(1); } else { sound.sound2.on2.gotoAndStop(1); sound.sound2.off2.gotoAndStop(2); }
Symbol 133 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 30
gotoAndStop ("outro");
Symbol 142 MovieClip Frame 31
_root.ready();
Symbol 142 MovieClip Frame 60
if (_root.backwards) { _root.gotoAndStop("meny"); }
Symbol 142 MovieClip Frame 91
if (_root.pressonce) { _root.gotoAndStop("game"); } else { _root.gotoAndStop("meny"); }
Symbol 156 MovieClip Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 156 MovieClip Frame 2
on (release) { getURL ("http://www.maxgames.com", "_blank"); }
Symbol 169 MovieClip Frame 1
if (_root.mon) { sound2.on1.gotoAndStop(2); sound2.off1.gotoAndStop(1); } else { sound2.on1.gotoAndStop(1); sound2.off1.gotoAndStop(2); } if (_root.son) { sound2.on2.gotoAndStop(2); sound2.off2.gotoAndStop(1); } else { sound2.on2.gotoAndStop(1); sound2.off2.gotoAndStop(2); } sound2.on2.onRelease = function () { _root.son = true; sound2.on2.gotoAndStop(2); sound2.off2.gotoAndStop(1); _root.beep.setVolume(100); _root.beep.start(0, 1); }; sound2.off2.onRelease = function () { _root.son = false; sound2.on2.gotoAndStop(1); sound2.off2.gotoAndStop(2); _root.beep.setVolume(0); _root.beep.start(0, 1); }; sound2.on1.onRelease = function () { _root.mon = true; sound2.on1.gotoAndStop(2); sound2.off1.gotoAndStop(1); _root.music.setVolume(100); _root.beep.start(0, 1); }; sound2.off1.onRelease = function () { _root.mon = false; sound2.on1.gotoAndStop(1); sound2.off1.gotoAndStop(2); _root.music.setVolume(0); _root.beep.start(0, 1); }; menu.onRelease = function () { i = 0; while ((++i) <= _root.balls) { _root["ball" + i].removeMovieClip(); } stopAllSounds(); _root.pausGame = false; _root.gotoAndStop("meny"); }; RTG.onRelease = function () { _root.pausGame = false; };

Library Items

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

Instance Names

"ball2"Frame 1Symbol 4 MovieClip
"ball5"Frame 1Symbol 6 MovieClip
"ball9"Frame 1Symbol 8 MovieClip
"ball4"Frame 1Symbol 4 MovieClip
"ball6"Frame 1Symbol 6 MovieClip
"ball8"Frame 1Symbol 8 MovieClip
"ball10"Frame 1Symbol 4 MovieClip
"ball13"Frame 1Symbol 6 MovieClip
"ball14"Frame 1Symbol 8 MovieClip
"ball3"Frame 1Symbol 4 MovieClip
"ball1"Frame 1Symbol 6 MovieClip
"ball7"Frame 1Symbol 8 MovieClip
"ball12"Frame 1Symbol 4 MovieClip
"ball11"Frame 1Symbol 6 MovieClip
"ball15"Frame 1Symbol 8 MovieClip
"playbutton"Frame 1Symbol 17 MovieClip
"meny"Frame 244Symbol 119 MovieClip
"ig"Frame 245Symbol 142 MovieClip
"ball1"Frame 246Symbol 101 MovieClip
"ball2"Frame 246Symbol 101 MovieClip
"meny"Frame 246Symbol 156 MovieClip
"pausMeny"Frame 246Symbol 169 MovieClip
"pbi"Symbol 17 MovieClip Frame 1Symbol 10 MovieClip
"lefty"Symbol 88 MovieClip Frame 1Symbol 84 MovieClip
"righty"Symbol 88 MovieClip Frame 1Symbol 87 MovieClip
"lr2"Symbol 89 MovieClip Frame 1Symbol 88 MovieClip
"on2"Symbol 97 MovieClip Frame 1Symbol 93 MovieClip
"off2"Symbol 97 MovieClip Frame 1Symbol 96 MovieClip
"sound2"Symbol 98 MovieClip Frame 1Symbol 97 MovieClip
"ball1"Symbol 103 MovieClip Frame 1Symbol 101 MovieClip
"ball2"Symbol 103 MovieClip Frame 1Symbol 101 MovieClip
"menuinner"Symbol 119 MovieClip Frame 1Symbol 58 MovieClip
"playGame"Symbol 119 MovieClip Frame 1Symbol 61 MovieClip
"instruct"Symbol 119 MovieClip Frame 1Symbol 64 MovieClip
"credits"Symbol 119 MovieClip Frame 1Symbol 67 MovieClip
"highScore"Symbol 119 MovieClip Frame 1Symbol 70 MovieClip
"options"Symbol 119 MovieClip Frame 1Symbol 74 MovieClip
"optionsMenu"Symbol 119 MovieClip Frame 2Symbol 76 MovieClip
"back"Symbol 119 MovieClip Frame 2Symbol 81 MovieClip
"lr"Symbol 119 MovieClip Frame 2Symbol 89 MovieClip
"sound"Symbol 119 MovieClip Frame 2Symbol 98 MovieClip
"symbols"Symbol 119 MovieClip Frame 3Symbol 104 MovieClip
"back"Symbol 119 MovieClip Frame 3Symbol 105 MovieClip
"creditMenu"Symbol 119 MovieClip Frame 4Symbol 108 MovieClip
"back"Symbol 119 MovieClip Frame 4Symbol 109 MovieClip
"credtext"Symbol 119 MovieClip Frame 4Symbol 118 MovieClip
"keys"Symbol 134 MovieClip Frame 1Symbol 133 MovieClip
"startText"Symbol 137 MovieClip Frame 1Symbol 127 MovieClip
"mouseLocation"Symbol 137 MovieClip Frame 1Symbol 130 MovieClip
"keyLocation"Symbol 137 MovieClip Frame 1Symbol 134 MovieClip
"lefty"Symbol 137 MovieClip Frame 1Symbol 84 MovieClip
"righty"Symbol 137 MovieClip Frame 1Symbol 87 MovieClip
"back"Symbol 137 MovieClip Frame 1Symbol 136 MovieClip
"ball1"Symbol 141 MovieClip Frame 1Symbol 101 MovieClip
"ball2"Symbol 141 MovieClip Frame 1Symbol 101 MovieClip
"ig2"Symbol 142 MovieClip Frame 1Symbol 137 MovieClip
"submit"Symbol 156 MovieClip Frame 2Symbol 148 MovieClip
"meny2"Symbol 156 MovieClip Frame 2Symbol 151 MovieClip
"playagain"Symbol 156 MovieClip Frame 2Symbol 155 MovieClip
"off2"Symbol 164 MovieClip Frame 1Symbol 161 MovieClip
"on2"Symbol 164 MovieClip Frame 1Symbol 163 MovieClip
"sound2"Symbol 169 MovieClip Frame 1Symbol 164 MovieClip
"menu"Symbol 169 MovieClip Frame 1Symbol 166 MovieClip
"RTG"Symbol 169 MovieClip Frame 1Symbol 168 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 173 as "__Packages.ab3.rankz.Armor_Bot_30_En_AS1"
ExportAssets (56)Timeline Frame 2Symbol 21 as "wallHit"
ExportAssets (56)Timeline Frame 2Symbol 22 as "collision2"
ExportAssets (56)Timeline Frame 2Symbol 23 as "song"
ExportAssets (56)Timeline Frame 2Symbol 24 as "collision"
ExportAssets (56)Timeline Frame 2Symbol 25 as "button"
ExportAssets (56)Timeline Frame 2Symbol 28 as "BallBlue"
ExportAssets (56)Timeline Frame 2Symbol 30 as "BallRed"
ExportAssets (56)Timeline Frame 2Symbol 32 as "BallGreen"

Labels

"meny"Frame 244
"introGame"Frame 245
"game"Frame 247
"playable"Symbol 17 MovieClip Frame 2
"ready"Symbol 28 MovieClip [BallBlue] Frame 2
"ready"Symbol 30 MovieClip [BallRed] Frame 2
"ready"Symbol 32 MovieClip [BallGreen] Frame 2
"intro"Symbol 58 MovieClip Frame 1
"outro"Symbol 58 MovieClip Frame 31
"outro"Symbol 61 MovieClip Frame 31
"rollover"Symbol 61 MovieClip Frame 61
"intro"Symbol 64 MovieClip Frame 1
"outro"Symbol 64 MovieClip Frame 31
"rollover"Symbol 64 MovieClip Frame 61
"intro"Symbol 67 MovieClip Frame 1
"outro"Symbol 67 MovieClip Frame 31
"rollover"Symbol 67 MovieClip Frame 61
"intro"Symbol 70 MovieClip Frame 1
"outro"Symbol 70 MovieClip Frame 31
"rollover"Symbol 70 MovieClip Frame 61
"intro"Symbol 74 MovieClip Frame 1
"outro"Symbol 74 MovieClip Frame 31
"rollover"Symbol 74 MovieClip Frame 61
"intro"Symbol 76 MovieClip Frame 1
"outro"Symbol 76 MovieClip Frame 31
"intro"Symbol 81 MovieClip Frame 1
"outro"Symbol 81 MovieClip Frame 31
"rollover"Symbol 81 MovieClip Frame 62
"dischose"Symbol 84 MovieClip Frame 1
"chose"Symbol 84 MovieClip Frame 2
"chose"Symbol 87 MovieClip Frame 1
"dischose"Symbol 87 MovieClip Frame 2
"intro"Symbol 89 MovieClip Frame 1
"outro"Symbol 89 MovieClip Frame 31
"intro"Symbol 98 MovieClip Frame 1
"outro"Symbol 98 MovieClip Frame 31
"outro"Symbol 104 MovieClip Frame 31
"intro"Symbol 105 MovieClip Frame 2
"outro"Symbol 105 MovieClip Frame 32
"rollover"Symbol 105 MovieClip Frame 62
"intro"Symbol 108 MovieClip Frame 1
"outro"Symbol 108 MovieClip Frame 31
"intro"Symbol 109 MovieClip Frame 1
"outro"Symbol 109 MovieClip Frame 31
"rollover"Symbol 109 MovieClip Frame 61
"intro"Symbol 118 MovieClip Frame 1
"outro"Symbol 118 MovieClip Frame 31
"meny"Symbol 119 MovieClip Frame 1
"options"Symbol 119 MovieClip Frame 2
"instructions"Symbol 119 MovieClip Frame 3
"credits"Symbol 119 MovieClip Frame 4
"creditMenu"Symbol 119 MovieClip Frame 4
"wasd"Symbol 133 MovieClip Frame 1
"udrl"Symbol 133 MovieClip Frame 2
"intro"Symbol 142 MovieClip Frame 1
"outro"Symbol 142 MovieClip Frame 31
"gameOver"Symbol 156 MovieClip Frame 2

Dynamic Text Variables

procentSymbol 12 EditableText""
scoreSymbol 144 EditableText""
levelSymbol 145 EditableText""
finalScoreSymbol 146 EditableText""
namnSymbol 153 EditableText"Your Name"




http://swfchan.com/16/75631/info.shtml
Created: 5/4 -2019 23:49:11 Last modified: 5/4 -2019 23:49:11 Server time: 05/11 -2024 06:40:17