Frame 1
_root.punkte_mc.punkte_txt.text = "Score: 0";
_global.punkte = 0;
_global.lives = 2;
_global.xPos = 0;
_global.yPos = 0;
_global.rotation = 0;
_global.mult = 1;
stop();
this.onButton_btn.onRelease = function () {
screen_mc._visible = true;
};
this.go_btn.onRelease = function () {
gotoAndPlay (2);
};
this.onButton_btn.onRelease = function () {
screen_mc._visible = true;
};
this.start_btn.onRelease = function () {
gotoAndPlay (2);
};
Instance of Symbol 12 MovieClip in Frame 1
on (release) {
getURL ("http://www.maetrixsolution.com", "_self");
}
Instance of Symbol 12 MovieClip in Frame 1
on (release) {
getURL ("http://www.starfrosch.ch", "_self");
}
Instance of Symbol 12 MovieClip in Frame 1
on (release) {
getURL ("http://revolution.starfrosch.ch", "_self");
}
Frame 2
stop();
this.onButton_btn.onRelease = function () {
screen_mc._visible = true;
};
this.go_btn.onRelease = function () {
gotoAndPlay (3);
};
_date = new Date();
pfeil_mc.mydate = _date.getTime();
Instance of Symbol 29 MovieClip "pfeil_mc" in Frame 2
onClipEvent (enterFrame) {
_date = new Date();
if (_date.getTime() > (mydate + 3500)) {
_root.gotoAndPlay(3);
}
}
Frame 3
stop();
frosch_mc.x = 0;
frosch_mc.y = 0;
frosch_mc._rotation = 0;
_global.rotation = 0;
frosch_mc._x = 63.6 + (frosch_mc._width / 2);
_global.xPos = frosch_mc._x;
frosch_mc._y = 363.6 + (frosch_mc._height / 2);
_global.yPos = frosch_mc._y;
Instance of Symbol 39 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.frosch_mc)) {
_root.gotoAndStop(4);
}
}
Instance of Symbol 34 MovieClip "stern1_mc" in Frame 3
/* no clip actions */
Instance of Symbol 3 MovieClip [Frosch] "frosch_mc" in Frame 3
onClipEvent (keyDown) {
if ((Key.getCode() == 38) && (this._y > (0 + (this._height / 2)))) {
y = -5 * _global.mult;
x = 0;
this._rotation = 0;
}
if ((Key.getCode() == 40) && (this._y < (400 - (this._height / 2)))) {
y = 5 * _global.mult;
x = 0;
this._rotation = 180;
}
if ((Key.getCode() == 37) && (this._x > (0 + (this._width / 2)))) {
y = 0;
x = -5 * _global.mult;
this._rotation = 270;
}
if ((Key.getCode() == 39) && (this._x < (400 - (this._width / 2)))) {
y = 0;
x = 5 * _global.mult;
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if (this._x < (0 + (this._width / 2))) {
x = 0;
}
if (this._x > (400 - (this._width / 2))) {
x = 0;
}
if (this._y < (0 + (this._height / 2))) {
y = 0;
}
if (this._y > (400 - (this._height / 2))) {
y = 0;
}
}
Instance of Symbol 3 MovieClip [Frosch] "life1_mc" in Frame 3
onClipEvent (enterFrame) {
if (_global.lives >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 3 MovieClip [Frosch] "life2_mc" in Frame 3
onClipEvent (enterFrame) {
if (_global.lives >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Frame 4
stop();
_root.frosch_mc._x = 151.4;
_root.frosch_mc._y = 364.6;
frosch_mc.x = 0;
frosch_mc.y = 0;
frosch_mc._rotation = 0;
frosch_mc._x = 150.9 + (frosch_mc._width / 2);
frosch_mc._y = 364.4 + (frosch_mc._height / 2);
_global.rotation = 0;
_global.xPos = frosch_mc._x;
_global.yPos = frosch_mc._y;
Blume1_mc.i = 0;
Blume1_mc.up = true;
blume2_mc.i = 0;
blume2_mc.up = true;
Blume3_mc.i = 0;
Blume3_mc.up = true;
blume4_mc.i = 0;
blume4_mc.up = true;
blume5_mc.i = 0;
blume5_mc.up = true;
blume6_mc.i = 0;
blume6_mc.up = true;
blume7_mc.i = 0;
blume7_mc.up = true;
blume8_mc.i = 0;
blume8_mc.up = true;
blume9_mc.i = 0;
blume9_mc.up = true;
this.stern2_mc.sternOrig_mc.play();
Instance of Symbol 39 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.frosch_mc)) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 34 MovieClip "stern11_mc" in Frame 4
/* no clip actions */
Instance of Symbol 27 MovieClip "Blume1_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 25) && (up)) {
this._y = this._y - 3;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._y = this._y + 3;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "blume2_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 15) && (up)) {
this._y = this._y - 5;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._y = this._y + 5;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "blume4_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 25) && (up)) {
this._x = this._x - 4;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._x = this._x + 4;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "Blume3_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 20) && (up)) {
this._y = this._y - 4;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._y = this._y + 4;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "blume6_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 15) && (up)) {
this._x = this._x + 5;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._x = this._x - 5;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "blume7_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 15) && (up)) {
this._x = this._x - 6;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._x = this._x + 6;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "blume5_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 15) && (up)) {
this._x = this._x + 3;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._x = this._x - 3;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "blume8_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 15) && (up)) {
this._x = this._x - 3;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._x = this._x + 3;
i--;
} else {
up = true;
}
}
Instance of Symbol 27 MovieClip "blume9_mc" in Frame 4
onClipEvent (enterFrame) {
if ((i < 15) && (up)) {
this._x = this._x + 3;
i++;
} else {
up = false;
}
if ((i > 0) && (!up)) {
this._x = this._x - 3;
i--;
} else {
up = true;
}
}
Instance of Symbol 3 MovieClip [Frosch] "frosch_mc" in Frame 4
onClipEvent (keyDown) {
if ((Key.getCode() == 38) && (this._y > (0 + (this._height / 2)))) {
y = -5 * _global.mult;
x = 0;
this._rotation = 0;
}
if ((Key.getCode() == 40) && (this._y < (400 - (this._height / 2)))) {
y = 5 * _global.mult;
x = 0;
this._rotation = 180;
}
if ((Key.getCode() == 37) && (this._x > (0 + (this._width / 2)))) {
y = 0;
x = -5 * _global.mult;
this._rotation = 270;
}
if ((Key.getCode() == 39) && (this._x < (400 - (this._width / 2)))) {
y = 0;
x = 5 * _global.mult;
this._rotation = 90;
}
}
onClipEvent (enterFrame) {
this._x = this._x + x;
this._y = this._y + y;
if (this._x < (0 + (this._width / 2))) {
x = 0;
}
if (this._x > (400 - (this._width / 2))) {
x = 0;
}
if (this._y < (0 + (this._height / 2))) {
y = 0;
}
if (this._y > (400 - (this._height / 2))) {
y = 0;
}
}
Frame 5
stop();
frosch_mc.x = 0;
frosch_mc.y = 0;
frosch_mc._rotation = 90;
frosch_mc._x = 2.5 + (frosch_mc._width / 2);
frosch_mc._y = 324.2 + (frosch_mc._height / 2);
_global.rotation = 90;
_global.xPos = frosch_mc._x;
_global.yPos = frosch_mc._y;
Instance of Symbol 39 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.frosch_mc)) {
_global.mult = _global.mult + 0.3;
_root.gotoAndStop(3);
}
}
Instance of Symbol 34 MovieClip "stern13_mc" in Frame 5
/* no clip actions */
Instance of Symbol 27 MovieClip "Blume1_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_y > (400 + this._width)) || (_x > (400 + this._width))) {
_y = (-this._width);
_x = random(200);
} else {
_y = (_y + (5 * _global.mult));
_x = (_x + (5 * _global.mult));
}
}
Instance of Symbol 27 MovieClip "blume4_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_x > (400 + this._width)) || (_y > (400 + this._width))) {
_x = (-this._width);
_y = random(200);
} else {
_x = (_x + (5 * _global.mult));
_y = (_y + (1 * _global.mult));
}
}
Instance of Symbol 27 MovieClip "Blume3_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_y > (400 + this._width)) || (_x > (400 + this._width))) {
_y = (-this._width);
_x = random(200);
} else {
_y = (_y + (3 * _global.mult));
_x = (_x + (1 * _global.mult));
}
}
Instance of Symbol 27 MovieClip "blume6_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_x > (400 + this._width)) || (_y < (-this._width))) {
_x = (-this._width);
_y = random(200);
} else {
_x = (_x + (4 * _global.mult));
_y = (_y - (3 * _global.mult));
}
}
Instance of Symbol 27 MovieClip "blume7_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_y < (-this._width)) || (_x < (-this._width))) {
_y = (400 + this._width);
_x = (random(200) + 200);
} else {
_y = (_y - (5 * _global.mult));
_x = (_x - (5 * _global.mult));
}
}
Instance of Symbol 27 MovieClip "blume5_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_x < (-this._width)) || (_y < (-this._width))) {
_x = (400 + this._width);
_y = (random(300) + 100);
} else {
_x = (_x - (4 * _global.mult));
_y = (_y - (3 * _global.mult));
}
}
Instance of Symbol 27 MovieClip "blume8_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_x < (-this._width)) || (_y > (400 + this._width))) {
_x = (400 + this._width);
_y = (random(300) + 100);
} else {
_x = (_x - (3 * _global.mult));
_y = (_y + (1 * _global.mult));
}
}
Instance of Symbol 27 MovieClip "blume9_mc" in Frame 5
onClipEvent (enterFrame) {
if ((_y < (-this._width)) || (_x < (-this._width))) {
_y = (400 + this._width);
_x = (random(200) + 200);
} else {
_y = (_y - (4 * _global.mult));
_x = (_x - (2 * _global.mult));
}
}
Frame 6
pnConnector.storeScore(_global.punkte);
this.onButton_btn.onRelease = function () {
screen_mc._visible = true;
};
this.again_btn.onRelease = function () {
var _local1 = _global;
_root.punkte_mc.punkte_txt.text = "Score: 0";
_local1.lives = 2;
_local1.punkte = 0;
_local1.mult = 1;
gotoAndPlay (3);
};
Instance of Symbol 12 MovieClip in Frame 6
on (release) {
getURL ("http://www.starfrosch.ch", "_self");
}
Instance of Symbol 48 MovieClip "song1_mc" in Frame 6
on (release) {
getURL ("http://maetrixsolution.zftp.com/mp3/ms005n/ms005n_1_starfrosch-echtes_rot.mp3", "_self");
}
Instance of Symbol 50 MovieClip "song2_mc" in Frame 6
on (release) {
getURL ("http://maetrixsolution.zftp.com/mp3/ms005n/ms005n_2_starfrosch-r_evolution.mp3", "_self");
}
Instance of Symbol 52 MovieClip "song3_mc" in Frame 6
on (release) {
getURL ("http://maetrixsolution.zftp.com/mp3/ms005n/ms005n_3_starfrosch-what_you_say.mp3", "_self");
}
Instance of Symbol 54 MovieClip "song4_mc" in Frame 6
on (release) {
getURL ("http://maetrixsolution.zftp.com/mp3/ms005n/ms005n_4_starfrosch-cafe_del_frosch.mp3", "_self");
}
Instance of Symbol 56 MovieClip "song5_mc" in Frame 6
onClipEvent (enterFrame) {
if (_global.punkte >= 150) {
_root.song5_mc._alpha = 100;
} else {
_root.song5_mc._alpha = 50;
}
}
on (release) {
if (_global.punkte > 150) {
getURL ("http://wavebox.andihaehlen.ch/demos/Andi%20McLoud%20feat%20Starfrosch%20-%20Parasite%20%5Bpowerplant%202%20+%20consumers%20paradise%202.1%20remix%20-192%5D.mp3", "_self");
}
}
Symbol 1 MovieClip [pnFlashGames] Frame 1
#initclip 1
pnFlashGames = function () {
var _local1 = this;
_local1.gid = _root.pn_gid;
_local1.uname = _root.pn_uname;
_local1.busy = false;
_local1.gameSaved = null;
_local1.gameLoaded = null;
_local1.scoreStored = null;
_local1.gameData = "";
};
pnFlashGames.prototype.saveGame = function (gameData) {
var _local1 = this;
_local1.busy = true;
varsObj = new LoadVars();
varsObj.func = "saveGame";
varsObj.gid = _local1.gid;
varsObj.gameData = gameData;
varsObj.type = "user";
varsObj.module = "pnFlashGames";
varsObj.parent = _local1;
varsObj.onLoad = _local1.saveGame_Result;
varsObj.sendAndLoad("index.php", varsObj, "POST");
};
pnFlashGames.prototype.saveGame_Result = function (success) {
var _local1 = this;
_local1.parent._parent.incoming = _local1.opSuccess;
if (_local1.opSuccess == "true") {
_local1.parent.gameSaved = true;
} else {
_local1.parent.gameSaved = false;
}
_local1.parent.busy = false;
};
pnFlashGames.prototype.loadGame = function () {
var _local1 = this;
_local1.busy = true;
varsObj = new LoadVars();
varsObj.func = "loadGame";
varsObj.gid = _local1.gid;
varsObj.type = "user";
varsObj.module = "pnFlashGames";
varsObj.parent = _local1;
varsObj.onLoad = _local1.loadGame_Result;
varsObj.sendAndLoad("index.php", varsObj, "POST");
};
pnFlashGames.prototype.loadGame_Result = function (success) {
var _local1 = this;
if (_local1.opSuccess == "true") {
_local1.parent.gameLoaded = true;
_local1.parent.gameData = gameData;
} else {
_local1.parent.gameLoaded = false;
}
if (_local1.parent.onLoadGame != null) {
_local1.parent.onLoadGame(_local1.gameData);
}
_local1.parent.busy = false;
};
pnFlashGames.prototype.storeScore = function (score) {
var _local1 = this;
_local1.busy = true;
varsObj = new LoadVars();
varsObj.score = score;
varsObj.func = "storeScore";
varsObj.gid = _local1.gid;
varsObj.type = "user";
varsObj.module = "pnFlashGames";
varsObj.parent = _local1;
varsObj.onLoad = _local1.storeScore_Result;
varsObj.sendAndLoad("index.php", varsObj, "POST");
};
pnFlashGames.prototype.storeScore_Result = function (success) {
var _local1 = this;
if (_local1.opSuccess == "true") {
_local1.parent.scoreStored = true;
} else {
_local1.parent.scoreStored = false;
}
_local1.parent.busy = false;
};
Object.registerClass("pnFlashGames", pnFlashGames);
#endinitclip
Instance of Symbol 26 MovieClip "blumeKl4_mc" in Symbol 27 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.frosch_mc)) {
if (_global.lives > 0) {
_root.frosch_mc._x = _global.xPos;
_root.frosch_mc._y = _global.yPos;
_root.frosch_mc._rotation = _global.rotation;
_root.frosch_mc.x = 0;
_root.frosch_mc.y = 0;
_global.lives = _global.lives - 1;
} else {
_root.gotoAndStop(6);
}
}
}
Instance of Symbol 26 MovieClip "blumeKl5_mc" in Symbol 27 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.frosch_mc)) {
if (_global.lives > 0) {
_root.frosch_mc._x = _global.xPos;
_root.frosch_mc._y = _global.yPos;
_root.frosch_mc._rotation = _global.rotation;
_root.frosch_mc.x = 0;
_root.frosch_mc.y = 0;
_global.lives = _global.lives - 1;
} else {
_root.gotoAndStop(6);
}
}
}
Instance of Symbol 26 MovieClip "blumeKl3_mc" in Symbol 27 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.frosch_mc)) {
if (_global.lives > 0) {
_root.frosch_mc._x = _global.xPos;
_root.frosch_mc._y = _global.yPos;
_root.frosch_mc._rotation = _global.rotation;
_root.frosch_mc.x = 0;
_root.frosch_mc.y = 0;
_global.lives = _global.lives - 1;
} else {
_root.gotoAndStop(6);
}
}
}
Instance of Symbol 26 MovieClip "blumeKl2_mc" in Symbol 27 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.frosch_mc)) {
if (_global.lives > 0) {
_root.frosch_mc._x = _global.xPos;
_root.frosch_mc._y = _global.yPos;
_root.frosch_mc._rotation = _global.rotation;
_root.frosch_mc.x = 0;
_root.frosch_mc.y = 0;
_global.lives = _global.lives - 1;
} else {
_root.gotoAndStop(6);
}
}
}
Instance of Symbol 26 MovieClip "blumeKl1_mc" in Symbol 27 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.frosch_mc)) {
if (_global.lives > 0) {
_root.frosch_mc._x = _global.xPos;
_root.frosch_mc._y = _global.yPos;
_root.frosch_mc._rotation = _global.rotation;
_root.frosch_mc.x = 0;
_root.frosch_mc.y = 0;
_global.lives = _global.lives - 1;
} else {
_root.gotoAndStop(6);
}
}
}
Symbol 34 MovieClip Frame 1
this.hit = false;
stop();
Instance of Symbol 31 MovieClip "sternOrig_mc" in Symbol 34 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.frosch_mc) && (!this.hit)) {
_global.punkte = _global.punkte + 10;
_root.punkte_mc.punkte_txt.text = "Score: " + _global.punkte;
this._parent.gotoAndPlay(2);
this.hit = true;
}
}
Symbol 34 MovieClip Frame 6
stop();