Frame 1
stop();
_quality = "MEDIUM";
Frame 2
function kill() {
cry = true;
keyb = false;
}
function setscore(points) {
score = score + points;
}
function newlevel() {
delayed = true;
barra.gotoAndStop(1);
level++;
gainlife++;
if (gainlife > 2) {
gainlife = 0;
lives++;
}
fondo.nextFrame();
menubox.time.gotoAndStop(1);
pickups = 4 + level;
fondo._x = fondo.x;
fondo._y = fondo.y;
for (n in allfloating) {
allfloating[n].gotoAndStop(2);
allfloating[n].gotoAndStop(1);
allfloating[n]._x = fondo._x + allfloating[n].x;
allfloating[n]._y = fondo._y + allfloating[n].y;
allfloating[n].swapDepths(allfloating[n]._y);
}
n = 1;
while (n <= 7) {
if (level < n) {
eval ("bomb" + n).gotoAndStop(3);
}
n++;
}
if (level <= 3) {
muchcomputers = level;
}
n = 0;
while (n < 5) {
if (n < muchcomputers) {
eval ("c" + n).mode = "chase";
eval ("c" + n)._y = (eval ("c" + n).y = eval ("home" + n).y);
eval ("c" + n)._x = (eval ("c" + n).x = eval ("home" + n).x);
eval ("c" + n).gotoAndStop(1);
eval ("c" + n).mode = "stand";
eval ("c" + n)._visible = true;
eval ("c" + n).swapDepths(eval ("c" + n)._y);
} else {
eval ("c" + n)._visible = false;
}
n++;
}
ghost = (cry = (winner = false));
panning = 1;
saddam._x = (jfloor._x = startingpoint._x);
saddam._y = (jfloor._y = startingpoint._y);
saddamface = "back";
saddam.gotoAndStop(saddamface);
saddam.anim.gotoAndStop(1);
saddam._alpha = 100;
saddam.onEnterFrame = function () {
if (panning == 1) {
panning = 2;
} else if (panning <= 69) {
panning++;
} else if (panning == 70) {
panning = 71;
keyb = true;
} else if (delayed) {
if ((((Key.isDown(32) || (Key.isDown(38))) || (Key.isDown(40))) || (Key.isDown(37))) || (Key.isDown(39))) {
delayed = false;
soundtrack.start(0, 9999);
menubox.time.gotoAndPlay(2);
}
} else if (!paused) {
walking = false;
menubox.time.nextFrame();
if (keyb) {
if (Key.isDown(38)) {
if (jfloor._y > 80) {
yvel = yvel - 1;
walking = true;
saddamface = "back";
} else {
yvel = 0;
}
}
if (Key.isDown(40)) {
yvel = yvel + 1;
walking = true;
saddamface = "front";
}
if (Key.isDown(37)) {
xvel = xvel - 1.8;
walking = true;
saddamface = "left";
}
if (Key.isDown(39)) {
xvel = xvel + 1.8;
walking = true;
saddamface = "right";
}
}
if ((((Key.isDown(32) || (forcejump)) && (!jumping)) && (!attacking)) && (keyb)) {
forcejump = false;
if (!cry) {
if (_root.pickups > 0) {
playsound("corcho", 100);
jumping = true;
jumpto = 9 + canguro;
jface = "j" + saddamface;
yvel = yvel * 0.8;
xvel = xvel * 0.8;
} else if (!jfloor.hitTest(barra.winarea)) {
playsound("catch", 100);
attacking = true;
jumping = false;
jumpto = 7;
jface = "a" + saddamface;
yvel = 0.9;
xvel = xvel * 3;
}
}
}
if (attacking) {
saddamface = jface;
jvel = jvel - jumpto;
jumpto = jumpto - 1;
jvel = jvel * 0.7;
if (jumpto == 0) {
yvel = 0;
}
if ((saddam._y + jvel) > jfloor._y) {
attacking = false;
saddam._y = jfloor._y;
jvel = 0;
saddamface = saddamface.substr(1);
}
}
if (jumping) {
walking = false;
saddamface = jface;
jvel = jvel - jumpto;
jumpto = jumpto - 1;
jvel = jvel * 0.7;
if (forcefire) {
xvel = xvel + ((fool._x - jfloor._x) / 30);
}
if ((jumpto == 0) && (forcefire)) {
yvel = 0;
tempforce = Math.abs(Math.round(fool._y - jfloor._y));
transmission.powerbar.gotoAndStop(tempforce);
fooling = true;
}
if ((saddam._y + jvel) > jfloor._y) {
jumping = false;
saddam._y = jfloor._y;
jvel = 0;
saddamface = saddamface.substr(1);
}
}
xvel = xvel * 0.8;
jfloor._x = (saddam._x = saddam._x + xvel);
fondo._x = fondo._x - (xvel / 3);
if (fondo._x > 0) {
fondo._x = 0;
} else if ((fondo._x + fondo._width) < 600) {
fondo._x = 600 - fondo._width;
}
if (saddam._x > 600) {
saddam._x = (jfloor._x = 600);
} else if (saddam._x < 0) {
saddam._x = (jfloor._x = 0);
}
yvel = yvel * 0.8;
saddam._y = saddam._y + (yvel + jvel);
fondo._y = fondo._y - (yvel / 3);
if (fondo._y > 0) {
fondo._y = 0;
} else if ((fondo._y + fondo._height) < 395) {
fondo._y = 395 - fondo._height;
}
if (jumping) {
jfloor._y = jfloor._y + (yvel * 1.4);
} else {
jfloor._y = jfloor._y + yvel;
}
jfloor._alpha = (jfloor._xscale = (jfloor._yscale = 100 + ((saddam._y - jfloor._y) / 4)));
if (jfloor._y > 395) {
saddam._y = (jfloor._y = 395);
} else if (jfloor._y < 80) {
jfloor._y = 80;
}
saddam.swapDepths(jfloor._y + 4);
if (walking) {
saddam.anim.play();
} else {
saddam.anim.gotoAndStop(1);
}
for (n in allfloating) {
allfloating[n]._x = fondo._x + allfloating[n].x;
allfloating[n]._y = fondo._y + allfloating[n].y;
allfloating[n].swapDepths(allfloating[n]._y);
}
if (!winner) {
n = 0;
while (n < muchcomputers) {
if (eval ("c" + n).mode == "stand") {
eval ("c" + n)._x = fondo._x + eval ("c" + n).x;
eval ("c" + n)._y = fondo._y + eval ("c" + n).y;
eval ("c" + n).face = "stand" + eval ("c" + n).face;
} else if (eval ("c" + n).mode == "chase") {
if (cry) {
eval ("c" + n).target = eval ("home" + n);
} else {
eval ("c" + n).target = saddam;
}
x = eval ("c" + n).target._x - eval ("c" + n)._x;
y = eval ("c" + n).target._y - eval ("c" + n)._y;
h = Math.sqrt((x * x) + (y * y));
eval ("c" + n).sen = y / h;
eval ("c" + n).cos = x / h;
eval ("c" + n)._x = eval ("c" + n)._x + (4 * eval ("c" + n).cos);
eval ("c" + n)._y = eval ("c" + n)._y + (4 * eval ("c" + n).sen);
if (eval ("c" + n).target._x < eval ("c" + n)._x) {
eval ("c" + n).face = "left";
} else {
eval ("c" + n).face = "right";
}
eval ("c" + n).gotoAndStop(eval ("c" + n).face);
if (jfloor.hitTest(eval ("c" + n).shoes)) {
eval ("c" + n).mode = "tackle";
eval ("c" + n).gotoAndStop("tackle" + eval ("c" + n).face);
}
if (eval ("c" + n).target == eval ("home" + n)) {
if (eval ("c" + n).hitTest(eval ("home" + n))) {
eval ("c" + n).mode = "tackle";
eval ("c" + n).gotoAndStop("tackle" + eval ("c" + n).face);
}
}
}
eval ("c" + n).swapDepths(eval ("c" + n)._y);
n++;
}
}
if (cry) {
saddamface = "cry";
}
if (!winner) {
if (pickups <= 0) {
if (jfloor.hitTest(barra.winarea) && Key.isDown(32)) {
soundtrack.stop();
winner = true;
showscore = score;
keyb = false;
ball.play();
}
}
} else if (winner) {
saddam._visible = true;
if (saddam._x > (barra._x - 50)) {
saddamface = "winnerleft";
} else {
saddamface = "winnerright";
}
n = 0;
while (n < muchcomputers) {
eval ("c" + n).mode == "stand";
eval ("c" + n).face = "stand" + eval ("c" + n).face;
n++;
}
}
saddam.gotoAndStop(saddamface);
}
};
}
function playsound(which, vol) {
snd.attachSound(which);
snd.setVolume(vol);
snd.start();
}
function spawn() {
cry = false;
jfloor._visible = true;
if (lives > 0) {
lives--;
xvel = (yvel = 0);
computertarget = "saddam";
keyb = true;
saddam.swapDepths(saddam._y);
forcejump = true;
saddamface = "right";
cry = false;
saddam.stars.gotoAndPlay(2);
menubox.time.gotoAndPlay(2);
} else {
stopAllSounds();
saddam.gotoAndStop(1);
menubox.gotoAndStop("back");
n = 1;
while (n <= 7) {
eval ("bomb" + n).gotoAndStop(3);
n++;
}
saddam.onEnterFrame = null;
}
}
function pause() {
paused = true;
menubox.time.stop();
}
function unpause() {
paused = false;
}
System.security.allowDomain("gamezhero.com", "www.gamezhero.com");
_root.createEmptyMovieClip("gamezhero", 100000);
_root.gamezhero.loadMovie("http://www.gamezhero.com/flash/gamezhero2.swf?x=20&y=380&from=spookyhoops&scale=80&t=1126276632468");
stop();
vol = new Sound();
fondo.x = fondo._x;
fondo.y = fondo._y;
saddamface = "front";
soundtrack = new Sound(fondo);
soundtrack.attachSound("soundtrack");
muchcomputers = 5;
showscore = (score = 0);
barra.y = barra._y - fondo._y;
barra.x = barra._x - fondo._x;
n = 0;
while (n < muchcomputers) {
eval ("c" + n).y = (eval ("home" + n).y = eval ("home" + n)._y - fondo._y);
eval ("c" + n).x = (eval ("home" + n).x = eval ("home" + n)._x - fondo._x);
eval ("c" + n)._visible = false;
n++;
}
allfloating = new Array();
n = 1;
while (n <= 7) {
allfloating.push(eval ("bomb" + n));
eval ("bomb" + n).gotoAndStop(3);
n++;
}
allfloating.push(barra);
allfloating.push(pickup);
snd = new Sound(saddam);
Symbol 5 MovieClip [ball] Frame 1
stop();
Symbol 9 MovieClip [Fmd5] Frame 1
#initclip 1
function Fmd5Class() {
var _local1 = this;
_local1.count0 = 0;
_local1.count1 = 0;
_local1.state = new Array(4);
_local1.buffer = new Array(64);
_local1.transformBuffer = new Array(16);
_local1.digestBits = new Array(16);
}
Fmd5Class.prototype = new MovieClip();
Fmd5Class.prototype.rol = function (a, n) {
return((a << n) | (a >>> (32 - n)));
};
Fmd5Class.prototype.FF = function (a, b, c, d, x, s, ac) {
var _local1 = b;
return(this.rol(((a + ((_local1 & c) | ((~_local1) & d))) + x) + ac, s) + _local1);
};
Fmd5Class.prototype.GG = function (a, b, c, d, x, s, ac) {
return(this.rol(((a + ((b & d) | (c & (~d)))) + x) + ac, s) + b);
};
Fmd5Class.prototype.HH = function (a, b, c, d, x, s, ac) {
return(this.rol(((a + ((b ^ c) ^ d)) + x) + ac, s) + b);
};
Fmd5Class.prototype.II = function (a, b, c, d, x, s, ac) {
return(this.rol(((a + (c ^ (b | (~d)))) + x) + ac, s) + b);
};
Fmd5Class.prototype.transform = function (buf, offset) {
var a;
var b;
var _local3;
var _local2;
var _local1 = this.transformBuffer;
a = this.state[0];
b = this.state[1];
_local3 = this.state[2];
_local2 = this.state[3];
i = 0;
while (i < 16) {
_local1[i] = buf[(i * 4) + offset] & 255;
j = 1;
while (j < 4) {
_local1[i] = _local1[i] | ((buf[((i * 4) + j) + offset] & 255) << (j * 8));
j++;
}
i++;
}
a = this.FF(a, b, _local3, _local2, _local1[0], 7, 3614090360);
_local2 = this.FF(_local2, a, b, _local3, _local1[1], 12, 3905402710);
_local3 = this.FF(_local3, _local2, a, b, _local1[2], 17, 606105819);
b = this.FF(b, _local3, _local2, a, _local1[3], 22, 3250441966);
a = this.FF(a, b, _local3, _local2, _local1[4], 7, 4118548399);
_local2 = this.FF(_local2, a, b, _local3, _local1[5], 12, 1200080426);
_local3 = this.FF(_local3, _local2, a, b, _local1[6], 17, 2821735955);
b = this.FF(b, _local3, _local2, a, _local1[7], 22, 4249261313);
a = this.FF(a, b, _local3, _local2, _local1[8], 7, 1770035416);
_local2 = this.FF(_local2, a, b, _local3, _local1[9], 12, 2336552879);
_local3 = this.FF(_local3, _local2, a, b, _local1[10], 17, 4294925233);
b = this.FF(b, _local3, _local2, a, _local1[11], 22, 2304563134);
a = this.FF(a, b, _local3, _local2, _local1[12], 7, 1804603682);
_local2 = this.FF(_local2, a, b, _local3, _local1[13], 12, 4254626195);
_local3 = this.FF(_local3, _local2, a, b, _local1[14], 17, 2792965006);
b = this.FF(b, _local3, _local2, a, _local1[15], 22, 1236535329);
a = this.GG(a, b, _local3, _local2, _local1[1], 5, 4129170786);
_local2 = this.GG(_local2, a, b, _local3, _local1[6], 9, 3225465664);
_local3 = this.GG(_local3, _local2, a, b, _local1[11], 14, 643717713);
b = this.GG(b, _local3, _local2, a, _local1[0], 20, 3921069994);
a = this.GG(a, b, _local3, _local2, _local1[5], 5, 3593408605);
_local2 = this.GG(_local2, a, b, _local3, _local1[10], 9, 38016083);
_local3 = this.GG(_local3, _local2, a, b, _local1[15], 14, 3634488961);
b = this.GG(b, _local3, _local2, a, _local1[4], 20, 3889429448);
a = this.GG(a, b, _local3, _local2, _local1[9], 5, 568446438);
_local2 = this.GG(_local2, a, b, _local3, _local1[14], 9, 3275163606);
_local3 = this.GG(_local3, _local2, a, b, _local1[3], 14, 4107603335);
b = this.GG(b, _local3, _local2, a, _local1[8], 20, 1163531501);
a = this.GG(a, b, _local3, _local2, _local1[13], 5, 2850285829);
_local2 = this.GG(_local2, a, b, _local3, _local1[2], 9, 4243563512);
_local3 = this.GG(_local3, _local2, a, b, _local1[7], 14, 1735328473);
b = this.GG(b, _local3, _local2, a, _local1[12], 20, 2368359562);
a = this.HH(a, b, _local3, _local2, _local1[5], 4, 4294588738);
_local2 = this.HH(_local2, a, b, _local3, _local1[8], 11, 2272392833);
_local3 = this.HH(_local3, _local2, a, b, _local1[11], 16, 1839030562);
b = this.HH(b, _local3, _local2, a, _local1[14], 23, 4259657740);
a = this.HH(a, b, _local3, _local2, _local1[1], 4, 2763975236);
_local2 = this.HH(_local2, a, b, _local3, _local1[4], 11, 1272893353);
_local3 = this.HH(_local3, _local2, a, b, _local1[7], 16, 4139469664);
b = this.HH(b, _local3, _local2, a, _local1[10], 23, 3200236656);
a = this.HH(a, b, _local3, _local2, _local1[13], 4, 681279174);
_local2 = this.HH(_local2, a, b, _local3, _local1[0], 11, 3936430074);
_local3 = this.HH(_local3, _local2, a, b, _local1[3], 16, 3572445317);
b = this.HH(b, _local3, _local2, a, _local1[6], 23, 76029189);
a = this.HH(a, b, _local3, _local2, _local1[9], 4, 3654602809);
_local2 = this.HH(_local2, a, b, _local3, _local1[12], 11, 3873151461);
_local3 = this.HH(_local3, _local2, a, b, _local1[15], 16, 530742520);
b = this.HH(b, _local3, _local2, a, _local1[2], 23, 3299628645);
a = this.II(a, b, _local3, _local2, _local1[0], 6, 4096336452);
_local2 = this.II(_local2, a, b, _local3, _local1[7], 10, 1126891415);
_local3 = this.II(_local3, _local2, a, b, _local1[14], 15, 2878612391);
b = this.II(b, _local3, _local2, a, _local1[5], 21, 4237533241);
a = this.II(a, b, _local3, _local2, _local1[12], 6, 1700485571);
_local2 = this.II(_local2, a, b, _local3, _local1[3], 10, 2399980690);
_local3 = this.II(_local3, _local2, a, b, _local1[10], 15, 4293915773);
b = this.II(b, _local3, _local2, a, _local1[1], 21, 2240044497);
a = this.II(a, b, _local3, _local2, _local1[8], 6, 1873313359);
_local2 = this.II(_local2, a, b, _local3, _local1[15], 10, 4264355552);
_local3 = this.II(_local3, _local2, a, b, _local1[6], 15, 2734768916);
b = this.II(b, _local3, _local2, a, _local1[13], 21, 1309151649);
a = this.II(a, b, _local3, _local2, _local1[4], 6, 4149444226);
_local2 = this.II(_local2, a, b, _local3, _local1[11], 10, 3174756917);
_local3 = this.II(_local3, _local2, a, b, _local1[2], 15, 718787259);
b = this.II(b, _local3, _local2, a, _local1[9], 21, 3951481745);
this.state[0] = this.state[0] + a;
this.state[1] = this.state[1] + b;
this.state[2] = this.state[2] + _local3;
this.state[3] = this.state[3] + _local2;
};
Fmd5Class.prototype.MD5Init = function () {
var _local1 = this;
_local1.count0 = (_local1.count1 = 0);
_local1.state[0] = 1732584193 /* 0x67452301 */;
_local1.state[1] = 4023233417;
_local1.state[2] = 2562383102;
_local1.state[3] = 271733878 /* 0x10325476 */;
i = 0;
while (i < _local1.digestBits.length) {
_local1.digestBits[i] = 0;
i++;
}
};
Fmd5Class.prototype.MD5Update = function (b) {
var _local1 = this;
var _local2 = (_local1.count0 >>> 3) & 63;
if (4294967288 <= _local1.count0) {
_local1.count1++;
_local1.count0 = _local1.count0 - 4294967296;
}
_local1.count0 = _local1.count0 + 8;
_local1.buffer[_local2] = b & 255;
if (_local2 >= 63) {
_local1.transform(_local1.buffer, 0);
}
};
Fmd5Class.prototype.MD5Final = function () {
var _local3 = this;
var bits = new Array(8);
var _local1;
var _local2;
_local1 = 0;
while (_local1 < 4) {
bits[_local1] = (_local3.count0 >>> (_local1 * 8)) & 255;
bits[_local1 + 4] = (_local3.count1 >>> (_local1 * 8)) & 255;
_local1++;
}
var index = ((_local3.count0 >>> 3) & 63);
var padLen = ((index < 56) ? (56 - index) : (120 - index));
_local3.MD5Update(128);
_local1 = 1;
while (_local1 < padLen) {
_local3.MD5Update(0);
_local1++;
}
_local1 = 0;
while (_local1 < 8) {
_local3.MD5Update(bits[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < 4) {
_local2 = 0;
while (_local2 < 4) {
_local3.digestBits[(_local1 * 4) + _local2] = (_local3.state[_local1] >>> (_local2 * 8)) & 255;
_local2++;
}
_local1++;
}
};
Fmd5Class.prototype.byteToStr = function (bt) {
var _local1 = "0123456789abcdef";
return(_local1.charAt(bt >> 4) + _local1.charAt(bt & 15));
};
Fmd5Class.prototype.md5 = function (m) {
var _local2 = this;
var _local3 = m;
var md = "";
_local2.MD5Init();
var _local1 = 0;
while (_local1 < _local3.length) {
_local2.MD5Update(_local3.charCodeAt(_local1));
_local1++;
}
_local2.MD5Final();
_local1 = 0;
while (_local1 < 16) {
md = md + _local2.byteToStr(_local2.digestBits[_local1]);
_local1++;
}
return(md);
};
Fmd5Class.prototype.verifytext = function (d, m) {
return(this.md5(m) == d);
};
Fmd5Class.prototype.makeSig = function (input) {
return(this.md5(input));
};
Object.registerClass("Fmd5", Fmd5Class);
#endinitclip
Symbol 25 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 35
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
stop();
step = -10;
this.onEnterFrame = function () {
var _local1 = this;
_local1._alpha = _local1._alpha + step;
if (_local1._alpha <= 0) {
_local1._parent.loaded();
}
};
}
gotoBtn.onRelease = function () {
getURL ("http://www.gamezhero.com/?from=zorroTank_Preloader", "zorroTank");
};
Instance of Symbol 12 MovieClip "gotoBtn" in Symbol 26 MovieClip Frame 35
on (release) {
getURL ("http://www.gamezhero.com/?from=spookyhoops_preloader");
}
Symbol 26 MovieClip Frame 36
pr._alpha = 0;
step = 10;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
pr.gotoAndStop(Math.round((100 * _local1.getBytesLoaded()) / _local1.getBytesTotal()));
pr._alpha = pr._alpha + step;
if (pr._alpha > 100) {
pr._alpha = 100;
step = 0;
}
if (step < 0) {
_local2._alpha = _local2._alpha + step;
}
if (_local2._alpha <= 0) {
_local2._parent.loaded();
}
if (_local1.getBytesLoaded() == _local1.getBytesTotal()) {
step = -10;
}
};
stop();
Symbol 28 MovieClip Frame 1
this._parent.stop();
bg._x = 0;
bg._y = 0;
this._x = 0;
this._y = 0;
bg._width = Stage.width;
bg._height = Stage.height;
bg.swapDepths(10);
_quality = "BEST";
intro._xscale = 100;
intro._yscale = 100;
intro.swapDepths(11);
intro._x = Math.round((Stage.width - intro._width) / 2);
intro._y = Math.round((Stage.height - intro._height) / 2);
loaded = function () {
this._parent.gotoAndStop(2);
};
gotoGamezhero = function () {
getURL ("http://www.gamezhero.com/?from=spookyhoops_ContextMenu", "gamezhero");
};
gamezheroMenu = new ContextMenu();
gamezheroMenu.builtInItems.forward_back = false;
gamezheroMenu.builtInItems.loop = false;
gamezheroMenu.builtInItems.play = false;
gamezheroMenu.builtInItems.print = false;
gamezheroMenu.builtInItems.rewind = false;
gamezheroMenu.builtInItems.zoom = false;
gamezheroMenu.builtInItems.save = false;
gamezheroMenu.customItems.push(new ContextMenuItem("More Free Games - gamezhero.com", gotoGamezhero));
_root.menu = gamezheroMenu;
Symbol 32 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 36 MovieClip Frame 2
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 36 MovieClip Frame 3
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 36 MovieClip Frame 4
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 36 MovieClip Frame 5
gotoAndStop (2);
Symbol 37 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 1
_root.finalanim = this;
stop();
Symbol 44 MovieClip Frame 22
_root.menubox.noise.play();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 21
gotoAndPlay (2);
Symbol 52 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if (this.hitTest(_local1.jfloor) && (!_local1.jumping)) {
_local1.forcejump = (_local1.picked = true);
if ((--_local1.pickups) > 0) {
_local1.msg = _local1.pickups + " LEFT!";
} else {
_local1.msg = "SHOOT A BASKET";
_local1.saddam.anger.play();
_local1.barra.play();
}
_local1.setscore(10 + Math.round((365 - _local1.menubox.time._currentframe) / 36));
_local1.menubox.time.gotoAndPlay(2);
_local1.saddam.msgdisplayer.play();
_parent._parent.gotoAndStop(2);
}
};
Symbol 53 MovieClip Frame 1
_parent.x = (random(450) + 100) - _root.fondo._x;
_parent.y = ((random(200) + 240) - (_parent.x / 4)) - _root.fondo._y;
_parent._x = _parent.x + _root.fondo._x;
_parent._y = _parent.y + _root.fondo._y;
Symbol 53 MovieClip Frame 15
stop();
Symbol 55 MovieClip Frame 35
if (_root.pickups > 0) {
_parent.gotoAndStop(1);
}
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
gotoAndPlay(random(_totalframes));
Symbol 60 MovieClip Frame 171
gotoAndPlay (2);
Symbol 62 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if (this.hitTest(_local1.jfloor)) {
if (_local1.jumping) {
_parent._parent.gotoAndStop(2);
} else if (!_local1.ghost) {
_local1.kill();
_parent._parent.gotoAndStop(2);
}
}
};
Symbol 63 MovieClip Frame 1
_parent.x = (random(450) + 100) - _root.fondo._x;
_parent.y = ((random(200) + 200) - (_parent.x / 4)) - _root.fondo._y;
_parent._x = _parent.x + _root.fondo._x;
_parent._y = _parent.y + _root.fondo._y;
gotoAndPlay(random(80));
Symbol 63 MovieClip Frame 282
_parent.gotoAndStop(2);
Symbol 65 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
n = 0;
while (n < _local1.muchcomputers) {
if (_local2.hitTest(_local1["c" + n].shoes)) {
_local1["c" + n].mode = "knocked";
_local1["c" + n].knocked = true;
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
}
n++;
}
if (((!_local1.jumping) && (!_local1.ghost)) && (!_local1.cry)) {
if (_local2.hitTest(_local1.jfloor)) {
_local1.kill();
}
}
};
Symbol 67 MovieClip Frame 68
_parent.gotoAndStop(1);
Symbol 68 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 1
gotoAndPlay(random(40));
Symbol 87 MovieClip Frame 20
if (random(2) == 0) {
_parent.mode = "chase";
}
Symbol 90 MovieClip Frame 1
gotoAndPlay(random(_totalframes));
Symbol 90 MovieClip Frame 25
if (random(20) == 0) {
_parent.mode = "tackle";
_parent.gotoAndStop("tackle" + _parent.face);
}
gotoAndPlay (2);
Symbol 91 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if (((!_local1.ghost) && (!_local1.jumping)) && (!_parent.knocked)) {
if (this.hitTest(_local1.saddam.shoes) && (_local1.jfloor.hitTest(_parent._parent.shoes))) {
_local1.kill();
_local1.msg = "FOUL";
_local1.saddam.msgdisplayer.play();
}
}
};
Symbol 94 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 95 MovieClip Frame 1
if (!_parent._parent.knocked) {
_visible = false;
}
Symbol 96 MovieClip Frame 1
xvel = _parent.cos * 10;
yvel = _parent.sen * 10;
this.onEnterFrame = function () {
var _local1 = _parent;
xvel = xvel * 0.9;
yvel = yvel * 0.9;
_local1._x = _local1._x + (xvel - (_root.xvel / 6));
_local1._y = _local1._y + (yvel - (_root.yvel / 6));
};
if (_root.jumping) {
_root.msg = "NICE MOVE! ";
_root.saddam.msgdisplayer.play();
}
Symbol 96 MovieClip Frame 22
if (!_root.cry) {
_root.setscore(random(20) + 5);
}
if (!_parent.knocked) {
gotoAndPlay(random(100) + _currentframe);
}
Symbol 96 MovieClip Frame 131
_parent.y = _parent._y - _root.fondo._y;
_parent.x = _parent._x - _root.fondo._x;
_parent.knocked = false;
_parent.mode = "stand";
_parent.gotoAndStop("stand" + _parent.face);
Symbol 97 MovieClip Frame 1
stop();
mode = "stand";
knocked = false;
Symbol 97 MovieClip Frame 10
stop();
mode = "stand";
knocked = false;
Symbol 97 MovieClip Frame 20
stop();
Symbol 97 MovieClip Frame 30
stop();
Symbol 97 MovieClip Frame 40
stop();
Symbol 97 MovieClip Frame 50
stop();
Symbol 115 MovieClip Frame 13
gotoAndPlay(random(_totalframes));
Symbol 115 MovieClip Frame 43
gotoAndPlay(random(_totalframes));
Symbol 115 MovieClip Frame 64
gotoAndPlay(random(_totalframes));
Symbol 115 MovieClip Frame 85
gotoAndPlay(random(_totalframes));
Symbol 115 MovieClip Frame 101
gotoAndPlay(random(_totalframes));
Symbol 115 MovieClip Frame 132
gotoAndPlay(random(_totalframes));
Symbol 120 MovieClip Frame 24
gotoAndPlay (2);
Symbol 122 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 2);
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
_root.ghost = true;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
if (_local2._visible) {
_local2._visible = false;
} else {
_local2._visible = true;
}
n = 0;
while (n < muchcomputers) {
if (_local2.hitTest(_local1["c" + n])) {
_local1["c" + n].mode == "tackle";
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
}
n++;
}
};
Symbol 123 MovieClip Frame 46
_root.ghost = false;
this.onEnterFrame = null;
Symbol 155 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 1
if (_root.pickups > 0) {
stop();
}
Symbol 157 MovieClip Frame 1
if (!_root.picked) {
stop();
}
_root.picked = false;
Symbol 157 MovieClip Frame 2
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
n = 0;
while (n < muchcomputers) {
if (_local2.hitTest(_local1["c" + n])) {
_local1["c" + n].mode == "tackle";
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
}
n++;
}
};
Symbol 157 MovieClip Frame 20
this.onEnterFrame = null;
Symbol 160 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
n = 0;
while (n < _local1.muchcomputers) {
if (hurt.hitTest(_local1["c" + n]) && (!_local1["c" + n].knocked)) {
_local1["c" + n].cos = _local1["c" + n].cos * -1;
_local1["c" + n].cos;
_local1["c" + n].sen = _local1["c" + n].sen * -1;
_local1["c" + n].mode = "tackle";
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
_local1["c" + n].knocked = true;
star.play();
_local1.setscore(random(50) + 5);
}
n++;
}
};
Symbol 168 MovieClip Frame 80
_root.cry = false;
_root.spawn();
Symbol 170 MovieClip Frame 15
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 62
stop();
Symbol 172 MovieClip Frame 1
_visible = false;
this.onEnterFrame = null;
stop();
this.swapDepths(700);
Symbol 172 MovieClip Frame 2
_x = _root.saddam._x;
_y = (_root.saddam._y - 50);
_visible = true;
this.onEnterFrame = function () {
_x = (_x + (((_parent.barra._x - 25) - _x) / 7));
_y = (_y + (((_parent.barra._y - 90) - _y) / 7));
};
Symbol 172 MovieClip Frame 26
_root.finalanim.play();
gotoAndStop (1);
Symbol 176 MovieClip Frame 1
this.swapDepths(998);
stop();
Symbol 176 MovieClip Frame 2
this.onEnterFrame = function () {
var _local1 = _root;
if (_local1.seconds > 0) {
_local1.seconds--;
_local1.score = _local1.score + Math.round((10 * _local1.level) / 2);
_local1.transmission.scorebox.gotoAndPlay(2);
_local1.transmission.timebox.gotoAndPlay(2);
if (_local1.seconds < 10) {
_local1.showseconds = "0" + _local1.seconds;
} else {
_local1.showseconds = _local1.seconds;
}
_local1.showtime = (_local1.showseconds + ":") + _local1.showmilliseconds;
} else {
_local1.showtime = "00:00";
_local1.score = _local1.score + Math.round(_local1.level / 2);
delete this.onEnterFrame;
}
};
_root.keyb = false;
_root.saddamface = "jfront";
Symbol 176 MovieClip Frame 108
_root.transmission.play();
Symbol 182 Button
on (press) {
gotoAndStop ("game");
_root.fondo.gotoAndStop(1);
_parent.lives = 3;
_parent.level = 0;
_parent.gainlife = 0;
_parent.showscore = (score = 0);
_parent.newlevel();
}
Symbol 194 Button
on (press) {
gotoAndStop ("score");
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 365
_root.kill();
Symbol 249 Button
on (press) {
_root.vol.setVolume(0);
play();
}
Symbol 252 Button
on (press) {
_root.vol.setVolume(100);
play();
}
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
stop();
Symbol 255 Button
on (press) {
vol = _root.vol.getVolume();
_root.pause();
play();
}
Symbol 256 Button
on (press) {
_root.vol.setVolume(vol);
_root.unpause();
play();
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 2
stop();
Symbol 259 MovieClip Frame 1
txt = "LEVEL " + _root.level;
Symbol 259 MovieClip Frame 52
stop();
Symbol 259 MovieClip Frame 106
trace(_root.lives);
_root.newlevel();
Symbol 282 MovieClip Frame 1
submitTopScoreBtn.onRelease = function () {
_root.soundArc2.playSound("mouseClick", 0);
gotoAndStop (2);
};
submitTopScoreBtn.onRollOver = function () {
_root.soundArc2.playSound("mouseOver", 0);
};
_level0.getValue = function (name, score) {
return((String(score) + String(name)) + "gamezhero");
};
stop();
Instance of Symbol 9 MovieClip [Fmd5] "md5" in Symbol 282 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
securetyURL = "http://www.gamezhero.com";
}
//component parameters
onClipEvent (initialize) {
securetyURL = "http://www.gamezhero.com";
}
Symbol 282 MovieClip Frame 2
txtIn.enabled = false;
loader = new LoadVars();
loader.code = md5.makeSig(_level0.getValue(txtIn.text, _level0.score));
loader.score = _level0.score;
loader.name = txtIn.text;
loader._parent = this;
loader.onLoad = function () {
var _local1 = this;
_local1 = _local1._parent;
_local1._parent.gotoAndStop(2);
};
System.security.allowDomain("www.gamezhero.com");
loader.sendAndLoad("http://www.gamezhero.com/online/spookyhoops/submit.php", loader, "POST");
Symbol 294 MovieClip Frame 1
mainMenuBtn.onRelease = function () {
_root.soundArc2.playSound("mouseClick", 0);
this._parent._parent._parent.gotoAndStop("cover");
};
mainMenuBtn.onRollOver = function () {
_root.soundArc2.playSound("mouseOver", 0);
};
loader = new LoadVars();
loader.onLoad = function (how) {
if (how == true) {
gotoAndStop (2);
} else {
info.text = "error loading top score.".toUpperCase();
}
};
loader.load("http://www.gamezhero.com/online/spookyhoops/scores.php?t=" + new Date().getTime());
stop();
Symbol 294 MovieClip Frame 2
update = function (g) {
var _local1 = g;
numbersTxt.text = "";
namesTxt.text = "";
scoresTxt.text = "";
i = 1;
while (i <= 10) {
numbersTxt.text = numbersTxt.text + ((i + ".") + newline);
if (i <= _local1.n) {
namesTxt.text = namesTxt.text + (_local1["name" + i] + newline);
scoresTxt.text = scoresTxt.text + (_local1["score" + i] + newline);
} else {
namesTxt.text = namesTxt.text + newline;
scoresTxt.text = scoresTxt.text + newline;
}
i++;
}
};
update(loader);
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 296 MovieClip Frame 1
this.swapDepths(1000);
stop();
Symbol 296 MovieClip Frame 10
this.swapDepths(1000);
stop();
if (_root.score < 50) {
submitBtn._visible = false;
submitText._visible = false;
}
Symbol 296 MovieClip Frame 20
this.swapDepths(1000);
stop();