Frame 1
hi_there = "thanks for your interest in my code, have a nice day :)";
oGrillezustand = 1;
oSpechtZustand = 1;
oBlauEiZustand = 1;
oRotEiZustand = 1;
oGruenEiZustand = 1;
oSchonmalgeklickt = 0;
soundBytesLoaded = -1;
soundBytesTotal = 44898;
soundLoaded = true;
Gitarre = new Sound(sound01);
Gitarre.attachSound("sGitarre");
Pfeiffen = new Sound(sound02);
Pfeiffen.attachSound("sPfeiffen");
Bass = new Sound(sound03);
Bass.attachSound("sBass");
Specht = new Sound(sound04);
Specht.attachSound("sSpecht");
Grille = new Sound(sound05);
Grille.attachSound("sGrille");
Instance of Symbol 13 MovieClip "sounds" in Frame 1
onClipEvent (enterFrame) {
if ((this.getBytesLoaded() == this.getBytesTotal()) && (this.state == true)) {
_root.soundLoaded = true;
}
if (this.state == true) {
_root.soundBytesLoaded = this.getBytesLoaded();
_root.soundBytesTotal = this.getBytesTotal();
}
}
Frame 2
stoppedTime = getTimer();
Frame 3
stop();
Instance of Symbol 28 MovieClip in Frame 3
onClipEvent (enterFrame) {
var _local1 = 1;
if (!((_root.oSchonmalgeklickt) === (_local1))) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 35 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.oGrillezustand == 1) {
this.gotoAndStop(1);
} else if (_root.oGrillezustand == 2) {
this.gotoAndStop(2);
} else if (_root.oGrillezustand == 3) {
this.gotoAndPlay(3);
}
}
Instance of Symbol 49 MovieClip in Frame 3
onClipEvent (load) {
var BlauEiplaying = false;
}
onClipEvent (enterFrame) {
if (_root.oBlauEiZustand == 1) {
this.gotoAndStop(1);
BlauEiplaying = false;
} else if (_root.oBlauEiZustand == 2) {
this.gotoAndStop(2);
} else if ((_root.oBlauEiZustand == 3) && (BlauEiplaying == false)) {
this.gotoAndPlay(3);
BlauEiplaying = true;
now = getTimer();
}
if (BlauEiplaying == true) {
if ((getTimer() - now) >= 5000) {
this.gotoAndPlay(3);
now = getTimer();
}
}
}
Instance of Symbol 62 MovieClip in Frame 3
onClipEvent (load) {
var GruenEiplaying = false;
}
onClipEvent (enterFrame) {
if (_root.oGruenEiZustand == 1) {
this.gotoAndStop(1);
GruenEiplaying = false;
} else if (_root.oGruenEiZustand == 2) {
this.gotoAndStop(2);
} else if ((_root.oGruenEiZustand == 3) && (GruenEiplaying == false)) {
this.gotoAndPlay(3);
GruenEiplaying = true;
now = getTimer();
}
if (GruenEiplaying == true) {
if ((getTimer() - now) >= 5000) {
this.gotoAndPlay(3);
now = getTimer();
}
}
}
Instance of Symbol 71 MovieClip in Frame 3
onClipEvent (load) {
var RotEiplaying = false;
}
onClipEvent (enterFrame) {
if (_root.oRotEiZustand == 1) {
this.gotoAndStop(1);
RotEiplaying = false;
} else if (_root.oRotEiZustand == 2) {
this.gotoAndStop(2);
} else if ((_root.oRotEiZustand == 3) && (RotEiplaying == false)) {
this.gotoAndPlay(3);
RotEiplaying = true;
now = getTimer();
}
if (RotEiplaying == true) {
if ((getTimer() - now) >= 5000) {
this.gotoAndPlay(3);
now = getTimer();
}
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (enterFrame) {
currTime = getTimer();
Zeitdelta = currTime - _root.stoppedTime;
if ((_root.soundLoaded == true) && (Zeitdelta >= 5000)) {
_parent.play();
} else if (((_root.soundLoaded == false) && (_root.soundBytesLoaded == -1)) && (30000 < Zeitdelta)) {
SBL = _root.soundBytesLoaded + 1;
soundstatus = "Ooops. Loading Error. Soundbytes loaded -> " + SBL;
}
}
Instance of Symbol 35 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_root.oGrillezustand == 1) {
this.gotoAndStop(1);
} else if (_root.oGrillezustand == 2) {
this.gotoAndStop(2);
} else if (_root.oGrillezustand == 3) {
this.gotoAndPlay(3);
}
}
Instance of Symbol 49 MovieClip in Frame 8
onClipEvent (load) {
var BlauEiplaying = false;
}
onClipEvent (enterFrame) {
if (_root.oBlauEiZustand == 1) {
this.gotoAndStop(1);
BlauEiplaying = false;
} else if (_root.oBlauEiZustand == 2) {
this.gotoAndStop(2);
} else if ((_root.oBlauEiZustand == 3) && (BlauEiplaying == false)) {
this.gotoAndPlay(3);
BlauEiplaying = true;
now = getTimer();
}
if (BlauEiplaying == true) {
if ((getTimer() - now) >= 5000) {
this.gotoAndPlay(3);
now = getTimer();
}
}
}
Instance of Symbol 62 MovieClip in Frame 8
onClipEvent (load) {
var GruenEiplaying = false;
}
onClipEvent (enterFrame) {
if (_root.oGruenEiZustand == 1) {
this.gotoAndStop(1);
GruenEiplaying = false;
} else if (_root.oGruenEiZustand == 2) {
this.gotoAndStop(2);
} else if ((_root.oGruenEiZustand == 3) && (GruenEiplaying == false)) {
this.gotoAndPlay(3);
GruenEiplaying = true;
now = getTimer();
}
if (GruenEiplaying == true) {
if ((getTimer() - now) >= 5000) {
this.gotoAndPlay(3);
now = getTimer();
}
}
}
Instance of Symbol 71 MovieClip in Frame 8
onClipEvent (load) {
var RotEiplaying = false;
}
onClipEvent (enterFrame) {
if (_root.oRotEiZustand == 1) {
this.gotoAndStop(1);
RotEiplaying = false;
} else if (_root.oRotEiZustand == 2) {
this.gotoAndStop(2);
} else if ((_root.oRotEiZustand == 3) && (RotEiplaying == false)) {
this.gotoAndPlay(3);
RotEiplaying = true;
now = getTimer();
}
if (RotEiplaying == true) {
if ((getTimer() - now) >= 5000) {
this.gotoAndPlay(3);
now = getTimer();
}
}
}
Instance of Symbol 28 MovieClip in Frame 15
onClipEvent (enterFrame) {
var _local1 = 1;
if (!((_root.oSchonmalgeklickt) === (_local1))) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 16
stop();
Instance of Symbol 11 MovieClip in Symbol 12 MovieClip Frame 1
onClipEvent (load) {
bytesI = _root.getBytesLoaded();
zeitF = getTimer() + 1000;
}
onClipEvent (enterFrame) {
oTotal = _root.getBytesTotal();
oLoaded = _root.getBytesLoaded();
zeitA = getTimer();
prozent = int((oLoaded / oTotal) * 100);
if (zeitA >= zeitF) {
bytesA = _root.getBytesLoaded();
bytesT = bytesA - bytesI;
tR = int((_root.getBytesTotal() - _root.getBytesLoaded()) / bytesT);
sR = tR;
while (sR >= 60) {
i++;
sR = sR - 60;
}
mR = int(tR / 60);
while (mR >= 60) {
i--;
mR = mR - 60;
}
hR = int((tr / 60) / 60);
sR = ((sR < 10) ? ("0" + sR) : (sR));
mR = ((mR < 10) ? ("0" + mR) : (mR));
hR = ((hR < 10) ? ("0" + hr) : (hR));
tR = (((hR + ":") + mR) + ":") + sR;
tit = ((bT < 1000) ? " Bytes" : " kb");
bytesT = ((bytesT < 1000) ? (bytesT) : (int(bytesT / 100) / 10));
zeitF = getTimer() + 1000;
bytesI = _root.getBytesLoaded();
}
daten = ((((((("Total: " + int(oTotal / 1024)) + " kb Geladen: ") + int(oLoaded / 1024)) + " kb Prozent: ") + prozent) + " % Geschwindigkeit: ") + bytesT) + " kb/s";
loaderbalken._width = (prozent * 68) / 10;
}
Symbol 21 MovieClip Frame 10
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 3
stop();
Symbol 40 MovieClip Frame 41
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 2
stop();
Symbol 49 MovieClip Frame 3
play();
Symbol 49 MovieClip Frame 95
gotoAndPlay (3);
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 62 MovieClip Frame 3
play();
Symbol 62 MovieClip Frame 65
gotoAndPlay (3);
Symbol 66 MovieClip Frame 49
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 3
play();
Symbol 71 MovieClip Frame 74
gotoAndPlay (3);
Symbol 73 Button
on (rollOver) {
var _local1 = 3;
if (!((_root.oBlauEiZustand) === (_local1))) {
_root.oBlauEiZustand = 2;
}
}
on (rollOut) {
var _local1 = 3;
if (!((_root.oBlauEiZustand) === (_local1))) {
_root.oBlauEiZustand = 1;
}
}
on (release) {
var _local1 = 3;
if (!((_root.oBlauEiZustand) === (_local1))) {
_root.Bass.start(0, 1000);
_root.oBlauEiZustand = 3;
} else {
_root.Bass.stop("sBass");
_root.oBlauEiZustand = 1;
}
}
Symbol 74 Button
on (rollOver) {
var _local1 = 3;
if (!((_root.oGruenEiZustand) === (_local1))) {
_root.oGruenEiZustand = 2;
}
}
on (rollOut) {
var _local1 = 3;
if (!((_root.oGruenEiZustand) === (_local1))) {
_root.oGruenEiZustand = 1;
}
}
on (release) {
var _local1 = 3;
if (!((_root.oGruenEiZustand) === (_local1))) {
_root.gitarre.start(0, 1000);
_root.oGruenEiZustand = 3;
} else {
_root.gitarre.stop("sGitarre");
_root.oGruenEiZustand = 1;
}
}
Symbol 75 Button
on (rollOver) {
var _local1 = 3;
if (!((_root.oRotEiZustand) === (_local1))) {
_root.oRotEiZustand = 2;
}
}
on (rollOut) {
var _local1 = 3;
if (!((_root.oRotEiZustand) === (_local1))) {
_root.oRotEiZustand = 1;
}
}
on (release) {
var _local1 = 3;
if (!((_root.oRotEiZustand) === (_local1))) {
_root.pfeiffen.start(0, 1000);
_root.oRotEiZustand = 3;
} else {
_root.pfeiffen.stop("sPfeiffen");
_root.oRotEiZustand = 1;
}
}
Symbol 76 Button
on (release) {
if (_root.oSpechtZustand == 1) {
_root.specht.start(0, 1000);
_root.oSpechtZustand = 3;
} else {
_root.specht.stop("sSpecht");
_root.oSpechtZustand = 1;
}
_root.oSchonmalgeklickt = 1;
}
Symbol 77 Button
on (rollOver) {
var _local1 = 3;
if (!((_root.oGrilleZustand) === (_local1))) {
_root.oGrilleZustand = 2;
}
}
on (rollOut) {
var _local1 = 3;
if (!((_root.oGrilleZustand) === (_local1))) {
_root.oGrilleZustand = 1;
}
}
on (release) {
var _local1 = 3;
if (!((_root.oGrilleZustand) === (_local1))) {
_root.grille.start(0, 1000);
_root.oGrilleZustand = 3;
} else {
_root.grille.stop("sGrille");
_root.oGrilleZustand = 1;
}
}