Frame 2
stop();
Frame 3
stop();
Instance of Symbol 120 MovieClip [SantaDropSymbol] in Frame 3
//component parameters
onClipEvent (initialize) {
good_objects = [];
good_objects[0] = "good0";
good_objects[1] = "good1";
good_objects[2] = "good2";
good_objects[3] = "good3";
good_objects[4] = "good4";
good_objects[5] = "good5";
good_objects[6] = "good6";
good_objects[7] = "good7";
bad_objects = [];
bad_objects[0] = "bad0";
bad_objects[1] = "bad1";
game_time = 60000;
num_presents_bonus = 20;
bonus_time = 5000;
santa_speed = 14;
falling_speed = 5;
drop_delay = 850;
santa_max_y = 160;
santa_min_y = 100;
}
Frame 4
_root.score_disp = _root.final___score;
stop();
Instance of Symbol 421 MovieClip in Frame 4
//component parameters
onClipEvent (initialize) {
scr = "_root.score_disp";
}
Frame 5
gotoAndPlay (2);
Symbol 47 MovieClip Frame 1
this.play();
Symbol 47 MovieClip Frame 32
stop();
Symbol 57 MovieClip Frame 1
this.play();
Symbol 57 MovieClip Frame 30
this._parent.gotoAndStop(4);
Symbol 105 MovieClip Frame 1
this.play();
Symbol 115 MovieClip Frame 1
this.play();
Symbol 115 MovieClip Frame 21
this._parent.gotoAndStop(4);
Symbol 116 MovieClip Frame 1
stop();
Symbol 120 MovieClip [SantaDropSymbol] Frame 1
#initclip 1
SantaDrop = function () {
this.initialize();
};
SantaDrop.prototype = new MovieClip();
Object.registerClass("SantaDropSymbol", SantaDrop);
SantaDrop.prototype.initialize = function () {
this.initialize_variables();
this.initialize_graphics();
};
SantaDrop.prototype.initialize_variables = function () {
this.num_caught = 0;
this.start_time = getTimer();
this.last_drop = getTimer();
this.santa_direction = -1;
this.depth = 0;
this.fallers = new Array();
this.frozen_presents = new Array();
};
SantaDrop.prototype.initialize_graphics = function () {
};
SantaDrop.prototype.onEnterFrame = function () {
this.move_chimney();
this.move_santa();
this.check_santa_drop();
this.move_fallers();
this.move_frozen_presents();
this.check_game_over();
this.update_displays();
this.check_end_bad();
_root.__score__ = this.num_caught;
};
SantaDrop.prototype.check_end_bad = function () {
if ((getTimer() - this.bad_start_time) > 10000) {
this.bad_start_time = Number.MAX_VALUE;
this.chimney.gotoAndStop(1);
}
};
SantaDrop.prototype.update_displays = function () {
this.num_caught_disp = this.num_caught;
this.time_disp = Math.floor((this.game_time - (getTimer() - this.start_time)) / 1000);
};
SantaDrop.prototype.move_chimney = function () {
this.chimney._x = _root._xmouse;
};
SantaDrop.prototype.move_santa = function () {
this.santa._x = this.santa._x + (this.santa_speed * this.santa_direction);
var change = false;
if (((this.santa_direction < 0) && ((this.santa._x + (this.santa._width / 2)) < 0)) || ((this.santa_direction > 0) && ((this.santa._x - (this.santa._width / 2)) > 550))) {
change = true;
this.santa_direction = Math.randa(-1, 1);
}
if (change) {
if (this.santa_direction == 1) {
this.santa._x = (-this.santa._width) / 2;
this.santa._xscale = -100;
} else {
this.santa._x = 550 + (this.santa._width / 2);
this.santa._xscale = 100;
}
this.santa._y = Math.randf(this.santa_min_y, this.santa_max_y);
}
};
SantaDrop.prototype.check_santa_drop = function () {
if ((((getTimer() - this.last_drop) > this.drop_delay) && (this.santa._x > 50)) && (this.santa._x < 500)) {
this.last_drop = getTimer() + Math.randi((-this.drop_delay) / 2, this.drop_delay / 2);
if (Math.random() < 0.7) {
if (Math.random() < 0.9) {
var linkage = this.good_objects.rande();
} else {
var linkage = "clock_power_up";
}
} else if (this.chimney._currentframe == 2) {
var linkage = "bad0";
} else if (this.chimney._currentframe > 2) {
var linkage = "bad1";
} else {
var linkage = this.bad_objects.rande();
}
var _mc = this.attachMovie(linkage, "fall", this.depth++, {linkage:linkage});
_mc._x = this.santa._x;
_mc._y = this.santa._y;
this.fallers.push(_mc);
}
};
SantaDrop.prototype.move_fallers = function () {
var j = 0;
while (j < this.fallers.length) {
var _mc = this.fallers[j];
_mc._y = _mc._y + this.falling_speed;
var bool = (((_mc._y + (_mc._height / 2)) > this.chimney._y) && (Math.abs(this.chimney._x - _mc._x) < (this.chimney._width / 2)));
if (_mc._y > 400) {
this.fallers.splice(j, 1);
_mc.removeMovieClip();
j--;
} else if (bool) {
if (_mc.linkage == "bad0") {
if (this.chimney._currentframe == 2) {
this.bad_start_time = Number.MAX_VALUE;
this.chimney.gotoAndStop(1);
} else if (this.chimney._currentframe == 1) {
this.bad_start_time = getTimer();
this.chimney.gotoAndStop(3);
}
var remove = true;
} else if (_mc.linkage == "bad1") {
if (this.chimney._currentframe > 2) {
this.bad_start_time = Number.MAX_VALUE;
this.chimney.gotoAndStop(1);
} else if (this.chimney._currentframe == 1) {
this.bad_start_time = getTimer();
this.chimney.gotoAndStop(2);
}
var remove = true;
} else if (_mc.linkage == "clock_power_up") {
if (this.chimney._currentframe == 2) {
this.frozen_presents.push(_mc);
_mc.acc = Math.randf(1, 2);
_mc.angle = Math.atan2(this.chimney._y - _mc._y, this.chimney._x - _mc._x);
_mc.vel = Math.randf(15, 20);
_mc.vel_x = (-_mc.vel) * Math.cos(_mc.angle);
_mc.vel_y = (-_mc.vel) * Math.sin(_mc.angle);
_mc.rot = Math.randa(-1, 1) * Math.randf(10, 35);
this.num_caught--;
var remove = false;
this.fallers.splice(j, 1);
j--;
var _sound = new Sound();
_sound.attachSound("ice_hit");
_sound.start(0, 1);
} else if (this.chimney._currentframe > 2) {
this.chimney.gotoAndStop(5);
this.num_caught = this.num_caught - 5;
var remove = true;
var _sound = new Sound();
_sound.attachSound("toy_burn");
_sound.start(0, 1);
} else {
this.start_time = this.start_time + 10000;
var remove = true;
}
} else if (this.chimney._currentframe == 2) {
this.frozen_presents.push(_mc);
_mc.acc = Math.randf(1, 2);
_mc.angle = Math.atan2(this.chimney._y - _mc._y, this.chimney._x - _mc._x);
_mc.vel = Math.randf(15, 20);
_mc.vel_x = (-_mc.vel) * Math.cos(_mc.angle);
_mc.vel_y = (-_mc.vel) * Math.sin(_mc.angle);
_mc.rot = Math.randa(-1, 1) * Math.randf(10, 35);
this.num_caught--;
var remove = false;
this.fallers.splice(j, 1);
j--;
var _sound = new Sound();
_sound.attachSound("ice_hit");
_sound.start(0, 1);
} else if (this.chimney._currentframe > 2) {
this.chimney.gotoAndStop(5);
this.num_caught = this.num_caught - 5;
var remove = true;
var _sound = new Sound();
_sound.attachSound("toy_burn");
_sound.start(0, 1);
} else {
this.num_caught++;
var remove = true;
if ((this.num_caught % 10) == 0) {
this.start_time = this.start_time + 5000;
}
if ((this.num_caught % this.num_presents_bonus) == 0) {
this.start_time = this.start_time + this.bonus_time;
}
var _sound = new Sound();
_sound.attachSound("ring");
_sound.start(0, 1);
}
if (remove) {
this.fallers.splice(j, 1);
_mc.removeMovieClip();
j--;
}
}
j++;
}
};
SantaDrop.prototype.move_frozen_presents = function () {
var j = 0;
while (j < this.frozen_presents.length) {
var _mc = this.frozen_presents[j];
_mc.vel_y = _mc.vel_y + _mc.acc;
_mc._x = _mc._x + _mc.vel_x;
_mc._y = _mc._y + _mc.vel_y;
_mc._rotation = _mc._rotation + _mc.rot;
if (_mc._y > 400) {
_mc.removeMovieClip();
this.frozen_presents.splice(j, 1);
j--;
}
j++;
}
};
SantaDrop.prototype.check_game_over = function () {
if (Number(this.time_disp) < 0) {
_root.final___score = this.num_caught;
stopAllSounds();
_root.gotoAndStop("Game Over");
}
};
#endinitclip
Math.randi = function (a, b) {
return(Math.floor(Math.random() * (b - a)) + Math.floor(a));
};
Math.randf = function (a, b) {
return((Math.random() * (b - a)) + a);
};
Math.randa = function () {
return(arguments.rande());
};
Array.prototype.rande = function () {
return(this[Math.randi(0, this.length)]);
};
this._x = 0;
this._y = 0;
Symbol 127 MovieClip Frame 1
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Stage.showMenu = false;
this.uu = _root._url;
var a = _root._url.split("/");
var i = 0;
while (i < a.length) {
if (a[i] == "files") {
_root.gid = a[i + 1];
}
i++;
}
if ((a[2] == "www.netstupidity.com") || (a[2] == "netstupidity.com")) {
_root.ligin = 1;
}
_root.__url = "http://www.netstupidity.com/games/hof/";
_root.loadVariables((_root.__url + "hof_bsc.php?id=") + _root.gid);
_root.prc = 0;
this.onEnterFrame = function () {
var ld = _root.getBytesLoaded();
var tt = _root.getBytesTotal();
var pr = ((100 * ld) / tt);
this.pasek._xscale = pr;
var b = Math.round(pr / 20);
if (pr >= 100) {
this.onEnterFrame = null;
this._parent.play();
}
};
Symbol 141 MovieClip Frame 140
stop();
Symbol 180 MovieClip Frame 1
this.t = getTimer();
this.tm = 0;
this.onEnterFrame = function () {
if (_root._framesloaded < 2) {
this.t = getTimer();
return(undefined);
}
this.tm = this.tm + (getTimer() - this.t);
var tt = Math.round(this.tm / 33);
if (tt < 1) {
this.stop();
} else {
this.t = getTimer();
if (tt >= 145) {
this.onEnterFrame = null;
this.gotoAndStop(145);
_root.play();
} else {
this.gotoAndStop(tt);
}
}
};
stop();
Symbol 183 MovieClip Frame 1
_root.stop();
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 200 Button
on (press) {
play();
}
Symbol 208 MovieClip Frame 1
this._visible = _root.ligin == undefined;
this.onPress = function () {
getURL ("http://www.netstupidity.com");
};
Symbol 220 Button
on (press) {
gotoAndPlay (2);
}
Symbol 232 MovieClip Frame 40
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 10
stop();
Symbol 252 MovieClip Frame 24
stop();
Symbol 252 MovieClip Frame 43
stop();
Symbol 252 MovieClip Frame 56
stop();
Symbol 252 MovieClip Frame 66
stop();
Symbol 252 MovieClip Frame 77
stop();
Symbol 261 Button
on (release) {
_root.eyeland_hs_p = _parent.nameholder.name;
_root.eyeland_hs_e = _parent.emailholder.email;
_parent.gotoAndPlay("save");
}
Symbol 264 Button
on (release) {
_parent.gotoAndPlay("load");
}
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 279 MovieClip Frame 12
stop();
Symbol 279 MovieClip Frame 22
stop();
Symbol 279 MovieClip Frame 32
stop();
Symbol 279 MovieClip Frame 42
stop();
Symbol 279 MovieClip Frame 52
stop();
Symbol 279 MovieClip Frame 62
stop();
Symbol 279 MovieClip Frame 72
stop();
Symbol 279 MovieClip Frame 82
stop();
Symbol 279 MovieClip Frame 92
stop();
Symbol 279 MovieClip Frame 102
stop();
Symbol 279 MovieClip Frame 113
stop();
Symbol 282 Button
on (release) {
_root._quality = _root.eyeland_hs_quality;
_parent._parent.play();
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 2
stop();
Symbol 285 MovieClip Frame 3
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 25
stop();
Symbol 317 MovieClip Frame 47
stop();
Symbol 317 MovieClip Frame 66
stop();
Symbol 317 MovieClip Frame 82
stop();
Symbol 317 MovieClip Frame 102
stop();
Instance of Symbol 317 MovieClip "line" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "line") {
this._visible = false;
}
}
Symbol 322 Button
on (press) {
if (!_parent._parent.script.draggable) {
return(undefined);
}
this.startDrag(false, _parent._parent.script.dragx, _parent._parent.script.topdragy, _parent._parent.script.dragx, _parent._parent.script.topdragy + _parent._parent.script.dragheight);
_parent._parent.script.drag = true;
}
on (release) {
if (!_parent._parent.script.draggable) {
return(undefined);
}
this.stopDrag();
_parent._parent.script.drag = false;
}
Symbol 326 Button
on (press) {
_parent._parent.script.pressup = (_parent._parent.script.moveup = true);
}
on (release) {
_parent._parent.script.pressup = false;
}
Symbol 329 Button
on (press) {
_parent._parent.script.pressdown = (_parent._parent.script.movedown = true);
}
on (release) {
_parent._parent.script.pressdown = false;
}
Symbol 335 Button
on (release) {
btn_press();
}
Symbol 347 MovieClip Frame 1
function rand_str() {
var out = "";
var len = 10;
var alpha = "abcdefghijklmnopqrstuvwxyz";
var n = 0;
while (n < len) {
out = out + alpha.charAt(Math.floor(Math.random() * alpha.length));
n++;
}
return(out);
}
function rhex(num) {
str = "";
j = 0;
while (j <= 3) {
str = str + (hex_chr.charAt((num >> ((j * 8) + 4)) & 15) + hex_chr.charAt((num >> (j * 8)) & 15));
j++;
}
return(str);
}
function str2blks_MD5(str) {
nblk = ((str.length + 8) >> 6) + 1;
blks = new Array(nblk * 16);
i = 0;
while (i < (nblk * 16)) {
blks[i] = 0;
i++;
}
i = 0;
while (i < str.length) {
blks[i >> 2] = blks[i >> 2] | (str.charCodeAt(i) << ((i % 4) * 8));
i++;
}
blks[i >> 2] = blks[i >> 2] | (128 << ((i % 4) * 8));
blks[(nblk * 16) - 2] = str.length * 8;
return(blks);
}
function add2(x, y) {
var lsw = ((x & 65535) + (y & 65535));
var msw = (((x >> 16) + (y >> 16)) + (lsw >> 16));
return((msw << 16) | (lsw & 65535));
}
function rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function cmn(q, a, b, x, s, t) {
return(add2(rol(add2(add2(a, q), add2(x, t)), s), b));
}
function ff(a, b, c, d, x, s, t) {
return(cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
function gg(a, b, c, d, x, s, t) {
return(cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function hh(a, b, c, d, x, s, t) {
return(cmn((b ^ c) ^ d, a, b, x, s, t));
}
function ii(a, b, c, d, x, s, t) {
return(cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function calcMD5(str) {
x = str2blks_MD5(str);
a = 1732584193 /* 0x67452301 */;
b = -271733879;
c = -1732584194;
d = 271733878 /* 0x10325476 */;
i = 0;
while (i < x.length) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
a = ff(a, b, c, d, x[i + 0], 7, -680876936);
d = ff(d, a, b, c, x[i + 1], 12, -389564586);
c = ff(c, d, a, b, x[i + 2], 17, 606105819);
b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
a = ff(a, b, c, d, x[i + 4], 7, -176418897);
d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
b = ff(b, c, d, a, x[i + 7], 22, -45705983);
a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
c = ff(c, d, a, b, x[i + 10], 17, -42063);
b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
d = ff(d, a, b, c, x[i + 13], 12, -40341101);
c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
a = gg(a, b, c, d, x[i + 1], 5, -165796510);
d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
c = gg(c, d, a, b, x[i + 11], 14, 643717713);
b = gg(b, c, d, a, x[i + 0], 20, -373897302);
a = gg(a, b, c, d, x[i + 5], 5, -701558691);
d = gg(d, a, b, c, x[i + 10], 9, 38016083);
c = gg(c, d, a, b, x[i + 15], 14, -660478335);
b = gg(b, c, d, a, x[i + 4], 20, -405537848);
a = gg(a, b, c, d, x[i + 9], 5, 568446438);
d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
c = gg(c, d, a, b, x[i + 3], 14, -187363961);
b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
d = gg(d, a, b, c, x[i + 2], 9, -51403784);
c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
a = hh(a, b, c, d, x[i + 5], 4, -378558);
d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
b = hh(b, c, d, a, x[i + 14], 23, -35309556);
a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
c = hh(c, d, a, b, x[i + 7], 16, -155497632);
b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
a = hh(a, b, c, d, x[i + 13], 4, 681279174);
d = hh(d, a, b, c, x[i + 0], 11, -358537222);
c = hh(c, d, a, b, x[i + 3], 16, -722521979);
b = hh(b, c, d, a, x[i + 6], 23, 76029189);
a = hh(a, b, c, d, x[i + 9], 4, -640364487);
d = hh(d, a, b, c, x[i + 12], 11, -421815835);
c = hh(c, d, a, b, x[i + 15], 16, 530742520);
b = hh(b, c, d, a, x[i + 2], 23, -995338651);
a = ii(a, b, c, d, x[i + 0], 6, -198630844);
d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
b = ii(b, c, d, a, x[i + 5], 21, -57434055);
a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
c = ii(c, d, a, b, x[i + 10], 15, -1051523);
b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
d = ii(d, a, b, c, x[i + 15], 10, -30611744);
c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
a = ii(a, b, c, d, x[i + 4], 6, -145523070);
d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
c = ii(c, d, a, b, x[i + 2], 15, 718787259);
b = ii(b, c, d, a, x[i + 9], 21, -343485551);
a = add2(a, olda);
b = add2(b, oldb);
c = add2(c, oldc);
d = add2(d, oldd);
i = i + 16;
}
return(((rhex(a) + rhex(b)) + rhex(c)) + rhex(d));
}
var hex_chr = "0123456789abcdef";
_root.eyeland_hs_quality = _root._quality;
_root._quality = "HIGH";
_parent.stop();
stop();
Instance of Symbol 233 MovieClip "loader" in Symbol 347 MovieClip Frame 1
onClipEvent (load) {
if ((((_root.eyeland_hs_highscore_url == undefined) || (_root.eyeland_hs_game_id == undefined)) || (_root.eyeland_hs_score_variable == undefined)) || (_root.eyeland_hs_button_label == undefined)) {
trace("== GIAF HS ERROR == Highscore variables not found. Use the \"giaf hs settings\" component on a scene prior to this one to set the highscore variables correctly.");
}
if (_root[_root.eyeland_hs_score_variable] == undefined) {
trace(("== GIAF HS ERROR == Highscore variable \"_root." + _root.eyeland_hs_score_variable) + "\" not set. Please adjust your game's code to make sure this score variable is set before attempting to save it to the server. Use the \"giaf hs settings\" component to set the name of the score variable.");
}
_parent.highscore_url = _root.eyeland_hs_highscore_url;
_parent.game_id = _root.eyeland_hs_game_id;
_parent.score_variable = _root.eyeland_hs_score_variable;
_parent.button_label = _root.eyeland_hs_button_label;
var score = _root[_parent.score_variable];
loadVariables ((((((_parent.highscore_url + "?action=check&id=") + _parent.game_id) + "&score=") + score) + "&rand=") + Math.round(Math.random() * 999999999), this);
}
onClipEvent (data) {
_root.eyeland_hs_result = result;
_root.eyeland_hs_lowscore = lowscore;
_root.eyeland_hs_recordplayeremail = recordplayeremail;
_root.eyeland_hs_emailpromptmessage = unescape(emailpromptmessage);
_root.eyeland_hs_maxchars = Number(maxchars);
_parent.gotoAndPlay("enter");
}
Symbol 347 MovieClip Frame 12
btn_submit._visible = false;
btn_skip._visible = false;
btn_scores._visible = false;
btn_scores._y = btn_submit._y;
btn_playagain._visible = false;
btn_playagain._y = btn_skip._y;
if (_root.eyeland_hs_result == "yes") {
btn_submit._visible = true;
btn_skip._visible = true;
if (_root.eyeland_hs_maxchars > 0) {
nameholder.gotoAndPlay("name" + _root.eyeland_hs_maxchars);
if (_root.eyeland_hs_recordplayeremail == "yes") {
enter_screens.gotoAndPlay("enter_email");
enter_screens.emailpromptmessage = _root.eyeland_hs_emailpromptmessage;
emailholder._y = 40.8;
emailholder.gotoAndPlay("field");
} else {
enter_screens.gotoAndPlay("enter");
}
if (_root.eyeland_hs_maxchars == 3) {
enter_screens.name_label.gotoAndStop(2);
}
} else if (_root.eyeland_hs_recordplayeremail == "yes") {
enter_screens.gotoAndPlay("enter_email_only");
enter_screens.emailpromptmessage = _root.eyeland_hs_emailpromptmessage;
emailholder._y = 20.8;
emailholder.gotoAndPlay("field");
} else {
enter_screens.gotoAndPlay("noname");
}
} else {
btn_scores._visible = true;
btn_playagain._visible = true;
enter_screens.gotoAndPlay("low_score");
enter_screens.low_score_message = ("Score over " + _root.eyeland_hs_lowscore) + " points to get onto the High Score table!";
}
stop();
Instance of Symbol 285 MovieClip "btn_playagain" in Symbol 347 MovieClip Frame 12
onClipEvent (load) {
if (_parent.button_label == "Play Again") {
gotoAndPlay (2);
} else if (_parent.button_label == "Continue") {
gotoAndPlay (3);
}
}
Instance of Symbol 233 MovieClip in Symbol 347 MovieClip Frame 12
onClipEvent (load) {
_parent.score1 = (_parent.score2 = _root[_parent.score_variable]);
}
Symbol 347 MovieClip Frame 22
stop();
Instance of Symbol 233 MovieClip "copy_to_root" in Symbol 347 MovieClip Frame 22
onClipEvent (data) {
_root.eyeland_hs_players = new Array();
_root.eyeland_hs_scores = new Array();
_root.eyeland_hs_dates = new Array();
_root.eyeland_hs_maxscores = this.maxscores;
_root.eyeland_hs_current = this.current;
_root.eyeland_hs_showdate = this.showdate;
_root.eyeland_hs_cleardate = this.cleardate;
_root.eyeland_hs_emailtofriend = this.emailtofriend;
var n = 0;
while (n < numscores) {
_root.eyeland_hs_players.push(unescape(this["p" + n]));
_root.eyeland_hs_scores.push(this["s" + n]);
_root.eyeland_hs_dates.push(unescape(this["d" + n]));
n++;
}
_parent.gotoAndPlay("show");
}
Instance of Symbol 233 MovieClip in Symbol 347 MovieClip Frame 22
onClipEvent (load) {
var score = _root[_parent.score_variable];
var url = ((((_parent.highscore_url + "?action=get&id=") + _parent.game_id) + "&rand=") + Math.round(Math.random() * 999999999));
loadVariables (url, _parent.copy_to_root);
}
Symbol 347 MovieClip Frame 31
stop();
Instance of Symbol 233 MovieClip in Symbol 347 MovieClip Frame 31
onClipEvent (load) {
var score = _root[_parent.score_variable];
var rand = _parent.rand_str();
var url = ((((((((((((_parent.highscore_url + "?action=set&id=") + _parent.game_id) + "&player=") + escape(_root.eyeland_hs_p)) + "&score=") + score) + "&email=") + escape(_root.eyeland_hs_e)) + "&rand=") + rand) + "&rand2=") + _parent.calcMD5(rand + "...you shall not pass"));
loadVariables (url, _parent.copy_to_root);
}
Symbol 347 MovieClip Frame 40
if (_root.eyeland_hs_emailtofriend == "no") {
chbutton._visible = false;
}
stop();
Instance of Symbol 285 MovieClip "playagain" in Symbol 347 MovieClip Frame 40
onClipEvent (load) {
if (_parent.button_label == "Play Again") {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(3);
}
}
Instance of Symbol 337 MovieClip "chbutton" in Symbol 347 MovieClip Frame 40
onClipEvent (load) {
function btn_press() {
_parent.gotoAndPlay("chform");
}
}
Instance of Symbol 233 MovieClip "script" in Symbol 347 MovieClip Frame 40
onClipEvent (load) {
var topliney = _parent.showbg.list.line._y;
var topdragy = _parent.showbg.dragger._y;
var dragx = _parent.showbg.dragger._x;
var dragheight = 73;
var fieldheight = 167.2;
var maxdragamount = (-fieldheight);
var drag = ((dragonce = false));
var pressup = ((moveup = (pressdown = (movedown = false))));
var linedist = 0;
var curr_dist = 0;
var draggable = false;
_parent.showbg.dragger._alpha = 30;
_parent.showbg.up._alpha = 30;
_parent.showbg.down._alpha = 30;
if (_root.eyeland_hs_cleardate != "00/00/00") {
_parent.clearedmsg = "Scores cleared " + _root.eyeland_hs_cleardate;
}
var n = 0;
while (n < _root.eyeland_hs_maxscores) {
_parent.showbg.list.line.duplicateMovieClip("l" + n, n);
var obj = _parent.showbg.list["l" + n];
if (n != _root.eyeland_hs_current) {
obj.flashbox._visible = false;
}
if (_root.eyeland_hs_showdate == "yes") {
if (_root.eyeland_hs_maxchars > 0) {
obj.gotoAndPlay("name_score_date");
} else {
obj.gotoAndPlay("score_date");
}
} else if (_root.eyeland_hs_maxchars == 0) {
obj.gotoAndPlay("score_only");
}
obj._y = obj._y + curr_dist;
obj.number = (n + 1) + ".";
if (n < _root.eyeland_hs_players.length) {
obj.player = ((_root.eyeland_hs_players[n] == "") ? "anonymous" : (_root.eyeland_hs_players[n]));
obj.score = _root.eyeland_hs_scores[n];
obj.date = _root.eyeland_hs_dates[n];
if (obj.player.maxscroll > 1) {
if (_root.eyeland_hs_showdate == "yes") {
obj.gotoAndPlay("name_score_date_tall");
} else {
obj.gotoAndPlay("name_score_tall");
}
}
} else {
obj.anonymous._visible = false;
obj.player = "";
obj.score = "0";
obj.date = "";
}
curr_dist = curr_dist + obj.flashbox._height;
maxdragamount = maxdragamount + obj.flashbox._height;
if (n == (_root.eyeland_hs_maxscores - 1)) {
obj.hline._visible = false;
}
n++;
}
var bobj = _parent.showbg.list["l" + (_root.eyeland_hs_players.length - 1)];
if (maxdragamount > 0) {
var draggable = true;
_parent.showbg.dragger._alpha = 100;
_parent.showbg.up._alpha = 100;
_parent.showbg.down._alpha = 100;
} else {
var draggable = false;
}
_parent.playagain._alpha = 100;
}
onClipEvent (enterFrame) {
if (moveup && (draggable)) {
_parent.showbg.dragger._y = Math.max(_parent.showbg.dragger._y - 2, topdragy);
dragonce = true;
}
if (!pressup) {
moveup = false;
}
if (movedown && (draggable)) {
_parent.showbg.dragger._y = Math.min(_parent.showbg.dragger._y + 2, topdragy + dragheight);
dragonce = true;
}
if (!pressdown) {
movedown = false;
}
if (drag || (dragonce)) {
linedist = ((_parent.showbg.dragger._y - topdragy) / dragheight) * maxdragamount;
if ((_parent.showbg.dragger._y - topdragy) < 1) {
linedist = 0;
}
if ((_parent.showbg.dragger._y - topdragy) > (dragheight - 1)) {
linedist = maxdragamount;
}
_parent.showbg.list.l0._y = topliney - linedist;
var n = 1;
while (n < _root.eyeland_hs_maxscores) {
_parent.showbg.list["l" + n]._y = _parent.showbg.list["l" + (n - 1)]._y + _parent.showbg.list["l" + (n - 1)].flashbox._height;
n++;
}
dragonce = false;
}
}
Symbol 347 MovieClip Frame 49
message = ("You scored " + _root[score_variable]) + " points! To challenge a friend to beat your score, enter their email address in the field below and click CHALLENGE!";
stop();
Instance of Symbol 344 MovieClip in Symbol 347 MovieClip Frame 49
onClipEvent (load) {
function btn_press() {
_parent.gotoAndPlay("show");
}
}
Instance of Symbol 346 MovieClip in Symbol 347 MovieClip Frame 49
onClipEvent (load) {
function btn_press() {
_root.eyeland_hs_friendemail = _parent.friendemail;
_root.eyeland_hs_yourname = _parent.yourname;
_parent.gotoAndPlay("challenge");
}
}
Symbol 347 MovieClip Frame 60
stop();
Instance of Symbol 233 MovieClip "challenge_handler" in Symbol 347 MovieClip Frame 60
onClipEvent (data) {
_parent.gotoAndPlay("show");
}
Instance of Symbol 233 MovieClip in Symbol 347 MovieClip Frame 60
onClipEvent (load) {
var score = _root[_parent.score_variable];
var id = _parent.game_id;
var friend = escape(_root.eyeland_hs_friendemail);
var yourname = escape(_root.eyeland_hs_yourname);
var url = ((((((((((_parent.highscore_url + "?action=challenge&id=") + id) + "&friend=") + friend) + "&yourname=") + yourname) + "&score=") + score) + "&rand=") + Math.round(Math.random() * 999999999));
loadVariables (url, _parent.challenge_handler);
}
Symbol 362 Button
on (press) {
this.gotoAndStop("weekly");
}
Symbol 363 Button
on (press) {
this.gotoAndStop("daily");
}
Symbol 364 Button
on (press) {
this.gotoAndStop("hourly");
}
Symbol 367 Button
on (press) {
this.gotoAndStop("monthly");
}
Symbol 372 Button
on (press) {
this.gotoAndStop("daily");
}
Symbol 375 MovieClip Frame 1
this._parent.tp = 2592000 /* 0x278D00 */;
this._parent.tc = 0;
this._parent.reload();
stop();
Symbol 375 MovieClip Frame 2
this._parent.tp = 604800 /* 0x093A80 */;
this._parent.tc = 0;
this._parent.reload();
Symbol 375 MovieClip Frame 3
this._parent.tp = 86400 /* 0x015180 */;
this._parent.tc = 0;
this._parent.reload();
Symbol 375 MovieClip Frame 4
this._parent.tp = 3600;
this._parent.tc = 0;
this._parent.reload();
Symbol 382 Button
on (press) {
this.tc--;
this.reload();
}
Symbol 387 Button
on (press) {
this.tc = ((this.tc < 0) ? (this.tc + 1) : 0);
this.reload();
}
Symbol 390 Button
on (press) {
if (this.submitted == false) {
this.loadVariables((((this.__url + "hof_put.php?id=") + this.gid) + "&s=") + this.sc);
}
}
Symbol 394 Button
on (press) {
this._parent.l = 10;
this._parent.reload();
this.gotoAndStop(2);
}
Symbol 397 Button
on (press) {
this._parent.l = 100;
this._parent.reload();
this.gotoAndStop(1);
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 18
stop();
Symbol 415 MovieClip Frame 1
function reset() {
this.m._x = this.s._x;
this.m._y = this.s._y;
}
function scroll(p) {
this._parent.rolki.f1.scroll = (this._parent.rolki.f2.scroll = (this._parent.rolki.f3.scroll = (this._parent.rolki.f4.scroll = int((this.mx * p) / 100))));
}
this.onEnterFrame = function () {
this.s._y = ((this.m._y > 5) ? (((this.m._y < 202) ? (this.m._y) : 202)) : 5);
this.mx = this._parent.rolki.f1.maxscroll;
scroll((100 * (this.s._y - 5)) / 197);
};
Instance of Symbol 414 MovieClip "m" in Symbol 415 MovieClip Frame 1
on (press) {
this.startDrag();
}
on (release, releaseOutside) {
this.stopDrag();
this._parent.reset();
}
Symbol 420 MovieClip Frame 1
this._visible = _root.ligin == undefined;
this.onPress = function () {
getURL ("http://www.netstupidity.com");
};
Symbol 421 MovieClip Frame 1
this.submitted = false;
Symbol 421 MovieClip Frame 2
function reload() {
if (this.rolki._currentframe > 1) {
this.rolki.gotoAndPlay(18);
}
var te = ((-this.tc) * this.tp);
var tb = ((-(this.tc - 1)) * this.tp);
this.loadVariables((((((((((this.__url + "hof_get.php?id=") + this.gid) + "&n=") + this.l) + "&tb=") + tb) + "&te=") + te) + "&s=") + this.sc);
}
this.uu = _root._url;
this.gid = _root.gid;
this.__url = _root.__url;
this.l = 10;
this.sc = eval (this.scr);
if (int(this.sc) > int(_root.bsc)) {
_root.bsc = this.sc;
}
this.onData = function () {
if (this.r == 1) {
this.rolki.gotoAndPlay(2);
clearInterval(this._itr);
return(undefined);
}
if (this.r == "3") {
this.submitted = true;
reload();
}
if (this.r == "2") {
getURL ("javascript:if(confirm('To submit Your score You have to be logged into netstupidity.com site. Do You wish to log in now?')) window.open('http://www.netstupidity.com/login.php'); void(0);");
}
};
stop();