Instance of Symbol 12 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;
}
Frame 2
if (Number(Code_mc.LoadedPercent) == 100) {
nextFrame();
} else {
gotoAndPlay (1);
}
Frame 3
stop();
game_so = SharedObject.getLocal("FlashGamesStudio");
_root.game_so.data.playerName = "";
_root.game_so.data.useremail = "";
Frame 4
Text123._accProps = new Object();
Text123._accProps.silent = true;
Text123._accProps = new Object();
Text123._accProps.silent = true;
function SJGstr() {
var _local1 = _root;
var _local2;
var temp2;
var i;
if (_local1._strIntzt == 1) {
_local1.numQC();
}
_local1.strIntzt = 1;
if (_local1.timenum == 180) {
_local2 = "300";
} else if (_local1.timenum == 120) {
_local2 = "200";
} else if (_local1.timenum >= 60) {
if (_local1.timenum == 60) {
_local2 = "100";
} else if ((_local1.timenum > 120) and (_local1.timenum < 130)) {
_local2 = "20" + (_local1.timenum - 120);
} else if (_local1.timenum >= 130) {
_local2 = "2" + (_local1.timenum - 120);
} else if ((_local1.timenum > 60) and (_local1.timenum < 70)) {
_local2 = "10" + (_local1.timenum - 60);
} else {
_local2 = "1" + (_local1.timenum - 60);
}
} else if ((_local1.timenum < 60) and (_local1.timenum >= 10)) {
_local2 = "0" + _local1.timenum;
} else {
_local2 = "00" + _local1.timenum;
}
_local1.txt2 = _local2.charAt(0);
_local1.txt3 = _local2.charAt(1) + _local2.charAt(2);
}
function SJtime() {
var _local1 = _root;
_local1.timenum = _local1.timenum - 1;
_local1.midiplay(0);
if (_local1.timenum <= 0) {
_local1.midistop(4);
}
_local1.SJGstr();
if (_local1.timenum == 0) {
removeMovieClip("_root.zxhcopy");
_local1.midistop(4);
_local1.over();
}
}
function Init() {
var _local1 = _root;
_local1.yz_01._visible = 1;
_local1.ren_01._visible = 1;
_local1.toufa_bz1 = 0;
_local1.toufa_01._visible = 1;
_local1.yz_03._visible = 1;
_local1.ren_03._visible = 1;
_local1.toufa_bz3 = 0;
_local1.toufa_03._visible = 1;
_local1.yz_02._visible = 1;
_local1.ren_02._visible = 1;
_local1.toufa_bz2 = 0;
_local1.toufa_02._visible = 1;
_local1.yz_04._visible = 1;
_local1.ren_04._visible = 1;
_local1.toufa_bz4 = 0;
_local1.toufa_04._visible = 1;
_local1.xiaos01_cl._visible = 0;
_local1.xiaos02_cl._visible = 0;
_local1.xiaos03_cl._visible = 0;
_local1.xiaos04_cl._visible = 0;
_local1.over_flg1 = 0;
_local1.over_flg2 = 0;
_local1.over_flg3 = 0;
_local1.over_flg4 = 0;
_local1.xiaos_flg = 0;
_local1.toufa_num1 = 0;
_local1.toufa_num2 = 0;
_local1.toufa_num3 = 0;
_local1.toufa_num4 = 0;
i = 1;
while (i <= 4) {
if (i == 1) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_local1.toufa_zt1 = 1;
_local1.toufa_01.gotoAndStop(4);
} else if (gl == 2) {
_local1.toufa_zt1 = 2;
_local1.toufa_01.gotoAndStop(7);
} else if (gl == 3) {
_local1.toufa_zt1 = 3;
_local1.toufa_01.gotoAndStop(10);
} else if (gl == 4) {
_local1.toufa_zt1 = 4;
_local1.toufa_01.gotoAndStop(13);
}
} else if (i == 2) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_local1.toufa_zt2 = 1;
_local1.toufa_02.gotoAndStop(4);
} else if (gl == 2) {
_local1.toufa_zt2 = 2;
_local1.toufa_02.gotoAndStop(7);
} else if (gl == 3) {
_local1.toufa_zt2 = 3;
_local1.toufa_02.gotoAndStop(10);
} else if (gl == 4) {
_local1.toufa_zt2 = 4;
_local1.toufa_02.gotoAndStop(13);
}
} else if (i == 3) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_local1.toufa_zt3 = 1;
_local1.toufa_03.gotoAndStop(4);
} else if (gl == 2) {
_local1.toufa_zt3 = 2;
_local1.toufa_03.gotoAndStop(7);
} else if (gl == 3) {
_local1.toufa_zt3 = 3;
_local1.toufa_03.gotoAndStop(10);
} else if (gl == 4) {
_local1.toufa_zt3 = 4;
_local1.toufa_03.gotoAndStop(13);
}
} else if (i == 4) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_local1.toufa_zt4 = 1;
_local1.toufa_04.gotoAndStop(4);
} else if (gl == 2) {
_local1.toufa_zt4 = 2;
_local1.toufa_04.gotoAndStop(7);
} else if (gl == 3) {
_local1.toufa_zt4 = 3;
_local1.toufa_04.gotoAndStop(10);
} else if (gl == 4) {
_local1.toufa_zt4 = 4;
_local1.toufa_04.gotoAndStop(13);
}
}
i++;
}
_local1.toufa_bz1 = 0;
_local1.toufa_bz2 = 0;
_local1.toufa_bz3 = 0;
_local1.toufa_bz4 = 0;
_local1.cut_flg = 0;
_local1.toufa_cut = 0;
_local1.diao_fa._visible = 0;
_local1.cut_cs = 0;
_local1.max_num = 75;
startDrag ("_root.tuiz", true);
mouse.hide();
_local1.midiplay(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 midiplay(bz) {
var _local1 = bz;
if (_local1 == 1) {
sound1.attachSound("bj1kk");
sound1.start("", 99);
} else if (_local1 == 2) {
sound2.attachSound("tz");
sound2.start("", 10);
} else if (_local1 == 3) {
sound3.attachSound("jj");
sound3.start("", 1);
} else if (_local1 == 4) {
sound3.attachSound("time");
sound3.start("", 1);
}
}
function over() {
var _local1 = _root;
_local1.diao_fa._visible = 0;
_local1.xiao_flg = 0;
_local1.yz_01._visible = 0;
_local1.ren_01._visible = 0;
_local1.toufa_bz1 = 0;
_local1.toufa_01._visible = 0;
xiaos01_cl._visible = 0;
xiaos01_cl.gotoAndStop(1);
_local1.xiao_flg = 0;
_local1.yz_02._visible = 0;
_local1.ren_02._visible = 0;
_local1.toufa_bz2 = 0;
_local1.toufa_02._visible = 0;
xiaos02_cl._visible = 0;
xiaos02_cl.gotoAndStop(1);
_local1.xiao_flg = 0;
_local1.yz_04._visible = 0;
_local1.ren_04._visible = 0;
_local1.toufa_bz4 = 0;
_local1.toufa_04._visible = 0;
xiaos04_cl._visible = 0;
xiaos04_cl.gotoAndStop(1);
_local1.xiao_flg = 0;
_local1.yz_03._visible = 0;
_local1.ren_03._visible = 0;
_local1.toufa_bz3 = 0;
_local1.toufa_03._visible = 0;
xiaos03_cl._visible = 0;
xiaos03_cl.gotoAndStop(1);
clearInterval(_local1.time0);
stopDrag();
mouse.show();
_local1.midistop(1);
if (_local1.score_num >= _local1.good_num) {
_local1.gotoAndStop(6);
} else {
_local1.gotoAndStop(5);
}
}
function num_xsh(number_1, x, y) {
var i;
var temp1;
var temp2;
var temp3;
var temp4;
duplicateMovieClip ("_root.zxh", "zxhcopy", 400);
if (number_1 < 0) {
number = Math.abs(number_1);
_root.zxhcopy.z.zmjj.gotoAndStop(2);
} else if ((number_1 = 0)) {
number = number;
} else {
number = number;
_root.zxhcopy.z.zmjj.gotoAndStop(1);
}
temp = String(number).length;
i = 1;
while (i <= temp) {
Set("temp" + i, String(number).substr(temp - i, 1));
_root.zxhcopy.z["zm" + i].gotoAndStop("z" + eval ("temp" + i));
_root.zxhcopy.z["zm" + i]._visible = 1;
i++;
}
i = temp + 1;
while (i <= 4) {
_root.zxhcopy.z["zm" + i]._visible = 0;
i++;
}
_root.zxhcopy._alpha = 0;
_root.zxhcopy._x = x;
_root.zxhcopy._y = y - 20;
_root.xshtime = 0;
_root.alp = 0;
_root.xsh_jg = 5;
_root.zjs = 1;
}
function xsh() {
var _local1 = _root;
if ((_local1.xshtime >= 0) and (_local1.xshtime < 11)) {
_local1.zxhcopy._alpha = _local1.alp;
_local1.alp = _local1.alp + 10;
_local1.xshtime = _local1.xshtime + 1;
} else if ((_local1.xshtime >= 11) and (_local1.xshtime < (11 + _local1.xsh_jg))) {
_local1.xshtime = _local1.xshtime + 1;
} else if ((_local1.xshtime >= (11 + _local1.xsh_jg)) and (_local1.xshtime < (21 + _local1.xsh_jg))) {
_local1.zxhcopy._alpha = _local1.alp;
_local1.alp = _local1.alp - 10;
_local1.xshtime = _local1.xshtime + 1;
} else if (_local1.xshtime >= (21 + _local1.xsh_jg)) {
removeMovieClip(_local1.zxhcopy);
clearInterval(xsh_time1);
}
}
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.bl_1 = 1;
_root.bl_2 = 6;
_root.bl_3 = 12;
_root.bl_4 = 24;
_root.adjust_y = 57;
_root.adjust_y2 = 175;
_root.eaten = false;
_root.gameOn = true;
_root.strIntzt = 0;
_root.gameOver = true;
_root.rnd = Math.random;
_root.aa._visible = 0;
_root.sound_flg = 1;
_root.score = 0;
sound1 = new Sound();
sound2 = new Sound();
sound3 = new Sound();
sound4 = new Sound();
_root.quedinW._visible = 0;
_root.quedinW.username.text = "";
_root.quedinW.useremail.text = "";
_root.xiaos01_cl._visible = 0;
_root.xiaos02_cl._visible = 0;
_root.xiaos03_cl._visible = 0;
_root.xiaos04_cl._visible = 0;
_root.cutfen_num = 5;
_root.cuterr_num = 500;
_root.good_num = 1000;
_root.score_num = 0;
_root.over_flg1 = 0;
_root.over_flg2 = 0;
_root.over_flg3 = 0;
_root.over_flg4 = 0;
_root.xiaos_flg = 0;
_root.toufa_num1 = 0;
_root.toufa_num2 = 0;
_root.toufa_num3 = 0;
_root.toufa_num4 = 0;
i = 1;
while (i <= 4) {
if (i == 1) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_root.toufa_zt1 = 1;
_root.toufa_01.gotoAndStop(4);
} else if (gl == 2) {
_root.toufa_zt1 = 2;
_root.toufa_01.gotoAndStop(7);
} else if (gl == 3) {
_root.toufa_zt1 = 3;
_root.toufa_01.gotoAndStop(10);
} else if (gl == 4) {
_root.toufa_zt1 = 4;
_root.toufa_01.gotoAndStop(13);
}
} else if (i == 2) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_root.toufa_zt2 = 1;
_root.toufa_02.gotoAndStop(4);
} else if (gl == 2) {
_root.toufa_zt2 = 2;
_root.toufa_02.gotoAndStop(7);
} else if (gl == 3) {
_root.toufa_zt2 = 3;
_root.toufa_02.gotoAndStop(10);
} else if (gl == 4) {
_root.toufa_zt2 = 4;
_root.toufa_02.gotoAndStop(13);
}
} else if (i == 3) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_root.toufa_zt3 = 1;
_root.toufa_03.gotoAndStop(4);
} else if (gl == 2) {
_root.toufa_zt3 = 2;
_root.toufa_03.gotoAndStop(7);
} else if (gl == 3) {
_root.toufa_zt3 = 3;
_root.toufa_03.gotoAndStop(10);
} else if (gl == 4) {
_root.toufa_zt3 = 4;
_root.toufa_03.gotoAndStop(13);
}
} else if (i == 4) {
gl = Math.floor(Math.random() * 4) + 1;
if (gl == 1) {
_root.toufa_zt4 = 1;
_root.toufa_04.gotoAndStop(4);
} else if (gl == 2) {
_root.toufa_zt4 = 2;
_root.toufa_04.gotoAndStop(7);
} else if (gl == 3) {
_root.toufa_zt4 = 3;
_root.toufa_04.gotoAndStop(10);
} else if (gl == 4) {
_root.toufa_zt4 = 4;
_root.toufa_04.gotoAndStop(13);
}
}
i++;
}
_root.toufa_bz1 = 0;
_root.toufa_bz2 = 0;
_root.toufa_bz3 = 0;
_root.toufa_bz4 = 0;
_root.cut_flg = 0;
_root.toufa_cut = 0;
_root.diao_fa._visible = 0;
_root.cut_cs = 0;
_root.max_num = 75;
startDrag ("_root.tuiz", true);
mouse.hide();
_root.midiplay(1);
_root.timenum = 150;
_root.SJGstr();
time0 = setInterval(SJtime, 1000);
Instance of Symbol 70 MovieClip "ren_01" in Frame 4
onClipEvent (load) {
}
Instance of Symbol 91 MovieClip "toufa_04" in Frame 4
onClipEvent (enterFrame) {
if ((_root.toufa_04._visible == 1) and (_root.over_flg4 == 0)) {
if (this.hitTest(_root.tuiz.tantou)) {
_root.toufa_bz4 = 1;
} else {
_root.toufa_bz4 = 0;
}
_root.toufa_num4 = _root.toufa_num4 + 1;
if (_root.toufa_zt4 == 6) {
num = 0;
i = 1;
while (i <= 4) {
if (((i == 1) and (_root.over_flg1 == 0)) and (_root.toufa_zt1 == 6)) {
num = num + 1;
} else if (((i == 2) and (_root.over_flg2 == 0)) and (_root.toufa_zt2 == 6)) {
num = num + 1;
} else if (((i == 3) and (_root.over_flg3 == 0)) and (_root.toufa_zt3 == 6)) {
num = num + 1;
} else if (((i == 4) and (_root.over_flg4 == 0)) and (_root.toufa_zt4 == 6)) {
num = num + 1;
}
i++;
}
if (num == 1) {
_root.score_num = _root.score_num + _root.bl_1;
} else if (num == 2) {
_root.score_num = _root.score_num + _root.bl_2;
} else if (num == 3) {
_root.score_num = _root.score_num + _root.bl_3;
} else if (num == 4) {
_root.score_num = _root.score_num + _root.bl_4;
}
_root.score = _root.score_num;
}
if (_root.toufa_num4 > _root.max_num) {
if (_root.toufa_zt4 == 1) {
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 + 1;
this.gotoAndStop(7);
} else if (_root.toufa_zt4 == 2) {
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 + 1;
this.gotoAndStop(10);
} else if (_root.toufa_zt4 == 3) {
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 + 1;
this.gotoAndStop(13);
} else if (_root.toufa_zt4 == 4) {
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 + 1;
this.gotoAndStop(16);
} else if (_root.toufa_zt4 == 5) {
removeMovieClip("_root.zxhcopy");
_root.midistop(4);
_root.over();
} else if (_root.toufa_zt4 == 6) {
_root.toufa_num4 = 0;
_root.toufa_zt4 = 1;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 97 MovieClip "toufa_01" in Frame 4
onClipEvent (enterFrame) {
if ((_root.toufa_01._visible == 1) and (_root.over_flg1 == 0)) {
if (this.hitTest(_root.tuiz.tantou)) {
_root.toufa_bz1 = 1;
} else {
_root.toufa_bz1 = 0;
}
_root.toufa_num1 = _root.toufa_num1 + 1;
if (_root.toufa_zt1 == 6) {
num = 0;
i = 1;
while (i <= 4) {
if (((i == 1) and (_root.over_flg1 == 0)) and (_root.toufa_zt1 == 6)) {
num = num + 1;
} else if (((i == 2) and (_root.over_flg2 == 0)) and (_root.toufa_zt2 == 6)) {
num = num + 1;
} else if (((i == 3) and (_root.over_flg3 == 0)) and (_root.toufa_zt3 == 6)) {
num = num + 1;
} else if (((i == 4) and (_root.over_flg4 == 0)) and (_root.toufa_zt4 == 6)) {
num = num + 1;
}
i++;
}
if (num == 1) {
_root.score_num = _root.score_num + _root.bl_1;
} else if (num == 2) {
_root.score_num = _root.score_num + _root.bl_2;
} else if (num == 3) {
_root.score_num = _root.score_num + _root.bl_3;
} else if (num == 4) {
_root.score_num = _root.score_num + _root.bl_4;
}
_root.score = _root.score_num;
}
if (_root.toufa_num1 > _root.max_num) {
if (_root.toufa_zt1 == 1) {
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 + 1;
this.gotoAndStop(7);
} else if (_root.toufa_zt1 == 2) {
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 + 1;
this.gotoAndStop(10);
} else if (_root.toufa_zt1 == 3) {
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 + 1;
this.gotoAndStop(13);
} else if (_root.toufa_zt1 == 4) {
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 + 1;
this.gotoAndStop(16);
} else if (_root.toufa_zt1 == 5) {
removeMovieClip("_root.zxhcopy");
_root.midistop(4);
_root.over();
} else if (_root.toufa_zt1 == 6) {
_root.toufa_num1 = 0;
_root.toufa_zt1 = 1;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 103 MovieClip "toufa_02" in Frame 4
onClipEvent (enterFrame) {
if ((_root.toufa_02._visible == 1) and (_root.over_flg2 == 0)) {
if (this.hitTest(_root.tuiz.tantou)) {
_root.toufa_bz2 = 1;
} else {
_root.toufa_bz2 = 0;
}
_root.toufa_num2 = _root.toufa_num2 + 1;
if (_root.toufa_zt2 == 6) {
num = 0;
i = 1;
while (i <= 4) {
if (((i == 1) and (_root.over_flg1 == 0)) and (_root.toufa_zt1 == 6)) {
num = num + 1;
} else if (((i == 2) and (_root.over_flg2 == 0)) and (_root.toufa_zt2 == 6)) {
num = num + 1;
} else if (((i == 3) and (_root.over_flg3 == 0)) and (_root.toufa_zt3 == 6)) {
num = num + 1;
} else if (((i == 4) and (_root.over_flg4 == 0)) and (_root.toufa_zt4 == 6)) {
num = num + 1;
}
i++;
}
if (num == 1) {
_root.score_num = _root.score_num + _root.bl_1;
} else if (num == 2) {
_root.score_num = _root.score_num + _root.bl_2;
} else if (num == 3) {
_root.score_num = _root.score_num + _root.bl_3;
} else if (num == 4) {
_root.score_num = _root.score_num + _root.bl_4;
}
_root.score = _root.score_num;
}
if (_root.toufa_num2 > _root.max_num) {
if (_root.toufa_zt2 == 1) {
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 + 1;
this.gotoAndStop(7);
} else if (_root.toufa_zt2 == 2) {
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 + 1;
this.gotoAndStop(10);
} else if (_root.toufa_zt2 == 3) {
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 + 1;
this.gotoAndStop(13);
} else if (_root.toufa_zt2 == 4) {
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 + 1;
this.gotoAndStop(16);
} else if (_root.toufa_zt2 == 5) {
removeMovieClip("_root.zxhcopy");
_root.midistop(4);
_root.over();
} else if (_root.toufa_zt2 == 6) {
_root.toufa_num2 = 0;
_root.toufa_zt2 = 1;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 109 MovieClip "toufa_03" in Frame 4
onClipEvent (enterFrame) {
if ((_root.toufa_03._visible == 1) and (_root.over_flg3 == 0)) {
if (this.hitTest(_root.tuiz.tantou)) {
_root.toufa_bz3 = 1;
} else {
_root.toufa_bz3 = 0;
}
_root.toufa_num3 = _root.toufa_num3 + 1;
if (_root.toufa_zt3 == 6) {
num = 0;
i = 1;
while (i <= 4) {
if (((i == 1) and (_root.over_flg1 == 0)) and (_root.toufa_zt1 == 6)) {
num = num + 1;
} else if (((i == 2) and (_root.over_flg2 == 0)) and (_root.toufa_zt2 == 6)) {
num = num + 1;
} else if (((i == 3) and (_root.over_flg3 == 0)) and (_root.toufa_zt3 == 6)) {
num = num + 1;
} else if (((i == 4) and (_root.over_flg4 == 0)) and (_root.toufa_zt4 == 6)) {
num = num + 1;
}
i++;
}
if (num == 1) {
_root.score_num = _root.score_num + _root.bl_1;
} else if (num == 2) {
_root.score_num = _root.score_num + _root.bl_2;
} else if (num == 3) {
_root.score_num = _root.score_num + _root.bl_3;
} else if (num == 4) {
_root.score_num = _root.score_num + _root.bl_4;
}
_root.score = _root.score_num;
}
if (_root.toufa_num3 > _root.max_num) {
if (_root.toufa_zt3 == 1) {
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 + 1;
this.gotoAndStop(7);
} else if (_root.toufa_zt3 == 2) {
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 + 1;
this.gotoAndStop(10);
} else if (_root.toufa_zt3 == 3) {
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 + 1;
this.gotoAndStop(13);
} else if (_root.toufa_zt3 == 4) {
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 + 1;
this.gotoAndStop(16);
} else if (_root.toufa_zt3 == 5) {
removeMovieClip("_root.zxhcopy");
_root.midistop(4);
_root.over();
} else if (_root.toufa_zt3 == 6) {
_root.toufa_num3 = 0;
_root.toufa_zt3 = 1;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 44 MovieClip "tuiz" in Frame 4
onClipEvent (enterFrame) {
if (_root.cut_flg == 1) {
_x = (_x + 0);
}
}
Instance of Symbol 149 MovieClip "zxh" in Frame 4
onClipEvent (enterFrame) {
if ((_root.zjs == 1) and (_name ne "zxh")) {
if ((_root.xshtime >= 0) and (_root.xshtime < 11)) {
_root.zxhcopy._alpha = _root.alp;
_root.alp = _root.alp + 10;
_root.xshtime = _root.xshtime + 1;
} else if ((_root.xshtime >= 11) and (_root.xshtime < (11 + _root.xsh_jg))) {
_root.xshtime = _root.xshtime + 1;
} else if ((_root.xshtime >= (11 + _root.xsh_jg)) and (_root.xshtime < (21 + _root.xsh_jg))) {
_root.zxhcopy._alpha = _root.alp;
_root.alp = _root.alp - 10;
_root.xshtime = _root.xshtime + 1;
} else if (_root.xshtime >= (21 + _root.xsh_jg)) {
_root.zjs = 0;
removeMovieClip(_root.zxhcopy);
}
}
}
Frame 5
stop();
_root.quedinW.username.text = _root.game_so.data.playerName;
_root.quedinW.useremail.text = _root.game_so.data.useremail;
Frame 6
Text123._accProps = new Object();
Text123._accProps.silent = true;
stop();
_root.quedinW.username.text = _root.game_so.data.playerName;
_root.quedinW.useremail.text = _root.game_so.data.useremail;
Frame 7
stop();
score = _root.score;
showScores = 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_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 = "omyhead";
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 18 Button
on (release) {
getURL ("http://www.t45ol.com", "_blank");
}
Symbol 37 Button
on (press) {
x = _root.tuiz._x - 270;
y = _root.tuiz._y;
x1 = _root.tuiz._x;
x_py = 15;
y_py = 30;
if (_root.cut_flg == 0) {
if ((((_root.toufa_bz1 == 0) and (_root.toufa_bz2 == 0)) and (_root.toufa_bz3 == 0)) and (_root.toufa_bz4 == 0)) {
} else {
_root.cut_flg = 1;
_root.midiplay(2);
stopDrag();
if (_root.toufa_bz1 == 1) {
if (_root.toufa_zt1 == 6) {
_root.num_xsh(-500, x1 + x_py, y - y_py);
_root.midiplay(3);
_root.blood._x = x;
_root.blood._y = y;
_root.cut_flg1 = 1;
_root.toufa_cut = 1;
_root.cut_cs = 0;
_root.blood._visible = 1;
_root.blood.gotoAndPlay(1);
} else {
_root.toufa_cut = 1;
_root.diao_fa._x = _root.toufa_01._x;
_root.diao_fa._y = _root.toufa_01._y;
_root.cut_flg1 = 1;
_root.diao_fa._visible = 1;
_root.diao_fa.gotoAndPlay(1);
_root.cut_cs = 0;
}
} else if (_root.toufa_bz2 == 1) {
if (_root.toufa_zt2 == 6) {
_root.num_xsh(-500, x1 + x_py, y - y_py);
_root.midiplay(3);
_root.blood._x = x;
_root.blood._y = y;
_root.cut_flg2 = 1;
_root.toufa_cut = 2;
_root.cut_cs = 0;
_root.blood._visible = 1;
_root.blood.gotoAndPlay(1);
} else {
_root.toufa_cut = 2;
_root.diao_fa._x = _root.toufa_02._x;
_root.diao_fa._y = _root.toufa_02._y;
_root.cut_flg2 = 1;
_root.diao_fa._visible = 1;
_root.diao_fa.gotoAndPlay(1);
_root.cut_cs = 0;
}
} else if (_root.toufa_bz3 == 1) {
if (_root.toufa_zt3 == 6) {
_root.num_xsh(-500, x1 + x_py, y - y_py);
_root.midiplay(3);
_root.blood._x = x;
_root.blood._y = y;
_root.cut_flg3 = 1;
_root.toufa_cut = 3;
_root.cut_cs = 0;
_root.blood._visible = 1;
_root.blood.gotoAndPlay(1);
} else {
_root.toufa_cut = 3;
_root.diao_fa._x = _root.toufa_03._x;
_root.diao_fa._y = _root.toufa_03._y;
_root.cut_flg3 = 1;
_root.diao_fa._visible = 1;
_root.diao_fa.gotoAndPlay(1);
_root.cut_cs = 0;
}
} else if (_root.toufa_bz4 == 1) {
if (_root.toufa_zt4 == 6) {
_root.num_xsh(-500, x1 + x_py, y - y_py);
_root.midiplay(3);
_root.blood._x = x;
_root.blood._y = y;
_root.cut_flg4 = 1;
_root.toufa_cut = 4;
_root.cut_cs = 0;
_root.blood._visible = 1;
_root.blood.gotoAndPlay(1);
} else {
_root.toufa_cut = 4;
_root.diao_fa._x = _root.toufa_04._x;
_root.diao_fa._y = _root.toufa_04._y;
_root.cut_flg4 = 1;
_root.diao_fa._visible = 1;
_root.diao_fa.gotoAndPlay(1);
_root.cut_cs = 0;
}
}
this.gotoAndPlay(2);
}
}
}
Symbol 44 MovieClip Frame 1
stop();
if (_root.cut_flg == 1) {
this.gotoAndPlay(2);
}
Symbol 44 MovieClip Frame 24
_root.cut_cs = _root.cut_cs + 1;
_root.midistop(2);
if (_root.cut_cs >= 1) {
_root.cut_flg = 0;
if (_root.toufa_cut == 1) {
_root.toufa_cut = 0;
if (_root.toufa_zt1 == 1) {
_root.toufa_num1 = 0;
_root.toufa_zt1 = 6;
_root.toufa_01.gotoAndStop(1);
} else if (_root.toufa_zt1 == 2) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 - 1;
_root.toufa_01.gotoAndStop(4);
} else if (_root.toufa_zt1 == 3) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 - 1;
_root.toufa_01.gotoAndStop(7);
} else if (_root.toufa_zt1 == 4) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 - 1;
_root.toufa_01.gotoAndStop(10);
} else if (_root.toufa_zt1 == 5) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num1 = 0;
_root.toufa_zt1 = _root.toufa_zt1 - 1;
_root.toufa_01.gotoAndStop(13);
} else if (_root.toufa_zt1 == 6) {
_root.score_num = _root.score_num - _root.cuterr_num;
if (_root.score_num <= 0) {
_root.score_num = 0;
}
_root.score = _root.score_num;
}
} else if (_root.toufa_cut == 2) {
_root.toufa_cut = 0;
if (_root.toufa_zt2 == 1) {
_root.toufa_num2 = 0;
_root.toufa_zt2 = 6;
_root.toufa_02.gotoAndStop(1);
} else if (_root.toufa_zt2 == 2) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 - 1;
_root.toufa_02.gotoAndStop(4);
} else if (_root.toufa_zt2 == 3) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 - 1;
_root.toufa_02.gotoAndStop(7);
} else if (_root.toufa_zt2 == 4) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 - 1;
_root.toufa_02.gotoAndStop(10);
} else if (_root.toufa_zt2 == 5) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num2 = 0;
_root.toufa_zt2 = _root.toufa_zt2 - 1;
_root.toufa_02.gotoAndStop(13);
} else if (_root.toufa_zt1 == 6) {
_root.score_num = _root.score_num - _root.cuterr_num;
if (_root.score_num <= 0) {
_root.score_num = 0;
}
_root.score = _root.score_num;
}
} else if (_root.toufa_cut == 3) {
_root.toufa_cut = 0;
if (_root.toufa_zt3 == 1) {
_root.toufa_num3 = 0;
_root.toufa_zt3 = 6;
_root.toufa_03.gotoAndStop(1);
} else if (_root.toufa_zt3 == 2) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 - 1;
_root.toufa_03.gotoAndStop(4);
} else if (_root.toufa_zt3 == 3) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 - 1;
_root.toufa_03.gotoAndStop(7);
} else if (_root.toufa_zt3 == 4) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 - 1;
_root.toufa_03.gotoAndStop(10);
} else if (_root.toufa_zt3 == 5) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num3 = 0;
_root.toufa_zt3 = _root.toufa_zt3 - 1;
_root.toufa_03.gotoAndStop(13);
} else if (_root.toufa_zt1 == 6) {
_root.score_num = _root.score_num - _root.cuterr_num;
if (_root.score_num <= 0) {
_root.score_num = 0;
}
_root.score = _root.score_num;
}
} else if (_root.toufa_cut == 4) {
_root.toufa_cut = 0;
if (_root.toufa_zt4 == 1) {
_root.toufa_num4 = 0;
_root.toufa_zt4 = 6;
_root.toufa_04.gotoAndStop(1);
} else if (_root.toufa_zt4 == 2) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 - 1;
_root.toufa_04.gotoAndStop(4);
} else if (_root.toufa_zt4 == 3) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 - 1;
_root.toufa_04.gotoAndStop(7);
} else if (_root.toufa_zt4 == 4) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 - 1;
_root.toufa_04.gotoAndStop(10);
} else if (_root.toufa_zt4 == 5) {
_root.score_num = _root.score_num + _root.cutfen_num;
_root.score = _root.score_num;
_root.toufa_num4 = 0;
_root.toufa_zt4 = _root.toufa_zt4 - 1;
_root.toufa_04.gotoAndStop(13);
} else if (_root.toufa_zt4 == 6) {
_root.score_num = _root.score_num - _root.cuterr_num;
if (_root.score_num <= 0) {
_root.score_num = 0;
}
_root.score = _root.score_num;
}
}
} else if (_root.cut_flg == 1) {
}
this.gotoAndStop(1);
startDrag ("_root.tuiz", true);
Symbol 49 MovieClip Frame 15
stop();
Symbol 58 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 13
stop();
_root.score_num = _root.score_num - _root.cuterr_num;
if (_root.score_num <= 0) {
_root.score_num = 0;
}
_root.score = _root.score_num;
this._visible = 0;
this.gotoAndStop(1);
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 12
stop();
_root.xiao_flg = 0;
_root.yz_03._visible = 0;
_root.ren_03._visible = 0;
_root.toufa_bz3 = 0;
_root.toufa_03._visible = 0;
this._visible = 0;
this.gotoAndStop(1);
if ((((_root.over_flg1 == 1) and (_root.over_flg2 == 1)) and (_root.over_flg3 == 1)) and (_root.over_flg4 == 1)) {
clearInterval(_root.time0);
stopDrag();
mouse.show();
_root.midistop(1);
if (_root.score_num >= _root.good_num) {
_root.gotoAndStop(6);
} else {
_root.gotoAndStop(5);
}
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 12
stop();
_root.xiao_flg = 0;
_root.yz_01._visible = 0;
_root.ren_01._visible = 0;
_root.toufa_bz1 = 0;
_root.toufa_01._visible = 0;
this._visible = 0;
this.gotoAndStop(1);
if ((((_root.over_flg1 == 1) and (_root.over_flg2 == 1)) and (_root.over_flg3 == 1)) and (_root.over_flg4 == 1)) {
clearInterval(_root.time0);
stopDrag();
mouse.show();
_root.midistop(1);
if (_root.score_num >= _root.good_num) {
_root.gotoAndStop(6);
} else {
_root.gotoAndStop(5);
}
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 12
stop();
_root.xiao_flg = 0;
_root.yz_02._visible = 0;
_root.ren_02._visible = 0;
_root.toufa_bz2 = 0;
_root.toufa_02._visible = 0;
this._visible = 0;
this.gotoAndStop(1);
if ((((_root.over_flg1 == 1) and (_root.over_flg2 == 1)) and (_root.over_flg3 == 1)) and (_root.over_flg4 == 1)) {
clearInterval(_root.time0);
stopDrag();
mouse.show();
_root.midistop(1);
if (_root.score_num >= _root.good_num) {
_root.gotoAndStop(6);
} else {
_root.gotoAndStop(5);
}
}
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 12
stop();
_root.xiao_flg = 0;
_root.yz_04._visible = 0;
_root.ren_04._visible = 0;
_root.toufa_bz4 = 0;
_root.toufa_04._visible = 0;
this._visible = 0;
this.gotoAndStop(1);
if ((((_root.over_flg1 == 1) and (_root.over_flg2 == 1)) and (_root.over_flg3 == 1)) and (_root.over_flg4 == 1)) {
clearInterval(_root.time0);
stopDrag();
mouse.show();
_root.midistop(1);
if (_root.score_num >= _root.good_num) {
_root.gotoAndStop(6);
} else {
_root.gotoAndStop(5);
}
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 4
stop();
Symbol 91 MovieClip Frame 7
stop();
Symbol 91 MovieClip Frame 10
stop();
Symbol 91 MovieClip Frame 13
stop();
Symbol 91 MovieClip Frame 16
stop();
Symbol 91 MovieClip Frame 19
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 4
stop();
Symbol 97 MovieClip Frame 7
stop();
Symbol 97 MovieClip Frame 10
stop();
Symbol 97 MovieClip Frame 13
stop();
Symbol 97 MovieClip Frame 16
stop();
Symbol 97 MovieClip Frame 19
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 4
stop();
Symbol 103 MovieClip Frame 7
stop();
Symbol 103 MovieClip Frame 10
stop();
Symbol 103 MovieClip Frame 13
stop();
Symbol 103 MovieClip Frame 16
stop();
Symbol 103 MovieClip Frame 19
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 4
stop();
Symbol 109 MovieClip Frame 7
stop();
Symbol 109 MovieClip Frame 10
stop();
Symbol 109 MovieClip Frame 13
stop();
Symbol 109 MovieClip Frame 16
stop();
Symbol 109 MovieClip Frame 19
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 4
this.gotoAndStop(1);
this._visible = 0;
Symbol 131 Button
on (release) {
getURL ("http://www.t45ol.com", "_blank");
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
stop();
Symbol 144 MovieClip Frame 3
stop();
Symbol 144 MovieClip Frame 4
stop();
Symbol 144 MovieClip Frame 5
stop();
Symbol 144 MovieClip Frame 6
stop();
Symbol 144 MovieClip Frame 7
stop();
Symbol 144 MovieClip Frame 8
stop();
Symbol 144 MovieClip Frame 9
stop();
Symbol 144 MovieClip Frame 10
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 162 Button
on (release) {
_root.Init();
_root.gotoAndStop(4);
}
Symbol 171 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.gotoAndStop("ph");
}
}
Symbol 209 Button
on (release) {
getURL ("http://www.t45ol.com/", "_blank");
}
Symbol 211 Button
on (release) {
getURL ("http://www.t45ol.com/play_flash.php?ID=954", "_blank");
}
Symbol 215 Button
on (release) {
getURL ("http://www.frontnetwork.net", "_blank");
}
Symbol 217 MovieClip Frame 1
stop();
errorMsg = "";
i = 0;
alien_mc.onEnterFrame = function () {
i = i + 0.25;
i = i % 2;
this.gotoAndStop(i + 1);
};