Instance of Symbol 57 MovieClip in Frame 1
//component parameters
onClipEvent (initialize) {
xin_motion_val = "Down";
xin_alphatype_val = "Yes";
xout_motion_val = "Down";
xout_alphatype_val = "Yes";
perc_req_val = 100;
show_perc_val = "Yes";
slow_factor_val = 0.2;
init_action_val = "_root.stop();";
play_action_val = "_root.play();";
}
Frame 2
gotoAndStop (3);
Frame 3
stop();
stop();
Frame 4
_root.hganfpos = 544;
_root.aufhuepfen = 0;
_root.aktiv = 1;
_root.haelfte = 70;
_root.varscroll = 0;
_root.createEmptyMovieClip("hilfe", 1000);
i = 1;
while (i <= _root.spurt) {
_root["spur" + i].removeMovieClip();
i = i + 1;
}
_root.steckt = 0;
hg.xtempo = 0;
hg.ytempo = 0;
anfschlaeger = 0;
_root.weitenmessung = 0;
weite = 0;
bereit = 0;
geschlagen = 0;
spurt = 0;
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (load) {
this.swapDepths(1001);
}
Frame 5
stop();
Instance of Symbol 103 MovieClip in Frame 5
onClipEvent (load) {
this._x = 400;
this._y = 133;
}
Instance of Symbol 134 MovieClip "schlaeger" in Frame 5
onClipEvent (load) {
this._x = 500;
this._y = 300;
_root.anfschlaeger = this._x;
}
Instance of Symbol 182 MovieClip "hg" in Frame 5
onClipEvent (load) {
this._x = (_root.hganfpos = 500);
_root.hg.xtempo = 0;
_root.hg.Ytempo = 5;
_root.tempoabs = Math.abs(_root.hg.xtempo);
_root.weitenmessung = 0;
_root.messung = 0;
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
_root.ypos = this._y;
if ((this._x == _root.hganfpos) && (this._y > (_root.schlaeger._y + 50))) {
this.gotoAndStop("stecken");
_root.geschlagen = 1;
_root.steckt = 1;
_root.num = 0;
}
if ((_root.bereit == 1) && (_root.hg._x > 60)) {
this._x = this._x + (_root.hg.xtempo / 1);
if (_root.hg._y > 0) {
_root.hg.ytempo = _root.hg.ytempo + 0.5;
_root.hg._y = _root.hg._y + _root.hg.ytempo;
} else {
_root.hg._y = 0;
}
}
if (_root.hg._x <= 60) {
_root.hg._x = 60;
_root.steckt = 1;
_root.weitenmessung = 1;
_root.geschlagen = 1;
}
if (_root.weitenmessung == 1) {
if (_root.ypos < 0) {
_root.ypos = 0;
}
_root.geschlagen = 1;
_root.bereit = 0;
if (this._y <= 200) {
_root.weite = Math.abs(this._y / 2);
}
if (_root.ypos > 200) {
_root.weite = Math.abs((_root.ypos - 400) / 2);
}
if (_root.weite > _root.highscore) {
_root.highscore = _root.weite;
}
_root.num = _root.weite;
_root.score = _root.num;
_root.weitenmessung = 1;
this.gotoAndPlay("steckenn");
}
}
Instance of Symbol 188 MovieClip in Frame 5
onClipEvent (load) {
this._x = 430;
this._y = 290;
}
Instance of Symbol 212 MovieClip in Frame 5
onClipEvent (load) {
this._x = 90;
this._y = -66;
fallges = 0;
}
onClipEvent (enterFrame) {
if (_root.weitenmessung == 1) {
fallges = fallges + 3;
_root.hg.kopf.gotoAndStop(500);
this._x = 100;
this._y = this._y + fallges;
if (this._y > 100) {
this._y = 100;
}
}
}
Instance of Symbol 221 MovieClip in Frame 5
onClipEvent (mouseUp) {
if (_root.aktiv == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.hg._currentframe == 1)) {
_root.bereit = 1;
_root.hg.gotoAndPlay("fallen");
_root.schlaeger.yeti.gotoAndPlay("bereit");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.geschlagen == 0)) {
_root.schlaeger.gotoAndPlay("schlag");
_root.schlaeger.yeti.gotoAndPlay("schlagen");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndPlay("start2");
}
}
}
Frame 6
_root.hganfpos = 544;
_root.aufhuepfen = 0;
_root.aktiv = 1;
_root.haelfte = 70;
_root.varscroll = 0;
_root.createEmptyMovieClip("hilfe", 1000);
i = 1;
while (i <= _root.spurt) {
_root["spur" + i].removeMovieClip();
i = i + 1;
}
_root.steckt = 0;
hg.xtempo = 0;
hg.ytempo = 0;
anfschlaeger = 0;
_root.weitenmessung = 0;
weite = 0;
bereit = 0;
geschlagen = 0;
spurt = 0;
Frame 7
stop();
Instance of Symbol 103 MovieClip in Frame 7
onClipEvent (load) {
this._x = 400;
this._y = 133;
}
Instance of Symbol 134 MovieClip "schlaeger" in Frame 7
onClipEvent (load) {
this._x = 500;
this._y = 300;
_root.anfschlaeger = this._x;
}
Instance of Symbol 182 MovieClip "hg" in Frame 7
onClipEvent (load) {
this._x = (_root.hganfpos = 500);
_root.hg.xtempo = 0;
_root.hg.Ytempo = 5;
_root.tempoabs = Math.abs(_root.hg.xtempo);
_root.weitenmessung = 0;
_root.messung = 0;
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
_root.ypos = this._y;
if ((this._x == _root.hganfpos) && (this._y > (_root.schlaeger._y + 50))) {
this.gotoAndStop("stecken");
_root.geschlagen = 1;
_root.steckt = 1;
_root.num2 = 0;
}
if ((_root.bereit == 1) && (_root.hg._x > 60)) {
this._x = this._x + (_root.hg.xtempo / 1);
if (_root.hg._y > 0) {
_root.hg.ytempo = _root.hg.ytempo + 0.5;
_root.hg._y = _root.hg._y + _root.hg.ytempo;
} else {
_root.hg._y = 0;
}
}
if (_root.hg._x <= 60) {
_root.hg._x = 60;
_root.steckt = 1;
_root.weitenmessung = 1;
_root.geschlagen = 1;
}
if (_root.weitenmessung == 1) {
if (_root.ypos < 0) {
_root.ypos = 0;
}
_root.geschlagen = 1;
_root.bereit = 0;
if (this._y <= 200) {
_root.weite = Math.abs(this._y / 2);
}
if (_root.ypos > 200) {
_root.weite = Math.abs((_root.ypos - 400) / 2);
}
if (_root.weite > _root.highscore) {
_root.highscore = _root.weite;
}
_root.num2 = _root.weite;
_root.score = _root.num + _root.num2;
_root.weitenmessung = 1;
this.gotoAndPlay("steckenn");
}
}
Instance of Symbol 188 MovieClip in Frame 7
onClipEvent (load) {
this._x = 430;
this._y = 290;
}
Instance of Symbol 212 MovieClip in Frame 7
onClipEvent (load) {
this._x = 90;
this._y = -66;
fallges = 0;
}
onClipEvent (enterFrame) {
if (_root.weitenmessung == 1) {
fallges = fallges + 3;
_root.hg.kopf.gotoAndStop(500);
this._x = 100;
this._y = this._y + fallges;
if (this._y > 100) {
this._y = 100;
}
}
}
Instance of Symbol 221 MovieClip in Frame 7
onClipEvent (mouseUp) {
if (_root.aktiv == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.hg._currentframe == 1)) {
_root.bereit = 1;
_root.hg.gotoAndPlay("fallen");
_root.schlaeger.yeti.gotoAndPlay("bereit");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.geschlagen == 0)) {
_root.schlaeger.gotoAndPlay("schlag");
_root.schlaeger.yeti.gotoAndPlay("schlagen");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndPlay("start3");
}
}
}
Frame 8
_root.hganfpos = 544;
_root.aufhuepfen = 0;
_root.aktiv = 1;
_root.haelfte = 70;
_root.varscroll = 0;
_root.createEmptyMovieClip("hilfe", 1000);
i = 1;
while (i <= _root.spurt) {
_root["spur" + i].removeMovieClip();
i = i + 1;
}
_root.steckt = 0;
hg.xtempo = 0;
hg.ytempo = 0;
anfschlaeger = 0;
_root.weitenmessung = 0;
weite = 0;
bereit = 0;
geschlagen = 0;
spurt = 0;
Frame 9
stop();
Instance of Symbol 103 MovieClip in Frame 9
onClipEvent (load) {
this._x = 400;
this._y = 133;
}
Instance of Symbol 134 MovieClip "schlaeger" in Frame 9
onClipEvent (load) {
this._x = 500;
this._y = 300;
_root.anfschlaeger = this._x;
}
Instance of Symbol 182 MovieClip "hg" in Frame 9
onClipEvent (load) {
this._x = (_root.hganfpos = 500);
_root.hg.xtempo = 0;
_root.hg.Ytempo = 5;
_root.tempoabs = Math.abs(_root.hg.xtempo);
_root.weitenmessung = 0;
_root.messung = 0;
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
_root.ypos = this._y;
if ((this._x == _root.hganfpos) && (this._y > (_root.schlaeger._y + 50))) {
this.gotoAndStop("stecken");
_root.geschlagen = 1;
_root.steckt = 1;
_root.num3 = 0;
}
if ((_root.bereit == 1) && (_root.hg._x > 60)) {
this._x = this._x + (_root.hg.xtempo / 1);
if (_root.hg._y > 0) {
_root.hg.ytempo = _root.hg.ytempo + 0.5;
_root.hg._y = _root.hg._y + _root.hg.ytempo;
} else {
_root.hg._y = 0;
}
}
if (_root.hg._x <= 60) {
_root.hg._x = 60;
_root.steckt = 1;
_root.weitenmessung = 1;
_root.geschlagen = 1;
}
if (_root.weitenmessung == 1) {
if (_root.ypos < 0) {
_root.ypos = 0;
}
_root.geschlagen = 1;
_root.bereit = 0;
if (this._y <= 200) {
_root.weite = Math.abs(this._y / 2);
}
if (_root.ypos > 200) {
_root.weite = Math.abs((_root.ypos - 400) / 2);
}
if (_root.weite > _root.highscore) {
_root.highscore = _root.weite;
}
_root.num3 = _root.weite;
_root.score = (_root.num + _root.num2) + _root.num3;
_root.weitenmessung = 1;
this.gotoAndPlay("steckenn");
}
}
Instance of Symbol 188 MovieClip in Frame 9
onClipEvent (load) {
this._x = 430;
this._y = 290;
}
Instance of Symbol 212 MovieClip in Frame 9
onClipEvent (load) {
this._x = 90;
this._y = -66;
fallges = 0;
}
onClipEvent (enterFrame) {
if (_root.weitenmessung == 1) {
fallges = fallges + 3;
_root.hg.kopf.gotoAndStop(500);
this._x = 100;
this._y = this._y + fallges;
if (this._y > 100) {
this._y = 100;
}
}
}
Instance of Symbol 221 MovieClip in Frame 9
onClipEvent (mouseUp) {
if (_root.aktiv == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.hg._currentframe == 1)) {
_root.bereit = 1;
_root.hg.gotoAndPlay("fallen");
_root.schlaeger.yeti.gotoAndPlay("bereit");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.geschlagen == 0)) {
_root.schlaeger.gotoAndPlay("schlag");
_root.schlaeger.yeti.gotoAndPlay("schlagen");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndPlay("start4");
}
}
}
Frame 10
_root.hganfpos = 544;
_root.aufhuepfen = 0;
_root.aktiv = 1;
_root.haelfte = 70;
_root.varscroll = 0;
_root.createEmptyMovieClip("hilfe", 1000);
i = 1;
while (i <= _root.spurt) {
_root["spur" + i].removeMovieClip();
i = i + 1;
}
_root.steckt = 0;
hg.xtempo = 0;
hg.ytempo = 0;
anfschlaeger = 0;
_root.weitenmessung = 0;
weite = 0;
bereit = 0;
geschlagen = 0;
spurt = 0;
Frame 11
stop();
Instance of Symbol 103 MovieClip in Frame 11
onClipEvent (load) {
this._x = 400;
this._y = 133;
}
Instance of Symbol 134 MovieClip "schlaeger" in Frame 11
onClipEvent (load) {
this._x = 500;
this._y = 300;
_root.anfschlaeger = this._x;
}
Instance of Symbol 182 MovieClip "hg" in Frame 11
onClipEvent (load) {
this._x = (_root.hganfpos = 500);
_root.hg.xtempo = 0;
_root.hg.Ytempo = 5;
_root.tempoabs = Math.abs(_root.hg.xtempo);
_root.weitenmessung = 0;
_root.messung = 0;
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
_root.ypos = this._y;
if ((this._x == _root.hganfpos) && (this._y > (_root.schlaeger._y + 50))) {
this.gotoAndStop("stecken");
_root.geschlagen = 1;
_root.steckt = 1;
_root.num4 = 0;
}
if ((_root.bereit == 1) && (_root.hg._x > 60)) {
this._x = this._x + (_root.hg.xtempo / 1);
if (_root.hg._y > 0) {
_root.hg.ytempo = _root.hg.ytempo + 0.5;
_root.hg._y = _root.hg._y + _root.hg.ytempo;
} else {
_root.hg._y = 0;
}
}
if (_root.hg._x <= 60) {
_root.hg._x = 60;
_root.steckt = 1;
_root.weitenmessung = 1;
_root.geschlagen = 1;
}
if (_root.weitenmessung == 1) {
if (_root.ypos < 0) {
_root.ypos = 0;
}
_root.geschlagen = 1;
_root.bereit = 0;
if (this._y <= 200) {
_root.weite = Math.abs(this._y / 2);
}
if (_root.ypos > 200) {
_root.weite = Math.abs((_root.ypos - 400) / 2);
}
if (_root.weite > _root.highscore) {
_root.highscore = _root.weite;
}
_root.num4 = _root.weite;
_root.score = ((_root.num + _root.num2) + _root.num3) + _root.num4;
_root.weitenmessung = 1;
this.gotoAndPlay("steckenn");
}
}
Instance of Symbol 188 MovieClip in Frame 11
onClipEvent (load) {
this._x = 430;
this._y = 290;
}
Instance of Symbol 212 MovieClip in Frame 11
onClipEvent (load) {
this._x = 90;
this._y = -66;
fallges = 0;
}
onClipEvent (enterFrame) {
if (_root.weitenmessung == 1) {
fallges = fallges + 3;
_root.hg.kopf.gotoAndStop(500);
this._x = 100;
this._y = this._y + fallges;
if (this._y > 100) {
this._y = 100;
}
}
}
Instance of Symbol 221 MovieClip in Frame 11
onClipEvent (mouseUp) {
if (_root.aktiv == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.hg._currentframe == 1)) {
_root.bereit = 1;
_root.hg.gotoAndPlay("fallen");
_root.schlaeger.yeti.gotoAndPlay("bereit");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.geschlagen == 0)) {
_root.schlaeger.gotoAndPlay("schlag");
_root.schlaeger.yeti.gotoAndPlay("schlagen");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndPlay("start5");
}
}
}
Frame 12
_root.hganfpos = 544;
_root.aufhuepfen = 0;
_root.aktiv = 1;
_root.haelfte = 70;
_root.varscroll = 0;
_root.createEmptyMovieClip("hilfe", 1000);
i = 1;
while (i <= _root.spurt) {
_root["spur" + i].removeMovieClip();
i = i + 1;
}
_root.steckt = 0;
hg.xtempo = 0;
hg.ytempo = 0;
anfschlaeger = 0;
_root.weitenmessung = 0;
weite = 0;
bereit = 0;
geschlagen = 0;
spurt = 0;
Frame 13
stop();
stop();
Instance of Symbol 103 MovieClip in Frame 13
onClipEvent (load) {
this._x = 400;
this._y = 133;
}
Instance of Symbol 134 MovieClip "schlaeger" in Frame 13
onClipEvent (load) {
this._x = 500;
this._y = 300;
_root.anfschlaeger = this._x;
}
Instance of Symbol 182 MovieClip "hg" in Frame 13
onClipEvent (load) {
this._x = (_root.hganfpos = 500);
_root.hg.xtempo = 0;
_root.hg.Ytempo = 5;
_root.tempoabs = Math.abs(_root.hg.xtempo);
_root.weitenmessung = 0;
_root.messung = 0;
this.swapDepths(1000);
}
onClipEvent (enterFrame) {
_root.ypos = this._y;
if ((this._x == _root.hganfpos) && (this._y > (_root.schlaeger._y + 50))) {
this.gotoAndStop("stecken");
_root.geschlagen = 1;
_root.steckt = 1;
_root.num5 = 0;
}
if ((_root.bereit == 1) && (_root.hg._x > 60)) {
this._x = this._x + (_root.hg.xtempo / 1);
if (_root.hg._y > 0) {
_root.hg.ytempo = _root.hg.ytempo + 0.5;
_root.hg._y = _root.hg._y + _root.hg.ytempo;
} else {
_root.hg._y = 0;
}
}
if (_root.hg._x <= 60) {
_root.hg._x = 60;
_root.steckt = 1;
_root.weitenmessung = 1;
_root.geschlagen = 1;
_root.hg.hand.gotoAndStop(2);
_root.aktive = 1;
}
if (_root.weitenmessung == 1) {
if (_root.ypos < 0) {
_root.ypos = 0;
}
_root.geschlagen = 1;
_root.bereit = 0;
if (this._y <= 200) {
_root.weite = Math.abs(this._y / 2);
}
if (_root.ypos > 200) {
_root.weite = Math.abs((_root.ypos - 400) / 2);
}
if (_root.weite > _root.highscore) {
_root.highscore = _root.weite;
}
_root.num5 = _root.weite;
_root.score = (((_root.num + _root.num2) + _root.num3) + _root.num4) + _root.num5;
_root.weitenmessung = 1;
this.gotoAndPlay("steckenn");
}
}
Instance of Symbol 188 MovieClip in Frame 13
onClipEvent (load) {
this._x = 430;
this._y = 290;
}
Instance of Symbol 212 MovieClip in Frame 13
onClipEvent (load) {
this._x = 90;
this._y = -66;
fallges = 0;
}
onClipEvent (enterFrame) {
if (_root.weitenmessung == 1) {
fallges = fallges + 3;
_root.hg.kopf.gotoAndStop(500);
this._x = 100;
this._y = this._y + fallges;
if (this._y > 100) {
this._y = 100;
}
}
}
Instance of Symbol 221 MovieClip in Frame 13
onClipEvent (mouseUp) {
if (_root.aktiv == 1) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.hg._currentframe == 1)) {
_root.bereit = 1;
_root.hg.gotoAndPlay("fallen");
_root.schlaeger.yeti.gotoAndPlay("bereit");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true) and (_root.geschlagen == 0)) {
_root.schlaeger.gotoAndPlay("schlag");
_root.schlaeger.yeti.gotoAndPlay("schlagen");
} else if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndPlay("ende");
}
}
}
Frame 14
function setListe() {
prev_mc._visible = 0;
prev_mc._visible = 1;
prev_mc.ladeDaten();
prev_mc.ladeDaten();
}
function setSpieler() {
var _local1 = this;
fvorname = vorname_txt.text;
fnachname = nachname_txt.text;
fpunkte = punkte_txt.text;
ficon = stern_mc._currentframe;
loadVariables (x + new Date().getTime(), _local1, "POST");
status_txt.text = "Lade Daten!";
_local1.onData = function () {
if (eintrag) {
delete eintrag;
} else {
this.gotoAndStop(16);
status_txt.text = "Fehler !";
delete eintrag;
}
};
}
function nextIcon() {
stern_mc.nextFrame();
}
function prevIcon() {
if (stern_mc._currentframe > 2) {
stern_mc.prevFrame();
}
}
mein_xml = new XML();
mein_xml.ignoreWhite = true;
status_txt.text = "Lade Eintr\u00E4ge!";
mein_xml.load("http://www.htfgames.com/highscore/cubshoot2/ausgabe.php?" + new Date().getTime());
loadVariables ("http://www.htfgames.com/highscore/cubshoot2/ausgabe.php?", "", "POST");
loadVariables ("http://www.htfgames.com/highscore/login/login.php?", "", "POST");
mein_xml.onLoad = function (signal) {
if (signal) {
status_txt.text = "";
setListe();
}
};
schreiben_btn.onRelease = function () {
prev_mc._visible = 0;
prev_mc._visible = 1;
gotoAndStop (14);
vorname_txt.restrict = "A-Za-z\u00F6\u00E4\u00FC\u00D6\u00C4\u00DC\u00DF";
nachname_txt.restrict = "A-Za-z\u00F6\u00E4\u00FC\u00D6\u00C4\u00DC\u00DF";
punkte_txt.restrict = "0-5";
};
prev_mc._visible = 0;
prev_btn.onRelease = function () {
prev_mc._visible = !prev_mc._visible;
prev_mc._visible = !prev_mc._visible;
};
/:_root.a.waitingscreen.dis.nu = Number(_root.a.display.num2);
stop();
stop();
loadMovieNum ("http://www.htfgames.com/games/cubshoot2/werb/werbcu.swf", 10);
Instance of Symbol 284 MovieClip "login" in Frame 14
onClipEvent (enterFrame) {
if (_root.logid == 1) {
_root.login.gotoAndStop(2);
} else {
_root.login.gotoAndStop(1);
}
}
Frame 15
stop();
Frame 16
function setListe() {
prev_mc._visible = 0;
high_mc._visible = 1;
prev_mc.ladeDaten();
high_mc.ladeDaten();
}
mein_xml = new XML();
mein_xml.ignoreWhite = true;
status_txt.text = "Lade Eintr\u00E4ge!";
mein_xml.load("http://www.htfgames.com/highscore/cubshoot2/ausgabe.php?" + new Date().getTime());
mein_xml.onLoad = function (signal) {
if (signal) {
status_txt.text = "";
setListe();
}
};
stop();
stop();
Symbol 11 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
stop();
Instance of Symbol 12 MovieClip in Symbol 26 MovieClip Frame 2
onClipEvent (enterFrame) {
zAuge = random(50);
if (zAuge == 30) {
l.play();
r.play();
}
}
Symbol 26 MovieClip Frame 3
stop();
Symbol 26 MovieClip Frame 4
stop();
Symbol 26 MovieClip Frame 5
stop();
Symbol 26 MovieClip Frame 6
stop();
Symbol 26 MovieClip Frame 7
stop();
Symbol 26 MovieClip Frame 8
stop();
Symbol 26 MovieClip Frame 9
stop();
Symbol 26 MovieClip Frame 10
stop();
Symbol 26 MovieClip Frame 11
stop();
Symbol 26 MovieClip Frame 12
stop();
Symbol 26 MovieClip Frame 13
stop();
Symbol 26 MovieClip Frame 14
stop();
Symbol 57 MovieClip Frame 1
stop();
Instance of Symbol 56 MovieClip "swfloader" in Symbol 57 MovieClip Frame 1
onClipEvent (load) {
function strip_spaces(str) {
var _local2 = str;
var _local3 = new String("");
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local2.charAt(_local1) != " ") && (_local2.charAt(_local1) != ";")) {
_local3 = _local3 + _local2.charAt(_local1);
}
_local1++;
}
return(_local3);
}
function simple_script(action, timeline) {
action = strip_spaces(action);
if ((action.length > 0) && ((action.indexOf(")") != -1) && (action.indexOf("(") != -1))) {
var _local3 = action.split(".");
var timeline_action = _local3.pop();
var first_paren = timeline_action.indexOf("(");
var second_paren = timeline_action.indexOf(")");
var timeline_function = timeline_action.substr(0, first_paren);
var function_parameter = timeline_action.substr(first_paren + 1, second_paren - (first_paren + 1));
var _local2 = timeline;
var _local1 = 0;
while (_local1 < _local3.length) {
_local2 = _local2[_local3[_local1]];
_local1++;
}
if (function_parameter.indexOf("\"") != -1) {
function_parameter = function_parameter.substr(1, function_parameter.length - 2);
}
_local2[timeline_function](function_parameter);
}
}
function execute_action() {
var _local1 = _parent;
unloaded = true;
_local1._visible = false;
simple_script(_local1.play_action_val, _local1);
}
_parent.anim.gotoAndStop(1);
simple_script(_parent.init_action_val, _parent);
var done = false;
var unloaded = false;
var orig_x = _parent._x;
var orig_y = _parent._y;
var dist_x = (_parent._x + ((_parent._width * 2) / 3));
var dist_y = (_parent._y + ((_parent._height * 2) / 3));
var orig_a = _parent._alpha;
var accel_jump = 0.75;
var slow_factor = _parent.slow_factor_val;
var speed_factor = (1 + (slow_factor / (1 - slow_factor)));
var ready = false;
var perc_fadeout = 0;
_parent.perc._x = _parent.anim._x - (_parent.perc._width / 2);
_parent.perc._y = _parent.anim._y - (_parent.perc._height / 2);
if (slow_factor < 1) {
switch (_parent.xin_motion_val) {
case "Up" :
_parent._y = orig_y + (dist_y * 2);
break;
case "Down" :
_parent._y = orig_y - (dist_y * 2);
break;
case "Left" :
_parent._x = orig_x + (dist_x * 2);
break;
case "Right" :
_parent._x = orig_x - (dist_x * 2);
break;
case "Toward" :
_parent._xscale = (_parent._yscale = 1);
break;
case "None" :
_parent._alpha = 0;
}
} else {
ready = true;
}
}
onClipEvent (enterFrame) {
if (unloaded) {
return(undefined);
}
if (!ready) {
switch (_parent.xin_motion_val) {
case "Toward" :
_parent._xscale = _parent._xscale + ((100 - _parent._xscale) * slow_factor);
_parent._yscale = _parent._xscale;
if (_parent.xin_alphatype_val == "Yes") {
_parent._alpha = Math.round((orig_a / 100) * Math.max(0, Math.min(_parent._xscale, 100)));
}
if (Math.abs(100 - _parent._xscale) < 0.5) {
_parent._xscale = (_parent._yscale = 100);
_parent._alpha = orig_a;
ready = true;
}
break;
default :
_parent._x = _parent._x + ((orig_x - _parent._x) * slow_factor);
_parent._y = _parent._y + ((orig_y - _parent._y) * slow_factor);
if (_parent.xin_alphatype_val == "Yes") {
if (_parent.xin_motion_val == "None") {
_parent._alpha = _parent._alpha + ((orig_a - _parent._alpha) * slow_factor);
} else if (Math.abs(orig_x - _parent._x) > Math.abs(orig_y - _parent._y)) {
_parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x)) * 100);
} else {
_parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y)) * 100);
}
}
if (!(((_parent.xin_motion_val == "None") && (Math.abs(_parent._alpha - orig_a) <= 1)) || (((_parent.xin_motion_val != "None") && (Math.abs(_parent._y - orig_y) < 0.5)) && (Math.abs(_parent._x - orig_x) < 0.5)))) {
break;
}
_parent._x = orig_x;
_parent._y = orig_y;
_parent._alpha = orig_a;
ready = true;
}
} else if (!done) {
var rl = _root.getBytesLoaded();
var rt = (_root.getBytesTotal() * (_parent.perc_req_val / 100));
if ((rl > 10) && (rt > 10)) {
rl = Math.min(rl, rt);
var new_frame = (_parent.anim._currentframe + Math.ceil(((_parent.anim._totalframes * (rl / rt)) - _parent.anim._currentframe) / 4));
new_frame = Math.max(1, new_frame);
if (_parent.show_perc_val == "Yes") {
_parent.perc.text = Math.round(((new_frame - 1) / (_parent.anim._totalframes - 1)) * 100) + " %";
}
if (new_frame != _parent.anim._currentframe) {
_parent.anim.gotoAndStop(new_frame);
}
if ((_parent.anim._totalframes == _parent.anim._currentframe) && (rl >= rt)) {
done = true;
}
}
} else if (slow_factor < 1) {
switch (_parent.xout_motion_val) {
case "Up" :
if (_parent._y >= orig_y) {
_parent._y = orig_y - accel_jump;
}
_parent._y = orig_y - (Math.abs(_parent._y - orig_y) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y) * 100);
if (_parent._y < (orig_y - (dist_y * 2))) {
execute_action();
}
break;
case "Right" :
if (_parent._x <= orig_x) {
_parent._x = orig_x + accel_jump;
}
_parent._x = orig_x + (Math.abs(_parent._x - orig_x) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100);
if (_parent._x > (orig_x + (dist_x * 2))) {
execute_action();
}
break;
case "Left" :
if (_parent._x >= orig_x) {
_parent._x = orig_x - accel_jump;
}
_parent._x = orig_x - (Math.abs(_parent._x - orig_x) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100);
if (_parent._x < (orig_x - (dist_x * 2))) {
execute_action();
}
break;
case "Away" :
if ((_parent._xscale >= 100) || (_parent._yscale >= 100)) {
_parent._xscale = (_parent._yscale = 100 - accel_jump);
}
_parent._xscale = (_parent._yscale = Math.max(0.5, 100 - ((100 - _parent._yscale) * speed_factor)));
perc_fadeout = 100 - Math.round(Math.max(0, Math.min(_parent._xscale, 100)));
if (_parent._xscale < 1) {
execute_action();
}
break;
default :
perc_fadeout = perc_fadeout + ((100 - perc_fadeout) * slow_factor);
if (Math.abs(perc_fadeout - 100) > 1) {
break;
}
execute_action();
}
if (!(_parent.xout_alphatype_val === "Yes")) {
} else {
_parent._alpha = (orig_a / 100) * (100 - perc_fadeout);
}
} else {
execute_action();
}
}
Symbol 61 Button
on (release) {
play();
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 3
stop();
Symbol 76 MovieClip Frame 4
stop();
Symbol 76 MovieClip Frame 5
stop();
Symbol 76 MovieClip Frame 6
stop();
Symbol 76 MovieClip Frame 7
stop();
Symbol 76 MovieClip Frame 8
stop();
Symbol 76 MovieClip Frame 9
stop();
Symbol 76 MovieClip Frame 10
stop();
Symbol 76 MovieClip Frame 11
stop();
Symbol 76 MovieClip Frame 12
stop();
Symbol 76 MovieClip Frame 13
stop();
Symbol 76 MovieClip Frame 14
stop();
Symbol 96 Button
on (release) {
gotoAndPlay ("start");
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 10
stop();
Symbol 133 MovieClip Frame 21
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 7
_root.geschlagen = 1;
vy = (_y - _root.hg._y) + (random(16) - 8);
if ((vy > -100) && (vy < 40)) {
_root.hg.xtempo = (125 - vy) / -2.5;
_root.hg.ytempo = -70 - _root.hg.xtempo;
_root.hg.gotoAndPlay("fliegen");
}
stop();
Symbol 152 MovieClip Frame 1
_root.schlaeger.yeti.gotoAndPlay("lach");
Symbol 152 MovieClip Frame 3
stop();
Symbol 163 MovieClip Frame 13
stop();
Symbol 166 MovieClip Frame 20
stop();
Symbol 178 MovieClip Frame 40
stop();
Symbol 179 MovieClip Frame 2
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 5
stop();
Symbol 182 MovieClip Frame 10
_root.bereit = 0;
_root.aktiv = 1;
_root.steckt = 1;
stop();
Symbol 182 MovieClip Frame 11
_root.bereit = 0;
_root.aktiv = 1;
_root.steckt = 1;
stop();
Instance of Symbol 179 MovieClip "hand" in Symbol 182 MovieClip Frame 11
/* no clip actions */
Symbol 182 MovieClip Frame 15
_root.aktiv = 0;
stop();
Symbol 216 Button
on (release) {
getURL ("http://www.cartoonstar.de/happy/games.htm", "_blank");
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 21
gotoAndPlay (20);
Symbol 248 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(325)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(650))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else {
_x = (Number(my_x) + Number(xmov));
_y = (Number(my_y) + Number(ymov));
}
Symbol 248 MovieClip Frame 2
shipx = getProperty("../ship", _x);
shipy = getProperty("../ship", _y);
shipwidth = getProperty("../ship", _width);
shipheight = getProperty("../ship", _height);
shiptop = shipy - (shipheight / 2);
shipbottom = Number(shipy) + Number(shipheight / 2);
shipleft = shipx - (shipwidth / 2);
shipright = Number(shipx) + Number(shipwidth / 2);
if ((((Number(my_x) > Number(shipleft)) and (Number(my_x) < Number(shipright))) and (Number(my_y) > Number(shiptop))) and (Number(my_y) < Number(shipbottom))) {
_root.ship.a.play();
}
Symbol 248 MovieClip Frame 3
gotoAndPlay (1);
Symbol 259 Button
on (release) {
setSpieler();
senden_btn._visible = false;
}
Symbol 265 MovieClip Frame 1
function ladeDaten() {
news_xml = _parent.mein_xml.firstChild.childNodes;
initNavigation();
setListe();
}
function setListe() {
var _local1 = this;
i = aktAnzeige;
while (i < maxAnzeige) {
nName = "newsclip" + j;
attachMovie("newsclip", nName, j++);
if (news_xml[i] != undefined) {
_local1[nName]._x = 15;
_local1[nName]._y = ((_local1[nName]._height * j) * 1.2) - 15;
_local1[nName].nr_txt.text = i + 1;
_local1[nName].name_txt.text = news_xml[i].attributes.vorname;
_local1[nName].ver_txt.text = news_xml[i].attributes.nachname;
_local1[nName].punkte_txt.text = news_xml[i].firstChild;
_local1[nName].stern_mc.gotoAndStop(news_xml[i].attributes.icon);
_local1[nName].useHandCursor = false;
} else {
_local1[nName].removeMovieClip();
}
i++;
}
if (anzahl <= (aktAnzeige + max)) {
anzeige_txt.text = ((aktAnzeige + 1) + " / ") + anzahl;
} else if (anzahl != 0) {
anzeige_txt.text = ((aktAnzeige + 1) + " / ") + (aktAnzeige + max);
}
if (anzahl == 0) {
anzeige_txt.text = "0 / 0";
}
gesamt_txt.text = "Gesamt: " + anzahl;
}
function initNavigation() {
j = 0;
anzahl = news_xml.length;
max = 5;
maxAnzeige = 5;
aktAnzeige = 0;
}
butVor.onRelease = function () {
if (aktAnzeige < (anzahl - max)) {
j = 0;
aktAnzeige = aktAnzeige + max;
maxAnzeige = maxAnzeige + max;
setListe();
}
};
butZuruck.onRelease = function () {
if (aktAnzeige > 1) {
j = 0;
aktAnzeige = aktAnzeige - max;
maxAnzeige = maxAnzeige - max;
setListe();
}
};
Symbol 268 MovieClip Frame 23
stop();
Symbol 274 Button
on (release) {
gotoAndPlay ("start");
Set("/:num", "");
Set("/:num2", "");
Set("/:num3", "");
Set("/:num4", "");
Set("/:num5", "");
Set("/:score", "");
/:_root.highscore = "0";
unloadMovieNum (10);
}
Symbol 278 Button
on (release) {
getURL ("javascript:winOpen('http://www.htfgames.com/member/member.php', 770, 600 ); void(0);");
}
Symbol 283 Button
on (release) {
_root.gotoAndPlay(14);
stopAllSounds();
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 2
stop();