Frame 1
System.useCodepage = true;
Instance of Symbol 30 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;
}
Instance of Symbol 108 MovieClip "ren03_ciqiangpaoSL" in Frame 1
onClipEvent (enterFrame) {
if (_root.key_flg == 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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 191 MovieClip "ren02_ciqiangpaoSL" in Frame 1
onClipEvent (enterFrame) {
if (_root.key_flg == 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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 208 MovieClip "ren02_zunbeiSL" in Frame 1
onClipEvent (enterFrame) {
if ((_root.key_flg == 0) or (_root.key_flg == 1)) {
_root.key_flg = 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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 281 MovieClip "ren04_ciqiangpaoSL" in Frame 1
onClipEvent (enterFrame) {
if (_root.key_flg == 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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 285 MovieClip "ren04_zunbeiSL" in Frame 1
onClipEvent (enterFrame) {
if ((_root.key_flg == 0) or (_root.key_flg == 1)) {
_root.key_flg = 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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 340 MovieClip "ren01_ciqiangpaoSL" in Frame 1
onClipEvent (enterFrame) {
if (_root.key_flg == 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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 357 MovieClip "ren01_zunbeiSL" in Frame 1
onClipEvent (enterFrame) {
if ((_root.key_flg == 0) or (_root.key_flg == 1)) {
_root.key_flg = 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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
Instance of Symbol 361 MovieClip "ren03_zunbeiSL" in Frame 1
onClipEvent (enterFrame) {
if ((_root.key_flg == 0) or (_root.key_flg == 1)) {
_root.key_flg = 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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_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(time1);
clearInterval(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[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_root.paodong_KS = 1;
_root.num_1 = 0;
time1 = setInterval(renrun1, _root.move_t1);
}
_root.touche = 0;
_root.pdmove();
}
}
}
}
}
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.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 _local1 = _root;
var _local3;
var _local2;
if (_local1.last_wy != 100000) {
if (_local1.last_wy == 0) {
_local2 = 0;
} else 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;
}
_local3 = ((((300 * (_local1.power / 100)) * _local2) * (_local1.tl / 50)) / 700) * 100;
_local1.yangqiXSH(_local3);
}
}
stop();
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)) {
_local2 = "" + _local2;
}
_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 = 8;
_root.jiaodu = 0;
_root.tili = 0;
_root.race_len = 2527;
_root.xj_bl = 0.02;
_root.shoot_num = 0;
init_wy = 8;
base_jj = 1;
last_sd = 0.7;
score = 0;
cs = 7;
base_tl = 0.9;
base_tl = 0;
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_flg = 0;
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
qiang_Text._accProps = new Object();
qiang_Text._accProps.silent = true;
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 == 0)) {
_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("ren01_fail");
} else if (_local1.ren_dunxiang eq "02") {
_local1.gotoAndStop("ren02_fail");
} else if (_local1.ren_dunxiang eq "03") {
_local1.gotoAndStop("ren03_fail");
} else if (_local1.ren_dunxiang eq "04") {
_local1.gotoAndStop("ren04_fail");
}
} 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 _local2;
var t2;
var t3;
var max_y;
var sp_py;
var hd;
var sd_tz_sp;
var sd_tz_cz;
var _local3;
if (_local1.last_wy < 5) {
_local3 = 0.1;
} else if ((_local1.last_wy < 20) and (_local1.last_wy >= 5)) {
_local3 = 0.2 + (((_local1.last_wy - 5) / 5) * 0.2);
} else if ((_local1.last_wy > 20) and (_local1.last_wy >= 35)) {
_local3 = 0.5 + (((_local1.last_wy - 20) / 20) * 0.5);
} else {
_local3 = (1 + ((_local1.last_wy / 35) * 0.1)) - 0.1;
}
_local1.v_tz = ((300 * (_local1.power / 100)) * _local3) * (_local1.tl / 50);
_local1.tzangle();
hd = (Math.PI/180) * _local1.tz_jd;
sd_tz_sp = Math.floor(_local1.v_tz * Math.cos(hd));
sd_tz_cz = Math.floor(_local1.v_tz * Math.sin(hd));
_local1.jiaodu = _local1.tz_jd;
_local1.tili = Math.floor(_local1.tl);
_local2 = sd_tz_cz / _local1.g;
max_y = (sd_tz_cz * _local2) - ((_local1.g * (_local2 * _local2)) / 2);
t2 = Math.sqrt((2 * max_y) / _local1.g);
t3 = _local2 + t2;
_local1.sp_py = t3 * sd_tz_sp;
_local1.sp_py = (_local1.sp_py / 3.44) - ((_local1.tz_len * (_local1.race_len - _local1.piste)) / _local1.race_len);
}
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.beijin._x = _local1.beijin._x + _local1.last_wy;
_local1.pai1._x = _local1.pai1._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 chklost1() {
var _local1 = _root;
clearInterval(_local1.time4);
if (_local1.hit_flg == 1) {
if (_local1.ren_dunxiang eq "01") {
_local1.gotoAndStop("ren01_fail");
} else if (_local1.ren_dunxiang eq "02") {
_local1.gotoAndStop("ren02_fail");
} else if (_local1.ren_dunxiang eq "03") {
_local1.gotoAndStop("ren03_fail");
} else if (_local1.ren_dunxiang eq "04") {
_local1.gotoAndStop("ren04_fail");
}
_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 0;
} else {
_local1.jstzjl();
_local1.txt = Math.floor(_local1.sp_py * 100) / 100;
_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]._visible = 0;
if (_local1.ren_dunxiang eq "01") {
_local1.ren01_zhiqiangFZ._visible = 1;
_local1.ren01_zhiqiangFZ.gotoAndPlay(1);
} else if (_local1.ren_dunxiang eq "02") {
_local1.ren02_zhiqiangFZ._visible = 1;
_local1.ren02_zhiqiangFZ.gotoAndPlay(1);
} else if (_local1.ren_dunxiang eq "03") {
_local1.ren03_zhiqiangFZ._visible = 1;
_local1.ren03_zhiqiangFZ.gotoAndPlay(1);
} else if (_local1.ren_dunxiang eq "04") {
_local1.ren04_zhiqiangFZ._visible = 1;
_local1.ren04_zhiqiangFZ.gotoAndPlay(1);
}
}
}
function chklost() {
var _local1 = _root;
var _local2;
clearInterval(_local1.time4);
_local2 = Math.floor(Math.random() * 10);
if (_local2 == 0) {
_local1[(("ren" + _local1.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_local1.gotoAndStop("zhong_ya");
} else {
_local1[(("ren" + _local1.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
_local1.jstzjl();
_local1.gotoAndStop("qiang_fei");
}
}
function initRest() {
var _local1 = _root;
clearInterval(_local1.time1);
clearInterval(_local1.time2);
_local1.hit_flg = 0;
_local1.init_flg = 1;
_local1.key_bj = 2;
if (_local1.ren_dunxiang eq "01") {
tl = 85;
bfl = 75;
ll = 82;
power = 75;
} else if (_local1.ren_dunxiang eq "02") {
tl = 80;
bfl = 80;
ll = 100;
power = 80;
} else if (_local1.ren_dunxiang eq "03") {
tl = 75;
bfl = 100;
ll = 70;
power = 100;
} else if (_local1.ren_dunxiang eq "04") {
tl = 80;
bfl = 90;
ll = 70;
power = 90;
}
_local1.last_wy = 0;
_local1.last_jg = 10000;
_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;
}
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;
removeMovieClip(_local1[(("ren" + _local1.ren_dunxiang) + "_zunbei") + "FZ"]);
removeMovieClip(_local1[(("ren" + _local1.ren_dunxiang) + "_ciqiangpao") + "FZ"]);
removeMovieClip(_local1[(("ren" + _local1.ren_dunxiang) + "_zhiqiang") + "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();
}
}
stop();
sound1 = new Sound();
sound2 = new Sound();
sound3 = new Sound();
sound4 = new Sound();
if (_root.match_flg == 1) {
_root.qiang_Text._visible = 1;
_root.qiangg._visible = 1;
} else {
_root.qiang_Text._visible = 0;
_root.qiangg._visible = 0;
}
_root.qiang_Text.text = 6;
_root.qiang_Text.text = 6 - _root.shoot_num;
if (_root.ren_dunxiang eq "01") {
tl = 85;
bfl = 75;
ll = 82;
power = 75;
} else if (_root.ren_dunxiang eq "02") {
tl = 80;
bfl = 80;
ll = 100;
power = 80;
} else if (_root.ren_dunxiang eq "03") {
tl = 75;
bfl = 100;
ll = 70;
power = 100;
} else if (_root.ren_dunxiang eq "04") {
tl = 80;
bfl = 90;
ll = 70;
power = 90;
}
_root.ss = _root.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 (_root[("ren" + _root.ren_dunxiang) + "_zunbeiSL"], (("ren" + _root.ren_dunxiang) + "_zunbei") + "FZ", 2);
_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" + ren_dunxiang) + "_ciqiangpao") + "FZ", 3);
_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;
duplicateMovieClip (_root[("ren" + _root.ren_dunxiang) + "_zhiqiangSL"], (("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ", 4);
_root[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._x = _root.wz_qishi_x;
_root[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._y = _root.wz_qishi_y;
_root[(("ren" + _root.ren_dunxiang) + "_zhiqiang") + "FZ"]._visible = 0;
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
Frame 14
stop();
_root.aa.score3.text = Math.floor((_root.sp_py / _root.zhuanhuan) * 100) / 100;
if (Number(_root.aa.score3.text) < 0) {
_root.aa.score3.text = 0;
}
_root.aa._visible = 0;
Frame 15
stop();
_root.midiplay(1);
ren01_DZ._visible = 0;
ren02_DZ._visible = 0;
ren03_DZ._visible = 0;
ren04_DZ._visible = 0;
_root[("ren" + _root.ren_dunxiang) + "_DZ"]._visible = 1;
Frame 16
stop();
_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 = 98.48;
_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 ((_root.cj.d1.text > 0) and (_root.cj.d1.text == _root.score)) {
_root.gou_1._visible = 1;
if (_root.cj.d1.text > _root.wrecord) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.score;
_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 ((_root.cj.d2.text > 0) and (_root.cj.d2.text == _root.score)) {
_root.gou_2._visible = 1;
if (_root.cj.d2.text > _root.wrecord) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.score;
_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 ((_root.cj.d3.text > 0) and (_root.cj.d3.text == _root.score)) {
_root.gou_3._visible = 1;
if (_root.cj.d3.text > _root.wrecord) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.score;
_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 ((_root.cj.d4.text > 0) and (_root.cj.d4.text == _root.score)) {
_root.gou_4._visible = 1;
if (_root.cj.d4.text > _root.wrecord) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.score;
_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 ((_root.cj.d5.text > 0) and (_root.cj.d5.text == _root.score)) {
_root.gou_5._visible = 1;
if (_root.cj.d5.text > _root.wrecord) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.score;
_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 ((_root.cj.d6.text > 0) and (_root.cj.d6.text == _root.score)) {
_root.gou_6._visible = 1;
if (_root.cj.d6.text > _root.wrecord) {
_root.wrec._visible = 0;
_root.nrec._visible = 1;
_root.nr._visible = 1;
_root.nr.text = _root.score;
_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 17
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.score;
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 = "javelin";
scoreboard_lv3.sendAndLoad("bestscore.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 = "javelin";
scoreboard_lv.sendAndLoad("game_score.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 108 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 108 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 108 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 108 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 108 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 108 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 108 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 108 MovieClip Frame 24
if (_root.Last_wy == 0) {
this.gotoAndStop(19);
}
Symbol 108 MovieClip Frame 25
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 14
stop();
_root.chklost();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 12
stop();
stop();
_root.chklost();
Symbol 191 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 191 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 191 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 191 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 191 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 191 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 191 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 191 MovieClip Frame 24
if (_root.Last_wy == 0) {
this.gotoAndStop(19);
}
Symbol 191 MovieClip Frame 25
stop();
Symbol 205 MovieClip Frame 1
stop();
stop();
Symbol 205 MovieClip Frame 9
stop();
_root.chklost();
Symbol 205 MovieClip Frame 20
stop();
_root.chklost();
Symbol 281 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 281 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 281 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 281 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 281 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 281 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 281 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 281 MovieClip Frame 24
if (_root.Last_wy == 0) {
this.gotoAndStop(19);
}
Symbol 281 MovieClip Frame 25
stop();
Symbol 340 MovieClip Frame 1
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 340 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 340 MovieClip Frame 7
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 340 MovieClip Frame 12
this.gotoAndPlay(7);
Symbol 340 MovieClip Frame 13
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 340 MovieClip Frame 18
this.gotoAndPlay(13);
Symbol 340 MovieClip Frame 19
if (_root.Last_wy == 0) {
this.gotoAndStop(25);
}
Symbol 340 MovieClip Frame 24
if (_root.Last_wy == 0) {
this.gotoAndStop(19);
}
Symbol 340 MovieClip Frame 25
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 10
stop();
_root.chklost();
Symbol 378 Button
on (release) {
getURL ("http://www.frontnetwork.com");
}
Symbol 409 MovieClip Frame 23
stop();
Symbol 443 Button
on (press) {
_root.match_flg = 1;
_root.gotoAndStop("xuanren");
}
Symbol 448 Button
on (press) {
_root.match_flg = 0;
_root.gotoAndStop("xuanren");
}
Symbol 453 Button
on (press) {
_root.midistop(1);
_root.midistop(2);
_root.midistop(3);
_root.jinc.gotoAndStop("help");
}
Symbol 464 Button
on (press) {
_root.jinc.gotoAndStop("end");
}
Symbol 544 MovieClip Frame 161
stop();
Symbol 544 MovieClip Frame 162
stop();
_root.midistop(1);
_root.midistop(2);
_root.midistop(3);
Symbol 548 Button
on (keyPress "<Enter>") {
_root.jinc.gotoAndStop("end");
}
Symbol 565 MovieClip Frame 29
stop();
Symbol 576 Button
on (press, keyPress "1") {
_root.ren_dunxiang = "01";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 580 Button
on (press, keyPress "2") {
_root.ren_dunxiang = "02";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 594 MovieClip Frame 22
stop();
Symbol 598 Button
on (press, keyPress "3") {
_root.ren_dunxiang = "03";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 613 MovieClip Frame 21
stop();
Symbol 616 Button
on (press, keyPress "4") {
_root.ren_dunxiang = "04";
_root.gotoAndStop("zhuCJ");
_root.score = 0;
_root.jiaodu = 0;
_root.tili = 0;
}
Symbol 623 MovieClip Frame 1
stop();
Symbol 644 Button
on (keyPress "<Space>") {
if ((_root.key_flg == 1) and (_root.key_bj == 1)) {
if (_root.hit_flg == 1) {
} else {
_root.qiang_Text.text = (6 - _root.shoot_num) - 1;
clearInterval(time1);
clearInterval(time2);
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 0;
_root.chklost1();
_root.hit_flg = 1;
}
}
}
Symbol 649 Button
on (release) {
getURL ("http://www.frontnetwork.com", "_blank");
}
Instance of Symbol 673 MovieClip "line" in Symbol 674 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]) and (_root.hit_flg == 0)) {
_root.hit_flg = 1;
clearInterval(time1);
clearInterval(time2);
_root.num_3 = 0;
_root.draw_flg = 0;
clearInterval(time3);
_root[(("ren" + _root.ren_dunxiang) + "_ciqiangpao") + "FZ"]._visible = 0;
if (_root.ren_dunxiang eq "01") {
_root.gotoAndStop("ren01_fail");
} else if (_root.ren_dunxiang eq "02") {
_root.gotoAndStop("ren02_fail");
} else if (_root.ren_dunxiang eq "03") {
_root.gotoAndStop("ren03_fail");
} else if (_root.ren_dunxiang eq "04") {
_root.gotoAndStop("ren04_fail");
}
}
}
Symbol 680 Button
on (press) {
_root.reback();
_root.initRest();
_root.gotoAndStop("sel");
_root.jinc.gotoAndStop("end");
}
Symbol 690 MovieClip Frame 38
stop();
_root.ks_flg = 0;
_root.key_bj = 1;
_root.key_flg = 1;
_root.key_flg2 = 1;
Symbol 702 MovieClip Frame 62
stop();
_root.gotoAndPlay("qiang_ZD");
Symbol 715 MovieClip Frame 13
stop();
Symbol 716 MovieClip Frame 30
stop();
_root.gotoAndStop("defeng");
Symbol 736 MovieClip Frame 84
_root.gotoAndStop("yaz_fail");
Symbol 795 MovieClip Frame 33
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 829 MovieClip Frame 33
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 867 MovieClip Frame 33
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 902 MovieClip Frame 33
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 927 MovieClip Frame 1
_root.aa._visible = 0;
Symbol 927 MovieClip Frame 18
_root.aa._visible = 1;
Symbol 927 MovieClip Frame 59
stop();
if (Number(_root.aa.score3.text) < 0) {
_root.aa.score3.text = 0;
}
if (_root.score < Number(_root.aa.score3.text)) {
_root.score = Number(_root.aa.score3.text);
}
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 1;
_root[("shoot" + _root.shoot_num) + "long"] = Number(_root.aa.score3.text);
}
_root.initRest();
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 937 MovieClip Frame 22
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 948 MovieClip Frame 26
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 964 MovieClip Frame 25
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 977 MovieClip Frame 25
_root.initRest();
if (_root.match_flg == 1) {
_root.shoot_num = _root.shoot_num + 1;
_root[("shoot" + _root.shoot_num) + "success_flg"] = 0;
}
if (_root.match_flg == 1) {
if (_root.shoot_num < 6) {
_root.gotoAndStop("zhuCJ");
} else {
_root.gotoAndStop("score");
}
} else {
_root.gotoAndStop("zhuCJ");
}
Symbol 991 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 1002 Button
on (press) {
_root.reback();
_root.midistop(2);
_root.midistop(3);
_root.gotoAndStop("sel");
_root.jinc.gotoAndStop("end");
}
Symbol 1081 Button
on (press) {
_root.reback();
_root.gotoAndStop("sel");
_root.jinc.gotoAndStop("end");
}
Symbol 1085 MovieClip Frame 1
stop();
errorMsg = "";
i = 0;
alien_mc.onEnterFrame = function () {
i = i + 0.25;
i = i % 2;
this.gotoAndStop(i + 1);
};