Frame 13 (44 B)
ifFrameLoaded (53) {
gotoAndPlay (18);
}
Frame 14 (17 B)
gotoAndPlay (2);
Frame 18 (297 B)
Reihen = "3";
Spalten = "4";
Felder = Reihen * Spalten;
i = "1";
while (Felder >= i) {
Set("Z" add i, "1");
i = i + "1";
}
Leer = "12";
Set("Z" add Leer, "0");
geklickt = "0";
i = "1";
while (Felder >= i) {
setProperty("/Z" add i, _visible , "0");
i = i + "1";
}
stop();
Frame 19 (46 B)
tellTarget ("/gna") {
gotoAndPlay ("1");
}
Frame 20 (8 B)
stop();
Frame 25 (312 B)
i = "1";
gewonnen = "1";
while (i < Felder) {
if (getProperty("/mc" add i, _x) <> getProperty("/Z" add i, _x)) {
gewonnen = "0";
}
if (getProperty("/mc" add i, _y) <> getProperty("/Z" add i, _y)) {
gewonnen = "0";
}
i = i + "1";
}
if (gewonnen == "1") {
gotoAndPlay (37);
}
Frame 26 (1.23 KiB) ●
i = "1";
while ("4" >= i) {
Set("Nachbar" add i, "0");
i = i + "1";
}
i = "1";
while (Felder >= i) {
if (getProperty("/Z" add i, _x) == getProperty("/mc" add geklickt, _x)) {
if (getProperty("/Z" add i, _y) == getProperty("/mc" add geklickt, _y)) {
Position = i;
}
}
i = i + "1";
}
if ("4" >= Position) {
Klickreihe = "1";
} else if (Position >= "9") {
Klickreihe = "3";
} else {
Klickreihe = "2";
}
if (Klickreihe == "1") {
Klickspalte = Position;
}
if (Klickreihe == "2") {
Klickspalte = Position - Spalten;
}
if (Klickreihe == "3") {
Klickspalte = Position - ("2" * Spalten);
}
if (Klickreihe == "1") {
Nachbar1 = Position + Spalten;
}
if (Klickreihe == "2") {
Nachbar1 = Position + Spalten;
Nachbar2 = Position - Spalten;
}
if (Klickreihe == "3") {
Nachbar1 = Position - Spalten;
}
if (Klickspalte < "6") {
Nachbar3 = Position + "1";
}
if ("1" < Klickspalte) {
Nachbar4 = Position - "1";
}
i = "1";
while ("4" >= i) {
if (eval ("Nachbar" add i) == Leer) {
setProperty("/mc" add geklickt, _x , getProperty("/Z" add Leer, _x));
setProperty("/mc" add geklickt, _y , getProperty("/Z" add Leer, _y));
Leer = Position;
}
i = i + "1";
}
call("Check");
Frame 27 (466 B)
i = "1";
while (Felder >= i) {
Set("Z" add i, "0");
i = i + "1";
}
i = "1";
while (i < Felder) {
a = random("12") + "1";
if (eval ("Z" add a) == "0") {
setProperty("/mc" add i, _x , getProperty("/Z" add a, _x));
setProperty("/mc" add i, _y , getProperty("/Z" add a, _y));
Set("Z" add a, "1");
i = i + "1";
}
}
i = "1";
while (Felder >= i) {
if (eval ("Z" add i) == "0") {
Leer = i;
}
i = i + "1";
}
gotoAndStop (20);
Frame 28 (17 B)
call("mischen");
Frame 37 (37 B)
tellTarget ("/Timer") {
stop();
}
Frame 49 (8 B)
stop();
Symbol 34 MovieClip Frame 1 (8 B)
stop();
Symbol 34 MovieClip Frame 25 (67 B)
tellTarget ("../hilfe") {
gotoAndStop (1);
};
gotoAndStop (1);
Symbol 38 Button (28 B)
on (press) {
nextFrame();
}
Symbol 39 Button (57 B)
on (press) {
Set("/:geklickt", "1");
call("/:Click");
}
Symbol 41 Button (57 B)
on (press) {
Set("/:geklickt", "2");
call("/:Click");
}
Symbol 43 Button (57 B)
on (press) {
Set("/:geklickt", "3");
call("/:Click");
}
Symbol 45 Button (57 B)
on (press) {
Set("/:geklickt", "4");
call("/:Click");
}
Symbol 47 Button (57 B)
on (press) {
Set("/:geklickt", "5");
call("/:Click");
}
Symbol 49 Button (57 B)
on (press) {
Set("/:geklickt", "6");
call("/:Click");
}
Symbol 51 Button (57 B)
on (press) {
Set("/:geklickt", "7");
call("/:Click");
}
Symbol 53 Button (57 B)
on (press) {
Set("/:geklickt", "8");
call("/:Click");
}
Symbol 55 Button (57 B)
on (press) {
Set("/:geklickt", "9");
call("/:Click");
}
Symbol 57 Button (58 B)
on (press) {
Set("/:geklickt", "10");
call("/:Click");
}
Symbol 59 Button (58 B)
on (press) {
Set("/:geklickt", "11");
call("/:Click");
}
Symbol 61 MovieClip Frame 10 (19 B)
call("/:mischen");
Symbol 61 MovieClip Frame 11 (8 B)
stop();
Symbol 65 Button (85 B)
on (press) {
tellTarget ("../Loesung") {
gotoAndPlay ("rein");
};
nextFrame();
}
Symbol 66 MovieClip Frame 1 (8 B)
stop();
Symbol 66 MovieClip Frame 2 (8 B)
stop();
Symbol 78 MovieClip Frame 1 (8 B)
stop();
Symbol 78 MovieClip Frame 61 (65 B)
tellTarget ("../Minuten") {
nextFrame();
};
gotoAndStop (1);
Symbol 79 MovieClip Frame 1 (8 B)
stop();
Symbol 79 MovieClip Frame 61 (17 B)
gotoAndStop (1);
Symbol 81 MovieClip Frame 11 (47 B)
tellTarget ("../Sekunden") {
nextFrame();
}
Symbol 85 Button (36 B)
on (press) {
getURL ("Bild.zip");
}
Symbol 88 Button (33 B)
on (press) {
gotoAndPlay (19);
}
Symbol 89 Button (191 B)
on (press) {
tellTarget ("/Minuten") {
gotoAndStop (1);
tellTarget ("/Sekunden") {
gotoAndStop (1);
tellTarget ("/Timer") {
gotoAndPlay (1);
};
gotoAndPlay (19);
}
}
}