Frame 1
GoToNewScen = function () {
gotoAndStop (5);
};
stop();
Frame 5
GoNexSecne = function () {
gotoAndStop (6);
};
Frame 6
var B_Zu_Name_PD = false;
var NowShellQi = "";
var NowShellQiName = "";
var QiTongPan = [];
var NowFangShang = "";
var NowShellQiPan = "";
var NowTaoQiDeph = 300;
var CenHuiDeph = 50;
var QiLoDi = 0;
var QiRunPD = false;
var QiCount = 0;
var GameTime = 0;
var SumitFen = true;
var SumitUserS = "";
var NowDate = new Date();
var GameSetOb = {GameStar:false, StarTime:NowDate, PauseTime:NowDate, GameTyle:0, PlayEnable:true, PlayName:"", MeSound:true, SoundVole:80, Pause:false};
var MySound = new Sound();
var QiGoArr = [];
var GameFen = {Fen:0, Time:"00:00", ShangRu:0, BuSu:0, HuiQi:0, Midel:false};
var WinGameFen = {Fen:0, Time:"00:00", ShangRu:0, BuSu:0, HuiQi:0, Midel:false};
var TimePauseAdd = 0;
var MeInterval = 0;
var ReInterval = 0;
var OleSecont = 0;
var RePlayAuto = true;
var RePlayIndex = 0;
var WinPlayArr = [];
var RePlayArr = [];
var DiaShowPD = false;
var DiaIndex = 0;
var GameNewPD = false;
var NowDia = "";
var NumBer_X = 543;
var NumBer_Y = 115;
var NumBer_Yadd = 28.3;
function BackStar_fun() {
_root.B_Zu_Name_PD = false;
_root.NowShellQi = "";
_root.NowShellQiName = "";
_root.QiTongPan = [];
_root.NowFangShang = "";
_root.NowShellQiPan = "";
_root.NowTaoQiDeph = 300;
_root.CenHuiDeph = 50;
_root.QiLoDi = 0;
_root.QiRunPD = false;
_root.QiCount = 0;
_root.GameTime = 0;
_root.GameSetOb.GameStar = false;
_root.GameSetOb.PlayEnable = true;
_root.GameSetOb.Pause = false;
_root.QiGoArr = [];
_root.GameFen = {Fen:0, Time:"00:00", ShangRu:0, BuSu:0, HuiQi:0, Midel:false};
_root.WinGameFen = {Fen:0, Time:"00:00", ShangRu:0, BuSu:0, HuiQi:0, Midel:false};
_root.TimePauseAdd = 0;
_root.MeInterval = 0;
_root.ReInterval = 0;
_root.OleSecont = 0;
_root.RePlayAuto = true;
_root.RePlayIndex = 0;
_root.WinPlayArr = [];
_root.RePlayArr = [];
_root.DiaIndex = 0;
_root.GameNewPD = false;
_root.NowDia = "";
var _local3 = 1;
while (_local3 <= 7) {
var _local2 = 1;
while (_local2 <= 7) {
_root[_root[("Zhu" + _local3) + _local2].QiName].removeMovieClip();
_local2++;
}
_local3++;
}
_local3 = _root.NowTaoQiDeph;
while (_local3 < 30) {
_root["ZhuQiTiao" + _local3].removeMovieClip();
_local3++;
}
_local3 = _root.CenHuiDeph;
while (_local3 < 30) {
_root["M_CenHui" + _local3].removeMovieClip();
_local3++;
}
_local3 = _root.QiLoDi;
while (_local3 < 30) {
_root["M_QiLoDi" + _local3].removeMovieClip();
_local3++;
}
}
function NewGame_fun() {
_root.GameNewPD = true;
_root.B_Zu_Name_PD = false;
_root.NowShellQi = "";
_root.NowShellQiName = "";
_root.QiTongPan = [];
_root.NowFangShang = "";
_root.NowShellQiPan = "";
_root.NowTaoQiDeph = 300;
_root.CenHuiDeph = 50;
_root.QiLoDi = 0;
_root.QiCount = 0;
_root.GameTime = 0;
_root.TimePauseAdd = 0;
_root.QiGoArr = [];
if (_root.GameSetOb.PlayEnable) {
_root.SumitFen = true;
_root.GameFen = {Fen:0, Time:"00:00", ShangRu:0, BuSu:0, HuiQi:0, Midel:false};
} else {
_root.SumitFen = false;
_root.GameFen.BuSu = 0;
}
_root.attachMovie("Ma_Number", "M_Number501", 501, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 0), meNumber:_root.GameFen.Fen});
_root.attachMovie("Ma_Number", "M_Number502", 502, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 1), meNumber:_root.GameFen.Time, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number503", 503, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 2), meNumber:_root.GameFen.ShangRu, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number504", 504, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 3), meNumber:_root.GameFen.BuSu, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number505", 505, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 4), meNumber:_root.GameFen.HuiQi, _xscale:80, _yscale:80, _alpha:100});
var _local2 = _root.NowTaoQiDeph;
while (_local2 < 30) {
_root["ZhuQiTiao" + _local2].removeMovieClip();
_local2++;
}
_local2 = _root.CenHuiDeph;
while (_local2 < 30) {
_root["M_CenHui" + _local2].removeMovieClip();
_local2++;
}
_local2 = _root.QiLoDi;
while (_local2 < 30) {
_root["M_QiLoDi" + _local2].removeMovieClip();
_local2++;
}
_root.Qibuzheng_fun();
_root.QiRunPD = true;
_root.GameSetOb.GameStar = true;
var _local3 = new Date();
_root.GameSetOb.StarTime = _local3;
if (_root.GameSetOb.PlayEnable) {
_root.MeInterval = setInterval(TimeUpdate, 1000);
}
_root.RePlayIndex = 0;
}
function Qibuzheng_fun() {
var _local4 = 100;
_root.QiCount = 0;
var _local3 = 1;
while (_local3 <= 7) {
var _local2 = 1;
while (_local2 <= 7) {
_root[_root[("Zhu" + _local3) + _local2].QiName].removeMovieClip();
if (_root[("Zhu" + _local3) + _local2]._visible) {
_root[("Zhu" + _local3) + _local2].Qi_x = _local3;
_root[("Zhu" + _local3) + _local2].Qi_y = _local2;
if ((_local3 == 4) && (_local2 == 4)) {
_root[("Zhu" + _local3) + _local2].QiName = "";
_root[("Zhu" + _local3) + _local2].QiDhpe = 100;
_root[("Zhu" + _local3) + _local2].QiVisible = false;
} else {
_local4++;
_root.attachMovie("ZhuQi", ("ZhuQi" + _local3) + _local2, _local4, {_x:_root[("Zhu" + _local3) + _local2]._x, _y:_root[("Zhu" + _local3) + _local2]._y});
_root[("Zhu" + _local3) + _local2].QiName = ("ZhuQi" + _local3) + _local2;
_root[("Zhu" + _local3) + _local2].QiDhpe = _local4;
_root[("Zhu" + _local3) + _local2].QiVisible = true;
_root.QiCount++;
_root.GameFen.ShangRu = _root.QiCount;
_root.attachMovie("Ma_Number", "M_Number503", 503, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 2), meNumber:_root.GameFen.ShangRu, _xscale:80, _yscale:80, _alpha:100});
}
}
_local2++;
}
_local3++;
}
}
function Qishellrun_fun(ShellQi) {
if (_root.GameSetOb.PlayEnable) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_Sell");
_root.MySound.start();
}
var _local3 = 1;
while (_local3 <= 4) {
_root["M_FangShang" + _local3].removeMovieClip();
_local3++;
}
_root.NowShellQiPan = ShellQi._name;
if (ShellQi.QiVisible) {
_root.QiTongPan = [];
_root.NowShellQi = ShellQi._name;
if ((_root[("Zhu" + Number(ShellQi.Qi_x - 2)) + ShellQi.Qi_y].QiName == "") && (_root[("Zhu" + Number(ShellQi.Qi_x - 1)) + ShellQi.Qi_y].QiName != "")) {
_root.attachMovie("Ma_FangShang", "M_FangShang1", 151, {_x:ShellQi._x, _y:ShellQi._y, _rotation:90});
_root.M_FangShang1._alpha = 50;
_root.QiTongPan.push(("Zhu" + Number(ShellQi.Qi_x - 2)) + ShellQi.Qi_y);
}
if ((_root[("Zhu" + ShellQi.Qi_x) + Number(ShellQi.Qi_y - 2)].QiName == "") && (_root[("Zhu" + ShellQi.Qi_x) + Number(ShellQi.Qi_y - 1)].QiName != "")) {
_root.attachMovie("Ma_FangShang", "M_FangShang2", 152, {_x:ShellQi._x, _y:ShellQi._y, _yscale:-100});
_root.M_FangShang2._alpha = 50;
_root.QiTongPan.push(("Zhu" + ShellQi.Qi_x) + Number(ShellQi.Qi_y - 2));
}
if ((_root[("Zhu" + Number(ShellQi.Qi_x + 2)) + ShellQi.Qi_y].QiName == "") && (_root[("Zhu" + Number(ShellQi.Qi_x + 1)) + ShellQi.Qi_y].QiName != "")) {
_root.attachMovie("Ma_FangShang", "M_FangShang3", 153, {_x:ShellQi._x, _y:ShellQi._y, _rotation:-90});
_root.M_FangShang3._alpha = 50;
_root.QiTongPan.push(("Zhu" + Number(ShellQi.Qi_x + 2)) + ShellQi.Qi_y);
}
if ((_root[("Zhu" + ShellQi.Qi_x) + Number(ShellQi.Qi_y + 2)].QiName == "") && (_root[("Zhu" + ShellQi.Qi_x) + Number(ShellQi.Qi_y + 1)].QiName != "")) {
_root.attachMovie("Ma_FangShang", "M_FangShang4", 154, {_x:ShellQi._x, _y:ShellQi._y, _xscale:100});
_root.M_FangShang4._alpha = 50;
_root.QiTongPan.push(("Zhu" + ShellQi.Qi_x) + Number(ShellQi.Qi_y + 2));
}
} else {
var _local6 = new String(_root.QiTongPan.toString());
if (((_local6.length > 0) && (_local6.indexOf(ShellQi._name) >= 0)) && (_root.NowShellQi != "")) {
ShellQi.QiName = ("ZhuQi" + ShellQi.Qi_x) + ShellQi.Qi_y;
ShellQi.QiVisible = true;
_root[_root.NowShellQi].QiVisible = false;
_root.ZhuQiTemp.removeMovieClip();
var _local5 = 0;
var _local4 = 0;
if (ShellQi.Qi_x != _root[_root.NowShellQi].Qi_x) {
_local5 = _root[_root.NowShellQi].Qi_x + ((ShellQi.Qi_x - _root[_root.NowShellQi].Qi_x) / 2);
_local4 = _root[_root.NowShellQi].Qi_y;
}
if (ShellQi.Qi_y != _root[_root.NowShellQi].Qi_y) {
_local4 = _root[_root.NowShellQi].Qi_y + ((ShellQi.Qi_y - _root[_root.NowShellQi].Qi_y) / 2);
_local5 = _root[_root.NowShellQi].Qi_x;
}
_root[("Zhu" + _local5) + _local4].QiVisible = false;
_root.QiTiao_fun(_root[_root.NowShellQi], ShellQi, _root[("Zhu" + _local5) + _local4]);
var _local7 = {meStar:_root[_root.NowShellQi]._name, meMidel:_root[("Zhu" + _local5) + _local4]._name, meEnd:ShellQi._name};
_root.QiGoArr.push(_local7);
_root.B_HunQi.enabled = true;
_root.B_HunQi._alpha = 100;
}
_root.NowShellQi = "";
_root.QiTongPan = [];
}
}
}
function Qipanrun_fun(ShellQi) {
if (_root.GameSetOb.PlayEnable) {
if (ShellQi.QiVisible) {
} else {
var _local4 = new String(_root.QiTongPan.toString());
if ((_local4.length > 0) && (_local4.indexOf(ShellQi._name) >= 0)) {
_root.attachMovie("ZhuQi", "ZhuQiTemp", 200, {_x:ShellQi._x, _y:ShellQi._y, _alpha:50});
_root.ZhuQiTemp.gotoAndStop("Yes_check");
}
var _local2 = 1;
while (_local2 <= 4) {
if (_root["M_FangShang" + _local2].hitTest(ShellQi)) {
_root["M_FangShang" + _local2]._alpha = 100;
_root.NowFangShang = "M_FangShang" + _local2;
} else {
_root["M_FangShang" + _local2]._alpha = 50;
}
_local2++;
}
}
}
}
function Qipanout_fun(ShellQi) {
if (_root.GameSetOb.PlayEnable) {
if (ShellQi.QiVisible) {
} else {
var _local2 = new String(_root.QiTongPan.toString());
if ((_local2.length > 0) && (_local2.indexOf(ShellQi._name) >= 0)) {
_root.ZhuQiTemp.removeMovieClip();
}
}
_root[_root.NowFangShang]._alpha = 50;
}
}
function QiTiao_fun(starQige, endQige, MidiQige) {
_root.QiRunPD = false;
_root.NowTaoQiDeph++;
_root.attachMovie("ZhuQi", "ZhuQiTiao" + _root.NowTaoQiDeph, _root.NowTaoQiDeph, {_x:starQige._x, _y:starQige._y});
_root["ZhuQiTiao" + _root.NowTaoQiDeph].gotoAndStop("Yes_check");
var TiaoCount = 12;
var TiaoXuDu = 0;
var TiaoScale = 0;
var MidelPD = 0;
_root[starQige.QiName].removeMovieClip();
starQige.QiName = "";
starQige.QiVisible = false;
_root["ZhuQiTiao" + _root.NowTaoQiDeph].onEnterFrame = function () {
var _local2 = (endQige._x - starQige._x) / TiaoCount;
var _local3 = (endQige._y - starQige._y) / TiaoCount;
if (TiaoScale > (TiaoCount / 2)) {
TiaoScale--;
MidelPD++;
} else {
TiaoScale++;
}
if (MidelPD == 1) {
_root.CenHuiDeph++;
_root.attachMovie("Ma_CenHui", "M_CenHui" + _root.CenHuiDeph, _root.CenHuiDeph, {_x:MidiQige._x, _y:MidiQige._y});
_root[MidiQige.QiName].removeMovieClip();
MidiQige.QiName = "";
MidiQige.QiVisible = false;
}
_root["ZhuQiTiao" + _root.NowTaoQiDeph]._xscale = (_root["ZhuQiTiao" + _root.NowTaoQiDeph]._yscale = 100 + (TiaoScale * 4));
_root["ZhuQiTiao" + _root.NowTaoQiDeph]._x = _root["ZhuQiTiao" + _root.NowTaoQiDeph]._x + _local2;
_root["ZhuQiTiao" + _root.NowTaoQiDeph]._y = _root["ZhuQiTiao" + _root.NowTaoQiDeph]._y + _local3;
TiaoXuDu++;
if (TiaoXuDu >= (TiaoCount * 0.6)) {
_root.QiLoDi++;
_root.attachMovie("Ma_QiLoDi", "M_QiLoDi" + _root.QiLoDi, _root.QiLoDi, {_x:endQige._x, _y:endQige._y});
}
if (TiaoXuDu >= TiaoCount) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_dele");
_root.MySound.start();
}
_root.attachMovie("ZhuQi", ("ZhuQi" + endQige.Qi_x) + endQige.Qi_y, endQige.QiDhpe, {_x:endQige._x, _y:endQige._y});
endQige.QiName = ("ZhuQi" + endQige.Qi_x) + endQige.Qi_y;
endQige.QiVisible = true;
_root[("ZhuQi" + endQige.Qi_x) + endQige.Qi_y].gotoAndPlay("GoTo");
delete _root["ZhuQiTiao" + _root.NowTaoQiDeph].onEnterFrame;
var _local4 = _root.NowTaoQiDeph;
_root.NowTaoQiDeph--;
_root["ZhuQiTiao" + _local4].removeMovieClip();
if (_root.GameSetOb.PlayEnable) {
_root.GameFen.Fen = _root.GameFen.Fen + 50;
_root.GameFen.BuSu++;
} else {
_root.GameFen.BuSu = _root.RePlayIndex;
}
_root.QiCount--;
_root.GameFen.ShangRu = _root.QiCount;
if (_root.GameSetOb.PlayEnable) {
_root.attachMovie("Ma_Number", "M_Number501", 501, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 0), meNumber:_root.GameFen.Fen});
_root.attachMovie("Ma_Number", "M_Number505", 505, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 4), meNumber:_root.GameFen.HuiQi, _xscale:80, _yscale:80, _alpha:100});
}
_root.attachMovie("Ma_Number", "M_Number503", 503, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 2), meNumber:_root.GameFen.ShangRu, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number504", 504, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 3), meNumber:_root.GameFen.BuSu, _xscale:80, _yscale:80, _alpha:100});
_root.QiKuang_fun();
_root.QiRunPD = true;
}
};
}
function HunQi_fun() {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_HuiQi");
_root.MySound.start();
}
var _local3 = _root[_root.QiGoArr[_root.QiGoArr.length - 1].meStar];
_root.attachMovie("ZhuQi", ("ZhuQi" + _local3.Qi_x) + _local3.Qi_y, _local3.QiDhpe, {_x:_local3._x, _y:_local3._y});
_local3.QiName = ("ZhuQi" + _local3.Qi_x) + _local3.Qi_y;
_local3.QiVisible = true;
var _local2 = _root[_root.QiGoArr[_root.QiGoArr.length - 1].meMidel];
_root.attachMovie("ZhuQi", ("ZhuQi" + _local2.Qi_x) + _local2.Qi_y, _local2.QiDhpe, {_x:_local2._x, _y:_local2._y});
_local2.QiName = ("ZhuQi" + _local2.Qi_x) + _local2.Qi_y;
_local2.QiVisible = true;
var _local4 = _root[_root.QiGoArr[_root.QiGoArr.length - 1].meEnd];
_root[("ZhuQi" + _local4.Qi_x) + _local4.Qi_y].removeMovieClip();
_local4.QiName = "";
_local4.QiVisible = false;
_root.GameFen.Fen = _root.GameFen.Fen - 75;
if (_root.GameFen.Fen < 0) {
_root.GameFen.Fen = 0;
}
_root.GameFen.BuSu--;
_root.QiCount++;
_root.GameFen.HuiQi++;
_root.GameFen.ShangRu = _root.QiCount;
if (_root.GameSetOb.PlayEnable) {
_root.attachMovie("Ma_Number", "M_Number501", 501, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 0), meNumber:_root.GameFen.Fen});
_root.attachMovie("Ma_Number", "M_Number505", 505, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 4), meNumber:_root.GameFen.HuiQi, _xscale:80, _yscale:80, _alpha:100});
}
_root.attachMovie("Ma_Number", "M_Number503", 503, {_x:_root.NumBer_X, _y:_root.NumBer_Y + ((_root.NumBer_Yadd * 1) * 2), meNumber:_root.GameFen.ShangRu, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number504", 504, {_x:_root.NumBer_X, _y:_root.NumBer_Y + ((_root.NumBer_Yadd * 1) * 3), meNumber:_root.GameFen.BuSu, _xscale:80, _yscale:80, _alpha:100});
var _local10 = _root.QiGoArr.pop();
if (_root.QiGoArr.length < 1) {
_root.B_HunQi.enabled = false;
_root.B_HunQi._alpha = 45;
}
}
function QiKuang_fun() {
var _local4 = 0;
var _local5 = 0;
var _local6 = 1;
while (_local6 <= 7) {
var _local3 = 1;
while (_local3 <= 7) {
if (_root[("Zhu" + _local6) + _local3]._visible && (_root[("Zhu" + _local6) + _local3].QiVisible)) {
_local4++;
var _local2 = _root[("Zhu" + _local6) + _local3];
if ((_root[("Zhu" + Number(_local2.Qi_x - 2)) + _local2.Qi_y].QiName == "") && (_root[("Zhu" + Number(_local2.Qi_x - 1)) + _local2.Qi_y].QiName != "")) {
_local5++;
if (((_local4 == 1) && (_local2.Qi_x == 4)) && (_local2.Qi_y == 4)) {
_root.GameFen.Midel = true;
} else {
_root.GameFen.Midel = false;
}
}
if ((_root[("Zhu" + _local2.Qi_x) + Number(_local2.Qi_y - 2)].QiName == "") && (_root[("Zhu" + _local2.Qi_x) + Number(_local2.Qi_y - 1)].QiName != "")) {
_local5++;
if (((_local4 == 1) && (_local2.Qi_x == 4)) && (_local2.Qi_y == 4)) {
_root.GameFen.Midel = true;
} else {
_root.GameFen.Midel = false;
}
}
if ((_root[("Zhu" + Number(_local2.Qi_x + 2)) + _local2.Qi_y].QiName == "") && (_root[("Zhu" + Number(_local2.Qi_x + 1)) + _local2.Qi_y].QiName != "")) {
_local5++;
if (((_local4 == 1) && (_local2.Qi_x == 4)) && (_local2.Qi_y == 4)) {
_root.GameFen.Midel = true;
} else {
_root.GameFen.Midel = false;
}
}
if ((_root[("Zhu" + _local2.Qi_x) + Number(_local2.Qi_y + 2)].QiName == "") && (_root[("Zhu" + _local2.Qi_x) + Number(_local2.Qi_y + 1)].QiName != "")) {
_local5++;
if (((_local4 == 1) && (_local2.Qi_x == 4)) && (_local2.Qi_y == 4)) {
_root.GameFen.Midel = true;
} else {
_root.GameFen.Midel = false;
}
}
}
_local3++;
}
_local6++;
}
if (_local5 == 0) {
_root.GameSetOb.GameStar = false;
clearInterval(_root.MeInterval);
if (_root.GameSetOb.PlayEnable) {
if ((_local4 == 1) && (_root.GameFen.Midel)) {
_root.GameFen.Fen = _root.GameFen.Fen + 5000;
}
if ((_local4 == 1) && (_root.GameFen.Midel == false)) {
_root.GameFen.Fen = _root.GameFen.Fen + 1000;
}
_root.WinPlayArr = _root.QiGoArr.slice();
for (_local6 in _root.GameFen) {
_root.WinGameFen[_local6] = _root.GameFen[_local6];
}
_root.attachMovie("Ma_DiaGameWin", "M_DiaGame", 8000, {_x:325, _y:215, BClose:false});
}
}
}
function TimeUpdate() {
if (((_root.GameSetOb.Pause == false) && (_root.GameSetOb.GameStar)) && (_root.DiaShowPD == false)) {
var _local7 = new Date();
_root.GameTime = (_local7 - _root.GameSetOb.StarTime) - _root.TimePauseAdd;
var _local2 = Math.floor(_root.GameTime / 1000);
if ((_root.GameFen.Fen > 0) && ((_local2 - _root.OleSecont) >= 2)) {
_root.GameFen.Fen--;
_root.OleSecont = _local2;
}
var _local4 = 0;
var _local3 = _local2;
if (_local2 >= 60) {
_local4 = Math.floor(_local2 / 60);
_local3 = _local2 % 60;
}
var _local6 = String(_local4);
var _local5 = String(_local3);
if (_local4 < 10) {
_local6 = "0" + _local4;
}
if (_local3 < 10) {
_local5 = "0" + _local3;
}
if (_root.GameSetOb.PlayEnable) {
_root.GameFen.Time = (_local6 + ":") + _local5;
_root.attachMovie("Ma_Number", "M_Number501", 501, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 0), meNumber:_root.GameFen.Fen});
_root.attachMovie("Ma_Number", "M_Number502", 502, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 1), meNumber:_root.GameFen.Time, _xscale:80, _yscale:80, _alpha:100});
}
}
}
function RePlayStar() {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.GameSetOb.PlayEnable = false;
_root.RePlayIndex = 0;
_root.attachMovie("Ma_RePlay", "M_RePlay", 600, {_x:445.9, _y:238});
}
function RePlay() {
var _local2 = _root.NowTaoQiDeph;
while (_local2 < 30) {
_root["ZhuQiTiao" + _local2].removeMovieClip();
_local2++;
}
_local2 = _root.CenHuiDeph;
while (_local2 < 30) {
_root["M_CenHui" + _local2].removeMovieClip();
_local2++;
}
_local2 = _root.QiLoDi;
while (_local2 < 30) {
_root["M_QiLoDi" + _local2].removeMovieClip();
_local2++;
}
if (_root.QiRunPD) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_Sell");
_root.MySound.start();
}
if (_root.RePlayIndex < 0) {
_root.RePlayIndex = 0;
}
var _local3 = _root.RePlayArr.slice();
if (_root.RePlayIndex >= _local3.length) {
clearInterval(_root.ReInterval);
} else {
_root.QiTiao_fun(_root[_local3[_root.RePlayIndex].meStar], _root[_local3[_root.RePlayIndex].meEnd], _root[_local3[_root.RePlayIndex].meMidel]);
}
_root.RePlayIndex++;
if (_root.RePlayAuto == false) {
if (_root.RePlayIndex <= 0) {
_root.M_RePlay.B_Prev.enabled = false;
_root.M_RePlay.B_Prev._alpha = 45;
} else {
_root.M_RePlay.B_Prev.enabled = true;
_root.M_RePlay.B_Prev._alpha = 100;
}
if (_root.RePlayArr.length > _root.RePlayIndex) {
_root.M_RePlay.B_Next.enabled = true;
_root.M_RePlay.B_Next._alpha = 100;
} else {
_root.M_RePlay.B_Next.enabled = false;
_root.M_RePlay.B_Next._alpha = 45;
}
}
if (_root.RePlayArr.length <= _root.RePlayIndex) {
_root.M_RePlay.B_PlayOver._visible = true;
_root.M_RePlay.M_ReAuto._visible = false;
}
}
}
function ReBack() {
if (_root.QiRunPD) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_HuiQi");
_root.MySound.start();
}
if (_root.RePlayIndex > _root.RePlayArr.length) {
_root.RePlayIndex = _root.RePlayArr.length;
}
var _local3 = _root[_root.RePlayArr[_root.RePlayIndex - 1].meStar];
_root.attachMovie("ZhuQi", ("ZhuQi" + _local3.Qi_x) + _local3.Qi_y, _local3.QiDhpe, {_x:_local3._x, _y:_local3._y});
_local3.QiName = ("ZhuQi" + _local3.Qi_x) + _local3.Qi_y;
_local3.QiVisible = true;
var _local2 = _root[_root.RePlayArr[_root.RePlayIndex - 1].meMidel];
_root.attachMovie("ZhuQi", ("ZhuQi" + _local2.Qi_x) + _local2.Qi_y, _local2.QiDhpe, {_x:_local2._x, _y:_local2._y});
_local2.QiName = ("ZhuQi" + _local2.Qi_x) + _local2.Qi_y;
_local2.QiVisible = true;
var _local4 = _root[_root.RePlayArr[_root.RePlayIndex - 1].meEnd];
_root[("ZhuQi" + _local4.Qi_x) + _local4.Qi_y].removeMovieClip();
_local4.QiName = "";
_local4.QiVisible = false;
_root.GameFen.BuSu = _root.RePlayIndex - 1;
_root.QiCount++;
_root.GameFen.ShangRu = _root.QiCount;
_root.attachMovie("Ma_Number", "M_Number503", 503, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 2), meNumber:_root.GameFen.ShangRu, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number504", 504, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 3), meNumber:_root.GameFen.BuSu, _xscale:80, _yscale:80, _alpha:100});
_root.RePlayIndex--;
if (_root.RePlayAuto == false) {
if (_root.RePlayIndex <= 0) {
_root.M_RePlay.B_Prev.enabled = false;
_root.M_RePlay.B_Prev._alpha = 45;
} else {
_root.M_RePlay.B_Prev.enabled = true;
_root.M_RePlay.B_Prev._alpha = 100;
}
if (_root.RePlayArr.length > _root.RePlayIndex) {
_root.M_RePlay.B_Next.enabled = true;
_root.M_RePlay.B_Next._alpha = 100;
} else {
_root.M_RePlay.B_Next.enabled = false;
_root.M_RePlay.B_Next._alpha = 45;
}
}
_root.M_RePlay.M_ReAuto._visible = true;
_root.M_RePlay.B_PlayOver._visible = false;
}
}
_root.attachMovie("Ma_DiaGameStar", "M_DiaGame", 8000, {_x:325, _y:215, BClose:false});
_root.B_HunQi.enabled = false;
_root.B_HunQi._alpha = 45;
_root.attachMovie("Ma_Number", "M_Number501", 501, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 0), meNumber:_root.GameFen.Fen});
_root.attachMovie("Ma_Number", "M_Number502", 502, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 1), meNumber:_root.GameFen.Time, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number503", 503, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 2), meNumber:_root.GameFen.ShangRu, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number504", 504, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 3), meNumber:_root.GameFen.BuSu, _xscale:80, _yscale:80, _alpha:100});
_root.attachMovie("Ma_Number", "M_Number505", 505, {_x:_root.NumBer_X, _y:_root.NumBer_Y + (_root.NumBer_Yadd * 4), meNumber:_root.GameFen.HuiQi, _xscale:80, _yscale:80, _alpha:100});
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (((_root.GameSetOb.GameStar && (_root.GameSetOb.Pause == false)) && (_root.DiaShowPD == false)) && (_root.GameSetOb.PlayEnable)) {
if (Key.getCode() == 80) {
_root.attachMovie("Ma_DiaPause", "M_DiaPause", 6000, {_x:325, _y:215});
}
if ((Key.getCode() == 82) && (_root.B_HunQi.enabled)) {
_root.HunQi_fun();
}
}
};
Key.addListener(keyListener);
stop();
Symbol 9 MovieClip [Ma_Chen] Frame 24
this.removeMovieClip();
Symbol 22 MovieClip [ZhuQi] Frame 1
_root.B_Zu_Name_PD = false;
M_Shell._visible = false;
stop();
Symbol 22 MovieClip [ZhuQi] Frame 10
_root.B_Zu_Name_PD = true;
stop();
Symbol 22 MovieClip [ZhuQi] Frame 20
play();
Symbol 24 MovieClip [Ma_CenHui] Frame 50
_root.CenHuiDeph--;
this.removeMovieClip();
Symbol 33 MovieClip [Ma_QiLoDi] Frame 35
_root.QiLoDi--;
this.removeMovieClip();
stop();
Symbol 43 MovieClip Frame 1
B_Kong.useHandCursor = false;
Symbol 43 MovieClip Frame 15
stop();
Symbol 43 MovieClip Frame 33
if ((_root.GameSetOb.GameStar && (_root.DiaIndex == 6)) && (_root.GameNewPD == false)) {
var NowDate = new Date();
_root.TimePauseAdd = (NowDate - _root.GameSetOb.PauseTime) + _root.TimePauseAdd;
_root.GameSetOb.Pause = false;
} else {
_root.GameSetOb.Pause = false;
}
_root.GameNewPD = false;
_root.DiaShowPD = false;
if (ViShow) {
_root.M_DiaGame._visible = true;
}
_parent.removeMovieClip();
stop();
Symbol 53 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
var i = 1;
while (i <= 5) {
_parent["M_Number" + i].removeMovieClip();
i++;
}
this._visible = false;
_parent.M_Diale.gotoAndPlay("close");
_root.GameSetOb.PlayEnable = true;
_root.NewGame_fun();
}
Symbol 57 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
getURL ("http://www.9mine.com/score_rank.php?title=Single%20Noble", "_blank");
}
Symbol 61 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
var i = 1;
while (i <= 5) {
_parent["M_Number" + i].removeMovieClip();
i++;
}
_root.NowDia = "Ma_DiaGameWin";
this._visible = false;
_parent.M_Diale.gotoAndPlay("close");
_root.RePlayArr = _root.WinPlayArr.slice();
_root.GameSetOb.PlayEnable = false;
_root.NewGame_fun();
_root.RePlayStar();
}
Symbol 65 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.attachMovie("Ma_DiaReSave", "M_DiaReSave", 8100, {_x:325, _y:215, RePlayTyle:"save"});
}
Symbol 69 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.BackStar_fun();
_root.attachMovie("Ma_DiaGameStar", "M_DiaGame", 8000, {_x:325, _y:215, BClose:false});
}
Symbol 76 Button
on (release) {
if (JianRanKong(T_UserName) == false) {
SubmitUserName = escape(T_UserName.text);
SumitURL = ((("http://www.9mine.com/game_score_set.php?score=" + ZiFen) + "&player=") + SubmitUserName) + "&game_title=Single%20Noble";
getURL (SumitURL, "_blank");
B_SubitScore.enabled = false;
B_SubitScore._alpha = 45;
_root.SumitFen = false;
_root.SumitUserS = T_UserName.text;
} else {
T_UserName.text = "";
Selection.setFocus(T_UserName);
}
}
Symbol 80 Button
on (release) {
getURL ("http://www.9mine.com", "_blank");
}
Symbol 87 MovieClip Frame 1
var SanCount = 0;
stop();
Symbol 87 MovieClip Frame 7
play();
Symbol 87 MovieClip Frame 19
SanCount++;
if (SanCount < 6) {
gotoAndPlay ("a1");
} else {
gotoAndStop ("a0");
}
Symbol 92 MovieClip Frame 1
Selection.setFocus(T_UserName);
var SiJiFen = _root.WinGameFen.Fen;
var TempZiFen = Math.sqrt(SiJiFen + 0.1234);
var ZiFenStr = new String(String(TempZiFen));
var SiaoSuDian = ZiFenStr.indexOf(".");
var ZiFenStrB = ("0" + ZiFenStr.substr(SiaoSuDian, 5));
var ZiFen = (SiJiFen + Number(ZiFenStrB));
var SubmitUserName = "";
var SumitURL = "";
JianRanName = function (JRstr) {
var _local3 = new String(JRstr.text);
var _local4 = new String(_local3);
var _local5 = _local3.length;
var _local2 = 0;
while (_local2 < _local3.length) {
var _local1 = _local3.charCodeAt(_local2);
if ((((_local1 == 32) || ((_local1 >= 48) && (_local1 <= 57))) || ((_local1 >= 65) && (_local1 <= 90))) || ((_local1 >= 97) && (_local1 <= 122))) {
} else {
_local4 = _local3.slice(0, _local2) + _local3.slice(_local2 + 1, _local5);
JRstr.text = _local4;
}
_local2++;
}
};
JianRanKong = function (JRstr) {
var _local4 = false;
var _local3 = new String(JRstr.text);
var _local6 = new String(_local3);
var _local5 = _local3.length;
if (_local5 > 0) {
_local4 = true;
var _local1 = 0;
while (_local1 < _local3.length) {
var _local2 = _local3.charCodeAt(_local1);
if (_local2 == 32) {
} else {
_local4 = false;
break;
}
_local1++;
}
} else {
_local4 = true;
}
if (_local4) {
M_EnterName.gotoAndPlay("a1");
}
return(_local4);
};
this.onEnterFrame = function () {
JianRanName(T_UserName);
};
if (_root.SumitFen) {
B_SubitScore.enabled = true;
B_SubitScore._alpha = 100;
} else {
B_SubitScore.enabled = false;
B_SubitScore._alpha = 45;
}
T_UserName.text = _root.SumitUserS;
Symbol 93 MovieClip [Ma_DiaGameWin] Frame 1
_root.DiaShowPD = true;
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_Win");
_root.MySound.start();
}
Symbol 93 MovieClip [Ma_DiaGameWin] Frame 21
var NumStar_Y = -117;
var Num_YAdd = 28.3;
this.attachMovie("Ma_Number", "M_Number1", 1, {_x:-135, _y:NumStar_Y + (Num_YAdd * 0), meNumber:_root.WinGameFen.Fen});
this.attachMovie("Ma_Number", "M_Number2", 2, {_x:-135, _y:NumStar_Y + (Num_YAdd * 1), meNumber:_root.WinGameFen.Time, _xscale:80, _yscale:80, _alpha:100});
this.attachMovie("Ma_Number", "M_Number3", 3, {_x:-135, _y:NumStar_Y + (Num_YAdd * 2), meNumber:_root.WinGameFen.ShangRu, _xscale:80, _yscale:80, _alpha:100});
this.attachMovie("Ma_Number", "M_Number4", 4, {_x:-135, _y:NumStar_Y + (Num_YAdd * 3), meNumber:_root.WinGameFen.BuSu, _xscale:80, _yscale:80, _alpha:100});
this.attachMovie("Ma_Number", "M_Number5", 5, {_x:-135, _y:NumStar_Y + (Num_YAdd * 4), meNumber:_root.WinGameFen.HuiQi, _xscale:80, _yscale:80, _alpha:100});
M_GameOver.T_UserName.text = "";
Selection.setFocus(M_GameOver.T_UserName);
stop();
Symbol 98 Button
on (release) {
this._visible = false;
_parent.M_Diale.ViShow = true;
_parent.M_Diale.gotoAndPlay("close");
}
Symbol 99 Button
on (release) {
var SaveReplay = _root.WinPlayArr.slice();
var MySaveRePlayObj = SharedObject.getLocal("RePlay" + SelIndex);
var NowTime = new Date();
MySaveRePlayObj.clear();
MySaveRePlayObj.data.RePlay = SaveReplay.slice();
MySaveRePlayObj.data.Fen = _root.WinGameFen.Fen;
MySaveRePlayObj.data.Time = _root.WinGameFen.Time;
MySaveRePlayObj.data.HuiQi = _root.WinGameFen.HuiQi;
MySaveRePlayObj.data.Update = (((((((((NowTime.getFullYear() + "-") + Number(NowTime.getMonth() + 1)) + "-") + NowTime.getDate()) + " ") + NowTime.getHours()) + ":") + NowTime.getMinutes()) + ":") + NowTime.getSeconds();
this["M_SaveTao" + SelIndex].ShowTxt = (MySaveRePlayObj.data.Fen + " ") + MySaveRePlayObj.data.Update;
}
Symbol 100 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
var MySaveRePlayObj = SharedObject.getLocal("RePlay" + SelIndex);
_root.RePlayArr = MySaveRePlayObj.data.RePlay.slice();
_root.GameFen.Fen = MySaveRePlayObj.data.Fen;
_root.GameFen.Time = MySaveRePlayObj.data.Time;
_root.GameFen.HuiQi = MySaveRePlayObj.data.HuiQi;
this._visible = false;
_parent.M_Diale.ViShow = false;
_root.M_DiaGame.removeMovieClip();
_parent.M_Diale.gotoAndPlay("close");
_root.GameSetOb.PlayEnable = false;
_root.NewGame_fun();
_root.RePlayStar();
}
Symbol 101 MovieClip Frame 1
B_Save.enabled = false;
B_Save._alpha = 45;
B_Load.enabled = false;
B_Load._alpha = 45;
var MeIndesArr = ["1", "2", "3", "4", "5"];
var i = 1;
while (i <= 5) {
this.attachMovie("Ma_SaveTao", "M_SaveTao" + i, i, {_x:4, _y:(i - 1) * 57.2, MeIndexN:i, MeIndex:MeIndesArr[i - 1]});
i++;
}
Symbol 102 MovieClip [Ma_DiaReSave] Frame 1
_root.DiaShowPD = true;
_root.M_DiaGame._visible = false;
Symbol 102 MovieClip [Ma_DiaReSave] Frame 20
stop();
Symbol 106 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
this._visible = false;
_parent.M_Diale.gotoAndPlay("close");
}
Symbol 111 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
if (_root.GameSetOb.GameStar) {
_root.attachMovie("Ma_NewGameQ", "M_NewGameQ", 9000, {_x:325, _y:215, ClosePD:true, MeOnly:false});
} else {
this._visible = false;
_parent.M_Diale.gotoAndPlay("close");
_root.GameSetOb.PlayEnable = true;
_root.NewGame_fun();
}
}
Symbol 112 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.NowDia = "Ma_DiaGameStar";
_root.attachMovie("Ma_DiaReSave", "M_DiaReSave", 8100, {_x:325, _y:215, RePlayTyle:"load"});
}
Symbol 116 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.attachMovie("Ma_About", "M_About", 9000, {_x:325, _y:215});
}
Symbol 117 MovieClip Frame 1
B_Close.enabled = _parent.BClose;
if (B_Close.enabled) {
B_Close._alpha = 100;
} else {
B_Close._alpha = 45;
}
if (_root.GameSetOb.GameStar) {
}
if (_root.GameSetOb.GameTyle == 0) {
}
Symbol 118 MovieClip [Ma_DiaGameStar] Frame 1
_root.DiaShowPD = true;
if (_root.GameSetOb.GameStar) {
_root.DiaIndex = 6;
_root.GameSetOb.Pause = true;
var NowDate = new Date();
_root.GameSetOb.PauseTime = NowDate;
} else {
_root.DiaIndex = 0;
}
Symbol 118 MovieClip [Ma_DiaGameStar] Frame 20
stop();
Symbol 119 MovieClip [Ma_Number] Frame 1
var meNumberStr = new String(meNumber);
var i = 0;
while (i <= 10) {
this["a" + i].removeMovieClip();
i++;
}
var TempX = 0;
var i = 0;
while (i < meNumberStr.length) {
this.attachMovie("a" + meNumberStr.charAt(i), "a" + i, i);
this["a" + i]._x = TempX;
TempX = TempX + (this["a" + i]._width + 2);
i++;
}
Symbol 156 Button
on (release) {
if (_root.QiRunPD) {
_root.RePlayAuto = false;
clearInterval(_root.ReInterval);
_root.GameSetOb.PlayEnable = false;
_root.NewGame_fun();
M_ReAuto.gotoAndStop("a0");
_root.M_RePlay.B_Prev.enabled = false;
_root.M_RePlay.B_Prev._alpha = 45;
_root.M_RePlay.M_ReAuto._visible = true;
}
}
Symbol 159 Button
on (release) {
if (_root.QiRunPD) {
gotoAndStop ("a1");
}
}
Symbol 162 Button
on (release) {
if (_root.QiRunPD) {
gotoAndStop ("a0");
}
}
Symbol 163 MovieClip Frame 1
_root.RePlayAuto = false;
clearInterval(_root.ReInterval);
if (_root.RePlayAuto == false) {
if (_root.RePlayIndex <= 0) {
_root.M_RePlay.B_Prev.enabled = false;
_root.M_RePlay.B_Prev._alpha = 45;
} else {
_root.M_RePlay.B_Prev.enabled = true;
_root.M_RePlay.B_Prev._alpha = 100;
}
if ((_root.RePlayArr.length - 1) > _root.RePlayIndex) {
_root.M_RePlay.B_Next.enabled = true;
_root.M_RePlay.B_Next._alpha = 100;
} else {
_root.M_RePlay.B_Next.enabled = false;
_root.M_RePlay.B_Next._alpha = 45;
}
} else {
_root.M_RePlay.B_Prev.enabled = false;
_root.M_RePlay.B_Prev._alpha = 45;
_root.M_RePlay.B_Next.enabled = false;
_root.M_RePlay.B_Next._alpha = 45;
}
stop();
Symbol 163 MovieClip Frame 7
_root.RePlayAuto = true;
_root.RePlay();
_root.ReInterval = setInterval(_root.RePlay, 1500);
if (_root.RePlayAuto == false) {
if (_root.RePlayIndex <= 0) {
_root.M_RePlay.B_Prev.enabled = false;
_root.M_RePlay.B_Prev._alpha = 45;
} else {
_root.M_RePlay.B_Prev.enabled = true;
_root.M_RePlay.B_Prev._alpha = 100;
}
if ((_root.RePlayArr.length - 1) > _root.RePlayIndex) {
_root.M_RePlay.B_Next.enabled = true;
_root.M_RePlay.B_Next._alpha = 100;
} else {
_root.M_RePlay.B_Next.enabled = false;
_root.M_RePlay.B_Next._alpha = 45;
}
} else {
_root.M_RePlay.B_Prev.enabled = false;
_root.M_RePlay.B_Prev._alpha = 45;
_root.M_RePlay.B_Next.enabled = false;
_root.M_RePlay.B_Next._alpha = 45;
}
stop();
Symbol 170 Button
on (release) {
if (_root.QiRunPD) {
_root.ReBack();
}
}
Symbol 171 Button
on (release) {
if (_root.QiRunPD) {
_root.RePlay();
}
}
Symbol 174 Button
on (release) {
clearInterval(_root.ReInterval);
var i = 1;
while (i <= 7) {
var j = 1;
while (j <= 7) {
_root[_root[("Zhu" + i) + j].QiName].removeMovieClip();
j++;
}
i++;
}
var i = _root.NowTaoQiDeph;
while (i < 30) {
_root["ZhuQiTiao" + i].removeMovieClip();
i++;
}
var i = _root.CenHuiDeph;
while (i < 30) {
_root["M_CenHui" + i].removeMovieClip();
i++;
}
var i = _root.QiLoDi;
while (i < 30) {
_root["M_QiLoDi" + i].removeMovieClip();
i++;
}
_root.RePlayAuto = false;
_root.GameSetOb.PlayEnable = true;
_root.GameSetOb.GameStar = false;
_root.B_PlayAgain.enabled = true;
_root.B_MainMenu.enabled = true;
_root.B_PlayAgain._alpha = 100;
_root.B_MainMenu._alpha = 100;
_root.attachMovie(_root.NowDia, "M_DiaGame", 8000, {_x:325, _y:215, BClose:false});
this.removeMovieClip();
}
Symbol 175 MovieClip [Ma_RePlay] Frame 1
B_Kong.useHandCursor = false;
B_PlayOver.enabled = false;
B_PlayOver._visible = false;
_root.B_PlayAgain.enabled = false;
_root.B_MainMenu.enabled = false;
_root.B_PlayAgain._alpha = 45;
_root.B_MainMenu._alpha = 45;
Symbol 191 Button
on (release) {
if (ClosePD) {
_root.M_DiaGame.M_NewGameNR._visible = false;
_root.M_DiaGame.M_Diale.gotoAndPlay("close");
}
if (MeOnly) {
_root.DiaShowPD = false;
var NowDate = new Date();
_root.TimePauseAdd = (NowDate - _root.GameSetOb.PauseTime) + _root.TimePauseAdd;
_root.GameSetOb.Pause = false;
}
_root.BackStar_fun();
_root.attachMovie("Ma_DiaGameStar", "M_DiaGame", 8000, {_x:325, _y:215, BClose:false});
this.removeMovieClip();
}
Symbol 195 Button
on (release) {
if (MeOnly) {
_root.DiaShowPD = false;
var NowDate = new Date();
_root.TimePauseAdd = (NowDate - _root.GameSetOb.PauseTime) + _root.TimePauseAdd;
_root.GameSetOb.Pause = false;
}
this.removeMovieClip();
}
Symbol 196 MovieClip [Ma_BackStarQ] Frame 1
B_Kong.useHandCursor = false;
if (MeOnly) {
_root.DiaShowPD = true;
_root.GameSetOb.Pause = true;
var NowDate = new Date();
_root.GameSetOb.PauseTime = NowDate;
}
Symbol 201 Button
on (release) {
getURL ("http://www.9mine.com", "_blank");
}
Symbol 205 Button
on (release) {
this.removeMovieClip();
}
Symbol 208 MovieClip [Ma_About] Frame 1
B_Kong.useHandCursor = false;
if (MeOnly) {
_root.DiaShowPD = true;
_root.GameSetOb.Pause = true;
var NowDate = new Date();
_root.GameSetOb.PauseTime = NowDate;
}
Symbol 209 Button
on (release) {
if (ClosePD) {
_root.M_DiaGame.M_NewGameNR._visible = false;
_root.M_DiaGame.M_Diale.gotoAndPlay("close");
}
if (MeOnly) {
_root.DiaShowPD = false;
var NowDate = new Date();
_root.TimePauseAdd = (NowDate - _root.GameSetOb.PauseTime) + _root.TimePauseAdd;
_root.GameSetOb.Pause = false;
}
_root.GameSetOb.PlayEnable = true;
_root.NewGame_fun();
this.removeMovieClip();
}
Symbol 210 MovieClip [Ma_NewGameQ] Frame 1
B_Kong.useHandCursor = false;
if (MeOnly) {
_root.DiaShowPD = true;
_root.GameSetOb.Pause = true;
var NowDate = new Date();
_root.GameSetOb.PauseTime = NowDate;
}
Symbol 211 Button
on (release) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.DiaShowPD = false;
var NowDate = new Date();
_root.TimePauseAdd = (NowDate - _root.GameSetOb.PauseTime) + _root.TimePauseAdd;
_root.GameSetOb.Pause = false;
this.removeMovieClip();
}
Symbol 217 MovieClip [Ma_DiaPause] Frame 1
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_Pause");
_root.MySound.start();
}
_root.DiaShowPD = true;
_root.GameSetOb.Pause = true;
var NowDate = new Date();
_root.GameSetOb.PauseTime = NowDate;
B_Kong.useHandCursor = false;
Symbol 221 Button
on (release) {
var i = 1;
while (i <= 5) {
_parent["M_SaveTao" + i].gotoAndStop("a0");
i++;
}
_parent.SelIndex = MeIndexN;
gotoAndStop ("a1");
}
Symbol 229 MovieClip [Ma_SaveTao] Frame 1
var MySaveRePlayObj = SharedObject.getLocal("RePlay" + MeIndexN);
if (MySaveRePlayObj.data.Fen != undefined) {
ShowTxt = (MySaveRePlayObj.data.Fen + " ") + MySaveRePlayObj.data.Update;
MeLoad = true;
}
if (_root.M_DiaReSave.RePlayTyle == "load") {
if (MeLoad) {
B_Click._visible = true;
this._alpha = 100;
} else {
B_Click._visible = false;
this._alpha = 45;
}
} else {
B_Click._visible = true;
this._alpha = 100;
}
stop();
Symbol 229 MovieClip [Ma_SaveTao] Frame 6
if (_root.M_DiaReSave.RePlayTyle == "save") {
_parent.B_Save.enabled = true;
_parent.B_Save._alpha = 100;
} else if (_root.M_DiaReSave.RePlayTyle == "load") {
_parent.B_Load.enabled = true;
_parent.B_Load._alpha = 100;
}
stop();
Symbol 241 Button
on (release) {
getURL ("http://www.9mine.com", "_blank");
}
Symbol 245 Button
on (release) {
getURL ("http://www.9mine.com/free_games.html", "_blank");
}
Symbol 247 Button
on (release) {
getURL ("http://www.9mine.com", "_blank");
}
Symbol 258 MovieClip Frame 1
var byteloaded = 0;
var bytetotal = 0;
var loaded = 0;
var t = 0;
Instance of Symbol 235 MovieClip in Symbol 258 MovieClip Frame 1
on (release) {
getURL ("http://www.9mine.com", "_blank");
}
Symbol 258 MovieClip Frame 32
byteloaded = _root.getBytesLoaded();
bytetotal = _root.getBytesTotal();
loaded = Math.round((byteloaded / bytetotal) * 100);
t = getTimer();
bar.loadedv = loaded + "%";
bar.gotoAndStop(loaded);
play();
Symbol 258 MovieClip Frame 37
if (byteloaded >= bytetotal) {
gotoAndPlay ("ok");
} else {
gotoAndPlay ("loop");
}
stop();
Symbol 258 MovieClip Frame 40
play();
Symbol 258 MovieClip Frame 50
_root.GoToNewScen();
Symbol 273 Button
on (release) {
_root.GoNexSecne();
}
Symbol 277 MovieClip Frame 1
play();
Symbol 277 MovieClip Frame 30
stop();
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 7
play();
Symbol 278 MovieClip Frame 43
stop();
Symbol 303 MovieClip Frame 1
var BiaoTiZiCount = 12;
var BiaoTiZiIndex = 0;
var BiaoTiGoY = -80;
var BiaoTiSuDu = 10;
var BiaoDanY = 40;
var BiaoDanSuDu = 18;
var thisMove = this;
var SoundCanSu = (100 / (thisMove["M_biaoti" + BiaoTiZiCount]._x - thisMove.M_biaoti1._x));
var i = 1;
while (i <= BiaoTiZiCount) {
thisMove["M_biaoti" + i].ID = i;
thisMove["M_biaoti" + i].Star = false;
thisMove["M_biaoti" + i].MySound = new Sound(thisMove["M_biaoti" + i]);
thisMove["M_biaoti" + i].MySound.attachSound("S_BiaoZi");
i++;
}
F_BiaoTiDL = function (BTindex) {
thisMove["M_biaoti" + BTindex].SuDu = BiaoTiSuDu;
thisMove["M_biaoti" + BTindex].Star = true;
thisMove["M_biaoti" + BTindex].R_Y = thisMove["M_biaoti" + BTindex]._y;
thisMove["M_biaoti" + BTindex].DanY = BiaoDanY;
thisMove["M_biaoti" + BTindex].DanBianF = -1;
thisMove["M_biaoti" + BTindex].DanSuDu = BiaoDanSuDu;
thisMove["M_biaoti" + BTindex].LoDiPD = false;
thisMove["M_biaoti" + BTindex].SoundStar = false;
thisMove["M_biaoti" + BTindex].onEnterFrame = function () {
this.SuDu = this.SuDu + 0.8;
var _local3 = (this._y - this.R_Y) / (BiaoTiGoY - this.R_Y);
if (_local3 >= 0.2) {
if (this.SoundStar == false) {
this.MySound.setVolume(80);
this.MySound.setPan((this._x * SoundCanSu) * 2);
this.MySound.start(0, 1);
this.SoundStar = true;
}
var _local2 = this.ID + 1;
if (_local2 <= BiaoTiZiCount) {
if (thisMove["M_biaoti" + _local2].Star == false) {
thisMove.F_BiaoTiDL(_local2);
}
}
}
if (this._y < BiaoTiGoY) {
this._y = this._y + this.SuDu;
} else {
if (this.LoDiPD == false) {
this._y = BiaoTiGoY;
this.LoDiPD = true;
}
if (this.DanY > 0) {
if (this._yscale < (100 - this.DanY)) {
this.DanBianF = 1;
this.DanY = this.DanY - 5;
this.DanSuDu = this.DanSuDu - 1;
} else if (this._yscale > (100 + this.DanY)) {
this.DanBianF = -1;
this.DanY = this.DanY - 5;
this.DanSuDu = this.DanSuDu - 1;
}
this._yscale = this._yscale + (this.DanSuDu * this.DanBianF);
} else {
this._yscale = 100;
if (this.ID == BiaoTiZiCount) {
thisMove._parent.M_HanZheng.gotoAndPlay("a1");
}
delete this.onEnterFrame;
}
}
};
};
F_BiaoTiDL(1);
Symbol 310 Button
on (release) {
if (((_root.GameSetOb.GameStar && (_root.GameSetOb.Pause == false)) && (_root.DiaShowPD == false)) && (_root.GameSetOb.PlayEnable)) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.HunQi_fun();
}
}
Symbol 313 Button
on (release) {
if (((_root.GameSetOb.GameStar && (_root.GameSetOb.Pause == false)) && (_root.DiaShowPD == false)) && (_root.GameSetOb.PlayEnable)) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.attachMovie("Ma_DiaPause", "M_DiaPause", 6000, {_x:325, _y:215});
}
}
Symbol 318 Button
on (press) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
startDrag ("", false, left, top, right, bottom);
dragging = true;
_root.dragging = true;
}
on (release, releaseOutside) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
stopDrag();
dragging = false;
_root.dragging = false;
}
Instance of Symbol 319 MovieClip "knob" in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
top = _y;
bottom = _y + 100;
left = _x;
right = _x;
}
onClipEvent (enterFrame) {
if (dragging) {
_root.GameSetOb.SoundVole = 100 - this._y;
_root.MySound.setVolume(_root.GameSetOb.SoundVole);
} else {
this._y = 100 - _root.GameSetOb.SoundVole;
}
_root.MySound._root.GameSetOb.SoundVole;
}
Symbol 325 Button
on (release) {
if (_root.GameSetOb.MeSound) {
M_SoundOn.gotoAndStop("close");
_root.GameSetOb.MeSound = false;
} else {
M_SoundOn.gotoAndStop("on");
_root.GameSetOb.MeSound = true;
}
}
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 8
stop();
Symbol 332 Button
on (release) {
if (((_root.GameSetOb.GameStar && (_root.GameSetOb.Pause == false)) && (_root.DiaShowPD == false)) && (_root.GameSetOb.PlayEnable)) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.attachMovie("Ma_DiaGameStar", "M_DiaGame", 8000, {_x:325, _y:215, BClose:true});
}
}
Symbol 336 Button
on (release) {
if (((_root.GameSetOb.GameStar && (_root.GameSetOb.Pause == false)) && (_root.DiaShowPD == false)) && (_root.GameSetOb.PlayEnable)) {
if (_root.GameSetOb.MeSound) {
_root.MySound.attachSound("S_cick");
_root.MySound.start();
}
_root.attachMovie("Ma_NewGameQ", "M_NewGameQ", 9000, {_x:325, _y:215, ClosePD:false, MeOnly:true});
}
}
Symbol 344 Button
on (release) {
if (_root.GameSetOb.PlayEnable) {
if (_root.QiRunPD) {
_root[this.QiName].gotoAndStop("Yes_check");
if (_root.NowShellQiName != this.QiName) {
_root[_root.NowShellQiName].gotoAndStop("No_check");
}
_root.NowShellQiName = this.QiName;
_root.Qishellrun_fun(this);
}
}
}
on (rollOver) {
if (_root.GameSetOb.PlayEnable) {
if (_root.QiRunPD) {
_root[this.QiName].M_Shell._visible = true;
_root.Qipanrun_fun(this);
}
}
}
on (rollOut, releaseOutside) {
if (_root.GameSetOb.PlayEnable) {
if (_root.QiRunPD) {
_root[this.QiName].M_Shell._visible = false;
_root.Qipanout_fun(this);
}
}
}