Frame 1
Instance of Symbol 3 MovieClip "ysound" in Frame 1
onClipEvent (load) {
_visible = false;
}
Frame 2
y1r_lso = SharedObject.getLocal("y1r2");
Frame 3
function playsnd(soundd, volu) {
if (_root.snd) {
_root.ysound[soundd].setVolume(volu);
_root.ysound[soundd].start();
}
}
_root.snd = true;
ysound.loadMovie("games/yeti/yeti1sesnd.swf");
Frame 5
if (!((PHPSESSID == "12345678") || (PHPSESSID == "12345678"))) {
username = "";
session = "true";
} else {
sesstext = "unknown session data - please re-login";
stop();
}
Frame 7
if (session != "123") {
if (!((session == "true") || (session == true))) {
sesstext = "unknown session data - please re-login";
stop();
} else {
play();
}
} else {
gotoAndPlay(_currentframe - 1);
}
Frame 8
if ((PHPSESSID == "987654321") || (PHPSESSID == "123456789")) {
gotoAndPlay (1);
}
username = username.toUpperCase();
Frame 9
tbytes = getBytesTotal();
lbytes = getBytesLoaded();
percent = int((lbytes / tbytes) * 100);
stbytes = ysound.getBytesTotal();
slbytes = ysound.getBytesLoaded();
spercent = int((slbytes / stbytes) * 100);
Instance of Symbol 10 MovieClip in Frame 9
onClipEvent (enterFrame) {
_xscale = _parent.percent;
}
Instance of Symbol 10 MovieClip in Frame 9
onClipEvent (enterFrame) {
_xscale = _parent.spercent;
}
Frame 10
if ((percent < 100) || (spercent < 100)) {
gotoAndPlay(_currentframe - 1);
}
Frame 11
stop();
Frame 13
_root.top = parseFloat(y1r_lso.data[username]);
if (((_root.top == null) || (_root.top == undefined)) || (isNaN(_root.top))) {
_root.top = 0;
}
Frame 15
stop();
Frame 20
stop();
_quality = "BEST";
keyDrueck = new Object();
keyDrueck.onKeyUp = function () {
if (Key.getCode() != 57) {
if (Key.getCode() == 48) {
if (!_root.snd) {
_root.snd = true;
} else {
_root.snd = false;
stopAllSounds();
}
}
} else {
_root.top = 0;
}
};
Key.addListener(keyDrueck);
Instance of Symbol 1 MovieClip "bgg" in Frame 20
onClipEvent (enterFrame) {
_y = _parent.world._y;
}
Instance of Symbol 36 MovieClip "world" in Frame 20
onClipEvent (load) {
_x = 0;
_y = 0;
}
Instance of Symbol 478 MovieClip "replayer" in Frame 20
onClipEvent (load) {
function startReplay(myOwn) {
_root.sicherweite = _root.world.weitenmessung.weite;
_root.repanzeige.gotoAndStop(2);
Mouse.hide();
_parent.repmouse._visible = true;
_parent.repmouse.startDrag(true);
if (!_root.replay) {
if (!myOwn) {
temprecScore = loadrecScore;
temprecXspeed = loadrecXspeed;
temprecYspeed = loadrecYspeed;
temprecRspeed = loadrecRspeed;
temprecPby = loadrecPby;
temprecXpos = loadrecXpos;
temprecYpos = loadrecYpos;
temprecYetiHit = loadrecYetiHit;
tempRecA = loadrecA.concat();
tempRecS = loadrecS.concat();
} else {
temprecScore = myrecScore;
temprecXspeed = myrecXspeed;
temprecYspeed = myrecYspeed;
temprecRspeed = myrecRspeed;
temprecPby = myrecPby;
temprecXpos = myrecXpos;
temprecYpos = myrecYpos;
temprecYetiHit = myrecYetiHit;
tempRecA = myrecA.concat();
tempRecS = myrecS.concat();
}
rcnt = 0;
_root.replay = true;
_parent.world.tsch._visible = false;
i = 1;
while (i <= _parent.world.spurtemp) {
_parent.world["spur" + i].removeMovieClip();
i++;
}
_parent.world.spurtemp = 0;
_parent.world._x = 0;
_parent.world.weitenmessung._y = -10;
_parent.world.weitenmessung.aktiv = false;
_parent.world.weitenmessung._visible = false;
_parent.world.ball._y = _parent.world.ball.starty;
_parent.world.ball.xspeed = 0;
_parent.world.ball.gotoAndPlay(1);
_parent.world.ball._x = _parent.world.ball.startx;
_parent.world.ball.yspeed = random(50) / 40;
_parent.world.ball.act = "fall";
_parent.world.ball.kotz = false;
_parent.world.ball.extragravity = 0;
_parent.world.ball.wfaktor = 0;
_parent.world.ball._rotation = 0;
i = 1;
while (i <= 3) {
_parent.world["cl" + i].reset();
i++;
}
_parent.world.tree1.reset();
_parent.world.tree2.reset();
}
}
function startRecord() {
cnt = 0;
delete myrecA;
delete myrecS;
myrecXspeed = 0;
myrecYspeed = 0;
myrecRspeed = 0;
myrecPby = 0;
myrecXpos = 0;
myrecYpos = 0;
myrecScore = 0;
myrecA = new Array();
myrecS = new Array();
_root.record = true;
}
function stopReplay() {
_root.replay = false;
_root.repanzeige.gotoAndStop(1);
Mouse.show();
_parent.repmouse._visible = false;
_parent.repmouse.stopDrag();
delete tempRecA;
delete tempRecS;
}
function stopRecord() {
_root.record = false;
}
function yetiHit() {
myrecYetiHit = cnt;
}
function addKeyA() {
myrecA.push(cnt);
}
function addKeyS() {
myrecS.push(cnt);
}
function buildReplay() {
var _loc2 = (("" + _root.username) + ";");
_loc2 = _loc2 + (myrecYetiHit.toString() + ";");
_loc2 = _loc2 + (myrecXspeed.toString() + ";");
_loc2 = _loc2 + (myrecYspeed.toString() + ";");
_loc2 = _loc2 + (myrecRspeed.toString() + ";");
_loc2 = _loc2 + (myrecPby.toString() + ";");
_loc2 = _loc2 + (myrecXpos.toString() + ";");
_loc2 = _loc2 + (myrecYpos.toString() + ";");
_loc2 = _loc2 + (myrecA.toString() + ";");
_loc2 = _loc2 + (myrecS.toString() + ";");
_loc2 = _loc2 + myrecScore.toString();
return(_loc2);
}
function loadReplay(lstr) {
var _loc1 = lstr.split(";");
loadreplayUser = _loc1[0];
loadrecYetiHit = parseFloat(_loc1[1]);
loadrecXspeed = parseFloat(_loc1[2]);
loadrecYspeed = parseFloat(_loc1[3]);
loadrecRspeed = parseFloat(_loc1[4]);
loadrecPby = parseFloat(_loc1[5]);
loadrecXpos = parseFloat(_loc1[6]);
loadrecYpos = parseFloat(_loc1[7]);
loadrecA = _loc1[8].split(",");
loadrecS = _loc1[9].split(",");
loadrecScore = parseFloat(_loc1[10]);
}
_visible = false;
myrecXspeed = 0;
myrecYspeed = 0;
myrecRspeed = 0;
myrecPby = 0;
myrecXpos = 0;
myrecYpos = 0;
myrecScore = 0;
_root.replay = false;
_root.record = false;
myrecA = new Array();
myrecS = new Array();
}
onClipEvent (enterFrame) {
if (_root.record) {
cnt++;
}
if (_root.replay) {
if (temprecYetiHit == rcnt) {
_parent.world.yeti.play();
}
if (_parent.world.ball.bereit) {
if (parseInt(tempRecA[0]) != rcnt) {
if (parseInt(tempRecS[0]) != rcnt) {
_root.repanzeige.ll._visible = false;
_root.repanzeige.rr._visible = false;
} else {
tempRecS.shift();
_root.world.ball.srspeed = true;
_root.repanzeige.ll._visible = false;
_root.repanzeige.rr._visible = true;
}
} else {
tempRecA.shift();
_root.world.ball.arspeed = true;
_root.repanzeige.ll._visible = true;
_root.repanzeige.rr._visible = false;
}
rcnt++;
}
}
}
Symbol 5 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "yeti1se";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
if (this.sessionvars.sessiontype == 2) {
_root.is_a_challenge = 1;
} else {
_root.is_a_challenge = 0;
}
this.sessionstarted = 1;
}
if (_root.gameisover == 1) {
if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
_root.score = int(Number(_root.score));
if (_root.score == 0) {
this.prequestvars.score = -1;
} else {
this.prequestvars.score = _root.score;
}
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
}
if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0) {
this.burnscore.noscore = 1;
}
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
}
}
Symbol 15 Button
on (release) {
play();
}
Symbol 33 Button
on (release) {
play();
}
Symbol 83 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
ccc = 0;
Symbol 109 MovieClip Frame 13
ccc++;
Symbol 109 MovieClip Frame 22
startzeit = getTimer();
Symbol 109 MovieClip Frame 23
if (ccc >= 6) {
this.onEnterFrame = function () {
jetzt = getTimer();
if ((jetzt - startzeit) > 3000) {
this.onEnterFrame = function () {
};
ccc = 0;
this.gotoAndPlay(11);
}
};
stop();
} else {
gotoAndPlay (11);
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
_root.playsnd("aushol", 30);
Symbol 108 MovieClip Frame 6
stop();
_parent.ball.aktiv = true;
Symbol 108 MovieClip Frame 10
if (_root.replay) {
pby = parseFloat(_root.replayer.temprecPby);
} else {
pby = (_y - _parent.ball._y) + (random(16) - 8);
}
_root.playsnd("schlag", 40);
if (!((pby < 80) && (pby > 10))) {
_root.playsnd("brrr", 30);
} else {
temprand = random(5) + 1;
if (temprand != 1) {
if (temprand != 2) {
if (temprand != 3) {
if (temprand != 4) {
if (temprand == 5) {
_root.playsnd("yes", 30);
}
} else {
_root.playsnd("fly", 30);
}
} else {
_root.playsnd("youh", 30);
}
} else {
_root.playsnd("juhu", 30);
}
} else {
_root.playsnd("juh", 30);
}
if (!_root.replay) {
abweich = 40 - pby;
_parent.ball.xspeed = -45 + Math.abs(abweich);
_parent.ball.yspeed = abweich;
_parent.ball.rspeed = (abweich * -0.5) - 5;
_parent.ball._rotation = 10;
_parent.ball.act = "fly";
_parent.ball.gotoAndPlay("fly");
_parent.schlagx = _x;
}
}
if (_root.record) {
_root.replayer.myrecXpos = _parent.ball._x;
_root.replayer.myrecYpos = _parent.ball._y;
_root.replayer.myrecPby = parseFloat(pby);
_root.replayer.myrecXspeed = _parent.ball.xspeed;
_root.replayer.myrecYspeed = _parent.ball.yspeed;
_root.replayer.myrecRspeed = _parent.ball.rspeed;
}
if (_root.replay) {
_parent.ball.xspeed = _root.replayer.temprecXspeed;
if (_parent.ball.xspeed != 0) {
_parent.ball._x = _root.replayer.temprecXpos;
_parent.ball._y = _root.replayer.temprecYpos;
_parent.ball.yspeed = _root.replayer.temprecYspeed;
_parent.ball.rspeed = _root.replayer.temprecRspeed;
_parent.ball._rotation = 10;
_parent.ball.act = "fly";
_parent.ball.gotoAndPlay("fly");
_parent.schlagx = _x;
}
}
Symbol 108 MovieClip Frame 21
if (_parent.ball.act == "fly") {
stop();
}
Symbol 183 MovieClip Frame 1
bereit = false;
Symbol 183 MovieClip Frame 2
_parent.wpingu1.reset();
_parent.wpingu2.reset();
Symbol 183 MovieClip Frame 23
_root.playsnd("ready", 50);
Symbol 183 MovieClip Frame 25
if (!_root.replay) {
if (!aktiv) {
gotoAndPlay(_currentframe - 1);
} else {
_root.donotcount = false;
bereit = true;
play();
if (!_root.replay) {
_root.replayer.startRecord();
}
}
} else {
_root.donotcount = true;
_parent.yeti.gotoAndPlay(2);
bereit = true;
aktiv = true;
play();
}
Symbol 183 MovieClip Frame 26
_root.playsnd("hepp", 30);
Symbol 183 MovieClip Frame 27
yspeed = -3;
Symbol 183 MovieClip Frame 41
stop();
Symbol 183 MovieClip Frame 42
if (act == "steck") {
gotoAndPlay ("steck");
}
if (act == "landok") {
gotoAndPlay ("landok");
}
Symbol 183 MovieClip Frame 62
gotoAndPlay ("fly");
Symbol 183 MovieClip Frame 74
stop();
Symbol 183 MovieClip Frame 86
if (!kotz) {
_root.playsnd("plach3", 30);
stop();
} else {
play();
}
Symbol 183 MovieClip Frame 87
_root.playsnd("kotz", 40);
Symbol 183 MovieClip Frame 106
kotz = false;
stop();
Symbol 183 MovieClip Frame 107
if (Math.abs(_rotation) > 135) {
gotoAndPlay ("landback");
}
Symbol 183 MovieClip Frame 112
_root.playsnd("plach1", 30);
stop();
Symbol 183 MovieClip Frame 118
_root.playsnd("plach2", 30);
stop();
Symbol 409 Button
on (release) {
_parent.tsch._visible = false;
i = 1;
while (i <= _parent.spurtemp) {
_parent["spur" + i].removeMovieClip();
i++;
}
_parent.spurtemp = 0;
_parent._x = 0;
this._y = -10;
this.aktiv = false;
_parent.ball._y = _parent.ball.starty;
_parent.ball.xspeed = 0;
_parent.ball.gotoAndPlay(1);
_parent.ball._x = _parent.ball.startx;
_parent.ball.yspeed = random(50) / 40;
_parent.ball.act = "fall";
_parent.ball.extragravity = 0;
_parent.ball.wfaktor = 0;
_parent.ball._rotation = 0;
i = 1;
while (i <= 3) {
_parent["cl" + i].reset();
i++;
}
_parent.tree1.reset();
_parent.tree2.reset();
_visible = false;
}
Symbol 413 Button
on (release) {
_root.replayer.startReplay(true);
_root.repanzeige.user = _root.username;
_root.repanzeige.weite = weite;
aktiv = false;
_visible = false;
}
Symbol 418 Button
on (release) {
score = weite;
game_name = "yetisports1se";
getURL ("newscore.php", "_self", "POST");
}
Symbol 406 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop();
spurtemp = 0;
Instance of Symbol 37 MovieClip "cl1" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
function reset() {
_x = (random(450) + 50);
nextStep();
}
function nextStep() {
_y = (random(50) + 100);
_xscale = (100 - (_y / 4));
_yscale = (100 - (_y / 4));
if (random(2) == 1) {
_xscale = (_xscale * -1);
}
if (random(2) == 1) {
_yscale = (_yscale * -1);
}
eigenspeed = (200 - _y) / 300;
}
reset();
}
onClipEvent (enterFrame) {
if (_parent._x > 0) {
_x = (_x + (_parent.ball.xspeed / (250 / _y)));
}
if ((_x + _parent._x) > (700 + (_width / 2))) {
_x = (_x - 1500);
nextStep();
}
_x = (_x + eigenspeed);
}
Instance of Symbol 37 MovieClip "cl3" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
function reset() {
_x = (random(450) + 50);
nextStep();
}
function nextStep() {
_y = (random(50) + 150);
_xscale = (100 - (_y / 4));
_yscale = (100 - (_y / 4));
eigenspeed = (200 - _y) / 300;
}
reset();
}
onClipEvent (enterFrame) {
if (_parent._x > 0) {
_x = (_x + (_parent.ball.xspeed / (250 / _y)));
}
if ((_x + _parent._x) > (700 + (_width / 2))) {
_x = (_x - 1500);
nextStep();
}
_x = (_x + eigenspeed);
}
Instance of Symbol 37 MovieClip "cl2" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
function reset() {
_x = (random(450) + 50);
nextStep();
}
function nextStep() {
_y = (random(50) + 50);
_xscale = (100 - (_y / 4));
_yscale = (100 - (_y / 4));
eigenspeed = (200 - _y) / 300;
}
reset();
}
onClipEvent (enterFrame) {
if (_parent._x > 0) {
_x = (_x + (_parent.ball.xspeed / (250 / _y)));
}
if ((_x + _parent._x) > (700 + (_width / 2))) {
_x = (_x - 1500);
nextStep();
}
_x = (_x + eigenspeed);
}
Instance of Symbol 40 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
paus = 20;
st = getTimer();
}
onClipEvent (enterFrame) {
j = getTimer();
if (((j - st) > paus) && (random(2) == 1)) {
if ((_currentframe + 1) <= _totalframes) {
gotoAndStop(_currentframe + 1);
} else {
gotoAndStop (1);
}
st = j;
}
}
Instance of Symbol 71 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._x <= 300) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 74 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._x <= 200) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 77 MovieClip "tree1" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
function reset() {
_x = homex;
}
homex = _x;
}
onClipEvent (enterFrame) {
if (_parent._x > 0) {
_x = (_x + (_parent.ball.xspeed / 3));
}
if ((_parent._x + _x) > 700) {
_x = (_x - 1500);
}
}
Instance of Symbol 77 MovieClip "tree2" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
function reset() {
_x = homex;
}
homex = _x;
}
onClipEvent (enterFrame) {
if (_parent._x > 0) {
_x = (_x + (_parent.ball.xspeed / 5));
}
if ((_parent._x + _x) > 700) {
_x = (_x - 1500);
}
}
Instance of Symbol 80 MovieClip "tsch" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 83 MovieClip "wpingu1" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
function reset() {
wert = 50;
_x = (_parent.yeti._x - (wert * 10));
gotoAndStop (1);
}
reset();
}
onClipEvent (enterFrame) {
if (_parent.ball._x < (_x - 700)) {
wert = wert + 100;
_x = (_parent.yeti._x - (wert * 10));
}
var www = (6 + Math.round((_x - _parent.ball._x) / 30));
if ((www > 0) && (www < 12)) {
gotoAndStop(www);
}
}
Instance of Symbol 83 MovieClip "wpingu2" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
function reset() {
wert = 100;
_x = (_parent.yeti._x - (wert * 10));
gotoAndStop (1);
}
reset();
}
onClipEvent (enterFrame) {
if (_parent.ball._x < (_x - 700)) {
wert = wert + 100;
_x = (_parent.yeti._x - (wert * 10));
}
var www = (6 + Math.round((_x - _parent.ball._x) / 30));
if ((www > 0) && (www < 12)) {
gotoAndStop(www);
}
}
Instance of Symbol 108 MovieClip "yeti" in Symbol 36 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._x <= 200) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (mouseUp) {
if ((!_root.replay) && (!_root.highvisible)) {
if (_parent.ball._currentframe != 1) {
if (_parent.ball.act == "fall") {
play();
if (_root.record) {
_root.replayer.yetiHit();
}
}
} else {
_parent.ball.play();
_parent.ball.aktiv = true;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 181 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
_y = (_parent.yeti._y + 5);
}
onClipEvent (enterFrame) {
_x = _parent.ball._x;
_alpha = (80 - int((_parent.yeti._y - _parent.ball._y) / 5));
}
Instance of Symbol 183 MovieClip "ball" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
startx = _parent.yeti._x;
starty = _y;
this.swapDepths(1000);
_parent.schlagx = _parent.yeti._x;
xspeed = 0;
yspeed = random(50) / 40;
act = "fall";
aktiv = false;
rspeed = 0;
normgravity = 0.5;
extragravity = 0;
saveArray = new Array();
kotz = false;
arspeed = false;
srspeed = false;
schreibmyrecScore = false;
}
onClipEvent (enterFrame) {
if (aktiv && (bereit)) {
yspeed = yspeed + normgravity;
xspeed = xspeed * 0.999199986457825;
_y = (_y + yspeed);
if (_y >= 50) {
_parent._y = 0;
} else {
_parent._y = _parent._y - yspeed;
}
if (_y > _parent.yeti._y) {
if (Math.abs(rspeed) > 20) {
kotz = true;
}
if (_root.snd && (yspeed > 2)) {
_root.playsnd("flutsch", yspeed * 3);
}
if (!(((Math.abs(_rotation) < 75) && (act == "fly")) && (!kotz))) {
if (!((Math.abs(_rotation) > 105) && (!kotz))) {
xspeed = 0;
yspeed = 0;
rspeed = 0;
if (_root.record) {
_root.replayer.stopRecord();
schreibmyrecScore = true;
}
if (_root.replay) {
_root.replayer.stopReplay();
}
if (kotz) {
gotoAndPlay ("steckreverse");
} else if (_rotation > 0) {
gotoAndPlay ("steckreverse");
} else {
gotoAndPlay ("steck");
}
_rotation = 0;
act = "steck";
_root.playsnd("steck", 50);
} else {
yspeed = yspeed * -0.5;
xspeed = xspeed * 0.5;
rspeed = _rotation / 20;
_rotation = 180;
_parent.spurtemp++;
_parent.spur.duplicateMovieClip("spur" + _parent.spurtemp, 100 + _parent.spurtemp);
_parent["spur" + _parent.spurtemp]._x = _x;
_parent["spur" + _parent.spurtemp]._y = _y;
}
} else {
yspeed = yspeed * -0.600000023841858;
if (_rotation <= 0) {
xspeed = xspeed * 0.800000011920929;
} else {
xspeed = xspeed * 0.800000011920929;
}
rspeed = _rotation / -9;
_rotation = 0;
_parent.spurtemp++;
_parent.spur.duplicateMovieClip("spur" + _parent.spurtemp, 100 + _parent.spurtemp);
_parent["spur" + _parent.spurtemp]._x = _x;
_parent["spur" + _parent.spurtemp]._y = _y;
}
_y = _parent.yeti._y;
if (Math.abs(xspeed) < 0.100000001490116) {
if (act != "steck") {
act = "landok";
gotoAndPlay ("landok");
if (_root.record) {
_root.replayer.stopRecord();
schreibmyrecScore = true;
}
if (_root.replay) {
_root.replayer.stopReplay();
}
}
xspeed = 0;
yspeed = 0;
_parent.weitenmessung.aktiv = true;
_parent.weitenmessung.weite = int(_parent.schlagx - _x) / 10;
if (schreibmyrecScore) {
_root.replayer.myrecScore = _parent.weitenmessung.weite;
schreibmyrecScore = false;
}
if (!_root.donotcount) {
if (_parent.weitenmessung.weite > _root.top) {
_root.top = _parent.weitenmessung.weite;
_root.y1r_lso.data[_root.username] = _root.top;
_root.uploader.gotoAndPlay(2);
}
}
if (_parent.weitenmessung.weite <= 3000) {
if (_parent.weitenmessung.weite <= 2000) {
if (_parent.weitenmessung.weite <= 1000) {
if ((_parent.weitenmessung.weite < 500) && (_parent.weitenmessung.weite > 0)) {
_root.playsnd("ohh", 20);
}
} else {
_root.playsnd("ylach", 40);
}
} else {
_root.playsnd("super1", 40);
}
} else {
_root.playsnd("yyeah", 40);
}
aktiv = false;
if (_parent.yeti._currentframe > 1) {
_parent.yeti.play();
}
}
}
_x = (_x + xspeed);
if (_x < 150) {
_parent._x = _parent._x - xspeed;
}
}
if (act == "fly") {
if (_root.replay) {
if (!arspeed) {
if (srspeed) {
rspeed = rspeed + 0.5;
srspeed = false;
}
} else {
rspeed = rspeed - 0.5;
arspeed = false;
}
} else if (!(Key.isDown(65) || (Key.isDown(37)))) {
if (Key.isDown(83) || (Key.isDown(39))) {
rspeed = rspeed + 0.5;
if (_root.record) {
_root.replayer.addKeyS();
}
}
} else {
rspeed = rspeed - 0.5;
if (_root.record) {
_root.replayer.addKeyA();
}
}
if (!((_rotation > -10) && (_rotation < 30))) {
if (!((_rotation < 0) && (_rotation > -45))) {
extragravity = -0.100000001490116;
cond._visible = false;
} else {
cond._visible = false;
xspeed = xspeed - 0.100000001490116;
}
} else {
cond._visible = true;
wdist = Math.abs(10 - _rotation);
cond._yscale = (cond._xscale = ((21 - wdist) * Math.abs(xspeed)) / 8);
wfaktor = (20 - wdist) / 500;
extragravity = Math.abs((xspeed * wfaktor) / (1 + ((_parent.yeti._y - _y) / 100)));
}
yspeed = yspeed - extragravity;
_rotation = (_rotation + rspeed);
}
}
Instance of Symbol 406 MovieClip "weitenmessung" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
_y = -10;
aktiv = false;
yspeed = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (aktiv) {
_visible = true;
yspeed = yspeed + 3;
_x = (250 - _parent._x);
_y = (_y + yspeed);
if (_y > (_parent.ball._y - 20)) {
_y = (_parent.ball._y - 20);
yspeed = 0;
_parent.tsch._x = _x;
_parent.tsch._y = _y;
_parent.tsch._visible = true;
if (_root.snd) {
_parent.steck.start();
}
if (_root.highvisible) {
_root.waitor.play();
}
aktiv = false;
}
}
}
Symbol 438 Button
on (release) {
gotoAndStop (1);
}
Symbol 442 Button
on (release) {
score = points;
game_name = "yetisports1se";
getURL ("newscore.php", "_self", "POST");
}
Symbol 433 MovieClip Frame 1
gotoAndStop (1);
Symbol 433 MovieClip Frame 2
gotoAndStop (1);
Symbol 433 MovieClip Frame 10
gotoAndStop (1);
Symbol 433 MovieClip Frame 14
repdat = prepare(_parent.replayer.buildReplay());
_root.score = _root.top;
score = _root.top;
_root.gameisover = "1";
Symbol 433 MovieClip Frame 16
if (PHP_score == "") {
gotoAndPlay(_currentframe - 1);
}
Symbol 433 MovieClip Frame 30
_parent.highscore.gotoAndPlay(2);
this.gotoAndStop(1);
Symbol 446 MovieClip Frame 1
stop();
Symbol 452 Button
on (release) {
i = 2;
while (i <= 10) {
this["scitem" + i].removeMovieClip();
i++;
}
gotoAndStop (1);
}
Symbol 460 Button
on (release) {
_root.replayer.loadReplay(_parent.postpare(this.repdat));
_parent.hideScore();
_root.replayer.startReplay(false);
_root.repanzeige.user = this.sc_name;
_root.repanzeige.weite = this.sc_points;
}
Symbol 463 Button
on (release) {
i = 2;
while (i <= 10) {
this["scitem" + i].removeMovieClip();
i++;
}
gotoAndStop (1);
}
Symbol 447 MovieClip Frame 1
function postpare(st) {
var _loc3 = "";
i = 0;
while (i < st.length) {
var _loc1 = String.fromCharCode(parseInt(st.substr(i, 3)) - 100);
_loc3 = _loc3 + _loc1;
i = i + 3;
}
return(_loc3);
}
function hideScore() {
this._visible = false;
_root.scoreReplay = true;
}
function showScore() {
this._visible = true;
_root.scoreReplay = false;
}
_root.highvisible = false;
_root.mouselocker.gotoAndStop(1);
stop();
Symbol 447 MovieClip Frame 2
_root.mouselocker.gotoAndStop(2);
_root.highvisible = true;
Symbol 447 MovieClip Frame 3
PHP_score = "";
i = 1;
while (i <= 10) {
this["spieler" + i] = "---";
this["points" + i] = "---";
this["datum" + i] = "---";
this["repdat" + i] = "";
i++;
}
PHPSESSID = _root.PHPSESSID;
Symbol 447 MovieClip Frame 17
if (PHP_score == "") {
gotoAndPlay(_currentframe - 1);
}
Symbol 447 MovieClip Frame 19
i = 2;
while (i <= 10) {
if (this["spieler" + i] != "---") {
scitem1.duplicateMovieClip("scitem" + i, 11000 + i);
this["scitem" + i]._y = (scitem1._y + (18 * i)) - 18;
}
i++;
}
Symbol 447 MovieClip Frame 20
i = 1;
while (i <= 10) {
if (this["spieler" + i] != "---") {
this["scitem" + i].sc_name = this["spieler" + i];
this["scitem" + i].sc_points = this["points" + i];
this["scitem" + i].sc_date = this["datum" + i];
this["scitem" + i].sc_nr = i;
this["scitem" + i].ID = i;
this["scitem" + i].repdat = this["repdat" + i];
} else {
this["scitem" + i]._visible = false;
}
i++;
}
Symbol 447 MovieClip Frame 22
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 20
_root.world.weitenmessung.weite = _root.sicherweite;
_root.highscore.showScore();
Symbol 468 MovieClip Frame 1
user = "";
weite = "";
stop();
Instance of Symbol 474 MovieClip "ll" in Symbol 468 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 476 MovieClip "rr" in Symbol 468 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 479 Button
on (release) {
startReplay();
}