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;
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__("03da3f37", this, 10301, true);
stop();
Instance of Symbol 19 MovieClip "logo" in Frame 1
on (release) {
getURL ("http://www.wickedgamez.com");
}
Frame 2
MovieClip.prototype.fade = function (newAlpha, speed) {
this.onEnterFrame = function () {
this._alpha = this._alpha + ((newAlpha - this._alpha) / (10 / speed));
if (Math.abs(Math.round(this._alpha)) == newAlpha) {
delete this.onEnterFrame;
}
};
};
onMouseDown = function () {
menu.fade(0, 2);
var delay = 500;
var now = getTimer();
this.onEnterFrame = function () {
if ((getTimer() - now) >= delay) {
delete this.onEnterFrame;
gotoAndPlay (3);
}
};
};
_root.menu.gotoAndPlay(1);
_root.menu.fade(100, 2);
_root.menubg.fade(100, 2);
_root.topz.fade(60, 2);
stop();
Frame 3
function randomnum(lowNumber, highNumber) {
var _local3 = highNumber - lowNumber;
var _local2 = Math.random() * _local3;
var _local1 = Math.round(_local2);
_local1 = _local1 + lowNumber;
return(_local1);
}
function init() {
_root.menu.gotoAndStop(2);
_root.menu.score.text = score;
_root.menu.fade(100, 3);
_root.menubg.fade(100, 3);
type = randomnum(1, 6);
next = "begin";
}
function randomxy() {
shape._x = (Math.random() * 300) + 125;
shape._y = (Math.random() * 270) + 80;
var _local2 = Math.floor(Math.random() * 300) + 50;
shape._xscale = (shape._yscale = _local2);
var _local1 = 0;
while (_local1 < allshapes.length) {
if (shape.hitTest(allshapes[_local1]) && (shape != allshapes[_local1])) {
randomxy();
}
_local1++;
}
}
onMouseDown = function () {
if (_root.topz.best.text < score) {
_root.topz.best.text = score;
}
if (shape.hitTest(_xmouse, _ymouse, true)) {
if (next == "wait") {
beep.setVolume(30);
beep.start(0);
score++;
_root.next.scoreText.text = score;
next = "click";
}
} else if (next == "wait") {
var _local3 = 0;
while (_local3 < allshapes.length) {
if (allshapes[_local3].hitTest(_xmouse, _ymouse, true) && (allshapes[_local3] != shape)) {
bong.setVolume(80);
bong.start(0);
shape.play();
next = "gameover";
}
_local3++;
}
}
if (next == "begin") {
_root.menu.fade(0, 3);
_root.menubg.fade(0, 3);
i++;
shape = _root.holder.attachMovie("shape", "shape" + i, i);
shape.blink.gotoAndStop(type);
shape.blink2.gotoAndStop(type);
allshapes.push(shape);
randomxy();
next = "wait";
} else if (next == "click") {
_root.menu.score.text = score;
_root.menu.fade(100, 3);
_root.menubg.fade(100, 3);
next = "begin";
} else if (next == "over") {
_root.menu.fade(0, 3);
_root.menubg.fade(0, 3);
score = 1;
var delay = 200;
var now = getTimer();
this.onEnterFrame = function () {
if ((getTimer() - now) >= delay) {
delete this.onEnterFrame;
gotoAndPlay (2);
}
};
} else if (next == "gameover") {
var delay = 900;
var now = getTimer();
this.onEnterFrame = function () {
if ((getTimer() - now) >= delay) {
delete this.onEnterFrame;
var _local3 = 0;
while (_local3 < allshapes.length) {
allshapes[_local3].removeMovieClip();
_local3++;
}
_root.menu.gotoAndPlay(3);
_root.menu.score.text = score;
_root.menu.fade(100, 3);
_root.menubg.fade(100, 3);
next = "over";
}
};
}
};
beep = new Sound();
beep.attachSound("beep");
bong = new Sound();
bong.attachSound("bong");
var i = 1;
var type = 1;
var score = 1;
var shape;
var allshapes = new Array();
init();
stop();
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 2
stop();
Symbol 9 MovieClip Frame 3
stop();
Symbol 9 MovieClip Frame 4
stop();
Symbol 9 MovieClip Frame 5
stop();
Symbol 9 MovieClip Frame 6
stop();
Symbol 11 MovieClip [shape] Frame 1
stop();
Symbol 11 MovieClip [shape] Frame 8
gotoAndPlay (2);
Symbol 18 MovieClip Frame 1
a = 3;
b = 3;
black._x = random(a);
black._y = random(b);
black._alpha = random(45) + 50;
black._rotation = random(2);
Symbol 18 MovieClip Frame 3
gotoAndPlay (1);
Symbol 19 MovieClip Frame 140
_root.play();
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
stop();
Symbol 28 MovieClip Frame 3
stop();