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!


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

-Spectre-.swf

This is the info page for
Flash #62931

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


Text
0

100

Arrow Keys

Arrow Keys

Elastic

Elastic

-Spectre-

-Spectre-

The object of the game is to
capture the spheres that are
of your color and avoid the
others
The sphere you control will
glow yellow and will swing to
your mouse. It will look like
below.

The object of the game is to
capture the spheres that are
of your color and avoid the
others
The sphere you control will
glow yellow and will move
according to the last arrow key
you pressed. It will look like
below.

Score:

Game Over!

You scored:

Submit

Sub
mit

Yournamegoeshere

Main
Menu

Main
menu

Score:

Yournamegoeshere

ActionScript [AS1/AS2]

Frame 1
stop(); initX = _root.preloader.mask._x; onEnterFrame = function () { var _local2 = (this.getBytesLoaded() * 100) / this.getBytesTotal(); this.preloader.mask._x = initX + ((_local2 * this.preloader.mask._width) / 100); this.percentageLoaded.text = Math.floor(_local2); loads.loader.loaders.loadbar._width = _local2 * 2.15; if (_local2 == 100) { delete onEnterFrame; loads.play(); } };
Frame 2
gotoAndStop ("menu");
Frame 3
stop(); stopAllSounds();
Instance of Symbol 49 MovieClip in Frame 4
on (release) { gotoAndStop (4); }
Instance of Symbol 51 MovieClip in Frame 5
on (release) { gotoAndStop (4); }
Frame 6
stop(); lol = 0; lives = 5; _root.bc = 0; time = 0; timeneeded = 100; count = 0; score = 0; died = false; onEnterFrame = function () { score = score + 5; _root.yPo = _root._ymouse; _root.xPo = _root._xmouse; timeneeded = Math.round(timeneeded); time++; if (time == (timeneeded * 0.5)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 1; duplicateMovieClip ("bullet1", "b1" + _root.bc, count); } if (time == (timeneeded * 1)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 1; duplicateMovieClip ("bullet2", "b2" + _root.bc, count); } if (time == (timeneeded * 2)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 3; duplicateMovieClip ("bullet3", "b3" + _root.bc, count); } if (time == (timeneeded * 3)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 4; duplicateMovieClip ("bullet4", "b4" + _root.bc, count); time = 0; timeneeded = timeneeded - 10; if (timeneeded < 10) { timeneeded = timeneeded + 30; } } if (lives == 0) { lol = 0; while (lol <= 1000) { _root["b" + lol].removeMovieClip(); lol++; } if (died == false) { _root.scre = score; died = true; } gotoAndStop (7); } };
Instance of Symbol 53 MovieClip "bullet1" in Frame 6
onClipEvent (load) { if (_name == "bullet1") { _x = -1000; } bn = 0; spd = Math.random(20) + 10; b = _root.bc; thisbc = b; _x = _root.cannon1._x; _y = _root.cannon1._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (7); } if (bn == 0) { gotoAndStop (6); } if (_name == "bullet1") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b1" + a]) && (bn == 1)) { removeMovieClip(this); } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b1" + b]) && (bn == 1)) { removeMovieClip(this); } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true)) { if (_root.player._currentframe == 4) { _root.player.gotoAndStop(1); this.swapDepths(9999); this.removeMovieClip(); _root.score++; } else if ((_root.player._currentframe >= 1) && (_root.player._currentframe <= 3)) { _root.player.gotoAndStop(5); bn = 1; array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Instance of Symbol 54 MovieClip "player" in Frame 6
onClipEvent (load) { vx = 0; vy = 0; k = 0.75; inertia = 0.3; } onClipEvent (enterFrame) { ax = (_root._xmouse - _x) * k; ay = (_root._ymouse - _y) * k; _x = (_x + (vx * 2)); _y = (_y + (vy * 2)); vx = vx + ax; vy = vy + ay; vx = vx * inertia; vy = vy * inertia; }
Instance of Symbol 56 MovieClip "cannon4" in Frame 6
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 57 MovieClip "cannon3" in Frame 6
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 59 MovieClip "cannon1" in Frame 6
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 60 MovieClip "cannon2" in Frame 6
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 65 MovieClip "bullet4" in Frame 6
onClipEvent (load) { bn = 0; spd = Math.random(20) + 10; b = _root.bc; thisbc = b; _x = _root.cannon4._x; _y = _root.cannon4._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (7); } if (bn == 0) { gotoAndStop (6); } if (_name == "bullet4") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b4" + a]) && (bn == 1)) { removeMovieClip(this); } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b4" + b]) && (bn == 1)) { removeMovieClip(this); } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true)) { if (_root.player._currentframe == 1) { _root.player.gotoAndStop(3); this.swapDepths(9999); this.removeMovieClip(); _root.score++; } else if ((2 <= _root.player._currentframe) && (4 >= _root.player._currentframe)) { _root.player.gotoAndStop(5); array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.player.gotoAndStop(5); _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Instance of Symbol 66 MovieClip "bullet3" in Frame 6
onClipEvent (load) { bn = 0; spd = Math.random(20) + 10; b = _root.bc; thisbc = b; _x = _root.cannon3._x; _y = _root.cannon3._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (7); } if (bn == 0) { gotoAndStop (6); } if (_name == "bullet3") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b3" + a]) && (bn == 1)) { removeMovieClip(this); } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b3" + b]) && (bn == 1)) { removeMovieClip(this); } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true) && (bn == 0)) { if (_root.player._currentframe == 2) { _root.player.gotoAndStop(4); this.swapDepths(9999); this.removeMovieClip(); } else if (((_root.player._currentframe == 1) or (_root.player._currentframe == 3)) or (_root.player._currentframe == 4)) { _root.player.gotoAndStop(5); bn = 1; array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Instance of Symbol 67 MovieClip "bullet2" in Frame 6
onClipEvent (load) { bn = 0; spd = Math.random(20) + 10; thisbc = _root.bc; _x = _root.cannon2._x; _y = _root.cannon2._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (7); } if (bn == 0) { gotoAndStop (6); } if (_name == "bullet2") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b2" + a]) && (bn == 1)) { removeMovieClip(this); _root.score = _root.score + 2000; } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b2" + b]) && (bn == 1)) { removeMovieClip(this); _root.score = _root.score + 2000; } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true)) { if (_root.player._currentframe == 3) { _root.player.gotoAndStop(2); this.swapDepths(9999); this.removeMovieClip(); } else if ((((_root.player._currentframe == 1) or (_root.player._currentframe == 2)) or (_root.player._currentframe == 5)) or (_root.player._currentframe == 4)) { _root.player.gotoAndStop(5); bn = 1; array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Frame 7
submitted = false;
Frame 8
stop(); lol = 0; lives = 5; _root.bc = 0; time = 0; timeneeded = 100; count = 0; score = 0; died = false; onEnterFrame = function () { score = score + 5; _root.yPo = _root.player._y; _root.xPo = _root.player._y; timeneeded = Math.round(timeneeded); time++; if (time == (timeneeded * 0.5)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 1; duplicateMovieClip ("bullet1", "b1" + _root.bc, count); } if (time == (timeneeded * 1)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 1; duplicateMovieClip ("bullet2", "b2" + _root.bc, count); } if (time == (timeneeded * 2)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 3; duplicateMovieClip ("bullet3", "b3" + _root.bc, count); } if (time == (timeneeded * 3)) { count++; _root.bc++; if (_root.bc > 1100) { _root.bc = 1000; } _root.can = 4; duplicateMovieClip ("bullet4", "b4" + _root.bc, count); time = 0; timeneeded = timeneeded - 10; if (timeneeded < 10) { timeneeded = timeneeded + 30; } } if (lives == 0) { lol = 0; while (lol <= 1000) { _root["b" + lol].removeMovieClip(); lol++; } if (died == false) { _root.scre = score; died = true; } gotoAndStop (9); } };
Instance of Symbol 53 MovieClip "bullet1" in Frame 8
onClipEvent (load) { if (_name == "bullet1") { _x = -1000; } bn = 0; spd = Math.random(20) + 10; b = _root.bc; thisbc = b; _x = _root.cannon1._x; _y = _root.cannon1._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (9); } if (bn == 0) { gotoAndStop (8); } if (_name == "bullet1") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b1" + a]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b1" + b]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true)) { if (_root.player._currentframe == 4) { _root.player.gotoAndStop(1); this.swapDepths(9999); this.removeMovieClip(); _root.score++; } else if ((_root.player._currentframe >= 1) && (_root.player._currentframe <= 3)) { _root.player.gotoAndStop(5); bn = 1; array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Instance of Symbol 54 MovieClip "player" in Frame 8
onClipEvent (enterFrame) { if (Key.isDown(38)) { ay = -8; ax = 0; } else if (Key.isDown(40)) { ay = 8; ax = 0; } else if (Key.isDown(37)) { ax = -8; ay = 0; } else if (Key.isDown(39)) { ax = 8; ay = 0; } if (_x <= 10) { ax = Math.abs(ax); } if (_x >= 685) { ax = -Math.abs(ax); } if (_y <= 15) { ay = Math.abs(ay); } if (_y >= 685) { ay = -Math.abs(ay); } this._x = this._x + ax; this._y = this._y + ay; }
Instance of Symbol 56 MovieClip "cannon4" in Frame 8
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 57 MovieClip "cannon3" in Frame 8
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 59 MovieClip "cannon1" in Frame 8
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 60 MovieClip "cannon2" in Frame 8
onClipEvent (enterFrame) { yPo2 = this._y; xPo2 = this._x; myRadians = Math.atan2(_root.yPo - yPo2, _root.xPo - xPo2); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); }
Instance of Symbol 65 MovieClip "bullet4" in Frame 8
onClipEvent (load) { bn = 0; spd = Math.random(20) + 10; b = _root.bc; thisbc = b; _x = _root.cannon4._x; _y = _root.cannon4._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (9); } if (bn == 0) { gotoAndStop (8); } if (_name == "bullet4") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b4" + a]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b4" + b]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true)) { if (_root.player._currentframe == 1) { _root.player.gotoAndStop(3); this.swapDepths(9999); this.removeMovieClip(); _root.score++; } else if ((2 <= _root.player._currentframe) && (4 >= _root.player._currentframe)) { _root.player.gotoAndStop(5); array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.player.gotoAndStop(5); _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Instance of Symbol 66 MovieClip "bullet3" in Frame 8
onClipEvent (load) { bn = 0; spd = Math.random(20) + 10; b = _root.bc; thisbc = b; _x = _root.cannon3._x; _y = _root.cannon3._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (9); } if (bn == 0) { gotoAndStop (8); } if (_name == "bullet3") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b3" + a]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b3" + b]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true) && (bn == 0)) { if (_root.player._currentframe == 2) { _root.player.gotoAndStop(5); this.swapDepths(9999); this.removeMovieClip(); _root.score++; } else if (((_root.player._currentframe == 1) or (_root.player._currentframe == 3)) or (_root.player._currentframe == 4)) { _root.player.gotoAndStop(5); bn = 1; array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Instance of Symbol 67 MovieClip "bullet2" in Frame 8
onClipEvent (load) { bn = 0; spd = Math.random(20) + 10; thisbc = _root.bc; _x = _root.cannon2._x; _y = _root.cannon2._y; if (_x >= _root._xmouse) { xdif = -(_x - _root._xmouse); } else { xdif = -(_root._xmouse - _x); } if (_y <= _root._ymouse) { ydif = -(_y - _root._ymouse); } else { ydif = -(_root._ymouse - _y); } diff = xdif - ydif; xspeed = -(spd * (xdif / diff)); yspeed = -(spd * (ydif / diff)); r = _width / 2; array = new Array(360); } onClipEvent (enterFrame) { if (bn == 1) { gotoAndStop (9); } if (bn == 0) { gotoAndStop (8); } if (_name == "bullet2") { _x = -1000; xspeed = 0; yspeed = 0; } onEnterFrame = function () { if (_y <= 16) { bn = 0; yspeed = Math.abs(yspeed); } else if (_y >= 685) { bn = 0; yspeed = -Math.abs(yspeed); } if (_x <= 16) { bn = 0; xspeed = Math.abs(xspeed); } else if (_x >= 685) { bn = 0; xspeed = -Math.abs(xspeed); } strt = 0; end = 0; a = 0; while (a < (thisbc - 1)) { if (hitTest(_root["b2" + a]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } a++; } b = thisbc + 1; while (b < _root.bc) { if (hitTest(_root["b2" + b]) && (bn == 1)) { removeMovieClip(this); _root.bg.gotoAndPlay(2); } b++; } i = 0; while (i < 360) { x = (_x + xspeed) + (r * Math.cos((i / 180) * Math.PI)); y = (_y + yspeed) - (r * Math.sin((i / 180) * Math.PI)); if (_root.player.hitTest(x, y, true)) { if (_root.player._currentframe == 3) { _root.player.gotoAndStop(2); this.swapDepths(9999); this.removeMovieClip(); _root.score++; } else if ((((_root.player._currentframe == 1) or (_root.player._currentframe == 2)) or (_root.player._currentframe == 5)) or (_root.player._currentframe == 4)) { _root.player.gotoAndStop(5); bn = 1; array[i] = 1; if (xspeed < 10) { xspeed = xspeed + (_root.player.ax / 10); } if (xspeed > 10) { xspeed = xspeed - (_root.player.ax / 10); } if (yspeed > 10) { yspeed = yspeed - _root.player.ay; } _root.lives--; } } else { array[i] = 0; } (((!last) and array[i]) ? ((strt = i)) : 0); ((last and (!array[i])) ? ((end = i)) : 0); last = array[i]; i = i + 20; } ((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2))); speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)); if (strt != end) { xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI); yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI); } _x = (_x + xspeed); _y = (_y + yspeed); }; }
Frame 9
submitted = false;
Symbol 17 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 42
stop(); _root.play();
Symbol 25 Button
on (release) { gotoAndStop (5); }
Symbol 30 Button
on (release) { gotoAndStop (4); }
Symbol 36 Button
on (release) { _root.gotoAndStop("lvl1"); }
Symbol 49 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 52 Button
on (release) { _root.gotoAndStop("lvl2"); }
Symbol 53 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 5
gotoAndStop(random(4) + 1);
Symbol 65 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 80 Button
on (press) { if (submitted == false) { ab20_09 = new LoadVars(); ab20_09.z = names; ab20_09.x = scre; ab20_09.c = 1198; ab20_09.v = "MPXYOC"; ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST"); getURL ("http://www.armorbot.com/mytable/?id=1198", "_blank"); submitted = true; } }
Symbol 85 Button
on (press) { _root.scre = 0; lives = 5; died = false; submitted = false; gotoAndStop (3); }
Symbol 90 Button
on (press) { if (submitted == false) { ab20_09 = new LoadVars(); ab20_09.z = names; ab20_09.x = scre; ab20_09.c = 1215; ab20_09.v = "PAPKVM"; ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST"); getURL ("http://www.armorbot.com/mytable/?id=1215", "_blank"); submitted = true; } }

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:Timeline
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:Timeline
Symbol 5 GraphicUsed by:17
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:17
Symbol 8 FontUsed by:9 10
Symbol 9 TextUses:8Used by:17
Symbol 10 TextUses:8Used by:17
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:17
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:16
Symbol 16 MovieClipUses:13 15Used by:17
Symbol 17 MovieClipUses:5 7 9 10 12 16Used by:18
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClipUses:18Used by:Timeline
Symbol 20 GraphicUsed by:25
Symbol 21 FontUsed by:22 24 27 29 31 32 41 50 74 75 76 77 79 81 82 84 91 92
Symbol 22 TextUses:21Used by:25
Symbol 23 GraphicUsed by:25
Symbol 24 TextUses:21Used by:25
Symbol 25 ButtonUses:20 22 23 24Used by:Timeline
Symbol 26 GraphicUsed by:30
Symbol 27 TextUses:21Used by:30
Symbol 28 GraphicUsed by:30
Symbol 29 TextUses:21Used by:30
Symbol 30 ButtonUses:26 27 28 29Used by:Timeline
Symbol 31 TextUses:21Used by:33
Symbol 32 TextUses:21Used by:33
Symbol 33 MovieClipUses:31 32Used by:Timeline
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:36 52
Symbol 36 ButtonUses:35Used by:Timeline
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:49 51
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:49 51
Symbol 41 TextUses:21Used by:49
Symbol 42 BitmapUsed by:43 45
Symbol 43 GraphicUses:42Used by:44
Symbol 44 MovieClipUses:43Used by:49 51 54 65
Symbol 45 GraphicUses:42Used by:46 47 48
Symbol 46 MovieClipUses:45Used by:49 51 54 66
Symbol 47 MovieClipUses:45Used by:49 51 54 67
Symbol 48 MovieClipUses:45Used by:49 51 53 54
Symbol 49 MovieClipUses:38 40 41 44 46 47 48Used by:Timeline
Symbol 50 TextUses:21Used by:51
Symbol 51 MovieClipUses:38 40 50 44 46 47 48Used by:Timeline
Symbol 52 ButtonUses:35Used by:Timeline
Symbol 53 MovieClipUses:48Used by:Timeline
Symbol 54 MovieClipUses:44 46 47 48Used by:Timeline
Symbol 55 GraphicUsed by:56 57
Symbol 56 MovieClipUses:55Used by:Timeline
Symbol 57 MovieClipUses:55Used by:Timeline
Symbol 58 GraphicUsed by:59 60
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 MovieClipUses:58Used by:Timeline
Symbol 61 FontUsed by:62 86
Symbol 62 EditableTextUses:61Used by:Timeline
Symbol 63 FontUsed by:64 87
Symbol 64 EditableTextUses:63Used by:Timeline
Symbol 65 MovieClipUses:44Used by:Timeline
Symbol 66 MovieClipUses:46Used by:Timeline
Symbol 67 MovieClipUses:47Used by:Timeline
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:Timeline
Symbol 70 FontUsed by:71 72 88 89
Symbol 71 EditableTextUses:70Used by:Timeline
Symbol 72 EditableTextUses:70Used by:Timeline
Symbol 73 SoundUsed by:Timeline
Symbol 74 EditableTextUses:21Used by:Timeline
Symbol 75 TextUses:21Used by:Timeline
Symbol 76 TextUses:21Used by:Timeline
Symbol 77 TextUses:21Used by:80 90
Symbol 78 GraphicUsed by:80 90
Symbol 79 TextUses:21Used by:80 90
Symbol 80 ButtonUses:77 78 79Used by:Timeline
Symbol 81 EditableTextUses:21Used by:Timeline
Symbol 82 TextUses:21Used by:85
Symbol 83 GraphicUsed by:85
Symbol 84 TextUses:21Used by:85
Symbol 85 ButtonUses:82 83 84Used by:Timeline
Symbol 86 EditableTextUses:61Used by:Timeline
Symbol 87 EditableTextUses:63Used by:Timeline
Symbol 88 EditableTextUses:70Used by:Timeline
Symbol 89 EditableTextUses:70Used by:Timeline
Symbol 90 ButtonUses:77 78 79Used by:Timeline
Symbol 91 EditableTextUses:21Used by:Timeline
Symbol 92 EditableTextUses:21Used by:Timeline

Instance Names

"loads"Frame 1Symbol 19 MovieClip
"bullet1"Frame 6Symbol 53 MovieClip
"player"Frame 6Symbol 54 MovieClip
"cannon4"Frame 6Symbol 56 MovieClip
"cannon3"Frame 6Symbol 57 MovieClip
"cannon1"Frame 6Symbol 59 MovieClip
"cannon2"Frame 6Symbol 60 MovieClip
"timeneeded"Frame 6Symbol 62 EditableText
"time"Frame 6Symbol 64 EditableText
"bullet4"Frame 6Symbol 65 MovieClip
"bullet3"Frame 6Symbol 66 MovieClip
"bullet2"Frame 6Symbol 67 MovieClip
"score"Frame 6Symbol 71 EditableText
"scre"Frame 7Symbol 74 EditableText
"bullet1"Frame 8Symbol 53 MovieClip
"player"Frame 8Symbol 54 MovieClip
"cannon4"Frame 8Symbol 56 MovieClip
"cannon3"Frame 8Symbol 57 MovieClip
"cannon1"Frame 8Symbol 59 MovieClip
"cannon2"Frame 8Symbol 60 MovieClip
"timeneeded"Frame 8Symbol 86 EditableText
"time"Frame 8Symbol 87 EditableText
"bullet4"Frame 8Symbol 65 MovieClip
"bullet3"Frame 8Symbol 66 MovieClip
"bullet2"Frame 8Symbol 67 MovieClip
"score"Frame 8Symbol 88 EditableText
"scre"Frame 9Symbol 91 EditableText
"loadbar"Symbol 17 MovieClip Frame 1Symbol 7 MovieClip
"loaders"Symbol 18 MovieClip Frame 1Symbol 17 MovieClip
"loader"Symbol 19 MovieClip Frame 1Symbol 18 MovieClip
"loader"Symbol 19 MovieClip Frame 35Symbol 18 MovieClip
"loader"Symbol 19 MovieClip Frame 42Symbol 18 MovieClip
"ball"Symbol 67 MovieClip Frame 1Symbol 47 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"menu"Frame 3
"lvl1"Frame 6
"lvl2"Frame 8

Dynamic Text Variables

timeneededSymbol 62 EditableText""
livesSymbol 64 EditableText""
scoreSymbol 71 EditableText""
screSymbol 74 EditableText""
namesSymbol 81 EditableText"Yournamegoeshere"
timeneededSymbol 86 EditableText""
livesSymbol 87 EditableText""
scoreSymbol 88 EditableText""
screSymbol 91 EditableText""
namesSymbol 92 EditableText"Yournamegoeshere"




http://swfchan.com/13/62931/info.shtml
Created: 13/4 -2019 23:50:27 Last modified: 13/4 -2019 23:50:27 Server time: 23/12 -2024 00:29:25