Frame 1
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
prel.gotoAndStop(tgPrel);
if (b1 >= b2) {
gotoAndPlay (15);
}
Frame 4
if (35 >= Math.round(b1 / 1024)) {
gotoAndPlay (1);
}
Frame 5
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgprel - 1;
if (9 >= tg) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 9
if (325 >= Math.round(b1 / 1024)) {
gotoAndPlay (5);
}
Frame 11
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgprel - 2;
if (9 >= tgprel) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 14
if (b1 < b2) {
gotoAndPlay (11);
}
Frame 15
procent = "--";
prel.gotoAndStop(100);
Frame 145
stop();
level = 1;
Instance of Symbol 174 MovieClip "sa" in Frame 145
onClipEvent (load) {
stop();
_visible = 0;
}
Frame 146
function fenster() {
f = 1;
tfr._visible = 1;
gotoAndStop (148);
gewinnen = 0;
}
function punkten(uebergabe) {
pust = String(uebergabe);
while (6 >= pust.length) {
pust = "0" add pust;
}
pust = (((((((((pust.substr(1, 1) add " ") add pust.substr(2, 1)) add " ") add pust.substr(3, 1)) add " ") add pust.substr(4, 1)) add " ") add pust.substr(5, 1)) add " ") add pust.substr(6, 1);
}
function los() {
gotoAndStop (147);
}
function resser() {
gotoAndStop (145);
}
if (tessa == 0) {
level = 1;
}
tessa = 0;
f = 0;
sa._visible = 0;
punkte = 0;
punkten(punkte);
_root.zehnt = "000";
_root.minute = "00";
_root.sekunde = "00";
stop();
Frame 147
function gameover() {
gotoAndStop (148);
}
fscommand ("allowscale", false);
fscommand ("fullscreen", false);
stop();
weree = random(2);
if (weree == 1) {
ob1.play();
ob2.stop();
}
if (weree == 0) {
ob2.play();
ob1.stop();
}
trace(weree);
sa._visible = 0;
Frame 148
function anhang() {
anzeige21 = ((("Street: \rTime: \rPoints Level " add level) add ": ") add newline) add "Points Game: ";
anzeige22 = (((((((((obon add " ") add newline) add bon) add " ") add newline) add punkte_level) add " ") add newline) add punkte) add " ";
}
function anhang2() {
anzeige21 = ((("Street: \rTime: \rPoints Level " add level) add ": ") add newline) add "Points Game: ";
anzeige22 = ("0\r0 \r0 \r" add punkte) add " ";
}
function goon() {
gotoAndStop (147);
if (sco) {
gotoAndStop (149);
}
}
stop();
extra = 0;
sco = 0;
sc.gotoAndStop(1);
sc._visible = 0;
sa._visible = 0;
if (f == 0) {
tfr._visible = 0;
}
stopAllSounds();
ohhh = new Sound();
ohhh.attachSound("ohh");
rr = new Sound();
rr.attachSound("hupe");
scoreviewer = 0;
if (gewinnen && (level == 1)) {
anzeige = "WOW, LEVEL COMPLETED SUCESSFULLY";
buanz = "Level 2";
punkte = punkte + punkte_level;
anhang();
punkten(punkte);
level++;
} else if (gewinnen && (level == 2)) {
anzeige = "WOW, LEVEL COMPLETED SUCESSFULLY";
buanz = "[CONTINUE]";
punkte = punkte + punkte_level;
anhang();
punkten(punkte);
level++;
} else if (gewinnen && (level >= 3)) {
punkte = punkte + punkte_level;
punkten(punkte);
anzeige = ("You reached " add punkte) add " Points.";
anhang();
buanz = "[NEW GAME]";
sco = 1;
}
if ((!gewinnen) && (level == 1)) {
punkten(punkte);
anzeige = "GAME OVER";
buanz = "[PLAY AGAIN]";
anhang2();
}
if ((!gewinnen) && (level == 2)) {
punkten(punkte);
anzeige = "GAME OVER";
buanz = "[PLAY AGAIN]";
anhang2();
}
if (((!gewinnen) && (level >= 3)) && (extra == 0)) {
punkten(punkte);
anzeige = "GAME OVER";
buanz = "[PLAY AGAIN]";
anhang2();
}
if (!gewinnen) {
ohhh.start();
}
Frame 149
play();
level = 1;
gotoAndStop (147);
Instance of Symbol 174 MovieClip "sa" in Frame 149
onClipEvent (load) {
stop();
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 50
stop();
_parent.play();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 28
gotoAndPlay (3);
Symbol 77 Button
on (press) {
getURL ("http://www.FreeOnlineGames.com?001", "_blank");
}
Symbol 82 Button
on (press, keyPress "1") {
play();
level = 1;
tessa = 1;
}
on (press, keyPress "3") {
play();
level = 3;
tessa = 1;
}
on (press, keyPress "2") {
play();
level = 2;
tessa = 1;
}
on (press, keyPress "4") {
play();
level = 4;
tessa = 1;
}
Symbol 88 Button
on (press) {
getURL ("http://www.FreeOnlineGames.com?001", "_blank");
}
Symbol 92 Button
on (press) {
getURL ("http://www.FreeGamesForYourWebsite.com?001", "_blank");
}
Symbol 96 Button
on (release) {
_root.play();
stopAllSounds();
}
Symbol 100 Button
on (release) {
_root.sa._visible = 1;
_root.sc._visible = 0;
_root.sc.gotoAndStop(1);
}
Symbol 105 Button
on (press) {
startDrag (_parent);
}
on (release) {
stopDrag();
}
Symbol 114 Button
on (press) {
over = 1;
speed = 1;
}
on (release, releaseOutside) {
over = 0;
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 124 Button
on (rollOver) {
swapDepths(99);
}
Symbol 137 MovieClip Frame 1
still = 1;
Symbol 137 MovieClip Frame 2
still = 1;
stop();
Symbol 137 MovieClip Frame 8
still = 0;
Symbol 137 MovieClip Frame 10
still = 1;
stop();
Symbol 137 MovieClip Frame 18
still = 0;
Symbol 137 MovieClip Frame 20
still = 1;
stop();
Symbol 147 Button
on (rollOver) {
swapDepths(99);
}
Instance of Symbol 153 MovieClip "reifen" in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 158 Button
on (rollOver) {
swapDepths(99);
}
Symbol 168 Button
on (rollOver) {
swapDepths(99);
}
Symbol 173 Button
on (press) {
_visible = 0;
}
Symbol 174 MovieClip Frame 1
text = text2;
gotoAndStop (2);
Symbol 174 MovieClip Frame 2
_visible = 0;
Instance of Symbol 115 MovieClip "oo" in Symbol 174 MovieClip Frame 2
onClipEvent (enterFrame) {
if (over == 1) {
currentScroll = _parent.text.scroll;
_parent.text.scroll = currentScroll - int(speed);
speed = speed + 0.1;
}
}
Instance of Symbol 116 MovieClip "uu" in Symbol 174 MovieClip Frame 2
onClipEvent (enterFrame) {
if (over == 1) {
currentScroll = _parent.text.scroll;
_parent.text.scroll = currentScroll + int(speed);
speed + 0.1;
}
}
Symbol 190 Button
on (release) {
_parent.game.speeder();
if (_parent.game.counte._currentframe == 1) {
_parent.game.counte.play();
}
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 203 Button
on (press) {
_parent.play();
}
Symbol 207 Button
on (press) {
getURL ("http://www.FreeGamesForYourWebsite.com?001", "_blank");
}
Symbol 211 Button
on (press) {
getURL ("http://www.FreeOnlineGames.com/downloads/konnectors.exe", "_blank");
}
Symbol 212 Button
on (release) {
_root.sa._visible = 1;
_root.sc._visible = 0;
_root.sc.gotoAndStop(1);
_parent.play();
}
Symbol 216 Button
on (release) {
_root.resser();
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 3
stop();
Symbol 226 MovieClip Frame 4
stop();
Instance of Symbol 224 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(5) + 1);
}
Instance of Symbol 224 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(5) + 1);
}
Instance of Symbol 224 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(5) + 1);
}
Instance of Symbol 224 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(5) + 1);
}
Instance of Symbol 224 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(5) + 1);
}
Instance of Symbol 224 MovieClip in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(5) + 1);
}
Symbol 227 MovieClip Frame 23
stop();
_parent.gotoAndStop("spielen");
Symbol 231 Button
on (press) {
if ((_parent._currentframe == 3) && (!klick)) {
_parent.setzen(_name);
aa = _currentframe;
_alpha = 100;
flayer.tr = _parent.vor.cur + 1;
flayer.flayer.gotoAndStop(_parent.vor.cur + 1);
flayer._visible = 1;
flayer.play();
}
}
on (rollOver) {
aa = _currentframe;
if (hitTest(_parent.truck) && (!klick)) {
_parent.truck._alpha = 55;
}
loop = 0;
while (vomir.length >= loop) {
eval (vormir[loop])._alpha = 20;
loop++;
}
if (!klick) {
flayer.flayer.gotoAndStop(_parent.vor.cur + 1);
flayer._visible = 1;
}
}
on (rollOut, releaseOutside) {
loop = 0;
while (vomir.length >= loop) {
eval (vormir[loop])._alpha = 100;
loop++;
}
flayer._visible = 0;
_parent.truck._alpha = 100;
}
Symbol 243 MovieClip Frame 1
stop();
Instance of Symbol 241 MovieClip "flayer" in Symbol 243 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(tr);
}
Instance of Symbol 246 MovieClip "cros1" in Symbol 249 MovieClip Frame 6
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 246 MovieClip "cros2" in Symbol 249 MovieClip Frame 6
onClipEvent (load) {
_visible = 0;
}
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "flayer" in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
_alpha = 100;
}
Symbol 250 MovieClip Frame 2
stop();
Instance of Symbol 249 MovieClip "reif" in Symbol 250 MovieClip Frame 3
onClipEvent (load) {
stop();
_visible = 0;
gotoAndStop(_parent._currentframe);
}
Symbol 250 MovieClip Frame 10
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 1
still = 1;
Symbol 269 MovieClip Frame 2
still = 1;
stop();
Symbol 269 MovieClip Frame 8
still = 0;
Symbol 269 MovieClip Frame 10
still = 1;
stop();
Symbol 269 MovieClip Frame 18
still = 0;
Symbol 269 MovieClip Frame 20
still = 1;
stop();
Symbol 280 MovieClip Frame 1
still = 1;
Symbol 280 MovieClip Frame 2
still = 1;
stop();
Symbol 280 MovieClip Frame 8
still = 0;
Symbol 280 MovieClip Frame 10
still = 1;
stop();
Symbol 280 MovieClip Frame 18
still = 0;
Symbol 280 MovieClip Frame 20
still = 1;
stop();
Symbol 287 MovieClip Frame 1
still = 1;
Symbol 287 MovieClip Frame 2
still = 1;
Symbol 287 MovieClip Frame 3
stop();
Symbol 287 MovieClip Frame 8
still = 0;
Symbol 287 MovieClip Frame 10
still = 1;
stop();
Symbol 287 MovieClip Frame 18
still = 0;
Symbol 287 MovieClip Frame 20
still = 1;
stop();
Symbol 288 MovieClip Frame 1
ff = 1;
Instance of Symbol 269 MovieClip "tr" in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
if (_parent.drehung == 1) {
gotoAndPlay (18);
}
if (_parent.drehung == 2) {
gotoAndPlay (8);
}
if (_parent.drehung == 0) {
gotoAndStop (1);
}
trace("DREH" add _parent.drehung);
}
Symbol 288 MovieClip Frame 2
ff = 2;
Instance of Symbol 280 MovieClip "tr" in Symbol 288 MovieClip Frame 2
onClipEvent (load) {
if (_parent.drehung == 1) {
gotoAndPlay (18);
}
if (_parent.drehung == 2) {
gotoAndPlay (8);
}
if (_parent.drehung == 0) {
gotoAndStop (1);
}
trace("DREH" add _parent.drehung);
}
Symbol 288 MovieClip Frame 3
ff = 3;
Instance of Symbol 287 MovieClip "tr" in Symbol 288 MovieClip Frame 3
onClipEvent (load) {
if (_parent.drehung == 1) {
gotoAndPlay (18);
}
if (_parent.drehung == 2) {
gotoAndPlay (8);
}
if (_parent.drehung == 0) {
gotoAndStop (1);
}
trace("DREH" add _parent.drehung);
}
Symbol 288 MovieClip Frame 4
ff = 4;
Instance of Symbol 137 MovieClip "tr" in Symbol 288 MovieClip Frame 4
onClipEvent (load) {
if (_parent.drehung == 1) {
gotoAndPlay (18);
}
if (_parent.drehung == 2) {
gotoAndPlay (8);
}
if (_parent.drehung == 0) {
gotoAndStop (1);
}
trace("DREH" add _parent.drehung);
}
Symbol 291 MovieClip Frame 1
stop();
_name = ("dot" add _parent.lauf);
_parent.lauf++;
me = targetPath(this);
_parent._parent.detect(me, 10);
_visible = 0;
Instance of Symbol 292 MovieClip "auffahrt" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
stop();
_name = ("dot" add _parent.lauf);
_parent.lauf++;
me = targetPath(this);
_parent._parent.detect(me, 5);
_visible = 0;
}
Instance of Symbol 295 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, 1)) {
_parent._alpha = 30;
} else {
_parent._alpha = 100;
}
}
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 39
gotoAndStop (1);
_parent.stx = _parent.stxx;
_parent.sty = _parent.styy;
Symbol 314 MovieClip Frame 1
stop();
Instance of Symbol 312 MovieClip "cc" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
z = 30;
}
onClipEvent (enterFrame) {
if (z == 0) {
_parent.play();
}
}
Symbol 314 MovieClip Frame 26
_parent.truck.fahren = 1;
stop();
Instance of Symbol 295 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, 1)) {
_parent._alpha = 30;
} else {
_parent._alpha = 100;
}
}
Instance of Symbol 295 MovieClip in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, 1)) {
_parent._alpha = 30;
} else {
_parent._alpha = 100;
}
}
Instance of Symbol 295 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, 1)) {
_parent._alpha = 30;
} else {
_parent._alpha = 100;
}
}
Instance of Symbol 348 MovieClip "rauch" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 349 MovieClip "passage" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
stop();
_visible = 0;
}
Instance of Symbol 292 MovieClip "pass1" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
stop();
_visible = 0;
}
Instance of Symbol 292 MovieClip "pass2" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
stop();
me = targetPath(this);
_parent._parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 292 MovieClip "pass3" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
stop();
me = targetPath(this);
_parent._parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 350 MovieClip "passage2" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
stop();
_visible = 0;
}
Symbol 353 MovieClip Frame 1
function aufbau() {
re = new Array();
de = new Array();
aa = 1;
zeilen = 25;
spalt = 8;
we = 71.9;
ho = 36;
a = 0;
while (zeilen >= a) {
var aa = ((aa == 1) ? 0 : 1);
spalten = ((aa == 1) ? (spalt - 1) : (spalt));
b = 0;
while (spalten >= b) {
re.push((a add "_") add b);
nn = (("platte_" add a) add "_") add b;
dd = (("detect_" add a) add "_") add b;
lev = (a * 100) + b;
lev_dd = lev + 12000;
duplicateMovieClip (platte, nn, lev);
duplicateMovieClip (detector, dd, lev_dd);
this[nn]._x = (platte._x + ((aa * we) / 2)) + (we * b);
this[nn]._y = platte._y + ((ho / 2) * a);
this[dd]._x = this[nn]._x;
this[dd]._y = this[nn]._y;
de.push(this[dd]);
this[dd].partner = this[nn]._name;
this[nn].gotoAndStop(2);
this[nn].hi = 0;
this[nn].swapDepths((this[nn]._y - b) - 1000);
this[nn].vormir = new Array();
this[dd]._visible = 0;
b++;
}
a++;
}
platte._visible = 0;
}
function speeder() {
speed = 5;
}
spielende = 0;
if (_root.level == 1) {
anzahl_hind = 6;
anzahl_haus = 0;
}
if (_root.level == 2) {
anzahl_hind = 9;
anzahl_haus = 1;
}
if (_root.level == 3) {
anzahl_hind = 12;
anzahl_haus = 2;
}
if (_root.level >= 4) {
anzahl_hind = 16;
anzahl_haus = 2;
}
_root.zehnt = "000";
_root.minute = "05";
_root.sekunde = "00";
aufbau();
play();
Instance of Symbol 250 MovieClip "platte" in Symbol 353 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 353 MovieClip Frame 2
function rollen() {
truck._x = truck._x + stx;
truck._y = truck._y + sty;
suchen();
truck.swapDepths(truck._y);
}
function suchen_1() {
insel = new Array();
loop = 0;
while (de.length >= loop) {
if (truck.mitte.hitTest(de[loop])) {
center = de[loop];
de[loop]._alpha = 100;
}
loop++;
}
friends();
}
function delta() {
dxx = truck._x - this[center.partner]._x;
dyy = truck._y - this[center.partner]._y;
delt = Math.sqrt((dxx * dxx) + (dyy * dyy));
return(delt);
}
function suchen() {
center_alt = center;
if (!truck.hitTest(binnen)) {
ende();
}
ab = delta();
if (ab < 3) {
abfrage(center.partner);
}
loop = 0;
while (insel.length >= loop) {
if (truck.mitte.hitTest(insel[loop].mitte)) {
center = insel[loop];
this[center.partner].klick = 1;
if (center != center_alt) {
if (truck.mitte.hitTest(haus.passage2) && (haus.rauch._visible == 0)) {
punkte = punkte + 4000;
_root.punkten(_root.punkte + punkte);
haus.rauch._visible = 1;
haus.reifen._visible = 1;
hup.start(0, 1);
zwok++;
this[center.partner].reif.gotoAndStop(5);
stxx = stx;
styy = sty;
sty = 0;
stx = 0;
halter.play();
}
if (truck.mitte.hitTest(haus2.passage2) && (haus2.rauch._visible == 0)) {
punkte = punkte + 4000;
_root.punkten(_root.punkte + punkte);
haus2.rauch._visible = 1;
haus2.reifen._visible = 1;
hup.start(0, 1);
zwok++;
this[center.partner].reif.gotoAndStop(5);
stxx = stx;
styy = sty;
sty = 0;
stx = 0;
halter.play();
}
friends();
this[center.partner].hi = 0;
if (spielende == 0) {
st = 0;
if (!this[center.partner].steine) {
st = 1;
}
punkte = punkte + Math.round(500 / (Number(this[center.partner].steine) + st));
click.start(0, 1);
_root.punkten(_root.punkte + punkte);
}
}
}
loop++;
}
}
function friends() {
insel = new Array();
loop = 0;
while (de.length >= loop) {
de[loop]._alpha = 0;
eval (center)._alpha = 11;
if (de[loop].hitTest(center)) {
insel.push(de[loop]);
}
loop++;
}
}
function truck_stop() {
stx = 0;
sty = 0;
}
function geh_ru(drehung) {
truck.drehung = drehung;
stx = speed;
sty = speed / 2;
dir = "ru";
if (truck.ff != 4) {
truck.gotoAndStop(4);
}
}
function geh_ro(drehung) {
truck.drehung = drehung;
stx = speed;
sty = (-speed) / 2;
dir = "ro";
if (truck.ff != 1) {
truck.gotoAndStop(1);
}
}
function geh_lu(drehung) {
truck.drehung = drehung;
stx = -speed;
sty = speed / 2;
dir = "lu";
if (truck.ff != 3) {
truck.gotoAndStop(3);
}
}
function geh_lo(drehung) {
truck.drehung = drehung;
stx = -speed;
sty = (-speed) / 2;
dir = "lo";
if (truck.ff != 2) {
truck.gotoAndStop(2);
}
}
function setzen(was) {
if (hiok == 1) {
this[was].steine++;
if (!this[was].klick) {
this[was].gotoAndStop(vor.cur + 1);
this[was].reif.gotoAndStop(vor.cur + 1);
}
alt = vor._currentframe;
while (vor._currentframe == alt) {
vor.gotoAndStop(random(7) + 2);
}
vor.cur = alt;
}
}
function abfrage(wer) {
this[center.partner].reif._visible = 1;
if (this[center.partner]._currentframe == 6) {
if ((dir == "ru") or (dir == "lo")) {
this[center.partner].reif.cros1._visible = 1;
}
if ((dir == "ro") or (dir == "lu")) {
this[center.partner].reif.cros2._visible = 1;
}
}
if (eval (wer).hi == 0) {
eval (wer).hi = 1;
st = eval (wer)._currentframe - 2;
truck_stop();
truck._x = eval (wer)._x;
truck._y = eval (wer)._y;
if (st == 1) {
if (dir == "ro") {
geh_ru(1);
}
if (dir == "lo") {
geh_lu(2);
}
}
if (st == 2) {
if (dir == "ro") {
geh_ro(0);
}
if (dir == "lu") {
geh_lu(0);
}
}
if (st == 3) {
if (dir == "lo") {
geh_lo(0);
}
if (dir == "ru") {
geh_ru(0);
}
}
if (st == 4) {
if (dir == "lo") {
geh_lo(0);
}
if (dir == "ru") {
geh_ru(0);
}
if (dir == "lu") {
geh_lu(0);
}
if (dir == "ro") {
geh_ro(0);
}
}
if (st == 5) {
if (dir == "ru") {
geh_ro(2);
}
if (dir == "lu") {
geh_lo(1);
}
}
if (st == 6) {
if (dir == "ru") {
geh_lu(1);
}
if (dir == "ro") {
geh_lo(2);
}
}
if (st == 7) {
if (dir == "lo") {
geh_ro(1);
}
if (dir == "lu") {
geh_ru(2);
}
}
if ((stx + sty) == 0) {
ende();
}
}
}
function zwischenstop() {
zwran = 60 + random(40);
while (this["platte_" add re[zwran]]._x < -180) {
zwran = 60 + random(40);
}
haus._x = this["platte_" add re[zwran]]._x;
haus._y = this["platte_" add re[zwran]]._y;
vorstellen(haus.passage, 5);
finger_weg(haus.pass1);
finger_weg(haus.pass2);
finger_weg(haus.pass3);
}
function zwischenstop2() {
zwran = 60 + random(40);
while (this["platte_" add re[zwran]]._x < -180) {
zwran = 60 + random(40);
}
haus2._x = this["platte_" add re[zwran]]._x;
haus2._y = this["platte_" add re[zwran]]._y;
}
function detect(were, wohin) {
loop = 0;
while (re.length >= loop) {
if (eval (were).hitTest(this["detect_" add re[loop]])) {
ausfall.push(re[loop]);
this["platte_" add re[loop]].gotoAndStop(wohin);
re.splice(loop, 1);
}
loop++;
}
}
function vorstellen(were, wohin) {
loop = 0;
while (re.length >= loop) {
if (eval (were).hitTest(this["detect_" add re[loop]])) {
this["platte_" add re[loop]].gotoAndStop(wohin);
this["platte_" add re[loop]].klick = 1;
this["platte_" add re[loop]].steine = 1;
re.splice(loop, 1);
}
loop++;
}
}
function finger_weg(were) {
loop = 0;
while (re.length >= loop) {
if (eval (were).hitTest(this["detect_" add re[loop]])) {
re.splice(loop, 1);
}
loop++;
}
}
function abzug() {
abzp = 0;
loop = 0;
while (loop < re.length) {
if ((0 < this["platte_" add re[loop]].steine) && (!this["platte_" add re[loop]].klick)) {
abzp = abzp + this["platte_" add re[loop]].steine;
}
loop++;
}
punkte = punkte - (abzug * 100);
_root.obon = punkte;
_root.bon = 1000 + (10 * uhr.tot);
trace("tot " add uhr.tot);
punkte = punkte + _root.bon;
if (punkte < 0) {
punkte = 0;
}
_root.punkten(_root.punkte + punkte);
}
function ende() {
gotoAndPlay (6);
if (truck.hitTest(zok) && (zwok == anzahl_haus)) {
_root.gewinnen = 1;
abzug();
_root.punkte_level = punkte;
_root.punkten(_root.punkte + punkte);
} else {
_root.gewinnen = 0;
punkte = 0;
_root.punkte_level = 0;
_root.punkten(_root.punkte + punkte);
}
spielende = 1;
}
dir = "ru";
speed = 0.8;
truck.swapDepths(10000);
geh_ru();
zwok = 0;
punkte = 0;
_root.punkten(_root.punkte);
drehung = 0;
suchen_1();
vor.cur = random(7) + 2;
if (_root.level == 2) {
zwischenstop();
while (vier.hitTest(haus)) {
zwischenstop();
}
}
if (_root.level >= 3) {
zwischenstop();
while (vier.hitTest(haus)) {
zwischenstop();
}
zwischenstop2();
while (vier.hitTest(haus2)) {
zwischenstop2();
}
while (haus.hitTest(haus2)) {
zwischenstop2();
}
vorstellen(haus2.passage, 5);
finger_weg(haus2.pass1);
finger_weg(haus2.pass2);
finger_weg(haus2.pass3);
}
haus.swapDepths(haus._y - 1);
haus2.swapDepths(haus2._y - 2);
vorstellen(los.auffahrt, 5);
_root.gewinnen = 0;
Instance of Symbol 256 MovieClip "binnen" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
_name = "binnen";
_visible = 0;
stop();
}
Instance of Symbol 288 MovieClip "truck" in Symbol 353 MovieClip Frame 2
onClipEvent (enterFrame) {
if (fahren) {
_parent.rollen();
}
}
Instance of Symbol 293 MovieClip "los" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 296 MovieClip "ziel" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 306 MovieClip "vor" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(7) + 2);
}
Instance of Symbol 292 MovieClip "zieleinlauf" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
stop();
me = targetPath(this);
_parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 292 MovieClip "startkarte" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
stop();
_name = "startabfahrt";
me = targetPath(this);
_parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 292 MovieClip "zieleinlauf3" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
stop();
me = targetPath(this);
_parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 292 MovieClip "zieleinlauf2" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
stop();
me = targetPath(this);
_parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 292 MovieClip "zok" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
stop();
_alpha = 0;
}
onClipEvent (load) {
stop();
me = targetPath(this);
_parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 292 MovieClip "zieleinlauf4" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
stop();
me = targetPath(this);
_parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 292 MovieClip "startkarte2" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
stop();
_name = "startabfahrt2";
me = targetPath(this);
_parent.finger_weg(me);
_visible = 0;
}
Instance of Symbol 314 MovieClip "counte" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(_y);
_parent.verdecken(_name);
}
Instance of Symbol 318 MovieClip "vierer" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
swapDepths(_y);
}
Instance of Symbol 321 MovieClip "vierer1" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
swapDepths(_y);
}
Instance of Symbol 324 MovieClip "vierer2" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
swapDepths(_y);
}
Instance of Symbol 338 MovieClip "hind" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
if (_parent.platte._height < _height) {
_parent.verdecken(_name);
}
stop();
}
Instance of Symbol 351 MovieClip "haus" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
_parent.verdecken(_name);
}
Instance of Symbol 351 MovieClip "haus2" in Symbol 353 MovieClip Frame 2
onClipEvent (load) {
_parent.verdecken(_name);
}
Symbol 353 MovieClip Frame 3
function hinden() {
hiok = 1;
lohi = 1;
while (wahl.length >= lohi) {
duplicateMovieClip (hind, "hind_" add lohi, 30000 + lohi);
such_pl = such_pl + (random(10) + 6);
this["hind_" add lohi]._x = this["platte_" add re[such_pl]]._x;
this["hind_" add lohi]._y = this["platte_" add re[such_pl]]._y;
this["hind_" add lohi].gotoAndStop(wahl[lohi - 1]);
this["hind_" add lohi].swapDepths(this["hind_" add lohi]._y);
re.splice(lohi, 1);
lohi++;
}
}
loop = 0;
while (re.length >= loop) {
this["platte_" add re[loop]].flayer._visible = 0;
loop++;
}
such_pl = random(25) + 60;
alb = new Array();
loop = 2;
while (hind._totalframes >= loop) {
alb.push(loop);
loop++;
}
wahl = new Array();
loop = 0;
while (loop < anzahl_hind) {
zuf = random(alb.length);
wahl.push(alb[zuf]);
alb.splice(zuf, 1);
loop++;
}
trace("alb" add alb);
trace("wahl: " add wahl);
hinden();
stop();
_root.schnell.gotoAndStop(2);
click = new Sound();
click.attachSound("kl");
hup = new Sound();
hup.attachSound("hupe");
Instance of Symbol 352 MovieClip "uhr" in Symbol 353 MovieClip Frame 3
onClipEvent (load) {
function weiter() {
ze--;
if (ze == -1) {
se--;
ze = 9;
tot--;
_parent.counte.cc.z--;
}
if (se == -1) {
se = 59;
mi--;
}
_root.zehnt = ze add "00";
_root.minute = ((mi < 10) ? ("0" add mi) : (mi));
_root.sekunde = ((se < 10) ? ("0" add se) : (se));
if (((0 >= mi) && (0 >= se)) && (ze == 0)) {
_parent.ende();
}
}
se = 60;
mi = 4;
ze = 0;
tot = (mi * 60) + se;
trace("tot: " add tot);
}
onClipEvent (enterFrame) {
gettime = getTimer();
zeh = int(gettime) - zeh_alt;
if (Number(zeh) >= 10) {
zeh_alt = int(gettime);
if (_parent._currentframe == 3) {
weiter();
}
}
}
Symbol 353 MovieClip Frame 6
play();
truck.fahren = 0;
stopAllSounds();
Symbol 353 MovieClip Frame 27
_root.gameover();
truck.removeMovieClip();
Symbol 360 Button
on (press) {
goon();
}
Symbol 366 Button
on (press) {
getURL ("http://www.FreeOnlineGames.com/downloads/konnectors.exe", "_blank");
}