Frame 1
k = "15";
fals = "0";
perf = "0";
defen = "0";
sou = random("2");
if (sou == "1") {
tellTarget ("/sound1") {
gotoAndPlay (2);
};
} else {
tellTarget ("/sound2") {
gotoAndPlay (2);
};
}
Frame 20
if (fals >= "20") {
gotoAndStop (80);
}
setProperty("/l1", _y , "455");
setProperty("/d1", _y , "455");
setProperty("/u1", _y , "455");
setProperty("/r1", _y , "455");
a = random("4");
b = a + "1";
c = random("4");
d = c + "1";
if ((a == "1") and (b == "1")) {
if ((c == "1") and (d == "1")) {
b = "0";
c = "0";
}
}
if (a == "1") {
tellTarget ("/act1") {
gotoAndPlay (2);
};
}
if (b == "1") {
tellTarget ("/act11") {
gotoAndPlay (2);
};
}
if (c == "1") {
tellTarget ("/act21") {
gotoAndPlay (2);
};
}
if (d == "1") {
tellTarget ("/act31") {
gotoAndPlay (2);
};
}
Frame 35
if (fals >= "20") {
gotoAndStop (80);
}
setProperty("/l2", _y , "455");
setProperty("/d2", _y , "455");
setProperty("/u2", _y , "455");
setProperty("/r2", _y , "455");
a = random("4");
b = a + "1";
c = random("4");
d = a + "2";
if ((a == "1") and (b == "1")) {
if ((c == "1") and (d == "1")) {
b = "0";
c = "0";
}
}
if (a == "1") {
tellTarget ("/act2") {
gotoAndPlay (2);
};
}
if (b == "1") {
tellTarget ("/act12") {
gotoAndPlay (2);
};
}
if (c == "1") {
tellTarget ("/act22") {
gotoAndPlay (2);
};
}
if (d == "1") {
tellTarget ("/act32") {
gotoAndPlay (2);
};
}
Frame 50
if (fals >= "20") {
gotoAndStop (80);
}
setProperty("/l3", _y , "455");
setProperty("/d3", _y , "455");
setProperty("/u3", _y , "455");
setProperty("/r3", _y , "455");
a = random("4");
b = a + "1";
c = random("4");
d = c + "1";
if ((a == "1") and (b == "1")) {
if ((c == "1") and (d == "1")) {
b = "0";
c = "0";
}
}
if (a == "1") {
tellTarget ("/act3") {
gotoAndPlay (2);
};
}
if (b == "1") {
tellTarget ("/act13") {
gotoAndPlay (2);
};
}
if (c == "1") {
tellTarget ("/act23") {
gotoAndPlay (2);
};
}
if (d == "1") {
tellTarget ("/act33") {
gotoAndPlay (2);
};
}
Frame 65
gotoAndPlay (20);
Frame 80
stop();
stopAllSounds();
Symbol 2 MovieClip Frame 1
stop();
Symbol 2 MovieClip Frame 1150
gotoAndPlay (2);
Symbol 4 MovieClip Frame 1
stop();
Symbol 4 MovieClip Frame 1530
gotoAndPlay (2);
Symbol 6 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 2
j1 = "0";
Symbol 6 MovieClip Frame 3
setProperty("/l1", _y , getProperty("/l1", _y) - /:k);
ly = getProperty("/l1", _y);
j1 = j1 + "1";
Symbol 6 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal1") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 2
j2 = "0";
Symbol 7 MovieClip Frame 3
setProperty("/l2", _y , getProperty("/l2", _y) - /:k);
ly = getProperty("/l2", _y);
j2 = j2 + "1";
Symbol 7 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal1") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 2
j3 = "0";
Symbol 8 MovieClip Frame 3
setProperty("/l3", _y , getProperty("/l3", _y) - /:k);
ly = getProperty("/l3", _y);
j3 = j3 + "1";
Symbol 8 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal1") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 9 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 2
j1 = "0";
Symbol 9 MovieClip Frame 3
setProperty("/d1", _y , getProperty("/d1", _y) - /:k);
ly = getProperty("/d1", _y);
j1 = j1 + "1";
Symbol 9 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal2") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 10 MovieClip Frame 2
j1 = "0";
Symbol 10 MovieClip Frame 3
setProperty("/d2", _y , getProperty("/d2", _y) - /:k);
ly = getProperty("/d2", _y);
j1 = j1 + "1";
Symbol 10 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal2") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 11 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 2
j1 = "0";
Symbol 11 MovieClip Frame 3
setProperty("/d3", _y , getProperty("/d3", _y) - /:k);
ly = getProperty("/d3", _y);
j1 = j1 + "1";
Symbol 11 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal2") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 12 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 2
j1 = "0";
Symbol 12 MovieClip Frame 3
setProperty("/u1", _y , getProperty("/u1", _y) - /:k);
ly = getProperty("/u1", _y);
j1 = j1 + "1";
Symbol 12 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal3") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
j1 = "0";
Symbol 13 MovieClip Frame 3
setProperty("/u2", _y , getProperty("/u2", _y) - /:k);
ly = getProperty("/u2", _y);
j1 = j1 + "1";
Symbol 13 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal3") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 14 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 2
j1 = "0";
Symbol 14 MovieClip Frame 3
setProperty("/u3", _y , getProperty("/u3", _y) - /:k);
ly = getProperty("/u3", _y);
j1 = j1 + "1";
Symbol 14 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal3") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 15 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 2
j1 = "0";
Symbol 15 MovieClip Frame 3
setProperty("/r1", _y , getProperty("/r1", _y) - /:k);
ly = getProperty("/r1", _y);
j1 = j1 + "1";
Symbol 15 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal4") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 2
j1 = "0";
Symbol 16 MovieClip Frame 3
setProperty("/r2", _y , getProperty("/r2", _y) - /:k);
ly = getProperty("/r2", _y);
j1 = j1 + "1";
Symbol 16 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal4") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
j1 = "0";
Symbol 17 MovieClip Frame 3
setProperty("/r3", _y , getProperty("/r3", _y) - /:k);
ly = getProperty("/r3", _y);
j1 = j1 + "1";
Symbol 17 MovieClip Frame 4
if (ly >= (-"50")) {
gotoAndPlay (3);
} else if (ly < "30") {
tellTarget ("/fal4") {
gotoAndPlay (2);
};
Set("/:fals", /:fals + "1");
}
Symbol 23 Button
on (keyPress "<Left>") {
la = getProperty("/l1", _y);
lb = getProperty("/l2", _y);
lc = getProperty("/l3", _y);
tellTarget ("/left") {
gotoAndPlay (2);
};
if (("35" < la) and (la < "90")) {
tellTarget ("/per1") {
gotoAndPlay (2);
};
perf = perf + "1";
setProperty("/l1", _y , "5050" + getProperty("/l1", _y));
defen = defen + "100";
}
if (("35" < lb) and (lb < "90")) {
tellTarget ("/per1") {
gotoAndPlay (2);
};
setProperty("/l2", _y , "5050" + getProperty("/l2", _y));
defen = defen + "100";
perf = perf + "1";
}
if (("35" < lc) and (lc < "90")) {
tellTarget ("/per1") {
gotoAndPlay (2);
};
perf = perf + "1";
defen = defen + "100";
setProperty("/l3", _y , "5050" + getProperty("/l3", _y));
}
}
Symbol 24 Button
on (keyPress "<Down>") {
da = getProperty("/d1", _y);
db = getProperty("/d2", _y);
dc = getProperty("/d3", _y);
tellTarget ("/down") {
gotoAndPlay (2);
};
if (("35" < da) and (da < "90")) {
tellTarget ("/per2") {
gotoAndPlay (2);
};
setProperty("/d1", _y , "5050" + getProperty("/d1", _y));
perf = perf + "1";
defen = defen + "100";
}
if (("35" < db) and (db < "90")) {
tellTarget ("/per2") {
gotoAndPlay (2);
};
setProperty("/d2", _y , "5050" + getProperty("/d2", _y));
perf = perf + "1";
defen = defen + "100";
}
if (("35" < dc) and (dc < "90")) {
tellTarget ("/per2") {
gotoAndPlay (2);
};
setProperty("/d3", _y , "5050" + getProperty("/d3", _y));
perf = perf + "1";
defen = defen + "100";
}
}
Symbol 25 Button
on (keyPress "<Right>") {
ra = getProperty("/r1", _y);
rb = getProperty("/r2", _y);
rc = getProperty("/r3", _y);
tellTarget ("/right") {
gotoAndPlay (2);
};
if (("35" < ra) and (ra < "90")) {
tellTarget ("/per4") {
gotoAndPlay (2);
};
setProperty("/r1", _y , "5050" + getProperty("/r1", _y));
defen = defen + "100";
perf = perf + "1";
}
if (("35" < rb) and (rb < "90")) {
tellTarget ("/per4") {
gotoAndPlay (2);
};
setProperty("/r2", _y , "5050" + getProperty("/r2", _y));
perf = perf + "1";
defen = defen + "100";
}
if (("35" < rc) and (rc < "90")) {
tellTarget ("/per4") {
gotoAndPlay (2);
};
setProperty("/r3", _y , "5050" + getProperty("/r3", _y));
perf = perf + "1";
defen = defen + "100";
}
}
Symbol 26 Button
on (keyPress "<Up>") {
ua = getProperty("/u1", _y);
ub = getProperty("/u2", _y);
uc = getProperty("/u3", _y);
tellTarget ("/up") {
gotoAndPlay (2);
};
if (("35" < ua) and (ua < "90")) {
tellTarget ("/per3") {
gotoAndPlay (2);
};
setProperty("/u1", _y , "5050" + getProperty("/u1", _y));
perf = perf + "1";
defen = defen + "100";
}
if (("35" < ub) and (ub < "90")) {
tellTarget ("/per3") {
gotoAndPlay (2);
};
setProperty("/u2", _y , "5050" + getProperty("/u2", _y));
perf = perf + "1";
defen = defen + "100";
}
if (("35" < uc) and (uc < "90")) {
tellTarget ("/per3") {
gotoAndPlay (2);
};
setProperty("/u3", _y , "5050" + getProperty("/u3", _y));
perf = perf + "1";
defen = defen + "100";
}
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 8
gotoAndStop (1);
Symbol 53 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 64 Button
on (release) {
gotoAndPlay (1);
}
Symbol 78 Button
on (release) {
getURL ("mailto:weifuxuan@21cn.com");
}