Frame 1
function itemHandler0(obj, item) {
getURL ("http://newgrounds.com", _blank);
}
function itemHandler1(obj, item) {
getURL ("http://clockcrew.cc", _blank);
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("Newgrounds", itemHandler0));
myMenu.customItems.push(new ContextMenuItem("Clock Crew", itemHandler1));
_root.menu = myMenu;
Frame 6
menuSound = new Sound(this);
menuSound.attachSound("menu");
gameSound = new Sound(this);
gameSound.attachSound("game");
menuSound.stop();
menuSound.start(0, true);
Instance of Symbol 86 MovieClip "thanks" in Frame 6
onClipEvent (load) {
this._visible = false;
}
Frame 11
stop();
Frame 16
gameSound.start(0, false);
_root.seconds = 12;
_root.minutes = 4;
_root.score = 0;
var starCount = 0;
var zeroCount = 0;
var oneCount = 0;
var twoCount = 0;
var threeCount = 0;
var fourCount = 0;
var fiveCount = 0;
var starSpeed = 4;
var zeroAccel = 1;
var oneSpeed = 3;
var twoSpeed = 5;
var threeSpeed = 8;
var fourSpeed = 10;
var fiveAccel = 1.5;
var zeroDecrement = -5;
var oneDecrement = -2;
var twoIncrement = 2;
var threeIncrement = 3;
var fourIncrement = 4;
var fiveIncrement = 5;
countDown = setInterval(function () {
if ((_root.seconds == 0) && (_root.minutes > 0)) {
_root.seconds = 59;
_root.minutes--;
}
if ((_root.minutes == 0) && (seconds == 0)) {
_root.play();
} else if ((_root.minutes > 0) || (_root.seconds > 0)) {
_root.seconds--;
}
incrementSpeed = 0.2;
starSpeed = starSpeed + incrementSpeed;
oneSpeed = oneSpeed + incrementSpeed;
twoSpeed = twoSpeed + incrementSpeed;
threeSpeed = threeSpeed + incrementSpeed;
fourSpeed = fourSpeed + incrementSpeed;
}, 1000);
Instance of Symbol 101 MovieClip "five" in Frame 16
onClipEvent (load) {
if (this._name != "five") {
this._x = 800;
this._y = random(200) + 50;
}
speed = 1;
accel = _root.fiveAccel;
}
onClipEvent (enterFrame) {
if (this._name != "five") {
if (this.hitTest(_root.sbc)) {
_root.score = _root.score + _root.fiveIncrement;
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
this._x = this._x - speed;
speed = speed + accel;
}
}
Instance of Symbol 103 MovieClip "four" in Frame 16
onClipEvent (load) {
if (this._name != "four") {
this._x = 800;
this._y = random(200) + 50;
}
speed = _root.fourSpeed;
}
onClipEvent (enterFrame) {
if (this._name != "four") {
if (this.hitTest(_root.sbc)) {
_root.score = _root.score + _root.fourIncrement;
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
this._x = this._x - speed;
}
}
Instance of Symbol 105 MovieClip "three" in Frame 16
onClipEvent (load) {
if (this._name != "three") {
this._x = 800;
this._y = random(200) + 50;
}
speed = _root.threeSpeed;
}
onClipEvent (enterFrame) {
if (this._name != "three") {
if (this.hitTest(_root.sbc)) {
_root.score = _root.score + _root.threeIncrement;
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
this._x = this._x - speed;
}
}
Instance of Symbol 107 MovieClip "two" in Frame 16
onClipEvent (load) {
if (this._name != "two") {
this._x = 800;
this._y = random(200) + 50;
}
speed = _root.twoSpeed;
}
onClipEvent (enterFrame) {
if (this._name != "two") {
if (this.hitTest(_root.sbc)) {
_root.score = _root.score + _root.twoIncrement;
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
this._x = this._x - speed;
}
}
Instance of Symbol 109 MovieClip "one" in Frame 16
onClipEvent (load) {
if (this._name != "one") {
this._x = 800;
this._y = random(200) + 50;
}
speed = _root.oneSpeed;
}
onClipEvent (enterFrame) {
if (this._name != "one") {
if (this.hitTest(_root.sbc)) {
if (_root.score > 2) {
_root.score = _root.score + _root.oneDecrement;
} else {
_root.score = 0;
}
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
this._x = this._x - speed;
}
}
Instance of Symbol 111 MovieClip "zero" in Frame 16
onClipEvent (load) {
if (this._name != "zero") {
this._x = 800;
this._y = random(200) + 50;
}
speed = 1;
accel = _root.zeroAccel;
}
onClipEvent (enterFrame) {
if (this._name != "zero") {
if (this.hitTest(_root.sbc)) {
if (_root.score > 5) {
_root.score = _root.score + _root.zeroDecrement;
} else {
_root.score = 0;
}
this.removeMovieClip();
}
if (this._x < -50) {
this.removeMovieClip();
}
this._x = this._x - speed;
speed = speed + accel;
}
}
Instance of Symbol 112 MovieClip "sbc" in Frame 16
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
accel = 1;
decel = 0.5;
halfWidth = this._width / 2;
halfHeight = this._height / 2;
}
onClipEvent (enterFrame) {
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
if (Key.isDown(39) && (this._x < (800 - halfWidth))) {
xSpeed = xSpeed + accel;
} else if (Key.isDown(37) && (this._x > (0 + halfWidth))) {
xSpeed = xSpeed - accel;
} else if (xSpeed > 0) {
xSpeed = xSpeed - decel;
} else if (xSpeed < 0) {
xSpeed = xSpeed + decel;
}
if (Key.isDown(38) && (this._y > (0 + halfHeight))) {
ySpeed = ySpeed + accel;
this._rotation--;
} else if (Key.isDown(40) && (this._y < (250 - halfHeight))) {
ySpeed = ySpeed - accel;
this._rotation++;
} else {
if (ySpeed > 0) {
ySpeed = ySpeed - decel;
} else if (ySpeed < 0) {
ySpeed = ySpeed + decel;
}
if (this._rotation > 90) {
this._rotation--;
} else if (this._rotation < 90) {
this._rotation++;
}
}
if (this.hitTest(_root.boundl)) {
while (this._x < (0 + halfWidth)) {
xSpeed = 0;
this._x++;
}
}
if (this.hitTest(_root.boundr)) {
while (this._x > (800 - halfWidth)) {
xSpeed = 0;
this._x--;
}
}
if (this.hitTest(_root.boundt)) {
while (this._y < (0 + halfHeight)) {
ySpeed = 0;
this._y++;
}
}
if (this.hitTest(_root.boundb)) {
while (this._y > (250 - halfHeight)) {
ySpeed = 0;
this._y--;
}
}
}
Instance of Symbol 115 MovieClip in Frame 16
onClipEvent (enterFrame) {
starSpawn = random(3);
zeroSpawn = random(64);
oneSpawn = random(34);
twoSpawn = random(50);
threeSpawn = random(70);
fourSpawn = random(100);
fiveSpawn = random(150);
if (starSpawn == 0) {
duplicateMovieClip (_root.star, "star" + _root.starCount, 70000 + _root.starCount);
_root.starCount++;
}
if (zeroSpawn == 0) {
duplicateMovieClip (_root.zero, "zero" + _root.zeroCount, 10000 + _root.zeroCount);
_root.zeroCount++;
}
if (oneSpawn == 0) {
duplicateMovieClip (_root.one, "one" + _root.oneCount, 20000 + _root.oneCount);
_root.oneCount++;
}
if (twoSpawn == 0) {
duplicateMovieClip (_root.two, "two" + _root.twoCount, 30000 + _root.twoCount);
_root.twoCount++;
}
if (threeSpawn == 0) {
duplicateMovieClip (_root.three, "three" + _root.threeCount, 40000 + _root.threeCount);
_root.threeCount++;
}
if (fourSpawn == 0) {
duplicateMovieClip (_root.four, "four" + _root.fourCount, 50000 + _root.fourCount);
_root.fourCount++;
}
if (fiveSpawn == 0) {
duplicateMovieClip (_root.five, "five" + _root.fiveCount, 60000 + _root.fiveCount);
_root.fiveCount++;
}
}
Instance of Symbol 117 MovieClip "star" in Frame 16
onClipEvent (load) {
if (this._name != "star") {
this._x = 800;
this._y = random(250);
}
speed = random(5) + _root.starSpeed;
this._alpha = random(70) + 30;
this._height = (this._width = random(10) + 5);
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this._x < -50) {
this.removeMovieClip();
}
}
Frame 21
stop();
Frame 26
clearInterval(countDown);
Instance of Symbol 117 MovieClip "star" in Frame 26
onClipEvent (load) {
if (this._name != "star") {
this._x = 800;
this._y = random(250);
}
speed = random(5) + 4;
this._alpha = random(70) + 30;
this._height = (this._width = random(10) + 5);
}
onClipEvent (enterFrame) {
this._x = this._x - speed;
if (this._x < -50) {
this.removeMovieClip();
}
}
Instance of Symbol 115 MovieClip in Frame 26
onClipEvent (enterFrame) {
starSpawn = random(3);
if (starSpawn == 0) {
duplicateMovieClip (_root.star, "star" + _root.starCount, 70000 + _root.starCount);
_root.starCount++;
}
}
Frame 31
gameSound.stop();
menuSound.start();
stop();
Frame 37
stop();
Symbol 47 MovieClip Frame 20
stop();
Symbol 49 Button
on (release) {
_root.play();
}
Symbol 56 MovieClip Frame 1
_root.stop();
onEnterFrame = function () {
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_currentframe < percent) {
nextFrame();
}
pert = _currentframe + "%";
onMouseDown = function () {
if (percent > 99) {
gotoAndPlay (100);
}
};
};
Symbol 56 MovieClip Frame 100
stop();
Symbol 56 MovieClip Frame 134
_root.gotoAndPlay(6);
Symbol 63 Button
on (release) {
_root.play();
_root.menuSound.stop();
}
Symbol 66 Button
on (release) {
gotoAndPlay (32);
}
Symbol 69 Button
on (release) {
getURL ("http://www.clockcrew.cc/", _blank);
}
Symbol 72 Button
on (release) {
getURL ("http://newgrounds.com", _blank);
}
Symbol 84 Button
on (release) {
_root.thanks._visible = true;
}
Symbol 97 MovieClip Frame 1
gotoAndPlay (2);
Symbol 97 MovieClip Frame 62
stop();
Symbol 122 Button
on (release) {
gotoAndPlay (6);
}
Symbol 132 Button
on (release) {
_root.gotoAndPlay(6);
}
Symbol 140 Button
on (release) {
if (_root.nameVar != null) {
ab20_09 = new LoadVars();
ab20_09.z = _root.nameVar;
ab20_09.x = _root.score;
ab20_09.c = 1577;
ab20_09.v = "GABNGQ";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.sub._visible = false;
}
}
Symbol 143 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=1577", _blank);
}
Symbol 147 Button
on (release) {
_root.gotoAndPlay(16);
_root.menuSound.stop();
}