Frame 1
Stage.showMenu = false;
Frame 88
function newClock() {
var nest = attachMovie("clock", "clock" + cc, cc);
nest._x = random(550);
nest._y = -50;
if (nest._x < 225) {
nest._rotation = 180 - random(20);
} else {
nest._rotation = 180 + random(20);
}
nest.spd = random(2) + 3;
nest.onEnterFrame = function () {
with (this) {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
if (town.hitTest(_x, _y, true)) {
clockArray.splice(pos, 1);
town.nextFrame();
var nest = _root.attachMovie("explosion", "explosion", ec++);
nest._x = _x - 60;
nest._y = _y - 30;
this.removeMovieClip();
}
}
};
clockArray.push(nest);
cc++;
if (cc > 3100) {
cc = 3000;
}
if (timer > 200) {
timer = timer - 100;
}
clearInterval(clockInt);
clockInt = setInterval(newClock, timer);
}
function onMouseDown() {
bc++;
if (bc > 1100) {
bc = 1000;
}
var nest = attachMovie("bullet", "b" + bc, bc);
nest.spd = 20;
nest._x = gun._x;
nest._y = gun._y;
nest._rotation = gun._rotation;
nest.onEnterFrame = function () {
with (this) {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
this.removeMovieClip();
}
var i = 1;
while (i <= clockArray.length) {
if (clockArray[i - 1].hitTest(this)) {
_root.score = _root.score + 100;
scoreMC.scoreText.text = "SCORE: " + score;
clockArray[i - 1].removeMovieClip();
clockArray.splice(i - 1, 1);
var nest = _root.attachMovie("explosion2", "explosion", ec++);
nest._x = _x;
nest._y = _y;
this.removeMovieClip();
}
i++;
}
}
};
}
function onEnterFrame() {
if (town._currentframe == 30) {
var _local2 = 1;
while (_local2 <= clockArray.length) {
var _local3 = _root.attachMovie("explosion2", "explosion", ec++);
_local3._x = clockArray[_local2 - 1]._x;
_local3._y = clockArray[_local2 - 1]._y;
clockArray[_local2 - 1].removeMovieClip();
_local2++;
}
clearInterval(clockInt);
clearInterval(clockInt2);
clearInterval(clockInt3);
clearInterval(clockInt4);
delete onMouseDown;
Mouse.show();
gun.removeMovieClip();
town.removeMovieClip();
play();
delete onEnterFrame;
}
if (_ymouse < 350) {
dummy.mouseradangle = Math.atan2(gun._y - _ymouse, gun._x - _xmouse);
dummy.mousedegangle = ((dummy.mouseradangle * 360) / 2) / Math.PI;
if (Math.abs(dummy._rotation - dummy.mousedegangle) > 180) {
dummy.factor = -1;
} else {
dummy.factor = 1;
}
if (Math.abs((dummy._rotation - dummy.mousedegangle) / 2) < 3) {
dummy._rotation = dummy._rotation - ((dummy._rotation - dummy.mousedegangle) / 2);
} else if ((dummy._rotation + 3.1) <= dummy.mousedegangle) {
dummy._rotation = dummy._rotation + (6 * dummy.factor);
} else if ((dummy._rotation - 3.1) >= dummy.mousedegangle) {
dummy._rotation = dummy._rotation - (6 * dummy.factor);
}
gun._rotation = dummy._rotation - 90;
}
}
stop();
Mouse.hide();
var clockArray = new Array();
var timer = 4000;
clockInt = setInterval(newClock, 5000);
clockInt2 = setInterval(newClock, 1000);
clockInt3 = setInterval(newClock, 12000);
clockInt4 = setInterval(newClock, 24000);
gun.swapDepths(2000);
town.swapDepths(2001);
scoreMC.removeMovieClip();
scoreMC.swapDepths(100000);
var bc = 1000;
var cc = 3000;
var ec = 5000;
var score = 0;
scoreMC.scoreText.text = "SCORE: " + score;
this.createEmptyMovieClip("dummy", 1);
Instance of Symbol 115 MovieClip in Frame 88
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent();
}
Frame 112
stop();
Symbol 9 MovieClip [explosion] Frame 9
this.removeMovieClip();
Symbol 19 MovieClip [explosion2] Frame 9
this.removeMovieClip();
Symbol 23 MovieClip Frame 61
stop();
_parent.nextFrame();
Symbol 25 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 1
onEnterFrame = function () {
dd = new Date();
ss._rotation = (dd.getHours() * 30) + (dd.getMinutes() * 0.5);
ll._rotation = dd.getMinutes() * 6;
};
Symbol 70 MovieClip Frame 1
a = 1;
while (a < 11) {
aa = this["a" + a];
aa.xx = aa._x;
aa.yy = aa._y;
aa._x = 0;
aa._y = 0;
aa._alpha = 0;
aa.dd = 0;
a++;
}
w1._alpha = 0;
w2._alpha = 0;
rot = 0;
det = 0;
spd = 0;
rad = 57.2957795130823;
_parent.spp._xscale = 1;
_parent.spp._yscale = 1;
_parent.spp._alpha = 0;
onEnterFrame = function () {
per = _root.getBytesLoaded() / _root.getBytesTotal();
spd = (det - rot) / 20;
spd = Math.min(spd, 1.5);
rot = rot + spd;
det = per * 360;
_rotation = (360 - rot);
a = 1;
while (a < 11) {
if (((per * 10) >= a) && ((aa.dd == 1) || (a == 1))) {
aa = this["a" + a];
aa._alpha = aa._alpha + 2;
aa._x = aa._x + ((aa.xx - aa._x) / 10);
aa._y = aa._y + ((aa.yy - aa._y) / 10);
xc = Math.abs(Math.abs(aa._x) - Math.abs(aa.xx));
yc = Math.abs(Math.abs(aa._y) - Math.abs(aa.yy));
if ((xc < 5) && (yc < 5)) {
aa.dd = 1;
}
}
a++;
}
if (per == 1) {
((_parent.spp._xscale < 100) ? (_parent.spp._xscale++) : null);
_parent.spp._yscale = _parent.spp._xscale;
_parent.spp._alpha = _parent.spp._xscale;
if (a10._alpha > 10) {
w1._alpha++;
w2._alpha++;
}
}
};
Symbol 88 MovieClip Frame 1
_parent.stop();
bb.onRelease = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_parent.play();
} else {
getURL ("http://www.clockcrew.cc/talk/portal.php", "_blank");
}
};
Symbol 93 MovieClip Frame 1
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;
var pv;
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);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&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);
}
_visible = false;
__com_mochibot__("3ac51931", this, 10301, true);
Symbol 98 Button
on (release) {
getURL ("http://www.mindless-games.com/", "_blank");
}
Symbol 113 MovieClip Frame 1
stop();
Symbol 124 Button
on (release) {
_root.gotoAndStop("game");
}