Frame 1
stop();
Instance of Symbol 14 MovieClip "balken" in Frame 1
/* no clip actions */
Instance of Symbol 18 MovieClip in Frame 1
onClipEvent (enterFrame) {
alles = _root.getBytesTotal();
teil = _root.getBytesLoaded();
pro = int((100 * teil) / alles);
pro_v = pro add " % geladen";
if (pro >= 100) {
_root.play();
}
_root.balken.gotoAndStop(pro);
}
onClipEvent (load) {
pro = 0;
pro_v = pro add " % geladen";
}
Frame 2
punkte_1 = 150;
punkte_2 = 120;
punkte_3 = 100;
punkte_4 = 100;
punkte_5 = 150;
punkte_6 = 120;
bonus = 50;
speed_1 = 15;
speed_2 = 18;
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
stopAllSounds();
Symbol 37 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 1
stop();
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 66 Button
on (release) {
_root.steuerung = "key";
_root.play();
}
Symbol 78 Button
on (release) {
_root.steuerung = "mouse";
_root.play();
}
Symbol 82 MovieClip Frame 41
stop();
Symbol 86 MovieClip Frame 6
stop();
Symbol 94 MovieClip Frame 1
_visible = false;
Symbol 102 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 31
_parent.reaktion();
Symbol 135 MovieClip Frame 73
_parent.gotoAndStop(1);
Symbol 136 MovieClip Frame 26
_parent.reaktion();
Symbol 136 MovieClip Frame 70
_parent.gotoAndStop(1);
Symbol 149 MovieClip Frame 20
_parent.reaktion();
Symbol 149 MovieClip Frame 61
_parent.gotoAndStop(1);
Symbol 162 MovieClip Frame 34
stop();
_parent.gotoAndStop(1);
Symbol 181 MovieClip Frame 32
_parent.gotoAndStop(1);
Symbol 182 MovieClip Frame 1
function reaktion() {
if (rea == "tor") {
gotoAndStop (8);
}
if (rea == "daneben") {
gotoAndStop (7);
}
}
stop();
Instance of Symbol 182 MovieClip "m" in Symbol 183 MovieClip Frame 1
onClipEvent (load) {
swapDepths(tor._y + 30);
}
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 197 MovieClip "move" in Symbol 250 MovieClip Frame 1
onClipEvent (enterFrame) {
if (go == 1) {
_x = ((_parent._xmouse / 1.3) - 100);
}
}
Symbol 250 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 3
_y = (_y - (_parent.hoh * _parent.fak));
Symbol 250 MovieClip Frame 9
_parent.schuss();
Symbol 250 MovieClip Frame 22
stop();
_parent.schussfin();
Symbol 250 MovieClip Frame 27
if (_parent.sou) {
_parent.buh.start();
}
Symbol 250 MovieClip Frame 76
_parent.stat = 3;
stop();
Symbol 250 MovieClip Frame 126
if (_parent.sou) {
if (_parent.volley == 0) {
_parent.wow.setVolume(100);
_parent.wow.start();
} else {
_parent.wow.setVolume(55);
_parent.wow.start();
}
}
Symbol 250 MovieClip Frame 185
if (_parent.sou) {
if (_parent.volley == 0) {
_parent.wow.setVolume(40);
_parent.wow.start();
}
}
Symbol 250 MovieClip Frame 187
stop();
_parent.stat = 3;
Symbol 259 Button
on (press) {
if (_parent.sou == 1) {
_parent.sou = 0;
stopAllSounds();
gotoAndStop (2);
} else {
_parent.sou = 1;
_parent.playbac();
gotoAndStop (1);
}
}
Symbol 263 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 1
_visible = false;
Symbol 271 MovieClip Frame 2
_visible = true;
Symbol 271 MovieClip Frame 86
_parent.startgame();
stop();
_visible = false;
Symbol 275 MovieClip Frame 1
_visible = false;
stop();
Symbol 275 MovieClip Frame 2
_visible = true;
Symbol 277 MovieClip Frame 1
_visible = 0;
stop();
Symbol 277 MovieClip Frame 2
_visible = true;
Symbol 277 MovieClip Frame 69
_parent.startgame();
gotoAndStop (1);
Symbol 280 MovieClip Frame 1
_visible = false;
stop();
Symbol 280 MovieClip Frame 2
_visible = true;
swapDepths(678998);
Symbol 280 MovieClip Frame 71
_parent.pauseende();
gotoAndStop (1);
Symbol 281 MovieClip Frame 1
function playbac() {
if (sou) {
bac.start(0, 1999);
bac.setVolume(55);
}
}
function pauseende() {
ghj = 1;
mann._visible = ghj;
ball._visible = ghj;
tm._visible = ghj;
gegner._visible = ghj;
mann_schatt._visible = ghj;
schatt._visible = ghj;
tschatt._visible = ghj;
gschatt._visible = ghj;
schusse = 0;
runde = 2;
countdown.play();
}
function pause() {
pausers.play();
ghj = 0;
mann._visible = ghj;
ball._visible = ghj;
tm._visible = ghj;
gegner._visible = ghj;
mann_schatt._visible = ghj;
schatt._visible = ghj;
tschatt._visible = ghj;
gschatt._visible = ghj;
stat = 4;
ball._alpha = 0;
schatt._alpha = 0;
cod.gotoAndStop(1);
mann.gotoAndStop(1);
dd = 1;
while (dd <= 5) {
this["b" + dd]._alpha = 100;
dd++;
}
}
function mann_back() {
ball._alpha = ball._alpha - 5;
schatt._alpha = schatt._alpha - 5;
if (mann._currentframe > 2) {
mann.gotoAndStop(1);
}
cod.play();
if (schusse == 5) {
if (runde == 2) {
_level0.punkte = punkte;
_level0.play();
} else if (runde == 1) {
pause();
}
}
}
function ausball() {
if (speedx > 0) {
if (vorball._x > 500) {
stat = 0;
mann.gotoAndPlay("loose");
tm.gotoAndStop("daneben");
}
}
if (speedx < 0) {
if (vorball._x < -500) {
stat = 0;
mann.gotoAndPlay("loose");
tm.gotoAndStop("daneben");
}
}
}
function startgame() {
tora = 0;
tm.rea = 1;
schusse++;
this["b" + schusse]._alpha = 30;
cod._x = this["b" + (schusse + 1)]._x;
cod._y = this["b" + (schusse + 1)]._y;
volley = 0;
if (tec == "mouse") {
this.onMouseDown = function () {
if (stat == 1) {
delete onMouseDown;
mann.gotoAndPlay("anlauf");
}
};
}
dotz = -0.8;
vorball._y = 150;
hoh = 40;
drive = 3 + random(3);
fall = 0.3 + (random(10) / 40);
vorball._x = -400;
speedx = _root.speed_1;
speedy = 0;
if (runde == 2) {
vorball._x = -400;
speedx = _root.speed_2;
}
if ((runde == 2) && (random(2) == 0)) {
vorball._x = 400;
speedx = -_root.speed_2;
}
mann.gotoAndStop(1);
ball._x = -1000;
schatt._x = -1000;
ball._alpha = 100;
schatt._alpha = 100;
shot = 0;
stat = 1;
}
function schuss() {
tm.gotoAndStop(2 + random(5));
deltax = ball._x - mann._x;
if (Math.abs(deltax) < 40) {
if (sou) {
plop.setVolume(100);
plop.start();
}
drah = 5;
speedy = (-(50 - Math.abs(deltax))) / 3;
speedx = deltax;
if (((Math.abs(speedx) < 8) && (Math.abs(mann._x) < 40)) && (random(10) < 7)) {
tm.gotoAndStop(6);
}
while (Math.abs(speedx) > 40) {
speedx = speedx * 0.9;
}
drive = hoh / 3;
fall = 1;
stat = 2;
dotz = -0.8;
pu = Math.abs(speedx) + Math.abs(speedy);
trace("Speedx: " + speedx);
}
}
function moveman() {
mannx = mann._x;
if (mann._currentframe < 3) {
if ((Math.abs(mannx - mannax) > 20) && (mann._currentframe != 2)) {
mann.gotoAndStop(2);
} else if ((Math.abs(mannx - mannax) == 0) && (mann._currentframe < 3)) {
mann.gotoAndStop(1);
}
}
mannax = mann._x;
if ((tec == "mouse") && (mann._currentframe < 3)) {
mann._x = mann._x - ((mann._x - _xmouse) / 4);
}
if ((tec == "key") && (mann._currentframe < 3)) {
if (Key.isDown(37)) {
mann._x = mann._x - lef;
lef = lef + 1;
} else {
lef = 1;
}
if (Key.isDown(39)) {
mann._x = mann._x + rig;
rig = rig + 1;
} else {
rig = 1;
}
if (mann._x > 300) {
mann._x = 300;
}
if (mann._x < -300) {
mann._x = -300;
}
if (Key.isDown(32) && (shot == 0)) {
mann.gotoAndPlay("anlauf");
shot = 1;
}
}
}
function moveball() {
ball.ball.ball._rotation = ball.ball.ball._rotation + speedx;
ball.ball.ball._rotation = ball.ball.ball._rotation - drah;
drah = drah * 0.95;
mann.swapDepths(180);
tm.swapDepths(90);
gegner.swapDepths(91);
vorball._y = vorball._y + speedy;
vorball._x = vorball._x + speedx;
tor.swapDepths(50);
latte.swapDepths(80);
ball.swapDepths(vorball._y);
bx = _x + ball._x;
by = _y + ball._y;
if (tora && (tar.hitTest(bx, by, 1))) {
vorball._x = vorball._x - 5;
}
if (tora && (tal.hitTest(bx, by, 1))) {
vorball._x++;
}
if ((vorball._y < 44) && (deb.hitTest(bx, by, 1))) {
vorball._y = 44;
drive = 0;
speedy = 0;
speedx = 0;
mann.gotoAndPlay("loose");
tm.rea = "daneben";
}
if (((vorball._y < 55) && (det.hitTest(bx, by, 1))) && (speedy != 0)) {
vorball._y = 60;
speedy = 0;
speedx = 0;
if (drive > 0) {
drive = drive * -1;
}
punkter();
tor.netzer.play();
mann.gotoAndPlay("win");
tm.rea = "tor";
tora = 1;
}
if (((vorball._y < 76) && (del.hitTest(bx, by, 1))) && (speedy != 0)) {
vorball._y = 77;
vorball._y = vorball._y - speedy;
speedy = speedy * -0.3;
latte.play();
tor.netzer.gotoAndPlay(20);
mann.gotoAndPlay("loose");
tm.rea = "daneben";
if (sou) {
post.start();
}
}
if (((vorball._y < 85) && (tm.tp1.hitTest(bx, by, 1))) && (speedy < 0)) {
vorball._y = 86;
vorball._y = vorball._y - speedy;
speedy = speedy * -0.2;
drive = 10;
fall = 2;
mann.gotoAndPlay("loose");
tm.rea = "daneben";
if (sou) {
plop.setVolume(50);
plop.start();
}
}
if ((((vorball._y < 120) && (vorball._y > 90)) && (gegner.hitTest(bx, by, 1))) && (speedy < 0)) {
vorball._y = 121;
vorball._y = vorball._y - speedy;
speedx = speedx * 1.1;
speedy = speedy * -0.8;
drive = drive * 0.5;
mann.gotoAndPlay("loose");
tm.rea = "daneben";
if (sou) {
plop.setVolume(50);
plop.start();
}
if (ball._x < 0) {
gegner.gl.play();
gschatt.m.m.gl.play();
speedx = -6;
} else {
gegner.gr.play();
gschatt.m.m.gr.play();
speedx = 6;
}
}
if (vorball._y > 500) {
speedy = 0;
speedx = 0;
vorball._x = 500;
}
dy = vorball._y;
dx = vorball._x;
neuy = (dy * dy) / 100;
fak = 0.3 + (0.9 * (neuy / dy));
neux = dx * (fak / 2);
ball._x = neux;
ball._y = neuy;
ball._xscale = (ball._yscale = 80 * fak);
schatt._x = ball._x;
schatt._y = ball._y + (ball._height / 3);
schatt._xscale = ball._xscale - (hoh * fak);
schatt._yscale = schatt._xscale;
ball._y = ball._y - (hoh * fak);
drive = drive - fall;
hoh = hoh + drive;
if (ball.ball._yscale < bbsc) {
ball.ball._yscale = ball.ball._yscale + 2;
}
if (hoh <= 0) {
if ((sou && (ball._y < 300)) && (Math.abs(drive) > 3)) {
plop.setVolume(40);
plop.start();
}
ball.ball._yscale = ball.ball._yscale * (1 - (Math.abs(drive) / 40));
volley++;
hoh = 0;
drive = drive * dotz;
drive = drive + (fall / 2);
}
}
function punkter() {
pu = pu * 5;
if (volley == 0) {
pu = pu * 3;
}
punkte = punkte + int(pu);
puanz.punkte = int(pu);
puanz.play();
}
sou = 1;
stopAllSounds();
bac = new Sound(b1);
bac.attachSound("bs");
wow = new Sound(b2);
wow.attachSound("wow");
plopper = 0;
plop = new Sound(b3);
plop.attachSound("bop");
buh = new Sound(b5);
buh.attachSound("buh");
buh.setVolume(55);
ref = new Sound(b4);
ref.attachSound("ref");
post = new Sound(ball);
post.attachSound("post");
playbac();
hoh = 0;
drive = 0;
fall = 0;
speedx = 0;
speedy = 0;
vorball._visible = false;
det._visible = false;
deb._visible = false;
del._visible = false;
stat = 0;
tec = _root.steuerung;
runde = 1;
punkte = 0;
schusse = 0;
tm.swapDepths(90);
gegner.swapDepths(91);
mann.swapDepths(300);
countdown.swapDepths(3000);
puanz.swapDepths(3001);
bbsc = ball.ball._yscale;
this.onEnterFrame = function () {
if (stat == 0) {
moveman();
}
if (stat == 1) {
moveball();
moveman();
ausball();
}
if (stat == 2) {
moveball();
}
if (stat == 3) {
moveman();
mann_back();
}
};
Instance of Symbol 184 MovieClip "tschatt" in Symbol 281 MovieClip Frame 1
onClipEvent (enterFrame) {
m.m.gotoAndStop(_parent.tm._currentframe);
}
Instance of Symbol 182 MovieClip "tm" in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
swapDepths(tor._y + 30);
}
Instance of Symbol 251 MovieClip "mann_schatt" in Symbol 281 MovieClip Frame 1
onClipEvent (enterFrame) {
m.gotoAndStop(_parent.mann._currentframe);
_x = _parent.mann._x;
}
Instance of Symbol 250 MovieClip "mann" in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
y = _y;
}
onClipEvent (enterFrame) {
if (_y < y) {
_y = (_y + 10);
}
if (_y > y) {
_y = y;
}
}
Instance of Symbol 263 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
if (_root.sou == 0) {
gotoAndStop (2);
}
}
Symbol 286 Button
on (press) {
_root.play();
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 322 Button
on (press) {
function no() {
alerter.txt = alerter.txt + (("* " + feldnamen[a]) + newline);
tef.backgroundColor = feld_falsch;
}
vorschlag._visible = 0;
alerter.txt = "";
a = 1;
a = 0;
while (a < felder.length) {
tef = this[textfelder[a]];
tef.backgroundColor = feld_schreiben;
feld = this[felder[a]];
var zz = 0;
var nokey = "";
var b = 1;
while (b <= feld.length) {
var t = (substring(feld, b, 1));
if ((((t == "$") or (t == "&")) or (t == "=")) or (t == ",")) {
zz++;
nokey = nokey + (t + " ");
}
b++;
}
if (zz > 0) {
tef.backgroundColor = feld_falsch;
alerter.txt = alerter.txt + (((("* Unerlaubtes Zeichen in " + feldnamen[a]) + ": ") + nokey) + newline);
}
tef.text = (feld = umlaute(feld));
art = tester[a];
if (art == 1) {
if (feld == "") {
no();
}
}
if (art == 2) {
if (((feld / feld) != 1) or (feld == "")) {
no();
}
}
if (art == 3) {
var zz = 0;
var nokey = "";
var b = 1;
while (b <= feld.length) {
var t = (substring(feld, b, 1));
if (((t / t) != 1) && (t != 0)) {
zz++;
nokey = nokey + (t + " ");
}
b++;
}
if (zz > 0) {
tef.backgroundColor = feld_falsch;
alerter.txt = alerter.txt + "* PLZ muss aus Zahlen bestehen\n";
} else if (feld.length < 5) {
tef.backgroundColor = feld_falsch;
alerter.txt = alerter.txt + "* PLZ muss 5-stellig sein\n";
}
}
if (art == 4) {
laenge = length(email);
AtPosition = 0;
PunktPosition = 0;
i = 0;
while (i < laenge) {
if ((substring(email, i, 1)) == "@") {
AtPosition = i;
} else if ((substring(email, i, 1)) == ".") {
PunktPosition = i;
}
i = i + 1;
}
if (((AtPosition >= 3) && ((AtPosition + 3) < PunktPosition)) && (((PunktPosition + 3) == laenge) || ((PunktPosition + 2) == laenge))) {
} else {
no();
}
}
a++;
}
if (alerter.txt == "") {
neuspieler._visible = 0;
sender._visible = 0;
feldleeren(2);
eintragen();
} else {
alerter.play();
}
}
on (keyPress "<Tab>") {
if (Key.isDown(16)) {
akt--;
if (akt < 1) {
akt = felder.length;
}
} else {
akt++;
if (akt > felder.length) {
akt = 1;
}
}
Selection.setFocus(this["tf_" + akt]);
}
Symbol 325 Button
on (release) {
feldfreigeben();
neuspieler._visible = 0;
newser._visible = 1;
newser.gotoAndStop(2);
}
on (rollOver) {
neufrage._visible = 1;
}
on (rollOut, release, releaseOutside) {
neufrage._visible = 0;
}
Symbol 327 MovieClip Frame 1
function makehash(wert) {
str = String(wert) + copyright;
_parent.userIP = calcMD5(str);
}
function bitOR(a, b) {
var lsb = ((a & 1) | (b & 1));
var msb31 = ((a >>> 1) | (b >>> 1));
return((msb31 << 1) | lsb);
}
function bitXOR(a, b) {
var lsb = ((a & 1) ^ (b & 1));
var msb31 = ((a >>> 1) ^ (b >>> 1));
return((msb31 << 1) | lsb);
}
function bitAND(a, b) {
var lsb = ((a & 1) & (b & 1));
var msb31 = ((a >>> 1) & (b >>> 1));
return((msb31 << 1) | lsb);
}
function addme(x, y) {
var lsw = ((x & 65535) + (y & 65535));
var msw = (((x >> 16) + (y >> 16)) + (lsw >> 16));
return((msw << 16) | (lsw & 65535));
}
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) << ((((str.length * 8) + i) % 4) * 8));
i++;
}
blks[i >> 2] = blks[i >> 2] | (128 << ((((str.length * 8) + i) % 4) * 8));
var l = (str.length * 8);
blks[(nblk * 16) - 2] = l & 255;
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((l >>> 8) & 255) << 8);
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((l >>> 16) & 255) << 16);
blks[(nblk * 16) - 2] = blks[(nblk * 16) - 2] | (((l >>> 24) & 255) << 24);
return(blks);
}
function rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function cmn(q, a, b, x, s, t) {
return(addme(rol(addme(addme(a, q), addme(x, t)), s), b));
}
function ff(a, b, c, d, x, s, t) {
return(cmn(bitOR(bitAND(b, c), bitAND(~b, d)), a, b, x, s, t));
}
function gg(a, b, c, d, x, s, t) {
return(cmn(bitOR(bitAND(b, d), bitAND(c, ~d)), a, b, x, s, t));
}
function hh(a, b, c, d, x, s, t) {
return(cmn(bitXOR(bitXOR(b, c), d), a, b, x, s, t));
}
function ii(a, b, c, d, x, s, t) {
return(cmn(bitXOR(c, bitOR(b, ~d)), a, b, x, s, t));
}
function calcMD5(str) {
x = str2blks_MD5(str);
a = 1732584193 /* 0x67452301 */;
b = -271733879;
c = -1732584194;
d = 271733878 /* 0x10325476 */;
var step;
i = 0;
while (i < x.length) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
step = 0;
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 = addme(a, olda);
b = addme(b, oldb);
c = addme(c, oldc);
d = addme(d, oldd);
i = i + 16;
}
return(((rhex(a) + rhex(b)) + rhex(c)) + rhex(d));
}
copyright = "C/2006_Peter_Krempl";
var hex_chr = "0123456789abcdef";
Symbol 331 Button
on (press) {
if ((akt - showzahl) >= 1) {
akt = akt - showzahl;
schreib_tabelle();
}
}
Symbol 332 Button
on (press) {
if (((akt + showzahl) <= maxzahl) && (this["name_" + (akt + showzahl)].length > 0)) {
akt = akt + showzahl;
schreib_tabelle();
}
}
Symbol 333 Button
on (press) {
if ((akt + showzahl) < maxzahl) {
while (((akt + showzahl) < maxzahl) && (this["name_" + (akt + showzahl)].length > 0)) {
akt = akt + showzahl;
}
schreib_tabelle();
}
}
Symbol 334 Button
on (press) {
if (akt > 1) {
akt = 1;
schreib_tabelle();
}
}
Symbol 339 Button
on (press) {
gotoAndStop (2);
}
Symbol 341 Button
on (press) {
gotoAndStop (1);
}
Symbol 342 MovieClip Frame 1
_parent.newsletter = 0;
stop();
Symbol 342 MovieClip Frame 2
_parent.newsletter = 1;
Symbol 346 Button
on (press) {
play();
_parent.feldleeren(2);
}
Symbol 347 Button
on (release) {
play();
erg = 1;
}
Symbol 350 MovieClip Frame 1
_visible = 0;
stop();
Symbol 350 MovieClip Frame 2
_visible = 1;
Symbol 350 MovieClip Frame 10
stop();
erg = 0;
Symbol 350 MovieClip Frame 16
if (erg == 1) {
_parent.my_name = "";
_parent.zeige();
}
Symbol 355 Button
on (press) {
play();
}
Symbol 356 MovieClip Frame 1
_visible = 0;
stop();
Symbol 356 MovieClip Frame 2
_visible = 1;
Symbol 356 MovieClip Frame 10
stop();
erg = 0;
Symbol 356 MovieClip Frame 16
_parent.suchfeldfalsch();
Symbol 362 MovieClip Frame 1
function cookie() {
my_data = sharedobject.getLocal(my_spiel);
my_data.data.my_name = my_name;
my_data.data.my_dat = my_dat;
my_data.data.my_id = my_id;
my_data.data.neubesuch = 1;
}
function read() {
schreiben = 0;
this.onData = function () {
suchmich();
schreib_tabelle();
};
loadVariables (pfad, "", "POST");
}
function zeige() {
Selection.setFocus(tf_1);
}
function schreib_tabelle() {
lauf = akt;
if ((this["name_" + lauf].length > 0) or (name_1 == "")) {
a = 1;
while (a <= showzahl) {
this["kast" + a]._visible = 0;
this["kast" + a]._alpha = 100;
if (this["name_" + lauf].length == 0) {
this["kast" + a]._alpha = 30;
}
this["kast" + a].gotoAndStop(1);
this["kast" + a].k.gotoAndStop(lauf);
if ((my_name == this["name_" + lauf]) && (my_id == this["id_" + lauf])) {
this["kast" + a].gotoAndStop(2);
altscore = this["score_" + lauf];
}
if (lauf <= maxzahl) {
this["kast" + a].na = (lauf + ". ") + this["name_" + lauf];
this["kast" + a].pu = this["score_" + lauf] + newline;
} else {
this["kast" + a].na = "";
this["kast" + a].pu = "";
this["kast" + a]._alpha = 30;
}
lauf++;
a++;
}
st = 1;
this.onEnterFrame = function () {
this["kast" + st]._visible = 1;
st++;
if (st > showzahl) {
delete onEnterFrame;
}
};
}
}
function eintragen() {
schreiben = 1;
doppel = 0;
my_dat = new Array();
my_dat[0] = lastname;
my_dat[1] = prename;
my_dat[2] = "leer";
my_dat[3] = "leer";
my_dat[4] = "leer";
my_dat[5] = "leer";
my_dat[6] = email;
my_dat[7] = "NL:" + newsletter;
this.onData = function () {
suchmich();
if (newname == 0) {
_root.sessionOk = 1;
if (ausgabe == "neu") {
if (anrede == 1) {
aus = ("Bravo, " + my_name) + "!\nDeine Punkte wurden eingetragen.";
}
if (anrede == 2) {
aus = ("Bravo, " + my_name) + "!\nIhre Punkte wurden eingetragen.";
}
}
if (ausgabe == "besser") {
diff = my_score - altscore;
if (anrede == 1) {
aus = ((("Bravo, " + my_name) + "!\nDu hast deinen alten Punktestand um ") + diff) + " Punkte \u00FCbertroffen.";
}
if (anrede == 2) {
aus = ((("Bravo, " + my_name) + "!\nSie haben ihren alten Punktestand um ") + diff) + " Punkte \u00FCbertroffen.";
}
}
if (ausgabe == "schlechter") {
diff = altscore - my_score;
if (anrede == 1) {
aus = ((("Sorry, " + my_name) + "! Dein alter Punktestand lag um ") + diff) + " Punkte h\u00F6her.\nEr wurde deswegen beibehalten!";
}
if (anrede == 2) {
aus = ((("Sorry, " + my_name) + "! Ihr alter Punktestand lag um ") + diff) + " Punkte h\u00F6her.\nEr wurde deswegen beibehalten!";
}
}
if (ausgabe == "zuwenig") {
if (anrede == 1) {
aus = ((my_score + " Punkte haben leider nicht f\u00FCr einen Eintrag in die Top'") + maxzahl) + " gereicht! Versuche es noch einmal!";
}
if (anrede == 2) {
aus = ((my_score + " Punkte haben leider nicht f\u00FCr einen Eintrag in die Top'") + maxzahl) + " gereicht! Versuchen sie es noch einmal!";
}
}
schreib_tabelle();
cookie();
restart._visible = 1;
my_score_v = ((my_score + " Punkte :: ") + my_name) + " ::..........................";
} else {
bietename();
}
};
hasher.makehash(my_score);
loadVariables (pfad, "", "POST");
}
function suchmich() {
akt = 1;
a = 1;
while (a <= maxzahl) {
if ((my_name == this["name_" + a]) && (my_id == this["id_" + a])) {
while (akt <= a) {
akt = akt + showzahl;
}
akt = akt - showzahl;
}
a++;
}
}
function bietename() {
vorschlag.play();
vorschlag.txt = ("Der Name\n\"" + my_name) + "\"\nist bereits vergeben!\n";
doppler = 1;
a = 1;
while (doppler == 1) {
frei = 1;
b = 1;
while (b <= maxzahl) {
if (((my_name + " ") + a) == this["name_" + b]) {
frei = 0;
}
b++;
}
if (frei == 1) {
doppler = 0;
my_name = (my_name + " ") + a;
} else {
a++;
}
}
vorschlag.txt = vorschlag.txt + (("Wie w\u00E4re es mit\n\"" + my_name) + "\" ?");
a = 1;
this["tf_" + a].selectable = 1;
this["tf_" + a].borderColor = txt_lesen;
this["tf_" + a].border = 0;
this["tf_" + a].background = 1;
this["tf_" + a].textColor = txt_schreiben;
this["tf_" + a].backgroundColor = feld_schreiben;
sender._visible = 1;
}
function feldleeren(pw) {
newser._visible = 0;
pw = pw;
a = 1;
while (this["tf_" + a]) {
this["tf_" + a].selectable = 0;
if ((((a != 1) && (a != 3)) && (a != 4)) && (pw != 2)) {
}
this["tf_" + a].border = 0;
this["tf_" + a].background = 0;
this["tf_" + a].textColor = txt_lesen;
a++;
}
}
function feldfreigeben() {
if (anrede == 1) {
aus = "Neu hier?\nDann trage hier bitte jetzt einmalig deine Daten ein. ";
aus = aus + "Deine Daten werden nicht an Dritte weitergegeben!";
}
if (anrede == 2) {
aus = "Neu hier? Dann schnell anmelden! Um an dem Gewinnspiel teilzunehmen, m\u00FCssen Sie sich erst hier eintragen. Ihre Daten werden wir nicht an Dritte weitergeben.";
}
adressspeichern = 1;
newser.gotoAndStop(1);
newser._visible = 1;
my_score_v = my_score + " Punkte.....................................................";
a = 1;
while (a <= showzahl) {
this["kast" + a].gotoAndStop(1);
a++;
}
if (akt > 1) {
akt = 1;
schreib_tabelle();
}
a = 1;
while (this["tf_" + a]) {
this["tf_" + a].selectable = 1;
this["tf_" + a].password = 0;
this["tf_" + a].border = 1;
this["tf_" + a].borderColor = feld_lesen;
this["tf_" + a].background = 1;
this["tf_" + a].backgroundColor = feld_schreiben;
this["tf_" + a].textColor = txt_schreiben;
this["tf_" + a].text = "";
my_id = random(1000000) + 1000;
a++;
}
akt = 1;
Selection.setFocus(tf_1);
}
function suchfeldfalsch() {
a = 1;
while (this["tf_" + a]) {
if (this["tf_" + a].backgroundColor == feld_falsch) {
akt = a;
a = 10000;
}
a++;
}
Selection.setFocus(this["tf_" + akt]);
this["tf_" + akt].backgroundColor = feld_falsch;
}
function umlaute(wort) {
um = new Array("\u00F6", "\u00D6", "\u00FC", "\u00DC", "\u00E4", "\u00C4", "\u00DF");
ums = new Array("oe", "Oe", "ue", "Ue", "ae", "Ae", "ss");
obb = "";
ob = wort.split("");
trace(ob);
as = 0;
while (as < ob.length) {
ts = ob[as];
aw = 0;
while (aw < um.length) {
if (ts == um[aw]) {
ob[as] = ums[aw];
}
aw++;
}
obb = obb + ob[as];
as++;
}
return(obb);
}
anrede = 1;
my_spiel = "querpass_neu";
maxzahl = 120;
showzahl = 10;
pfad = "scores_6.php";
my_score = random(100000);
my_score = _parent.punkte;
my_score_v = my_score + " Punkte";
akt = 1;
stop();
feld_falsch = 12963546 /* 0xC5CEDA */;
feld_schreiben = 16777215 /* 0xFFFFFF */;
feld_lesen = 0;
txt_lesen = 0;
txt_schreiben = 0;
feld_aktiv = 16777215 /* 0xFFFFFF */;
restart._visible = 0;
stop();
felder = new Array("my_name", "email", "prename", "lastname");
feldnamen = new Array("Nickname", "Emailadresse", "Vorname", "Nachname");
tester = new Array(1, 4, 1, 1);
textfelder = new Array("tf_1", "tf_2", "tf_3", "tf_4");
my_data = sharedobject.getLocal(my_spiel);
if (my_data.data.neubesuch == 1) {
my_name = my_data.data.my_name;
my_id = my_data.data.my_id;
my_score_alt = my_data.data.my_score;
my_dat = my_data.data.my_dat;
lastname = my_data.data.my_dat[0];
prename = my_data.data.my_dat[1];
street = my_data.data.my_dat[2];
streetnumber = my_data.data.my_dat[3];
plz = my_data.data.my_dat[4];
town = my_data.data.my_dat[5];
email = my_data.data.my_dat[6];
news = my_data.data.my_dat[7];
if (news == 1) {
newser.gotoAndStop(2);
}
adressspeichern = 0;
feldleeren();
if (anrede == 1) {
aus = ("Hallo " + my_name) + ". Trage deinen neuen Punktestand in die Liste ein. Klick daf\u00FCr auf \"Abschicken\".";
neufrage.txt = "Du willst einen neuen Spieler anlegen?\nDann klicke bitte hier.";
} else {
aus = ("Hallo " + my_name) + ". Tragen sie ihren neuen Punktestand in die Liste ein. Klicken sie daf\u00FCr auf \"Abschicken\".";
neufrage.txt = "Sie wollen einen neuen Spieler anlegen?\nDann klicken sie bitte hier.";
}
my_score_v = my_score_v + ((" :: " + my_name) + " ::..........................");
} else {
feldfreigeben();
neuspieler._visible = 0;
zeige();
}
vorschlag.swapDepths(maxzahl + 10);
aa = 1;
kast1._visible = 0;
a = 2;
while (a <= showzahl) {
removeMovieClip("kast" + a);
a++;
}
a = 2;
while (a <= showzahl) {
duplicateMovieClip (kast1, "kast" + a, a);
ziel = this["kast" + a];
ziel._visible = 0;
ziel._x = kast1._x + z;
ziel._y = kast1._y + (aa * (kast1.ka._height + 2));
aa++;
a++;
}
stop();
read();
a = 1;
while (this["tf_" + a]) {
if (a == 1) {
vorschlag._visible = 0;
}
this["tf_" + a].onSetFocus = function () {
if (alerter._currentframe > 1) {
alerter.play();
}
trace(this);
akt = Number(substring(this._name, 4, 1));
trace(akt);
};
a++;
}
Instance of Symbol 342 MovieClip "newser" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
_visible = 1;
gotoAndStop (2);
}
Instance of Symbol 356 MovieClip "alerter" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
swapDepths(1000);
}
Instance of Symbol 361 MovieClip "neufrage" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}