Frame 3
function game() {
gotoAndStop (5);
}
function _game(f) {
gotoAndStop(f +4);
}
function instr() {
gotoAndStop (4);
}
function starting() {
gotoAndStop (3);
}
function win() {
gotoAndStop (3);
}
function hof(f) {
gotoAndStop(f +7);
}
function newGame() {
_root.level = 1;
_root.scr = 0;
_root.nastepny_poziom = false;
newLevel();
}
function newLevel() {
_root.limit = 7000 + ((_root.level - 1) * 13000);
_root.predkosc = 0;
_root.startTime = getTimer();
_root.gameOn = true;
}
if (_root.nastepny_poziom) {
trace("nastepny level w starting");
_root.level++;
newLevel();
_root.nastepny_poziom = false;
}
if (_root.level == 0) {
newGame();
}
if (_root.level == 1) {
info = "ROUND 1 - SIMPLY SCORE 7000 TO QUALIFY FOR ROUND 2";
}
if (_root.level == 2) {
info = "ROUND 2 - DODGE THE OBSTACLES AND SCORE MORE THAN 20000 TO QUALIFY FOR ROUND 3";
}
if (_root.level == 3) {
info = "ROUND 3 - SURVIVE THE PENGUIN ATTACKS AND SCORE AS MANY AS YOU CAN IN THE FINAL ROUND";
}
stop();
Frame 5
stop();
zawodnik.gotowy = true;
if (_root.level > 1) {
mute = !_root.gra_muzyka;
} else {
mute = false;
}
newLevel();
gameOn = true;
Instance of Symbol 101 MovieClip "rampa" in Frame 5
onClipEvent (load) {
sy = 250;
this._y = sy;
x = this._x;
}
onClipEvent (enterFrame) {
_y = (sy + _parent.wysokosc_skoku);
this._x = x + ((x - _parent.zawodnik._x) / 4);
}
Instance of Symbol 151 MovieClip "zawodnik" in Frame 5
onClipEvent (load) {
function strata(strata_punktow) {
_root.predkosc = 0;
aktywny = false;
w_powietrzu = false;
_root.scr = _root.scr - strata_punktow;
if (_root.scr < 0) {
_root.scr = 0;
}
if (strata_punktow != -1) {
_parent.sfx.playSound("scream1");
} else {
_parent.sfx.playSound("scream2");
}
this.gotoAndPlay("upadek");
}
_parent.wysokosc_skoku = 0;
aktywny = false;
w_powietrzu = false;
top = 160;
bottom = 350;
left = 10;
right = 560;
resetX = 275;
resetY = 165;
leftX = 10;
rightX = 530;
dx = 0;
dy = 0;
g = -0.7;
przyspieszenie_Y = 0.6;
przyspieszenie_X = 5;
opor_X = 0.8;
opor_Xmax = 0.8;
maxX = 30;
skok_Y = 0;
punkty_za_obroty = 0;
this._y = 185;
}
onClipEvent (enterFrame) {
if (!_root.gameOn) {
aktywny = false;
if ((_root.level < 3) && (_root.scr >= _root.limit)) {
_root.nastepny_poziom = true;
_root.starting();
} else {
_root._game(3);
}
}
if (((Key.isDown(39) || (Key.isDown(37))) && (!aktywny)) && (gotowy)) {
aktywny = true;
gotowy = false;
}
klatka = this._currentframe;
x = this._x;
y = this._y;
if (aktywny) {
rot = 1;
if (Key.isDown(32)) {
rot = 2;
}
if (Key.isDown(37)) {
punkty_za_obroty = punkty_za_obroty + (rot * 10);
klatka = klatka - rot;
}
if (Key.isDown(39)) {
punkty_za_obroty = punkty_za_obroty + (rot * 10);
klatka = klatka + rot;
}
if (klatka > 30) {
klatka = klatka - 29;
}
if (klatka < 1) {
klatka = klatka + 29;
}
this.gotoAndStop(klatka);
this.shad.gotoAndStop(klatka);
if (w_powietrzu) {
shad._visible = false;
i++;
_parent.wysokosc_skoku = ((skok_Y * i) - (g * Math.pow(i, 2))) * -1;
y = sy + ((skok_Y * i) - (g * Math.pow(i, 2)));
if (y < 160) {
y = 160;
}
_root.predkosc = _root.predkosc * 0.88;
punkty_za_obroty = punkty_za_obroty + (_parent.wysokosc_skoku / 20);
if ((top < y) || (_parent.wysokosc_skoku < 0)) {
px = -_x;
_parent.wysokosc_skoku = 0;
if (((klatka > 5) && (klatka < 27)) || (px > 135)) {
if (px > 135) {
punkty_za_obroty = punkty_za_obroty + 2300;
} else if (px > 0) {
punkty_za_obroty = punkty_za_obroty + (px * 17);
}
strata(Math.ceil(punkty_za_obroty));
} else {
_parent.sfx.playSound("land");
if (px > 0) {
punkty_za_obroty = punkty_za_obroty + (px * 17);
}
_parent.jumpScore = Math.ceil(punkty_za_obroty);
_root.scr = _root.scr + _parent.jumpScore;
_parent.jumpScoreMC._x = _x - 15;
_parent.jumpScoreMC._y = _y - 15;
_parent.jumpScoreMC.gotoAndPlay(2);
}
shad._visible = true;
w_powietrzu = false;
}
} else {
kat = (klatka - 1) * 12;
katX = Math.sin(kat * 0.017453);
if (katX > 0.9) {
opor_X = opor_X - 0.01;
} else if (opor_X < opor_Xmax) {
opor_X = opor_X + 0.02;
} else if (opor_Xmax < opor_X) {
opor_X = opor_Xmax;
}
katX = katX * przyspieszenie_X;
dx = dx + katX;
_x = (_x - katX);
if (_x < leftX) {
strata(500);
}
if (rightX < _x) {
strata(500);
}
dx = dx * opor_X;
if (maxX < dx) {
dx = maxX;
}
if (dx < (-maxX)) {
dx = -maxX;
}
dy = Math.cos(kat * 0.017453) * ((maxX * przyspieszenie_Y) + (Math.abs(dx) * przyspieszenie_Y));
y = y + dy;
if (y < top) {
skok_Y = dy;
punkty_za_obroty = 0;
sy = y;
i = 0;
shad._visible = false;
w_powietrzu = true;
}
if (bottom < y) {
strata(500);
_y = 180;
}
}
_root.predkosc = dx;
_y = y;
}
}
Instance of Symbol 155 MovieClip "pingwin" in Frame 5
onClipEvent (load) {
active = false;
_y = (_parent.rampa._y + random(5));
}
onClipEvent (enterFrame) {
if (((_root.level >= 1) && (_root.gameOn)) && (!active)) {
active = true;
dir = 1 - (random(2) * 2);
if (dir == 1) {
_x = -140;
_xscale = 75;
} else {
_x = 680;
_xscale = -75;
}
}
if (active) {
_y = ((_parent.rampa._y + y) + (8 * Math.sin(_x)));
_x = (_x + (dir * 7));
if (this.hitTest(_parent.zawodnik._x, _parent.zawodnik._y, false)) {
active = false;
_parent.zawodnik.aktywny = false;
_parent.zawodnik.strata(300);
}
if ((_x < -140) || (_x > 680)) {
y = random(80);
active = false;
}
}
}
Instance of Symbol 169 MovieClip in Frame 5
onClipEvent (load) {
sy = 375;
this._y = sy;
}
onClipEvent (enterFrame) {
this._y = _parent.zawodnik + 260;
}
Instance of Symbol 184 MovieClip "sfx" in Frame 5
onClipEvent (load) {
if (_parent.mute) {
stopAllSounds();
this.gotoAndStop(2);
} else if (_root.gra_muzyka == false) {
_root.muzyczka.start(0, 9999999);
}
}
Instance of Symbol 187 MovieClip in Frame 5
onClipEvent (enterFrame) {
czas1 = getTimer();
if (((czas1 - czas2) > num) && (_root.bonus)) {
czas2 = czas1;
num = num + random(bonus_appear);
bonus_level = _root.getNextHighestDepth();
_root.attachMovie("bonus", "bonus" + bonus_level, bonus_level);
bonus = _root["bonus" + bonus_level];
bonus._x = 150 + random(200);
bonus._y = -50 + random(90);
_root.bonus = false;
}
if (((czas1 - czas2) > num) && (!_root.bonus)) {
czas2 = czas1;
}
}
onClipEvent (load) {
bonus_appear = 8000;
hit_test = true;
czas2 = getTimer();
num = random(bonus_appear);
_root.bonus = true;
bonus._x = 0;
bonus._y = 0;
}
Frame 6
stop();
Instance of Symbol 217 MovieClip in Frame 6
//component parameters
onClipEvent (initialize) {
label = "Continue";
wide = 85;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = false;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.game();
}
Frame 7
_root.hoff._visible = false;
_root.r = 0;
_root.onData = function () {
if (s == 1) {
_root.hoff._visible = true;
}
};
_root.loadVariables("hof.php?s=" + _root.wyn);
stop();
Instance of Symbol 293 MovieClip in Frame 7
//component parameters
onClipEvent (initialize) {
scr = "_root.scr";
}
Frame 8
this.submitted = false;
this.hof(2);
Frame 9
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 2;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=1");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=1");
}
stop();
Instance of Symbol 217 MovieClip in Frame 9
//component parameters
onClipEvent (initialize) {
label = "Play Again";
wide = 89;
c1 = 100;
c2 = 100;
c3 = 200;
hc1 = 50;
hc2 = 50;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 6579400 /* 0x6464C8 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 3289800 /* 0x3232C8 */;
}
on (press) {
_root.starting();
}
Frame 10
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 3;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=2");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=2");
}
stop();
Frame 11
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 4;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=3");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=3");
}
stop();
Frame 12
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 5;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=4");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=4");
}
stop();
Frame 13
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 6;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=5");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=5");
}
stop();
Frame 14
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 7;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=6");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=6");
}
stop();
Frame 15
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 8;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=7");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=7");
}
stop();
Frame 16
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 9;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=8");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=8");
}
stop();
Frame 17
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 10;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=1");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=1");
}
stop();
Frame 18
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 11;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=2");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=2");
}
stop();
Frame 19
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 12;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=3");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=3");
}
stop();
Frame 20
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 13;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=4");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=4");
}
stop();
Frame 21
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 14;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=5");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=5");
}
stop();
Frame 22
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 15;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=6");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=6");
}
stop();
Frame 23
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 16;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=7");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=7");
}
stop();
Frame 24
this.tb = date.getTime();
this.load_lig._visible = true;
this.onData = function () {
this.load_lig._visible = false;
this.onData = null;
};
if (this.submitted == true) {
this.shof.gotoAndStop(2);
} else {
this.shof.gotoAndStop(1);
}
this.back_fr = 17;
if ((this.nick.length > 3) && (this.nick != "enter your nickname here")) {
this.shof.nick.type = "dynamic";
} else {
this.shof.nick.type = "input";
}
if (this._currentframe >= 9) {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=10&p=8");
} else {
this.loadVariables(((("hof_get.php?id=" + _root.id) + "&s=") + _root.scr) + "&l=100&p=8");
}
stop();
Frame 25
this.onData = function () {
if (this.r == 1) {
this.onData = null;
this.submitted = true;
_root.hof(this.back_fr);
} else {
this.loadVariables((((((("hof_put.php?id=" + _root.id) + "&sid=") + _root.sid) + "&n=") + _root.nick) + "&s=") + _root.scr);
}
};
this.loadVariables((((((("hof_put.php?id=" + _root.id) + "&sid=") + _root.sid) + "&n=") + _root.nick) + "&s=") + _root.scr);
stop();
Instance of Symbol 217 MovieClip in Frame 25
//component parameters
onClipEvent (initialize) {
label = "Cancel";
wide = 89;
c1 = 100;
c2 = 100;
c3 = 200;
hc1 = 50;
hc2 = 50;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 6579400 /* 0x6464C8 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 3289800 /* 0x3232C8 */;
}
on (press) {
_root.onData = null;
_root.hof(_root.back_fr);
}
Instance of Symbol 3 MovieClip in Symbol 4 MovieClip [bonus] Frame 1
onClipEvent (load) {
_parent._visible = false;
widoczny = false;
parent._x = -200;
parent._y = -200;
czas2 = getTimer();
x = random(400) + 40;
_parent._rotation = random(360);
y = random(110);
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + 2;
if (widoczny != true) {
_parent._visible = true;
}
if (this.hitTest(_parent._parent.zawodnik._x, _parent._parent.zawodnik._y, false)) {
_root.BonusScore = 1000;
_parent._parent.BonusScoreMC._x = _parent._x;
_parent._parent.BonusScoreMC._y = _parent._y;
_parent._parent.BonusScoreMC.gotoAndPlay(2);
removeMovieClip(_parent);
_root.bonus = true;
_root.scr = _root.scr + 1000;
}
_parent._y = y + _parent._parent.wysokosc_skoku;
_parent._x = x + ((275 - _parent._parent.zawodnik._x) / 4);
tt = getTimer();
if ((tt - czas2) > 6750) {
czas2 = tt;
_root.bonus = true;
removeMovieClip(_parent);
}
}
Symbol 11 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 25 MovieClip Frame 140
stop();
Symbol 64 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 67 MovieClip Frame 1
_root.stop();
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 77 MovieClip Frame 1
this._visible = _root.ligin == undefined;
this.onPress = function () {
getURL ("http://www.netstupidity.com");
};
Symbol 88 Button
on (press) {
_root.instr();
}
Symbol 93 Button
on (press) {
_root.startTime = getTimer();
_root.game();
}
Symbol 98 Button
on (press) {
_root.game();
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 35
play();
Symbol 151 MovieClip Frame 40
_parent.sfx.playSound("splash");
Symbol 151 MovieClip Frame 51
if (_root.traiony) {
trace("eaten");
gotoAndStop (3);
stop();
}
Symbol 151 MovieClip Frame 67
birdhit = false;
_parent.jumpHeight = 0;
_root.predkosc = 0;
_x = resetX;
_y = resetY;
_parent.pipeX = 0;
_parent.pipe.x = _parent.pipeX;
_parent.pipe._x = _parent.pipeX;
Symbol 151 MovieClip Frame 68
play();
Symbol 151 MovieClip Frame 69
if ((_parent.sharkZ < 150) || (_parent.buoyZ < 100)) {
}
Symbol 151 MovieClip Frame 80
gotowy = true;
gotoAndStop (1);
Instance of Symbol 165 MovieClip in Symbol 169 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gameOn) {
secs = (30 + (30 * _root.level)) - Math.round((getTimer() - _root.startTime) / 1000);
if (secs > 0) {
mins = Math.floor(secs / 60);
secs = secs - (mins * 60);
if (secs < 10) {
secs = "0" + secs;
}
_root.timeDisplay = (mins + ":") + secs;
} else {
_root.timeDisplay = "0:00";
_root.gameOn = false;
}
}
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
play();
Symbol 174 MovieClip Frame 10
_parent.sfx.playSound("blip");
Symbol 174 MovieClip Frame 35
gotoAndStop (1);
Symbol 176 Button
on (release) {
_root.gra_muzyka = false;
_parent._parent.mute = true;
stopAllSounds();
nextFrame();
}
Symbol 178 Button
on (release) {
if (!_root.gra_muzyka) {
_root.muzyczka.start(0, 99999);
_root.gra_muzyka = true;
}
_parent._parent.mute = false;
prevFrame();
}
Symbol 179 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
function playSound(sfxName) {
if (!_parent.mute) {
gotoAndStop(sfxName);
}
}
stop();
Symbol 184 MovieClip Frame 5
gotoAndStop (1);
Symbol 184 MovieClip Frame 25
gotoAndStop (1);
Symbol 184 MovieClip Frame 30
gotoAndStop (1);
Symbol 184 MovieClip Frame 35
gotoAndStop (1);
Symbol 184 MovieClip Frame 40
gotoAndStop (1);
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
play();
Symbol 191 MovieClip Frame 10
_parent.sfx.playSound("blip");
Symbol 191 MovieClip Frame 35
gotoAndStop (1);
Symbol 217 MovieClip Frame 1
this.onPress = function () {
pressing = true;
i = 1;
while (i <= 3) {
buttonColor = new Color(eval ("piece" + i).colorchip);
buttonColor.setRGB(3355443);
lowColor = new Color(eval ("piece" + i).bottomhilite);
lowColorTransform = new Object();
lowColorTransform = {ra:"0", rb:"200", ga:"0", gb:"200", ba:"0", bb:"200", aa:"100", ab:"0"};
lowColor.setTransform(lowColorTransform);
i++;
}
};
this.onRelease = function () {
pressing = false;
};
this.onReleaseOutside = function () {
pressing = false;
};
this.onEnterFrame = function () {
if (pressing != true) {
i = 1;
while (i <= 3) {
buttonColor = new Color(eval ("piece" + i).colorchip);
buttonColor.setRGB(rgb);
lowColor = new Color(eval ("piece" + i).bottomhilite);
lowColorTransform = new Object();
lowColorTransform = {ra:"0", rb:hc1, ga:"0", gb:hc2, ba:"0", bb:hc3, aa:"100", ab:"0"};
lowColor.setTransform(lowColorTransform);
i++;
}
}
};
with (piece2) {
_width = _parent.wide;
piece1._x = _x - (_width / 2);
piece3._x = _x + (_width / 2);
_parent.midshadow._width = _width;
_parent.leftshadow._x = _x - (_width / 2);
_parent.rightshadow._x = _x + (_width / 2);
}
label1.autoSize = "center";
label2.autoSize = "center";
Symbol 234 Button
on (press) {
this.gotoAndStop("weekly");
}
Symbol 235 Button
on (press) {
this.gotoAndStop("daily");
}
Symbol 236 Button
on (press) {
this.gotoAndStop("hourly");
}
Symbol 239 Button
on (press) {
this.gotoAndStop("monthly");
}
Symbol 244 Button
on (press) {
this.gotoAndStop("daily");
}
Symbol 247 MovieClip Frame 1
this._parent.tp = 2592000 /* 0x278D00 */;
this._parent.tc = 0;
this._parent.reload();
stop();
Symbol 247 MovieClip Frame 2
this._parent.tp = 604800 /* 0x093A80 */;
this._parent.tc = 0;
this._parent.reload();
Symbol 247 MovieClip Frame 3
this._parent.tp = 86400 /* 0x015180 */;
this._parent.tc = 0;
this._parent.reload();
Symbol 247 MovieClip Frame 4
this._parent.tp = 3600;
this._parent.tc = 0;
this._parent.reload();
Symbol 254 Button
on (press) {
this.tc--;
this.reload();
}
Symbol 259 Button
on (press) {
this.tc = ((this.tc < 0) ? (this.tc + 1) : 0);
this.reload();
}
Symbol 262 Button
on (press) {
if (this.submitted == false) {
this.loadVariables((((this.__url + "hof_put.php?id=") + this.gid) + "&s=") + this.sc);
}
}
Symbol 266 Button
on (press) {
this._parent.l = 10;
this._parent.reload();
this.gotoAndStop(2);
}
Symbol 269 Button
on (press) {
this._parent.l = 100;
this._parent.reload();
this.gotoAndStop(1);
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 18
stop();
Symbol 287 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 286 MovieClip "m" in Symbol 287 MovieClip Frame 1
on (press) {
this.startDrag();
}
on (release, releaseOutside) {
this.stopDrag();
this._parent.reset();
}
Symbol 292 MovieClip Frame 1
this._visible = _root.ligin == undefined;
this.onPress = function () {
getURL ("http://www.netstupidity.com");
};
Symbol 293 MovieClip Frame 1
this.submitted = false;
Symbol 293 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();
Symbol 298 Button
on (press) {
_root.level = 0;
_root.jumpScore = 0;
_root.starting();
}
Symbol 367 Button
on (press) {
gotoAndStop (16);
}
Symbol 368 Button
on (press) {
gotoAndStop (15);
}
Symbol 369 Button
on (press) {
gotoAndStop (14);
}
Symbol 370 Button
on (press) {
gotoAndStop (13);
}
Symbol 371 Button
on (press) {
gotoAndStop (12);
}
Symbol 372 Button
on (press) {
gotoAndStop (11);
}
Symbol 373 Button
on (press) {
gotoAndStop (10);
}
Symbol 374 Button
on (press) {
gotoAndStop (9);
}
Symbol 375 Button
on (press) {
gotoAndStop (24);
}
Symbol 376 Button
on (press) {
gotoAndStop (23);
}
Symbol 377 Button
on (press) {
gotoAndStop (22);
}
Symbol 378 Button
on (press) {
gotoAndStop (21);
}
Symbol 379 Button
on (press) {
gotoAndStop (20);
}
Symbol 380 Button
on (press) {
gotoAndStop (19);
}
Symbol 381 Button
on (press) {
gotoAndStop (18);
}
Symbol 382 Button
on (press) {
gotoAndStop (17);
}
Symbol 388 MovieClip Frame 1
stop();
Instance of Symbol 217 MovieClip in Symbol 388 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
label = "Submit";
wide = 89;
c1 = 100;
c2 = 100;
c3 = 200;
hc1 = 50;
hc2 = 50;
hc3 = 200;
baseMode = true;
widthMode = true;
rgb = 6579400 /* 0x6464C8 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 3289800 /* 0x3232C8 */;
}
on (press) {
_root.hof(18);
}
Symbol 398 Button
on (press) {
getURL ("http://barada.pl/reserve.php?n=" + _root.nick, "_blank");
}