Frame 1
System.useCodepage = ture;
Instance of Symbol 36 MovieClip "Code_mc" in Frame 1
onClipEvent (enterFrame) {
TotalKB = _root.getBytesTotal() / 1000;
LoadedKB = _root.getBytesLoaded() / 1000;
_root.Size_txt.text = ((int(LoadedKB) + "KB/") + int(TotalKB)) + "KB";
LoadedPercent = int((LoadedKB / TotalKB) * 100);
_root.Percent_txt.text = LoadedPercent + "%";
_root.Bar_mc._xscale = LoadedPercent;
DLRate = (_root.getBytesLoaded() / (getTimer() / 1000)) / 1000;
_root.Rate_txt.text = (int(DLRate * 100) / 100) + "KB/s";
SecondsLeft = (TotalKB - LoadedKB) / DLRate;
Minutes = Math.floor(SecondsLeft / 60);
if (Number(Minutes) < 10) {
Minutes = "0" + Minutes;
}
Seconds = int(SecondsLeft - (Minutes * 60));
if (Number(Seconds) < 10) {
Seconds = "0" + Seconds;
}
_root.TimeLeft_txt.text = (Minutes + " : ") + Seconds;
}
onClipEvent (load) {
_root.Percent_txt.text = "0%";
_root.Bar_mc._xscale = 0;
}
Frame 3
if (Number(Code_mc.LoadedPercent) == 100) {
nextFrame();
} else {
gotoAndPlay (1);
}
Frame 4
stop();
game_so = SharedObject.getLocal("FlashGamesStudio");
_root.game_so.data.playerName = "";
_root.game_so.data.useremail = "";
_root.match_flg = 1;
Frame 5
function yangqiXSH(BaiFN) {
_root.info.bb._xscale = _root.ss * (BaiFN / 100);
}
function renyd() {
var _local1 = _root;
var i;
if (_local1.yundong_bz == 0) {
} else if (_local1.yundong_bz == 1) {
}
}
function renfuzhi() {
var _local1 = _root;
var i;
duplicateMovieClip (_local1[("ren" + _local1.ren_dunxiang) + "_zunbeiSL"], (("ren" + ren_dunxiang) + "_zunbei") + "FZ", 2);
_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]._x = _local1.wz_qishi_x;
_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]._y = _local1.wz_qishi_y;
}
function jstl() {
var _local2 = _root;
var _local1;
var bl1;
if (_local2.last_wy != 100000) {
_local1 = Math.floor(_local2.tl);
_local2.yangqiXSH(_local1);
}
}
stop();
_root.best_time = 1000;
_root.cs_num = 6;
_root.t_flg = 0;
_root.time_num = 0;
_root.best_time = 1000;
_root.move_t5 = 10;
_root.cx_jl = 10;
_root.chong_num = 0;
_root.shoot_num = 0;
_root.ds_flg = 1;
_root.timenum = 0;
_root.chong_flg = 0;
String.prototype.addCommas = function () {
var _local3 = this.length;
var _local2 = "";
var _local1 = 0;
while (_local1 <= _local3) {
_local2 = this.charAt(_local3 - _local1) + _local2;
if ((((_local1 % 3) == 0) && (_local1 > 0)) && (_local1 < _local3)) {
}
_local1++;
}
return(_local2);
};
_root.quedinW._visible = 0;
_root.quedinW.username.text = "";
_root.quedinW.useremail.text = "";
_root.eaten = false;
_root.gameOn = true;
_root.strIntzt = 0;
_root.gameOver = true;
_root.rnd = Math.random;
_root.aa._visible = 0;
_root.tz_len = 30;
_root.jiaodu = 0;
_root.tili = 0;
_root.race_len = 2527;
_root.xj_bl = 0.02;
init_wy = 8;
base_jj = 1;
last_sd = 0.7;
score = 0;
cs = 7;
base_tl = 0.9;
base_tl = 0.12;
line_flg = 0;
draw_flg = 0;
sp_py = 0;
g = 300;
tz_jd = 45;
v_tz = 280;
num_1 = 0;
num_3 = 0;
touche = 0;
ren_no = 0;
move_t1 = 30;
move_t2 = 50;
move_t3 = 10;
move_t4 = 100;
bf_num = 0;
move_flg = 0;
hit_flg = 0;
init_flg = 1;
last_wy = 0;
last_jg = 100000 /* 0x0186A0 */;
base_jg = 200;
jg_py = 10;
key_bj = 0;
piste = 0;
last_time = getTimer();
secord_time = getTimer();
wz_qishi_x = 565.7;
wz_qishi_y = 304.9;
yundong_bz = 0;
_root.paodong_KS = 0;
ren_yd_jg = 30;
ren_dunxiang = "01";
ren_paodongDJ = 1;
Frame 6
function pdmove() {
var _local1 = _root;
var _local2;
_local1.secord_time = getTimer();
_local2 = _local1.secord_time - _local1.last_time;
if ((_local2 <= (_local1.last_jg + _local1.jg_py)) and (_local2 >= (_local1.last_jg + _local1.jg_py))) {
_local1.move_flg = 1;
} else if (_local2 < last_jg) {
_local1.move_flg = 2;
} else {
_local1.move_flg = 3;
}
_local1.last_jg = _local2;
if (_local1.tl >= (20 + (_local1.ll - 60))) {
} else if ((_local1.tl < (20 + (_local1.ll - 60))) and (_local1.tl >= ((20 + (_local1.ll - 60)) - 20))) {
_local1.move_flg = 1;
} else {
_local1.move_flg = 3;
}
if (_local1.init_flg == 1) {
clearInterval(_local1.time1);
clearInterval(_local1.time2);
} else {
clearInterval(_local1.time1);
clearInterval(_local1.time2);
}
if (init_flg == 1) {
_local1.init_flg = 0;
_local1.last_wy = _local1.init_wy;
} else if (_local1.last_wy < _local1.init_wy) {
_local1.last_wy = _local1.init_wy;
}
_local1.last_time = _local1.secord_time;
_local1.num_1 = 0;
time1 = setInterval(renrun1, _local1.move_t1);
}
function renrun1() {
var _local1 = _root;
if (_local1.tl < 0) {
clearInterval(_local1.time1);
} else if (_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].hitTest(_local1.beijin.line) and (_local1.hit_flg == 100)) {
_local1.hit_flg = 1;
clearInterval(_local1.time1);
clearInterval(_local1.time2);
_local1.num_3 = 0;
_local1.draw_flg = 0;
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 0;
if (_local1.ren_dunxiang eq "01") {
_local1.gotoAndStop("line_fail1");
} else if (_local1.ren_dunxiang eq "02") {
_local1.gotoAndStop("line_fail2");
} else if (_local1.ren_dunxiang eq "03") {
_local1.gotoAndStop("line_fail3");
} else if (_local1.ren_dunxiang eq "04") {
_local1.gotoAndStop("line_fail4");
}
} else {
_local1.num_1 = _local1.num_1 + 1;
if (_local1.num_1 <= _local1.cs) {
if (_local1.move_flg == 1) {
_local1.last_wy = _local1.last_wy;
} else if (_local1.move_flg == 2) {
_local1.last_wy = _local1.last_wy + ((_local1.last_sd * ((1 * _local1.bfl) / 100)) * (_local1.base_jg / _local1.last_jg));
if (_local1.last_wy > _local1.max_wy) {
_local1.last_wy = root.max_wy;
}
} else if (_local1.move_flg == 3) {
_local1.last_wy = _local1.last_wy - (_local1.last_wy * ((_local1.xj_bl * 100) / _local1.tl));
if (_local1.last_wy < 1) {
_local1.last_wy = 0;
_local1.init_flg = 1;
_local1.draw_flg = 0;
_local1.last_jg = 100000 /* 0x0186A0 */;
_local1.last_time = getTimer();
clearInterval(_local1.time1);
clearInterval(_local1.time2);
}
}
if (_local1.last_wy > 0) {
_local1.tl = _local1.tl - (_local1.base_tl * (((_local1.last_wy / 20) * 60) / _local1.ll));
_local1.renrun3();
_local1.beijin_yidong();
} else {
_local1.bf_num = 5;
_local1.renrun3();
}
} else {
clearInterval(_local1.time1);
time2 = setInterval(renrun2, _local1.move_t2);
}
}
}
function renrun2() {
var _local1 = _root;
if (_local1.tl < 0) {
clearInterval(_local1.time2);
} else {
_local1.last_wy = _local1.last_wy - (_local1.base_jj * (100 / _local1.tl));
if (_local1.last_wy < 1) {
_local1.last_wy = 0;
_local1.init_flg = 1;
_local1.last_jg = 100000 /* 0x0186A0 */;
last_time = getTimer();
clearInterval(_local1.time1);
clearInterval(_local1.time2);
}
if (_local1.last_wy > 0) {
_local1.tl = _local1.tl - (_local1.base_tl * (((_local1.last_wy / 20) * 60) / _local1.ll));
_local1.renrun3();
_local1.beijin_yidong();
} else {
_local1.bf_num = 5;
_local1.renrun3();
}
}
}
function jstzjl() {
var _local1 = _root;
var t1;
var t2;
var t3;
var max_y;
var sp_py;
var hd;
var sd_tz_sp;
var sd_tz_cz;
var _local2;
if (_local1.last_wy < 5) {
_local2 = 0.1;
} else if ((_local1.last_wy < 20) and (_local1.last_wy >= 5)) {
_local2 = 0.2 + (((_local1.last_wy - 5) / 5) * 0.2);
} else if ((_local1.last_wy > 20) and (_local1.last_wy >= 35)) {
_local2 = 0.5 + (((_local1.last_wy - 20) / 20) * 0.5);
} else {
_local2 = (1 + ((_local1.last_wy / 35) * 0.1)) - 0.1;
}
if (_local1.piste < 2240) {
_local1.jj = 0;
}
_local1.v_tz = (((8 * (_local1.tt / 100)) * _local2) * (_local1.tl / 100)) * 1.5;
_local1.jj = (((8 * (_local1.tt / 100)) * _local2) * (_local1.tl / 100)) - ((_local1.tz_len * (_local1.race_len - _local1.piste)) / _local1.race_len);
_local1.jj = _local1.jj * 1.75;
if (_local1.jj <= 0) {
} else if ((Math.floor(_local1.jj * 100) / 100) > _local1.score) {
_local1.score = Math.floor(_local1.jj * 100) / 100;
}
}
function jstzjl2() {
var _local1 = _root;
var t1;
var t2;
var t3;
var max_y;
var sp_py;
var hd;
var sd_tz_sp;
var sd_tz_cz;
var _local2;
if (_local1.last_wy < 5) {
_local2 = 0.5;
} else if ((_local1.last_wy < 10) and (_local1.last_wy >= 5)) {
_local2 = 0.5 + (((_local1.last_wy - 5) / 5) * 0.5);
} else {
_local2 = (1 + ((_local1.last_wy / 10) * 0.1)) - 0.1;
}
_local1.v_tz = (((8 * (_local1.bfl / 100)) * _local2) * (_local1.tl / 100)) * 2;
_local1.jj = (((8 * (_local1.bfl / 100)) * _local2) * (_local1.tl / 100)) - ((_local1.tz_len * (_local1.race_len - _local1.piste)) / _local1.race_len);
if (_local1.jj <= 0) {
_local1.score = 0;
} else {
_local1.score = _local1.jj;
}
}
function tzangle() {
var _local2 = _root;
var _local1;
_local1 = Math.floor(Math.random() * 5);
if (_local1 == 0) {
_local2.tz_jd = 20 + Math.floor(Math.random() * 25);
} else if (_local1 == 1) {
_local2.tz_jd = 45 + Math.floor(Math.random() * 15);
} else if (_local1 == 2) {
_local2.tz_jd = 60 + Math.floor(Math.random() * 15);
} else if (_local1 == 3) {
_local2.tz_jd = 75 + Math.floor(Math.random() * 5);
} else if (_local1 == 4) {
_local2.tz_jd = 45;
}
_local2.tz_jd = 45;
}
function ren_paodingZS(bz, fx) {
var _local1 = _root;
var _local2 = fx;
var _local3 = bz;
if (_local3 == 1) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(10);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(11);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(12);
}
} else if (_local3 == 2) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(7);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(8);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(9);
}
} else if (_local3 == 3) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(4);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(5);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(6);
}
} else if (_local3 == 4) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(1);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(2);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(3);
}
}
}
function beijin_yidong() {
var _local1 = _root;
_local1.piste = _local1.piste + _local1.last_wy;
_local1.piste2 = _local1.piste2 + _local1.last_wy;
if (_local1.piste > 10000) {
_local1.line._visible = 1;
}
if (_local1.piste > 10000) {
_local1.line._x = _local1.line._x + _local1.last_wy;
}
if (_local1.piste2 >= 600) {
_local1.piste2 = _local1.piste2 - 600;
removeMovieClip(_local1[_local1.bj_arr1bj_name]);
removeMovieClip(_local1[_local1.bj_arr1pai1_name]);
removeMovieClip(_local1[_local1.bj_arr1beijin_name]);
_local1.bj_arr1bj_name = _local1.bj_arr2bj_name;
_local1.bj_arr1pai1_name = _local1.bj_arr2pai1_name;
_local1.bj_arr1beijin_name = _local1.bj_arr2beijin_name;
_local1[_local1.bj_arr1bj_name]._x = _local1[_local1.bj_arr2bj_name]._x;
_local1[_local1.bj_arr1pai1_name]._x = _local1[_local1.bj_arr2pai1_name]._x;
_local1[_local1.bj_arr1beijin_name]._x = _local1[_local1.bj_arr2beijin_name]._x;
bjc1 = _local1.bj_arr1bj_name;
bjc2 = _local1.bj_arr1pai1_name;
bjc3 = _local1.bj_arr1beijin_name;
bbj1 = _local1.bj_arr2bj_name;
bbj2 = _local1.bj_arr2pai1_name;
bbj3 = _local1.bj_arr2beijin_name;
_local1[_local1.bj_arr1bj_name]._x = _local1[_local1.bj_arr1bj_name]._x + _local1.last_wy;
_local1[_local1.bj_arr1pai1_name]._x = _local1[_local1.bj_arr1pai1_name]._x + _local1.last_wy;
_local1[_local1.bj_arr1beijin_name]._x = _local1[_local1.bj_arr1beijin_name]._x + _local1.last_wy;
_local1[_local1.bj_arr1bj_name]._visible = 1;
_local1[_local1.bj_arr1pai1_name]._visible = 1;
_local1[_local1.bj_arr1beijin_name]._visible = 1;
_local1.bj_num = _local1.bj_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("_root.bj", "bj" + _local1.bj_num, _local1.ceng);
_local1.pai1_num = _local1.pai1_num + 1;
_local1.ceng = _local1.ceng + 1;
if (_local1.pai_flg == 1) {
duplicateMovieClip ("_root.pai2", "pai1" + _local1.pai1_num, _local1.ceng);
_local1.pai_flg = 2;
} else if (_local1.pai_flg == 2) {
duplicateMovieClip ("_root.pai1", "pai1" + _local1.pai1_num, _local1.ceng);
_local1.pai_flg = 1;
}
_local1.beijin_num = _local1.beijin_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("_root.beijin", "beijin" + _local1.beijin_num, _local1.ceng);
_local1["bj" + _local1.bj_num]._x = 600;
_local1["bj" + _local1.bj_num]._x = _local1[_local1.bj_arr1bj_name]._x - 600;
_local1["pai1" + _local1.pai1_num]._x = _local1[_local1.bj_arr1pai1_name]._x - 600;
_local1["beijin" + _local1.beijin_num]._x = _local1[_local1.bj_arr1beijin_name]._x - 600;
_local1[_local1["bj" + _local1.bj_num]]._visible = 1;
_local1[_local1["pai1" + _local1.pai1_num]]._visible = 1;
_local1[_local1["beijin" + _local1.beijin_num]]._visible = 1;
_local1.bj_arr2bj_name = "bj" + _local1.bj_num;
_local1.bj_arr2pai1_name = "pai1" + _local1.pai1_num;
_local1.bj_arr2beijin_name = "beijin" + _local1.beijin_num;
_local1[_local1.bj_arr2bj_name]._visible = 1;
_local1[_local1.bj_arr2pai1_name]._visible = 1;
_local1[_local1.bj_arr2beijin_name]._visible = 1;
} else {
_local1[_local1.bj_arr1bj_name]._x = _local1[_local1.bj_arr1bj_name]._x + _local1.last_wy;
_local1[_local1.bj_arr1pai1_name]._x = _local1[_local1.bj_arr1pai1_name]._x + _local1.last_wy;
_local1[_local1.bj_arr1beijin_name]._x = _local1[_local1.bj_arr1beijin_name]._x + _local1.last_wy;
_local1[_local1.bj_arr2bj_name]._x = _local1[_local1.bj_arr2bj_name]._x + _local1.last_wy;
_local1[_local1.bj_arr2pai1_name]._x = _local1[_local1.bj_arr2pai1_name]._x + _local1.last_wy;
_local1[_local1.bj_arr2beijin_name]._x = _local1[_local1.bj_arr2beijin_name]._x + _local1.last_wy;
bjc1 = _local1.bj_arr1bj_name;
bjc2 = _local1.bj_arr1pai1_name;
bjc3 = _local1.bj_arr1beijin_name;
bbj1 = _local1.bj_arr2bj_name;
bbj2 = _local1.bj_arr2pai1_name;
bbj3 = _local1.bj_arr2beijin_name;
_local1.XR_mq._x = _local1.XR_mq._x + _local1.last_wy;
}
}
function beijin_yidong2() {
var _local1 = _root;
_local1.piste = _local1.piste + _local1.last_wy;
_local1.beijin._x = _local1.beijin._x + _local1.last_wy;
_local1.pai1._x = _local1.pai1._x + _local1.last_wy;
_local1.XR_mq._x = _local1.XR_mq._x + _local1.last_wy;
}
function renrun3() {
var _local1 = _root;
var _local2;
if (_local1.last_wy == 0) {
_local1.bf_num = 5;
_local1.ren_bofang(_local1.bf_num);
} else {
if (_local1.last_wy < 10) {
_local2 = 1;
} else if ((_local1.last_wy >= 10) and (_local1.last_wy < 14)) {
_local2 = 2;
} else if ((_local1.last_wy >= 14) and (_local1.last_wy < 16)) {
_local2 = 3;
} else if (_local1.last_wy >= 16) {
_local2 = 4;
}
if (_local2 == _local1.bf_num) {
} else {
_local1.bf_num = _local2;
_local1.ren_bofang(_local2);
}
}
}
function initRest() {
var _local1 = _root;
_local1.pai_flg = 2;
removeMovieClip("ready1");
duplicateMovieClip ("ready", "ready1", 1203);
_local1.ready1._visible = 1;
removeMovieClip("go1");
duplicateMovieClip ("go", "go1", 1202);
_local1.go1._visible = 0;
removeMovieClip("XR_mq");
removeMovieClip("line");
duplicateMovieClip ("lineSL", "line", 870);
_local1.line._visible = 0;
duplicateMovieClip ("XR_mqSL", "XR_mq", 1000);
_local1.XR_mq._visible = 1;
_local1.XR_mq.gotoAndPlay(1);
removeMovieClip(_local1.bj_arr1bj_name);
removeMovieClip(_local1.bj_arr1bj_name);
removeMovieClip(_local1.bj_arr1pai1_name);
removeMovieClip(_local1.bj_arr1beijin_name);
removeMovieClip(_local1.bj_arr2bj_name);
removeMovieClip(_local1.bj_arr2pai1_name);
removeMovieClip(_local1.bj_arr2beijin_name);
_local1.ren01_chongxian._visible = 0;
_local1.ren02_chongxian._visible = 0;
_local1.ren03_chongxian._visible = 0;
_local1.ren04_chongxian._visible = 0;
_local1.bj_num = 0;
_local1.pai1_num = 0;
_local1.beijin_num = 0;
_local1.piste = 0;
_local1.piste2 = 0;
_local1.ceng = 100;
_local1.bj_num = _local1.bj_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("_root.bj", "bj" + _local1.bj_num, _local1.ceng);
_local1.pai1_num = _local1.pai1_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("_root.pai1", "pai1" + _local1.pai1_num, _local1.ceng);
_local1.beijin_num = _local1.beijin_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("beijin", "beijin" + _local1.beijin_num, _local1.ceng);
_local1.bj_arr1bj_name = "bj" + _local1.bj_num;
_local1.bj_arr1pai1_name = "pai1" + _local1.pai1_num;
_local1.bj_arr1beijin_name = "beijin" + _local1.beijin_num;
_local1.bj_num = _local1.bj_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("bj", "bj" + _local1.bj_num, _local1.ceng);
_local1.pai1_num = _local1.pai1_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("pai2", "pai1" + _local1.pai1_num, _local1.ceng);
_local1.beijin_num = _local1.beijin_num + 1;
_local1.ceng = _local1.ceng + 1;
duplicateMovieClip ("beijin", "beijin" + _local1.beijin_num, _local1.ceng);
_local1["bj" + _local1.bj_num]._x = _local1.bj._x - 600;
_local1["pai1" + _local1.pai1_num]._x = _local1.pai1._x - 600;
_local1["beijin" + _local1.beijin_num]._x = _local1.beijin._x - 600;
_local1.bj_arr2bj_name = "bj" + _local1.bj_num;
_local1.bj_arr2pai1_name = "pai1" + _local1.pai1_num;
_local1.bj_arr2beijin_name = "beijin" + _local1.beijin_num;
_local1.t_flg = 0;
_local1.time_num = 0;
clearInterval(_local1.time1);
clearInterval(_local1.time2);
clearInterval(_local1.time4);
clearInterval(time15);
clearInterval(_local1.time15);
_local1.timenum = 0;
_local1.hit_flg = 0;
_local1.init_flg = 1;
if (_local1.ren_dunxiang eq "01") {
tl = 85;
bfl = 75;
ll = 82;
tt = 82;
} else if (_local1.ren_dunxiang eq "02") {
tl = 80;
bfl = 80;
ll = 100;
tt = 90;
} else if (_local1.ren_dunxiang eq "03") {
tl = 75;
bfl = 100;
ll = 70;
tt = 70;
} else if (_local1.ren_dunxiang eq "04") {
tl = 80;
bfl = 90;
ll = 70;
tt = 85;
}
_local1.info.score = 0;
_local1.last_wy = 0;
_local1.last_jg = 10000;
_local1.key_flg2 = 0;
_local1.ks_flg = 1;
_local1.key_bj = 0;
_local1.piste = 0;
last_time = getTimer();
secord_time = getTimer();
_local1.touche = 0;
_local1.paodong_KS = 0;
_local1.bf_num = 0;
_local1.move_flg = 0;
_local1.draw_flg = 0;
_local1.beijin.land_suaidao._visible = 0;
_local1.beijin.lan_1._visible = 1;
_local1.beijin.lan_3._visible = 1;
_local1.beijin.lan_4._visible = 1;
_local1.beijin._x = _local1.save_gd_x;
_local1.beijin._y = _local1.save_gd_y;
_local1.pai1._x = _local1.save_pai_x;
_local1.pai1._y = _local1.save_pai_y;
_local1.XR_mq._x = _local1.save_cp_x;
_local1.XR_mq._y = _local1.save_cp_y;
_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]._x = _local1.wz_qishi_x;
_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]._y = _local1.wz_qishi_y;
_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 1;
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"]._x = _local1.wz_qishi_x;
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"]._y = _local1.wz_qishi_y;
_local1.zhuanhuan = 3;
_local1.key_bj = 0;
_local1.key_flg = 0;
_local1.max_wy = 50;
_local1.key_flg2 = 0;
_local1.chong_flg = 0;
last_time = getTimer();
secord_time = getTimer();
time4 = setInterval(jstl, _local1.move_t4);
_local1.XR_mq._visible = 1;
_local1.XR_mq.gotoAndPlay(1);
}
function ren_paodingZS(bz, fx) {
var _local1 = _root;
var _local2 = fx;
var _local3 = bz;
if (_local3 == 1) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(10);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(11);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(12);
}
} else if (_local3 == 2) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(7);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(8);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(9);
}
} else if (_local3 == 3) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(4);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(5);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(6);
}
} else if (_local3 == 4) {
if (_local2 eq "zuo") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(1);
} else if (_local2 eq "zhong") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(2);
} else if (_local2 eq "you") {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(3);
}
}
}
function ren_bofang(bz) {
var _local1 = _root;
var _local2 = bz;
if (_local2 == 4) {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndPlay(1);
} else if (_local2 == 3) {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndPlay(7);
} else if (_local2 == 2) {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndPlay(13);
} else if (_local2 == 1) {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndPlay(19);
} else if (_local2 == 5) {
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"].gotoAndStop(25);
}
}
function reback() {
var _local1 = _root;
_local1.pai_flg = 2;
removeMovieClip("go1");
removeMovieClip("ready1");
removeMovieClip("bk1");
removeMovieClip("info");
removeMovieClip("XR_mq");
removeMovieClip("line");
removeMovieClip("krun1");
removeMovieClip("krun2");
removeMovieClip("krun3");
removeMovieClip("krun4");
removeMovieClip(_local1.bj_arr1bj_name);
removeMovieClip(_local1.bj_arr1bj_name);
removeMovieClip(_local1.bj_arr1pai1_name);
removeMovieClip(_local1.bj_arr1beijin_name);
removeMovieClip(_local1.bj_arr2bj_name);
removeMovieClip(_local1.bj_arr2pai1_name);
removeMovieClip(_local1.bj_arr2beijin_name);
removeMovieClip("ren01_chongxian");
removeMovieClip("ren02_chongxian");
removeMovieClip("ren03_chongxian");
removeMovieClip("ren04_chongxian");
_local1.bj_num = 0;
_local1.pai1_num = 0;
_local1.beijin_num = 0;
_local1.piste = 0;
_local1.piste2 = 0;
_local1.ceng = 100;
_local1.gunnum = 0;
_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
removeMovieClip(_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]);
removeMovieClip(_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"]);
}
function midiplay(bz) {
var _local1 = bz;
if (_local1 == 1) {
sound1.attachSound("qhhhhhhhhhhhhh");
sound1.start("", 1);
} else if (_local1 == 2) {
sound2.attachSound("psnd");
sound2.start("", 60);
} else if (_local1 == 3) {
sound3.attachSound("fp");
sound3.start("", 60);
} else if (_local1 == 4) {
sound4.attachSound("biao");
sound4.start("", 1);
}
}
function midistop(bz) {
var _local1 = bz;
if (_local1 == 1) {
sound1.stop();
} else if (_local1 == 2) {
sound2.stop();
} else if (_local1 == 3) {
sound3.stop();
} else if (_local1 == 4) {
sound4.stop();
}
}
function gg() {
var _local1 = _root;
if ((_local1.hit_flg == 0) and (_local1.ks_flg == 0)) {
_local1.timenum = _local1.timenum + 1;
_local1.info.score = Math.floor(((_local1.timenum * _local1.move_t5) / 1000) * 100) / 100;
}
}
stop();
if (_root.shoot_num == 0) {
_root.inf._visible = 0;
duplicateMovieClip ("inf", "info", 920);
_root.info._visible = 1;
_root.bk._visible = 0;
duplicateMovieClip ("bk", "bk1", 930);
_root.bk1._visible = 1;
_root.info.score = 0;
_root.XR_mqSL._visible = 0;
_root.pai_flg = 2;
_root.bj._visible = 0;
_root.pai1._visible = 0;
_root.pai2._visible = 0;
_root.beijin._visible = 0;
_root.beijina._visible = 0;
_root.bj_num = 0;
_root.pai1_num = 0;
_root.beijin_num = 0;
_root.piste = 0;
_root.piste2 = 0;
_root.ceng = 100;
_root.bj_num = _root.bj_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.bj", "bj" + _root.bj_num, _root.ceng);
_root.pai1_num = _root.pai1_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.pai1", "pai1" + _root.pai1_num, _root.ceng);
_root.beijin_num = _root.beijin_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("beijin", "beijin" + _root.beijin_num, _root.ceng);
_root.bj_arr1bj_name = "bj" + _root.bj_num;
_root.bj_arr1pai1_name = "pai1" + _root.pai1_num;
_root.bj_arr1beijin_name = "beijin" + _root.beijin_num;
_root.bj_num = _root.bj_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("bj", "bj" + _root.bj_num, _root.ceng);
_root.pai1_num = _root.pai1_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("pai2", "pai1" + _root.pai1_num, _root.ceng);
_root.beijin_num = _root.beijin_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("beijin", "beijin" + _root.beijin_num, _root.ceng);
_root["bj" + _root.bj_num]._x = _root.bj._x - 600;
_root["pai1" + _root.pai1_num]._x = _root.pai1._x - 600;
_root["beijin" + _root.beijin_num]._x = _root.beijin._x - 600;
_root.bj_arr2bj_name = "bj" + _root.bj_num;
_root.bj_arr2pai1_name = "pai1" + _root.pai1_num;
_root.bj_arr2beijin_name = "beijin" + _root.beijin_num;
_root.save_cp_x = _root.XR_mq._x;
_root.save_cp_y = _root.XR_mq._y;
_root.save_gd_x = _root.beijin._x;
_root.save_gd_y = _root.beijin._y;
_root.save_pai_x = _root.pai1._x;
_root.save_pai_y = _root.pai1._y;
sound1 = new Sound();
sound2 = new Sound();
sound3 = new Sound();
sound4 = new Sound();
_root.go._visible = 0;
duplicateMovieClip ("go", "go1", 1202);
_root.go1._visible = 0;
_root.ready._visible = 0;
duplicateMovieClip ("ready", "ready1", 1203);
_root.ready1._visible = 1;
_root.krun1SL._visible = 0;
_root.krun2SL._visible = 0;
_root.krun3SL._visible = 0;
_root.krun4SL._visible = 0;
duplicateMovieClip ("krun1SL", "krun1", 900);
duplicateMovieClip ("krun2SL", "krun2", 901);
duplicateMovieClip ("krun3SL", "krun3", 902);
duplicateMovieClip ("krun4SL", "krun4", 903);
_root.krun1._visible = 0;
_root.krun2._visible = 0;
_root.krun3._visible = 0;
_root.krun4._visible = 0;
_root.ren01_chongxianSL._visible = 0;
_root.ren02_chongxianSL._visible = 0;
_root.ren03_chongxianSL._visible = 0;
_root.ren04_chongxianSL._visible = 0;
duplicateMovieClip ("ren01_chongxianSL", "ren01_chongxian", 910);
duplicateMovieClip ("ren02_chongxianSL", "ren02_chongxian", 911);
duplicateMovieClip ("ren03_chongxianSL", "ren03_chongxian", 912);
duplicateMovieClip ("ren04_chongxianSL", "ren04_chongxian", 913);
_root.ren01_chongxian._visible = 0;
_root.ren02_chongxian._visible = 0;
_root.ren03_chongxian._visible = 0;
_root.ren04_chongxian._visible = 0;
_root.lineSL._visible = 0;
duplicateMovieClip ("lineSL", "line", 870);
_root.line._visible = 0;
_root.key_bj = 1;
_root.max_wy = 50;
_root.key_flg = 1;
_root.key_flg = 0;
_root.key_flg2 = 0;
_root.ks_flg = 1;
_root.hit_flg = 0;
if (_root.match_flg == 1) {
_root.info.qiang_Text._visible = 1;
_root.info.qiangg._visible = 1;
} else {
_root.info.qiang_Text._visible = 0;
_root.info.qiangg._visible = 0;
}
_root.info.qiang_Text.text = 0;
if (_root.ren_dunxiang eq "01") {
tl = 85;
bfl = 75;
ll = 82;
tt = 82;
} else if (_root.ren_dunxiang eq "02") {
tl = 80;
bfl = 80;
ll = 100;
tt = 90;
} else if (_root.ren_dunxiang eq "03") {
tl = 75;
bfl = 100;
ll = 70;
tt = 70;
} else if (_root.ren_dunxiang eq "04") {
tl = 80;
bfl = 90;
ll = 70;
tt = 85;
}
_root.ss = _root.info.bb._xscale;
_root.zhuanhuan = 3;
max_wy = 50;
last_time = getTimer();
secord_time = getTimer();
time4 = setInterval(jstl, _root.move_t4);
wz_qishi_x = 515.7;
wz_qishi_y = 304.9;
if (_root.ren_dunxiang eq "01") {
wz_qishi_y = wz_qishi_y + 30;
} else if (_root.ren_dunxiang eq "02") {
wz_qishi_x = wz_qishi_x - 50;
} else if (_root.ren_dunxiang eq "03") {
wz_qishi_x = wz_qishi_x + 10;
} else if (_root.ren_dunxiang eq "04") {
wz_qishi_x = wz_qishi_x - 10;
}
if (_root.ren_dunxiang eq "04") {
wz_qishi_y = wz_qishi_y + 120;
}
if (_root.ren_dunxiang eq "03") {
wz_qishi_y = wz_qishi_y + 110;
}
if (_root.ren_dunxiang eq "02") {
wz_qishi_y = wz_qishi_y + 120;
}
if (_root.ren_dunxiang eq "01") {
wz_qishi_y = wz_qishi_y + 80;
}
duplicateMovieClip ("XR_mqSL", "XR_mq", 1000);
_root.XR_mq._visible = 1;
_root.XR_mq.gotoAndPlay(1);
duplicateMovieClip (_root[("ren" + _root.ren_dunxiang) + "_zunbeiSL"], (("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ", 1002);
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._x = _root.wz_qishi_x;
if (_root.ren_dunxiang eq "03") {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._y = _root.wz_qishi_y;
} else {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._y = _root.wz_qishi_y;
}
if (_root.ren_dunxiang eq "02") {
wz_qishi_x = wz_qishi_x;
wz_qishi_y = wz_qishi_y;
}
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 1;
duplicateMovieClip (_root[("ren" + _root.ren_dunxiang) + "_ciqiangpaoSL"], (("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ", 1003);
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._x = _root.wz_qishi_x;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._y = _root.wz_qishi_y;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 0;
}
Instance of Symbol 331 MovieClip "lineSL" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]) and (_root.hit_flg == 0)) {
_root.t_flg = 0;
_root.ds_flg = 1;
_root.chong_flg = 1;
_root.hit_flg = 1;
clearInterval(time1);
clearInterval(time2);
_root.num_3 = 0;
_root.draw_flg = 0;
clearInterval(time15);
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.ren01_chongxian._x = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._x;
_root.ren01_chongxian._y = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._y;
_root.ren01_chongxian._visible = 1;
_root.ren01_chongxian.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.ren02_chongxian._x = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._x;
_root.ren02_chongxian._y = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._y;
_root.ren02_chongxian._visible = 1;
_root.ren02_chongxian.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.ren03_chongxian._x = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._x;
_root.ren03_chongxian._y = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._y;
_root.ren03_chongxian._visible = 1;
_root.ren03_chongxian.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.ren04_chongxian._x = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._x;
_root.ren04_chongxian._y = _root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._y;
_root.ren04_chongxian._visible = 1;
_root.ren04_chongxian.gotoAndPlay(1);
}
}
}
Instance of Symbol 337 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.t_flg == 1) {
_root.time_num = _root.time_num + 1;
_root.info.score = Math.floor(((_root.time_num * 60) / 1000) * 100) / 100;
}
}
Instance of Symbol 438 MovieClip "ren03_ciqiangpaoSL" in Frame 6
onClipEvent (enterFrame) {
if (((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible == 1)) and (_name ne "ren03_ciqiangpaoSL")) and (_root.chong_flg == 0)) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 514 MovieClip "ren02_ciqiangpaoSL" in Frame 6
onClipEvent (enterFrame) {
if (((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible == 1)) and (_name ne "ren02_ciqiangpaoSL")) and (_root.chong_flg == 0)) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 518 MovieClip "ren02_zunbeiSL" in Frame 6
onClipEvent (enterFrame) {
if ((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible == 1)) and (_name ne "ren02_zunbeiSL")) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root.XR_mq._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 594 MovieClip "ren04_ciqiangpaoSL" in Frame 6
onClipEvent (enterFrame) {
if (((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible == 1)) and (_name ne "ren04_ciqiangpaoSL")) and (_root.chong_flg == 0)) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 598 MovieClip "ren04_zunbeiSL" in Frame 6
onClipEvent (enterFrame) {
if ((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible == 1)) and (_name ne "ren04_zunbeiSL")) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root.XR_mq._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 674 MovieClip "ren01_ciqiangpaoSL" in Frame 6
onClipEvent (enterFrame) {
if (((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible == 1)) and (_name ne "ren01_ciqiangpaoSL")) and (_root.chong_flg == 0)) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 678 MovieClip "ren01_zunbeiSL" in Frame 6
onClipEvent (enterFrame) {
if ((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible == 1)) and (_name ne "ren01_zunbeiSL")) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root.XR_mq._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 682 MovieClip "ren03_zunbeiSL" in Frame 6
onClipEvent (enterFrame) {
if ((((_root.ks_flg == 1) and (_root.key_flg2 == 0)) and (_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible == 1)) and (_name ne "ren03_zunbeiSL")) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
_root.XR_mq._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
} else if (Key.isDown(39)) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root.ks_flg = 2;
_root.XR_mq._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.krun1._visible = 1;
_root.krun1.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "02") {
_root.krun2._visible = 1;
_root.krun2.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "03") {
_root.krun3._visible = 1;
_root.krun3.gotoAndPlay(1);
} else if (_root.ren_dunxiang eq "04") {
_root.krun4._visible = 1;
_root.krun4.gotoAndPlay(1);
}
}
} else if (_root.key_flg2 == 1) {
K_Code = Key.getCode();
if (Key.isDown(37)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 0)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 0) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 1;
_root.pdmove();
}
}
} else if (Key.isDown(39)) {
if (((((_root.key_bj == 1) and (_root.tl >= 0)) and (_root.draw_flg == 0)) and (_root.hit_flg == 0)) and (_root.touche == 1)) {
clearInterval(_root.time1);
clearInterval(_root.time2);
if (_root.touche == 1) {
if (_root.paodong_KS == 0) {
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 1;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 708 MovieClip "XR_mqSL" in Frame 6
onClipEvent (enterFrame) {
if ((_root.ks_flg == 1) and (_root.XR_mq._visible == 1)) {
gl = Math.floor(Math.random() * 20);
if ((gl == 0) and (_root.ks_flg == 1)) {
_root.ks_flg = 3;
}
}
}
Instance of Symbol 747 MovieClip "ren01_chongxianSL" in Frame 6
onClipEvent (enterFrame) {
if ((_visible == 1) and (_root.chong_flg == 1)) {
_root.line._x = _root.line._x + _root.last_wy;
_root.last_wy = _root.cx_jl;
_root.piste = _root.piste + _root.last_wy;
_root.piste2 = _root.piste2 + _root.last_wy;
if (_root.piste2 >= 600) {
_root.piste2 = _root.piste2 - 600;
removeMovieClip(_root[_root.bj_arr1bj_name]);
removeMovieClip(_root[_root.bj_arr1pai1_name]);
removeMovieClip(_root[_root.bj_arr1beijin_name]);
_root.bj_arr1bj_name = _root.bj_arr2bj_name;
_root.bj_arr1pai1_name = _root.bj_arr2pai1_name;
_root.bj_arr1beijin_name = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr2bj_name]._x;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr2pai1_name]._x;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr2beijin_name]._x;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr1bj_name]._visible = 1;
_root[_root.bj_arr1pai1_name]._visible = 1;
_root[_root.bj_arr1beijin_name]._visible = 1;
_root.bj_num = _root.bj_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.bj", "bj" + _root.bj_num, _root.ceng);
_root.pai1_num = _root.pai1_num + 1;
_root.ceng = _root.ceng + 1;
if (_root.pai_flg == 1) {
duplicateMovieClip ("_root.pai2", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 2;
} else if (_root.pai_flg == 2) {
duplicateMovieClip ("_root.pai1", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 1;
}
_root.beijin_num = _root.beijin_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.beijin", "beijin" + _root.beijin_num, _root.ceng);
_root["bj" + _root.bj_num]._x = 600;
_root["bj" + _root.bj_num]._x = _root[_root.bj_arr1bj_name]._x - 600;
_root["pai1" + _root.pai1_num]._x = _root[_root.bj_arr1pai1_name]._x - 600;
_root["beijin" + _root.beijin_num]._x = _root[_root.bj_arr1beijin_name]._x - 600;
_root[_root["bj" + _root.bj_num]]._visible = 1;
_root[_root["pai1" + _root.pai1_num]]._visible = 1;
_root[_root["beijin" + _root.beijin_num]]._visible = 1;
_root.bj_arr2bj_name = "bj" + _root.bj_num;
_root.bj_arr2pai1_name = "pai1" + _root.pai1_num;
_root.bj_arr2beijin_name = "beijin" + _root.beijin_num;
_root[_root.bj_arr2bj_name]._visible = 1;
_root[_root.bj_arr2pai1_name]._visible = 1;
_root[_root.bj_arr2beijin_name]._visible = 1;
} else {
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr2bj_name]._x = _root[_root.bj_arr2bj_name]._x + _root.last_wy;
_root[_root.bj_arr2pai1_name]._x = _root[_root.bj_arr2pai1_name]._x + _root.last_wy;
_root[_root.bj_arr2beijin_name]._x = _root[_root.bj_arr2beijin_name]._x + _root.last_wy;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root.XR_mq._x = _root.XR_mq._x + _root.last_wy;
}
}
}
Instance of Symbol 786 MovieClip "ren02_chongxianSL" in Frame 6
onClipEvent (enterFrame) {
if ((_visible == 1) and (_root.chong_flg == 1)) {
_root.line._x = _root.line._x + _root.last_wy;
_root.last_wy = _root.cx_jl;
_root.piste = _root.piste + _root.last_wy;
_root.piste2 = _root.piste2 + _root.last_wy;
if (_root.piste2 >= 600) {
_root.piste2 = _root.piste2 - 600;
removeMovieClip(_root[_root.bj_arr1bj_name]);
removeMovieClip(_root[_root.bj_arr1pai1_name]);
removeMovieClip(_root[_root.bj_arr1beijin_name]);
_root.bj_arr1bj_name = _root.bj_arr2bj_name;
_root.bj_arr1pai1_name = _root.bj_arr2pai1_name;
_root.bj_arr1beijin_name = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr2bj_name]._x;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr2pai1_name]._x;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr2beijin_name]._x;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr1bj_name]._visible = 1;
_root[_root.bj_arr1pai1_name]._visible = 1;
_root[_root.bj_arr1beijin_name]._visible = 1;
_root.bj_num = _root.bj_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.bj", "bj" + _root.bj_num, _root.ceng);
_root.pai1_num = _root.pai1_num + 1;
_root.ceng = _root.ceng + 1;
if (_root.pai_flg == 1) {
duplicateMovieClip ("_root.pai2", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 2;
} else if (_root.pai_flg == 2) {
duplicateMovieClip ("_root.pai1", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 1;
}
_root.beijin_num = _root.beijin_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.beijin", "beijin" + _root.beijin_num, _root.ceng);
_root["bj" + _root.bj_num]._x = 600;
_root["bj" + _root.bj_num]._x = _root[_root.bj_arr1bj_name]._x - 600;
_root["pai1" + _root.pai1_num]._x = _root[_root.bj_arr1pai1_name]._x - 600;
_root["beijin" + _root.beijin_num]._x = _root[_root.bj_arr1beijin_name]._x - 600;
_root[_root["bj" + _root.bj_num]]._visible = 1;
_root[_root["pai1" + _root.pai1_num]]._visible = 1;
_root[_root["beijin" + _root.beijin_num]]._visible = 1;
_root.bj_arr2bj_name = "bj" + _root.bj_num;
_root.bj_arr2pai1_name = "pai1" + _root.pai1_num;
_root.bj_arr2beijin_name = "beijin" + _root.beijin_num;
_root[_root.bj_arr2bj_name]._visible = 1;
_root[_root.bj_arr2pai1_name]._visible = 1;
_root[_root.bj_arr2beijin_name]._visible = 1;
} else {
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr2bj_name]._x = _root[_root.bj_arr2bj_name]._x + _root.last_wy;
_root[_root.bj_arr2pai1_name]._x = _root[_root.bj_arr2pai1_name]._x + _root.last_wy;
_root[_root.bj_arr2beijin_name]._x = _root[_root.bj_arr2beijin_name]._x + _root.last_wy;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root.XR_mq._x = _root.XR_mq._x + _root.last_wy;
}
}
}
Instance of Symbol 825 MovieClip "ren03_chongxianSL" in Frame 6
onClipEvent (enterFrame) {
if ((_visible == 1) and (_root.chong_flg == 1)) {
_root.line._x = _root.line._x + _root.last_wy;
_root.last_wy = _root.cx_jl;
_root.piste = _root.piste + _root.last_wy;
_root.piste2 = _root.piste2 + _root.last_wy;
if (_root.piste2 >= 600) {
_root.piste2 = _root.piste2 - 600;
removeMovieClip(_root[_root.bj_arr1bj_name]);
removeMovieClip(_root[_root.bj_arr1pai1_name]);
removeMovieClip(_root[_root.bj_arr1beijin_name]);
_root.bj_arr1bj_name = _root.bj_arr2bj_name;
_root.bj_arr1pai1_name = _root.bj_arr2pai1_name;
_root.bj_arr1beijin_name = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr2bj_name]._x;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr2pai1_name]._x;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr2beijin_name]._x;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr1bj_name]._visible = 1;
_root[_root.bj_arr1pai1_name]._visible = 1;
_root[_root.bj_arr1beijin_name]._visible = 1;
_root.bj_num = _root.bj_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.bj", "bj" + _root.bj_num, _root.ceng);
_root.pai1_num = _root.pai1_num + 1;
_root.ceng = _root.ceng + 1;
if (_root.pai_flg == 1) {
duplicateMovieClip ("_root.pai2", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 2;
} else if (_root.pai_flg == 2) {
duplicateMovieClip ("_root.pai1", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 1;
}
_root.beijin_num = _root.beijin_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.beijin", "beijin" + _root.beijin_num, _root.ceng);
_root["bj" + _root.bj_num]._x = 600;
_root["bj" + _root.bj_num]._x = _root[_root.bj_arr1bj_name]._x - 600;
_root["pai1" + _root.pai1_num]._x = _root[_root.bj_arr1pai1_name]._x - 600;
_root["beijin" + _root.beijin_num]._x = _root[_root.bj_arr1beijin_name]._x - 600;
_root[_root["bj" + _root.bj_num]]._visible = 1;
_root[_root["pai1" + _root.pai1_num]]._visible = 1;
_root[_root["beijin" + _root.beijin_num]]._visible = 1;
_root.bj_arr2bj_name = "bj" + _root.bj_num;
_root.bj_arr2pai1_name = "pai1" + _root.pai1_num;
_root.bj_arr2beijin_name = "beijin" + _root.beijin_num;
_root[_root.bj_arr2bj_name]._visible = 1;
_root[_root.bj_arr2pai1_name]._visible = 1;
_root[_root.bj_arr2beijin_name]._visible = 1;
} else {
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr2bj_name]._x = _root[_root.bj_arr2bj_name]._x + _root.last_wy;
_root[_root.bj_arr2pai1_name]._x = _root[_root.bj_arr2pai1_name]._x + _root.last_wy;
_root[_root.bj_arr2beijin_name]._x = _root[_root.bj_arr2beijin_name]._x + _root.last_wy;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root.XR_mq._x = _root.XR_mq._x + _root.last_wy;
}
}
}
Instance of Symbol 863 MovieClip "ren04_chongxianSL" in Frame 6
onClipEvent (enterFrame) {
if ((_visible == 1) and (_root.chong_flg == 1)) {
_root.line._x = _root.line._x + _root.last_wy;
_root.last_wy = _root.cx_jl;
_root.piste = _root.piste + _root.last_wy;
_root.piste2 = _root.piste2 + _root.last_wy;
if (_root.piste2 >= 600) {
_root.piste2 = _root.piste2 - 600;
removeMovieClip(_root[_root.bj_arr1bj_name]);
removeMovieClip(_root[_root.bj_arr1pai1_name]);
removeMovieClip(_root[_root.bj_arr1beijin_name]);
_root.bj_arr1bj_name = _root.bj_arr2bj_name;
_root.bj_arr1pai1_name = _root.bj_arr2pai1_name;
_root.bj_arr1beijin_name = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr2bj_name]._x;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr2pai1_name]._x;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr2beijin_name]._x;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr1bj_name]._visible = 1;
_root[_root.bj_arr1pai1_name]._visible = 1;
_root[_root.bj_arr1beijin_name]._visible = 1;
_root.bj_num = _root.bj_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.bj", "bj" + _root.bj_num, _root.ceng);
_root.pai1_num = _root.pai1_num + 1;
_root.ceng = _root.ceng + 1;
if (_root.pai_flg == 1) {
duplicateMovieClip ("_root.pai2", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 2;
} else if (_root.pai_flg == 2) {
duplicateMovieClip ("_root.pai1", "pai1" + _root.pai1_num, _root.ceng);
_root.pai_flg = 1;
}
_root.beijin_num = _root.beijin_num + 1;
_root.ceng = _root.ceng + 1;
duplicateMovieClip ("_root.beijin", "beijin" + _root.beijin_num, _root.ceng);
_root["bj" + _root.bj_num]._x = 600;
_root["bj" + _root.bj_num]._x = _root[_root.bj_arr1bj_name]._x - 600;
_root["pai1" + _root.pai1_num]._x = _root[_root.bj_arr1pai1_name]._x - 600;
_root["beijin" + _root.beijin_num]._x = _root[_root.bj_arr1beijin_name]._x - 600;
_root[_root["bj" + _root.bj_num]]._visible = 1;
_root[_root["pai1" + _root.pai1_num]]._visible = 1;
_root[_root["beijin" + _root.beijin_num]]._visible = 1;
_root.bj_arr2bj_name = "bj" + _root.bj_num;
_root.bj_arr2pai1_name = "pai1" + _root.pai1_num;
_root.bj_arr2beijin_name = "beijin" + _root.beijin_num;
_root[_root.bj_arr2bj_name]._visible = 1;
_root[_root.bj_arr2pai1_name]._visible = 1;
_root[_root.bj_arr2beijin_name]._visible = 1;
} else {
_root[_root.bj_arr1bj_name]._x = _root[_root.bj_arr1bj_name]._x + _root.last_wy;
_root[_root.bj_arr1pai1_name]._x = _root[_root.bj_arr1pai1_name]._x + _root.last_wy;
_root[_root.bj_arr1beijin_name]._x = _root[_root.bj_arr1beijin_name]._x + _root.last_wy;
_root[_root.bj_arr2bj_name]._x = _root[_root.bj_arr2bj_name]._x + _root.last_wy;
_root[_root.bj_arr2pai1_name]._x = _root[_root.bj_arr2pai1_name]._x + _root.last_wy;
_root[_root.bj_arr2beijin_name]._x = _root[_root.bj_arr2beijin_name]._x + _root.last_wy;
bjc1 = _root.bj_arr1bj_name;
bjc2 = _root.bj_arr1pai1_name;
bjc3 = _root.bj_arr1beijin_name;
bbj1 = _root.bj_arr2bj_name;
bbj2 = _root.bj_arr2pai1_name;
bbj3 = _root.bj_arr2beijin_name;
_root.XR_mq._x = _root.XR_mq._x + _root.last_wy;
}
}
}
Frame 7
stop();
_root.reback();
_root.shoot_num = 0;
_root.midiplay(2);
_root.prec_1._visible = 0;
_root.prec_2._visible = 0;
_root.prec_3._visible = 0;
_root.hua_1._visible = 0;
_root.hua_2._visible = 0;
_root.wrecord = 9.78;
_root.wrec._visible = 1;
_root.nrec._visible = 0;
_root.nr._visible = 0;
_root.nr.text = 0;
_root.mi._visible = 0;
_root.gou_1._visible = 0;
_root.gou_2._visible = 0;
_root.gou_3._visible = 0;
_root.gou_4._visible = 0;
_root.gou_5._visible = 0;
_root.gou_6._visible = 0;
_root.quedinW.username.text = _root.game_so.data.playerName;
_root.quedinW.useremail.text = _root.game_so.data.useremail;
_root.lost_1._visible = 0;
_root.lost_2._visible = 0;
_root.lost_3._visible = 0;
_root.lost_4._visible = 0;
_root.lost_5._visible = 0;
_root.lost_6._visible = 0;
if (_root.shoot1success_flg == 1) {
_root.cj.d1.text = _root.shoot1long;
if ((Number(_root.cj.d1.text) > 0) and (Number(_root.cj.d1.text) == Number(_root.best_time))) {
_root.gou_1._visible = 1;
if (Number(_root.cj.d1.text) < Number(_root.wrecord)) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.best_time;
_root.mi._visible = 1;
_root.prec_1._visible = 1;
_root.prec_2._visible = 1;
_root.prec_3._visible = 1;
_root.hua_1._visible = 1;
_root.hua_2._visible = 1;
_root.midiplay(3);
}
}
} else {
_root.lost_1._visible = 1;
}
if (_root.shoot2success_flg == 1) {
_root.cj.d2.text = _root.shoot2long;
if ((_Number(_root.cj.d2.text) > 0) and (Number(_root.cj.d2.text) == Number(_root.best_time))) {
_root.gou_2._visible = 1;
if (Number(_root.cj.d2.text) < Number(_root.wrecord)) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.best_time;
_root.mi._visible = 1;
_root.prec_1._visible = 1;
_root.prec_2._visible = 1;
_root.prec_3._visible = 1;
_root.hua_1._visible = 1;
_root.hua_2._visible = 1;
_root.midiplay(3);
}
}
} else {
_root.lost_2._visible = 1;
}
if (_root.shoot3success_flg == 1) {
_root.cj.d3.text = _root.shoot3long;
if ((Number(_root.cj.d3.text) > 0) and (Number(_root.cj.d3.text) == Number(_root.best_time))) {
_root.gou_3._visible = 1;
if (Number(_root.cj.d3.text) < Number(_root.wrecord)) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.best_time;
_root.mi._visible = 1;
_root.prec_1._visible = 1;
_root.prec_2._visible = 1;
_root.prec_3._visible = 1;
_root.hua_1._visible = 1;
_root.hua_2._visible = 1;
_root.midiplay(3);
}
}
} else {
_root.lost_3._visible = 1;
}
if (_root.shoot4success_flg == 1) {
_root.cj.d4.text = _root.shoot4long;
if ((Number(_root.cj.d4.text) > 0) and (Number(_root.cj.d4.text) == Number(_root.best_time))) {
_root.gou_4._visible = 1;
if (Number(_root.cj.d4.text) < Number(_root.wrecord)) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.best_time;
_root.mi._visible = 1;
_root.prec_1._visible = 1;
_root.prec_2._visible = 1;
_root.prec_3._visible = 1;
_root.hua_1._visible = 1;
_root.hua_2._visible = 1;
_root.midiplay(3);
}
}
} else {
_root.lost_4._visible = 1;
}
if (_root.shoot5success_flg == 1) {
_root.cj.d5.text = _root.shoot5long;
if ((Number(_root.cj.d5.text) > 0) and (Number(_root.cj.d5.text) == Number(_root.best_time))) {
_root.gou_5._visible = 1;
if (Number(_root.cj.d5.text) < Number(_root.wrecord)) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.best_time;
_root.mi._visible = 1;
_root.prec_1._visible = 1;
_root.prec_2._visible = 1;
_root.prec_3._visible = 1;
_root.hua_1._visible = 1;
_root.hua_2._visible = 1;
_root.midiplay(3);
}
}
} else {
_root.lost_5._visible = 1;
}
if (_root.shoot6success_flg == 1) {
_root.cj.d6.text = _root.shoot6long;
if ((Number(_root.cj.d6.text) > 0) and (Number(_root.cj.d6.text) == Number(_root.best_time))) {
_root.gou_6._visible = 1;
if (Number(_root.cj.d6.text) < Number(_root.wrecord)) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.best_time;
_root.mi._visible = 1;
_root.prec_1._visible = 1;
_root.prec_2._visible = 1;
_root.prec_3._visible = 1;
_root.hua_1._visible = 1;
_root.hua_2._visible = 1;
_root.midiplay(3);
}
}
} else {
_root.lost_6._visible = 1;
}
Frame 8
function showScores() {
var _local2;
var _local3;
var s;
var _local1;
_local2 = 10;
while (_local2 > 0) {
_local3 = scoreboard_lv["name" + (page + _local2)];
s = scoreboard_lv["score" + (page + _local2)];
_local1 = _root[("line" + _local2) + "_mc"];
_local1.rank_txt.text = (page + _local2) + ".";
_local1.name_txt.text = (_local3.length ? (_local3.toUpperCase()) : "-");
_local1.score_txt.text = (s.length ? (s.addCommas()) : "-");
_local1.rank_txt.textColor = (_local1.name_txt.textColor = (_local1.score_txt.textColor = ((game_so.data.playerName.length && (_local3.toUpperCase() == game_so.data.playerName.toUpperCase())) ? 3407616 : 16777215)));
_local1._visible = true;
loading_mc._visible = false;
_local2--;
}
}
stop();
_root.hscore1.text = 0;
_root.hscore2.text = 0;
_root.hscore3.text = 0;
_root.hscore4.text = 0;
score = _root.best_time;
showScores2 = function () {
var _local2 = 10;
while (_local2 > 0) {
var _local3 = scoreboard_lv["name" + (page + _local2)];
var s = scoreboard_lv["score" + (page + _local2)];
var _local1 = this[("line" + _local2) + "_mc"];
_local1.rank_txt.text = (page + _local2) + ".";
_local1.name_txt.text = (_local3.length ? (_local3.toUpperCase()) : "-");
_local1.score_txt.text = (s.length ? (s.addCommas()) : "-");
_local1.rank_txt.textColor = (_local1.name_txt.textColor = (_local1.score_txt.textColor = ((game_so.data.playerName.length && (_local3.toUpperCase() == game_so.data.playerName.toUpperCase())) ? 3407616 : 16777215)));
_local1._visible = true;
loading_mc._visible = false;
_local2--;
}
};
page = 0;
maxScore = 50;
scoreboard_lv3 = new LoadVars();
scoreboard_lv3.score = score;
if (_root.ren_dunxiang eq "01") {
scoreboard_lv3.player = 1;
} else if (_root.ren_dunxiang eq "02") {
scoreboard_lv3.player = 2;
} else if (_root.ren_dunxiang eq "03") {
scoreboard_lv3.player = 3;
} else if (_root.ren_dunxiang eq "04") {
scoreboard_lv3.player = 4;
}
scoreboard_lv3.game = "100m";
scoreboard_lv3.sendAndLoad("bestscore1.php", scoreboard_lv3, "POST");
scoreboard_lv3.onLoad = function (success) {
var _local1 = _root;
if (success) {
if (Boolean(scoreboard_lv3.success)) {
_local1.hscore1.text = scoreboard_lv3.score1;
_local1.hscore2.text = scoreboard_lv3.score2;
_local1.hscore3.text = scoreboard_lv3.score3;
_local1.hscore4.text = scoreboard_lv3.score4;
} else {
loading_mc.errorMsg = scoreboard_lv3.errorMsg.toUpperCase();
loading_mc.gotoAndStop(2);
}
} else {
loading_mc.errorMsg = "SCORES ONLY ON T45OL.COM";
loading_mc.gotoAndStop(2);
}
};
scoreboard_lv = new LoadVars();
if ((score > 0) && (game_so.data.playerName.length > 0)) {
scoreboard_lv.score = score;
scoreboard_lv.name = _root.game_so.data.playerName.toLowerCase();
scoreboard_lv.useremail = _root.game_so.data.useremail.toLowerCase();
}
scoreboard_lv.game = "100m";
scoreboard_lv.sendAndLoad("game_score1.php", scoreboard_lv, "POST");
scoreboard_lv.onLoad = function (success) {
if (success) {
if (Boolean(scoreboard_lv.success)) {
if (scoreboard_lv.maxScore.length > 0) {
maxScore = Number(scoreboard_lv.maxScore);
}
showScores();
} else {
loading_mc.errorMsg = scoreboard_lv.errorMsg.toUpperCase();
loading_mc.gotoAndStop(2);
}
} else {
loading_mc.errorMsg = "SCORES ONLY ON T45OL.COM";
loading_mc.gotoAndStop(2);
}
};
score = 0;
last_btn._visible = false;
next_btn._visible = true;
last_btn.onPress = function () {
page = page - 10;
if (page < 0) {
page = 0;
}
if (page < 10) {
last_btn._visible = false;
}
next_btn._visible = true;
showScores();
};
top_btn.onPress = function () {
page = 1;
next_btn._visible = true;
showScores();
};
next_btn.onPress = function () {
page = page + 10;
if (page > maxScore) {
page = maxScore;
}
if (page > (maxScore - 20)) {
next_btn._visible = false;
}
last_btn._visible = true;
showScores();
};
newGame_btn.onRelease = function () {
gotoAndStop (2);
};
ufo_mc.dir = 1;
ufo_mc.onEnterFrame = function () {
var _local1 = this;
if (!_local1._visible) {
_local1.dir = (int(rnd() * 2) * 2) - 1;
_local1._x = 250 - (_local1.dir * 300);
_local1._visible = true;
}
_local1._x = _local1._x + (_local1.dir * 3);
if ((_local1._x > 550) || (_local1._x < -50)) {
_local1._visible = false;
}
};
Symbol 52 Button
on (release) {
getURL ("http://www.frontnetwork.com");
}
Symbol 82 MovieClip Frame 23
stop();
Symbol 109 MovieClip Frame 38
stop();
Symbol 120 Button
on (press) {
_root.match_flg = 1;
_root.gotoAndStop("xuanren");
}
Symbol 125 Button
on (press) {
_root.match_flg = 0;
_root.gotoAndStop("xuanren");
}
Symbol 130 Button
on (press) {
_root.jinc.gotoAndStop("help");
}
Symbol 140 Button
on (press) {
_root.gotoAndStop("sel");
_root.jinc.gotoAndStop("end");
}
Symbol 209 MovieClip Frame 161
stop();
Symbol 209 MovieClip Frame 162
stop();
Symbol 213 Button
on (keyPress "<Enter>") {
_root.jinc.gotoAndStop("end");
}
Symbol 232 MovieClip Frame 29
stop();
Symbol 244 Button
on (press, keyPress "1") {
_root.ren_dunxiang = "01";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 249 Button
on (press, keyPress "2") {
_root.ren_dunxiang = "02";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 263 MovieClip Frame 22
stop();
Symbol 267 Button
on (press, keyPress "3") {
_root.ren_dunxiang = "03";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 286 MovieClip Frame 21
stop();
Symbol 290 Button
on (press, keyPress "4") {
_root.ren_dunxiang = "04";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 9
stop();
_root.go1.gotoAndStop(1);
_root.go1._visible = 0;
Symbol 346 Button
on (release) {
getURL ("http://www.frontnetwork.com", "_blank");
}
Symbol 361 MovieClip Frame 1
qiang_Text._accProps = new Object();
qiang_Text._accProps.silent = true;
Symbol 363 Button
on (press) {
_root.midistop(1);
_root.initRest();
_root.reback();
_root.gotoAndStop("sel");
_root.jinc.gotoAndStop("end");
}
Symbol 438 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 438 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 438 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 438 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 438 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 438 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 438 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 438 MovieClip Frame 24
this.gotoAndPlay(19);
Symbol 438 MovieClip Frame 25
stop();
Symbol 514 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 514 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 514 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 514 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 514 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 514 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 514 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 514 MovieClip Frame 24
this.gotoAndPlay(19);
Symbol 514 MovieClip Frame 25
stop();
Symbol 594 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 594 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 594 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 594 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 594 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 594 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 594 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 594 MovieClip Frame 24
this.gotoAndPlay(19);
Symbol 594 MovieClip Frame 25
stop();
Symbol 674 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 674 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 674 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 674 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 674 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 674 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 674 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 674 MovieClip Frame 24
this.gotoAndPlay(19);
Symbol 674 MovieClip Frame 25
stop();
Symbol 708 MovieClip Frame 24
if ((_root.ks_flg == 1) or (_root.ks_flg == 2)) {
this.gotoAndPlay(1);
} else if (_root.ks_flg == 3) {
_root.midiplay(3);
_root.ks_flg = 0;
_root.key_bj = 1;
_root.key_flg = 1;
_root.key_flg2 = 1;
this.gotoAndPlay(25);
}
Symbol 708 MovieClip Frame 25
_root.t_flg = 1;
_root.time_num = 0;
_root.ready1._visible = 0;
_root.go1._visible = 1;
_root.go1.gotoAndPlay(1);
Symbol 708 MovieClip Frame 42
_root.midistop(3);
this.gotoAndStop(1);
Symbol 747 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 25
_root.ren01_chongxian._visible = 0;
_root.ren01_chongxian.gotoAndPlay(1);
if (_root.match_flg == 1) {
if (_root.best_time > Number(_root.info.score)) {
_root.best_time = Number(_root.info.score);
}
_root.shoot_num = _root.shoot_num + 1;
_root.info.gunnum = _root.shoot_num;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 1;
_root[("shoot" + _root.shoot_num) + "long"] = Number(_root.info.score);
}
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 786 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 25
_root.ren02_chongxian._visible = 0;
_root.ren02_chongxian.gotoAndPlay(1);
if (_root.match_flg == 1) {
if (_root.best_time > Number(_root.info.score)) {
_root.best_time = Number(_root.info.score);
}
_root.shoot_num = _root.shoot_num + 1;
_root.info.gunnum = _root.shoot_num;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 1;
_root[("shoot" + _root.shoot_num) + "long"] = Number(_root.info.score);
}
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 825 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 25
_root.ren03_chongxian._visible = 0;
_root.ren03_chongxian.gotoAndPlay(1);
if (_root.match_flg == 1) {
if (_root.best_time > Number(_root.info.score)) {
_root.best_time = Number(_root.info.score);
}
_root.shoot_num = _root.shoot_num + 1;
_root.info.gunnum = _root.shoot_num;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 1;
_root[("shoot" + _root.shoot_num) + "long"] = Number(_root.info.score);
}
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 863 MovieClip Frame 1
stop();
Symbol 863 MovieClip Frame 25
_root.ren04_chongxian._visible = 0;
_root.ren04_chongxian.gotoAndPlay(1);
if (_root.match_flg == 1) {
if (Number(_root.info.score) < _root.best_time) {
_root.best_time = Number(_root.info.score);
}
_root.shoot_num = _root.shoot_num + 1;
_root.info.gunnum = _root.shoot_num;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 1;
_root[("shoot" + _root.shoot_num) + "long"] = Number(_root.info.score);
}
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 868 MovieClip Frame 3
stop();
Symbol 882 MovieClip Frame 1
stop();
Symbol 882 MovieClip Frame 48
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
_root.info.gunnum = _root.shoot_num;
}
if (_root.shoot_num < _root.cs_num) {
_root.ks_flg = 1;
_root.XR_mq._visible = 1;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 1;
_root.krun1._visible = 0;
_root.ks_flg = 1;
_root[_name].gotoAndStop(1);
_root.ks_flg = 1;
} else {
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
}
Symbol 896 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 48
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
_root.info.gunnum = _root.shoot_num;
}
if (_root.shoot_num < _root.cs_num) {
_root.ks_flg = 1;
_root.XR_mq._visible = 1;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 1;
_root.krun2._visible = 0;
_root.ks_flg = 1;
_root[_name].gotoAndStop(1);
_root.ks_flg = 1;
} else {
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
}
Symbol 910 MovieClip Frame 1
stop();
Symbol 910 MovieClip Frame 48
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
_root.info.gunnum = _root.shoot_num;
}
if (_root.shoot_num < _root.cs_num) {
_root.ks_flg = 1;
_root.XR_mq._visible = 1;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 1;
_root.krun3._visible = 0;
_root.ks_flg = 1;
_root[_name].gotoAndStop(1);
_root.ks_flg = 1;
} else {
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
}
Symbol 924 MovieClip Frame 1
stop();
Symbol 924 MovieClip Frame 48
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
_root.info.gunnum = _root.shoot_num;
}
if (_root.shoot_num < _root.cs_num) {
_root.ks_flg = 1;
_root.XR_mq._visible = 1;
_root[(("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 1;
_root.krun4._visible = 0;
_root.ks_flg = 1;
_root[_name].gotoAndStop(1);
_root.ks_flg = 1;
} else {
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < _root.cs_num) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
}
Symbol 938 Button
on (press) {
if ((_root.quedinW.username.text.length != 0) and (_root.quedinW.useremail.text.length != 0)) {
_root.game_so.data.playerName = _root.quedinW.username.text;
_root.game_so.data.useremail = _root.quedinW.useremail.text;
_root.midistop(2);
_root.midistop(3);
_root.gotoAndStop("ph");
}
}
Symbol 950 Button
on (press) {
_root.reback();
_root.best_time = 1000;
_root.midistop(2);
_root.midistop(3);
_root.gotoAndStop("sel");
_root.jinc.gotoAndStop("end");
}
Symbol 1026 Button
on (press) {
_root.reback();
_root.best_time = 1000;
_root.gotoAndStop("sel");
_root.jinc.gotoAndStop("end");
}
Symbol 1049 MovieClip Frame 1
stop();
errorMsg = "";
i = 0;
alien_mc.onEnterFrame = function () {
i = i + 0.25;
i = i % 2;
this.gotoAndStop(i + 1);
};