请FLASH 高手留下联系方式,然后我们共同探讨!我的QQ:563991332
// Action script...// [Action in Frame 1]
_root.tempdata = new Array();// [Action in Frame 2]
if (_root.tempdata.length > 0)
{
_root.last_receive = 0;
var temp_line = _root.tempdata.pop();
getURL("FSCommand:ball_info", temp_line);
alert = 0;
alert2 = 0;
line = temp_line.split("`");
if (pre_line == null)
{
pre_line = temp_line;
} // end if
if (pre_line != temp_line)
{
alert2 = 1;
line2 = pre_line.split("`");
if (_root.pre_type == _root.type && _root.pre_page == _root.page)
{
for (i = 0; i < line.length; i++)
{
line_array = line[i].split("|");
line2_array = line2[i].split("|");
if (line_array[2] == line2_array[2] && line_array[2] != "" && line_array[2] != null)
{
for (j = 3; j < line_array.length; j++)
{
if (line_array[j] != line2_array[j] && line_array[j] != "" && line2_array[j] != "" && line_array[j] != null && line2_array[j] != null)
{
temp1 = line_array[j].split(",");
temp2 = line2_array[j].split(",");
if (temp1[0] != temp2[0])
{
alert2++;
} // end if
} // end if
} // end of for
} // end if
} // end of for
} // end if
_root.pre_type = _root.type;
_root.pre_page = _root.page;
pre_line = temp_line;
} // end if
for (i = 0; i < line.length; i++)
{
line2 = line[i].split("|");
line3 = line2[4].split(",");
if (line3[2] == 1)
{
alert = 1;
break;
} // end if
} // end of for
if (alert && _root.sound_alert == 1)
{
tellTarget(_root.sound)
{
gotoAndPlay(2);
} // End of TellTarget
}
else
{
tellTarget(_root.sound)
{
stopAllSounds();
} // End of TellTarget
} // end if
if (alert2)
{
if (alert2 < 3)
{
tellTarget(_root.sound2)
{
gotoAndPlay(1);
} // End of TellTarget
}
else if (alert2 < 5)
{
tellTarget(_root.sound2)
{
gotoAndPlay(1);
} // End of TellTarget
tellTarget(_root.sound3)
{
gotoAndPlay(1);
} // End of TellTarget
}
else if (alert2 > 5)
{
tellTarget(_root.sound2)
{
gotoAndPlay(1);
} // End of TellTarget
tellTarget(_root.sound3)
{
gotoAndPlay(1);
} // End of TellTarget
tellTarget(_root.sound4)
{
gotoAndPlay(1);
} // End of TellTarget
} // end if
} // end if
} // end if// [Action in Frame 3]
if (_root.last_receive < 99999)
{
_root.last_receive++;
} // end if// [Action in Frame 6]
gotoAndPlay(2);
什么意思?高手看下!给个建议!
// Action script...// [Action in Frame 1]
_root.tempdata = new Array();// [Action in Frame 2]
if (_root.tempdata.length > 0)
{
_root.last_receive = 0;
var temp_line = _root.tempdata.pop();
getURL("FSCommand:ball_info", temp_line);
alert = 0;
alert2 = 0;
line = temp_line.split("`");
if (pre_line == null)
{
pre_line = temp_line;
} // end if
if (pre_line != temp_line)
{
alert2 = 1;
line2 = pre_line.split("`");
if (_root.pre_type == _root.type && _root.pre_page == _root.page)
{
for (i = 0; i < line.length; i++)
{
line_array = line[i].split("|");
line2_array = line2[i].split("|");
if (line_array[2] == line2_array[2] && line_array[2] != "" && line_array[2] != null)
{
for (j = 3; j < line_array.length; j++)
{
if (line_array[j] != line2_array[j] && line_array[j] != "" && line2_array[j] != "" && line_array[j] != null && line2_array[j] != null)
{
temp1 = line_array[j].split(",");
temp2 = line2_array[j].split(",");
if (temp1[0] != temp2[0])
{
alert2++;
} // end if
} // end if
} // end of for
} // end if
} // end of for
} // end if
_root.pre_type = _root.type;
_root.pre_page = _root.page;
pre_line = temp_line;
} // end if
for (i = 0; i < line.length; i++)
{
line2 = line[i].split("|");
line3 = line2[4].split(",");
if (line3[2] == 1)
{
alert = 1;
break;
} // end if
} // end of for
if (alert && _root.sound_alert == 1)
{
tellTarget(_root.sound)
{
gotoAndPlay(2);
} // End of TellTarget
}
else
{
tellTarget(_root.sound)
{
stopAllSounds();
} // End of TellTarget
} // end if
if (alert2)
{
if (alert2 < 3)
{
tellTarget(_root.sound2)
{
gotoAndPlay(1);
} // End of TellTarget
}
else if (alert2 < 5)
{
tellTarget(_root.sound2)
{
gotoAndPlay(1);
} // End of TellTarget
tellTarget(_root.sound3)
{
gotoAndPlay(1);
} // End of TellTarget
}
else if (alert2 > 5)
{
tellTarget(_root.sound2)
{
gotoAndPlay(1);
} // End of TellTarget
tellTarget(_root.sound3)
{
gotoAndPlay(1);
} // End of TellTarget
tellTarget(_root.sound4)
{
gotoAndPlay(1);
} // End of TellTarget
} // end if
} // end if
} // end if// [Action in Frame 3]
if (_root.last_receive < 99999)
{
_root.last_receive++;
} // end if// [Action in Frame 6]
gotoAndPlay(2);
什么意思?高手看下!给个建议!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货