Frame 1
mochi.as2.MochiAd.showPreGameAd({id:"", res:"600x400"});
stop();
Frame 2
onEnterFrame = function () {
_root.totalsize = getBytesTotal();
_root.loadsize = getBytesLoaded();
_root.loading.loadper.text = ("Loading... " + Math.round((_root.loadsize / _root.totalsize) * 100)) + "%";
if ((((_root.loadsize >= 1) && (_root.totalsize >= 1)) && (_root.loadsize == _root.totalsize)) && (_root.okflag == 1)) {
_root.gotoAndStop("ksjm");
delete onEnterFrame;
}
};
stop();
Frame 3
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
stop();
_root.clean();
_quality = "best";
Mouse.show();
_root.cj = 0;
_root.fsss = 0;
Instance of Symbol 48 MovieClip in Frame 3
on (release) {
getURL ("http://www.niceclip.net", "_blank");
}
Instance of Symbol 57 MovieClip in Frame 3
on (release) {
getURL ("http://www.gameswow.net", "_blank");
}
Instance of Symbol 115 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.dengji == 2) {
this.gotoAndStop(1);
}
if (_root.dengji == 1) {
this.gotoAndStop(2);
}
if (_root.dengji == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 150 MovieClip in Frame 5
onClipEvent (enterFrame) {
if ((_root.cj >= 0) and (_root.cj < 5)) {
this.gotoAndStop(1);
}
if ((_root.cj >= 5) and (_root.cj < 10)) {
this.gotoAndStop(2);
}
if ((_root.cj >= 10) and (_root.cj < 15)) {
this.gotoAndStop(3);
}
if ((_root.cj >= 15) and (_root.cj < 20)) {
this.gotoAndStop(4);
}
if ((_root.cj >= 20) and (_root.cj < 30)) {
this.gotoAndStop(5);
}
if ((_root.cj >= 30) and (_root.cj < 50)) {
this.gotoAndStop(6);
}
if ((_root.cj >= 50) and (_root.cj < 80)) {
this.gotoAndStop(7);
}
if (_root.cj >= 80) {
this.gotoAndStop(8);
}
}
Frame 6
var _sound = new Sound(this);
if (_sound.getVolume() == 100) {
SoundBtn.gotoAndStop(1);
} else {
SoundBtn.gotoAndStop(2);
}
SoundBtn.onRelease = function () {
if (this._currentframe == 1) {
_sound.setVolume(0);
this.gotoAndStop(2);
} else {
_sound.setVolume(100);
this.gotoAndStop(1);
}
};
function md5(s) {
return(binl2hex(core_md5(str2binl(s), s.length * strsize)));
}
function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var _local4 = 1732584193 /* 0x67452301 */;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var _local5 = 0;
while (_local5 < x.length) {
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
var _local7 = _local1;
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 0], 7, -680876936);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 3], 22, -1044525330);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 4], 7, -176418897);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 7], 22, -45705983);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 8], 7, 1770035416);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 11], 22, -1990404162);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 12], 7, 1804603682);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 15], 22, 1236535329);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 1], 5, -165796510);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 0], 20, -373897302);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 5], 5, -701558691);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 4], 20, -405537848);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 9], 5, 568446438);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 8], 20, 1163531501);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 13], 5, -1444681467);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 12], 20, -1926607734);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 5], 4, -378558);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 14], 23, -35309556);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 1], 4, -1530992060);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 10], 23, -1094730640);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 13], 4, 681279174);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 6], 23, 76029189);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 9], 4, -640364487);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 2], 23, -995338651);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 0], 6, -198630844);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 5], 21, -57434055);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 12], 6, 1700485571);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 1], 21, -2054922799);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 8], 6, 1873313359);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 13], 21, 1309151649);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 4], 6, -145523070);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 9], 21, -343485551);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local1 = safe_add(_local1, _local7);
_local5 = _local5 + 16;
}
return(Array(_local4, _local3, _local2, _local1));
}
function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
function md5_ff(a, b, c, d, x, s, t) {
return(md5_cmn((b & c) | ((~b) & d), a, b, x, s, t));
}
function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function str2binl(str) {
var _local2 = Array();
var _local4 = (1 << strsize) - 1;
var _local1 = 0;
while (_local1 < (str.length * strsize)) {
_local2[_local1 >> 5] = _local2[_local1 >> 5] | ((str.charCodeAt(_local1 / strsize) & _local4) << (_local1 % 32));
_local1 = _local1 + strsize;
}
return(_local2);
}
function binl2hex(binarray) {
if (hexcase) {
}
var _local4 = "0123456789abcdef";
var _local3 = "";
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local3 = _local3 + (_local4.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local4.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local3);
}
function submitScore() {
otop = md5((((furl + flashID) + hscore) + date_str) + "ncgames");
getURL (((((((("http://www.niceclip.net/highscore.php?flashName=" + flashID) + "&score=") + hscore) + "¤tdate=") + date_str) + "&otop=") + otop) + "", "_blank");
}
function currentTime() {
var _local4 = new Date();
var _local6 = _local4.getHours();
if ((_local4.getHours() + 1) < 10) {
_local6 = "0" + (_local4.getHours() + 1);
}
var _local3 = new Date();
var _local7 = _local3.getMinutes();
if ((_local3.getMinutes() + 1) < 10) {
_local7 = "0" + (_local3.getMinutes() + 1);
}
var _local2 = new Date();
var _local9 = _local2.getHours();
if ((_local2.getHours() + 1) < 10) {
_local9 = "0" + (_local2.getHours() + 1);
}
var _local1 = new Date();
var _local5 = _local1.getMonth();
if ((_local1.getMonth() + 1) < 10) {
_local5 = "0" + (_local1.getMonth() + 1);
}
var _local8 = _local1.getDate();
if (_local1.getDate() < 10) {
_local8 = "0" + _local1.getDate();
}
date_str = (((((((((_local1.getFullYear() + "-") + _local5) + "-") + _local8) + " ") + _local9) + ":") + _local7) + ":") + _local6;
}
var hscore = _root.fsss;
var hexcase = 0;
var strsize = 8;
furl = "www.niceclip.net";
flashID = "The Red Baron 1918";
var date_str;
currentTime();
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
function onEnterFrame() {
speed = _root.mb.speedy * 0.17;
if (_root._xmouse < 280) {
rotation = rotation + speed;
}
if (_root._xmouse > 320) {
rotation = rotation - speed;
}
posY = posY - ((0.2 * _root.mb.speedy) * Math.cos((rotation / 180) * Math.PI));
posX = posX - ((0.2 * _root.mb.speedy) * Math.sin((rotation / 180) * Math.PI));
var _local3 = 0;
while (_local3 < stripCount) {
this["strip" + _local3].pic._x = -posX;
this["strip" + _local3].pic._y = -posY;
if (prevRotation != rotation) {
this["strip" + _local3]._rotation = rotation;
}
_local3++;
}
prevRotation = rotation;
}
Mouse.hide();
startDrag ("post", true, 240, 120, 360, 240);
_quality = "MEDIUM";
stop();
if (_root.cj == undefined) {
_root.cj = 0;
}
_root.dtbs = 6;
_root.shijiao = 12;
depth = 0;
var stripCount = 0;
var i = 230;
while (i <= 400) {
attachMovie("S-mask", "mask" + stripCount, 2 * stripCount);
maskNow = this["mask" + stripCount];
maskNow._height = 6;
maskNow._width = 600;
maskNow._x = 300;
maskNow._y = i;
attachMovie("S-Stage1", "strip" + stripCount, (2 * stripCount) + 1);
stripNow = this["strip" + stripCount];
stripNow._x = 300;
stripNow._y = 600;
stripNow._xscale = (stripNow._yscale = 10 * (i - 230));
stripNow.setMask(maskNow);
stripCount++;
i = i + 4;
}
posX = 0;
posY = 0;
rotation = 0;
Instance of Symbol 161 MovieClip "bj" in Frame 6
onClipEvent (load) {
this._y = -160;
this.swapDepths(401);
}
onClipEvent (enterFrame) {
if (this._x >= 2400) {
this._x = -100;
}
if (this._x <= -1800) {
this._x = 700;
}
this._x = this._x - (((0.2 * _root.mb.speedy) * (_root._xmouse - 300)) * 0.02);
if ((this._y < 740) and (this._y > -160)) {
if (_root.spwofj._rotation > 20) {
this._y = this._y - (((0.1 * _root.mb.speedy) * (_root._ymouse - 200)) * 0.01);
} else if (_root.spwofj._rotation < -10) {
this._y = this._y - (((0.4 * _root.mb.speedy) * (_root._ymouse - 200)) * 0.01);
} else if ((_root.spwofj._rotation < 20) and (_root.spwofj._rotation > -10)) {
this._y = this._y - (((0.2 * _root.mb.speedy) * (_root._ymouse - 200)) * 0.01);
}
} else {
if (this._y >= 740) {
this._y--;
}
if (this._y <= -160) {
this._y++;
}
}
}
Instance of Symbol 167 MovieClip "yangg" in Frame 6
onClipEvent (load) {
this.swapDepths(310001);
}
Instance of Symbol 172 MovieClip "chuany" in Frame 6
onClipEvent (load) {
this.swapDepths(310002);
}
Instance of Symbol 171 MovieClip "yun_a" in Frame 6
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.yjl_a);
this._yscale = 30000 / (_root.yjl_a + 100);
this._xscale = 30000 / (_root.yjl_a + 100);
this.yz = 270;
this.czjd = Math.atan2(_root.spwofj._y - this.yz, _root.spwofj._x);
this.czjd = (this.czjd * 180) / Math.PI;
this._x = (-600 * Math.cos((_root.yjiajd_a * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((this.czjd * Math.PI) / 90)) + 200;
if (_root.yjl_a > 30) {
if ((((_root.yjiajd_a > 30) and (_root.yjiajd_a < 150)) and (_root.yczjd_a <= 20)) and (_root.yczjd_a >= -20)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
} else {
this._alpha = this._alpha - 2;
if ((((this._x > -150) and (this._x < 550)) and (this._y > 90)) and (this._y < 360)) {
_root.chuany.play();
}
}
}
Instance of Symbol 171 MovieClip "yun_b" in Frame 6
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.yjl_b);
this._yscale = 30000 / (_root.yjl_b + 100);
this._xscale = 30000 / (_root.yjl_b + 100);
this.yz = 220;
this.czjd = Math.atan2(_root.spwofj._y - this.yz, _root.spwofj._x);
this.czjd = (this.czjd * 180) / Math.PI;
this._x = (-600 * Math.cos((_root.yjiajd_b * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((this.czjd * Math.PI) / 90)) + 200;
if (_root.yjl_b > 30) {
if ((((_root.yjiajd_b > 20) and (_root.yjiajd_b < 160)) and (_root.yczjd_b <= 30)) and (_root.yczjd_b >= -30)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
} else {
this._alpha = this._alpha - 2;
if ((((this._x > -150) and (this._x < 550)) and (this._y > 90)) and (this._y < 360)) {
_root.chuany.play();
}
}
}
Instance of Symbol 171 MovieClip "yun_c" in Frame 6
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.yjl_c);
this._yscale = 30000 / (_root.yjl_c + 100);
this._xscale = 30000 / (_root.yjl_c + 100);
this.yz = 200;
this.czjd = Math.atan2(_root.spwofj._y - this.yz, _root.spwofj._x);
this.czjd = (this.czjd * 180) / Math.PI;
this._x = (-600 * Math.cos((_root.yjiajd_c * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((this.czjd * Math.PI) / 90)) + 200;
if (_root.yjl_c > 30) {
if ((((_root.yjiajd_c > 20) and (_root.yjiajd_c < 160)) and (_root.yczjd_c <= 30)) and (_root.yczjd_c >= -30)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
} else {
this._alpha = this._alpha - 2;
if ((((this._x > -150) and (this._x < 550)) and (this._y > 90)) and (this._y < 360)) {
_root.chuany.play();
}
}
}
Instance of Symbol 171 MovieClip "yun_d" in Frame 6
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.yjl_d);
this._yscale = 30000 / (_root.yjl_d + 100);
this._xscale = 30000 / (_root.yjl_d + 100);
this.yz = 220;
this.czjd = Math.atan2(_root.spwofj._y - this.yz, _root.spwofj._x);
this.czjd = (this.czjd * 180) / Math.PI;
this._x = (-600 * Math.cos((_root.yjiajd_d * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((this.czjd * Math.PI) / 90)) + 200;
if (_root.yjl_d > 30) {
if ((((_root.yjiajd_d > 20) and (_root.yjiajd_d < 160)) and (_root.yczjd_d <= 30)) and (_root.yczjd_d >= -30)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
} else {
this._alpha = this._alpha - 2;
if ((((this._x > -150) and (this._x < 550)) and (this._y > 90)) and (this._y < 360)) {
_root.chuany.play();
}
}
}
Instance of Symbol 171 MovieClip "yun_e" in Frame 6
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.yjl_e);
this._yscale = 30000 / (_root.yjl_e + 100);
this._xscale = 30000 / (_root.yjl_e + 100);
this.yz = 150;
this.czjd = Math.atan2(_root.spwofj._y - this.yz, _root.spwofj._x);
this.czjd = (this.czjd * 180) / Math.PI;
this._x = (-600 * Math.cos((_root.yjiajd_e * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((this.czjd * Math.PI) / 90)) + 200;
if (_root.yjl_e > 30) {
if ((((_root.yjiajd_e > 20) and (_root.yjiajd_e < 160)) and (_root.yczjd_e <= 30)) and (_root.yczjd_e >= -30)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
} else {
this._alpha = this._alpha - 2;
if ((((this._x > -150) and (this._x < 550)) and (this._y > 90)) and (this._y < 360)) {
_root.chuany.play();
}
}
}
Instance of Symbol 174 MovieClip "yiz" in Frame 6
onClipEvent (load) {
this._alpha = 0;
this.swapDepths(110000);
this._y = 320;
this._x = 300;
}
Instance of Symbol 217 MovieClip "jp" in Frame 6
onClipEvent (load) {
this.swapDepths(110001);
this._y = 295;
}
onClipEvent (enterFrame) {
if (((_root.spwofj._y >= 380) and (_root.mb.speedy < 4)) and (this._y < 295)) {
this._y = this._y + 1;
}
if (((_root.spwofj._y >= 380) and (_root.mb.speedy > 3)) and (this._y > 275)) {
this._y = this._y - 1;
}
}
Instance of Symbol 572 MovieClip "di_a" in Frame 6
onClipEvent (load) {
_root.sw_a = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.jl_a);
this._yscale = 4000 / (_root.jl_a + 40);
this._xscale = 4000 / (_root.jl_a + 40);
if ((((_root.jiajd_a > 30) and (_root.jiajd_a < 150)) and (_root.czjd_a <= 20)) and (_root.czjd_a >= -20)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = (-600 * Math.cos((_root.jiajd_a * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((_root.czjd_a * Math.PI) / 90)) + 200;
_root.xunazd_a = ((_root.jd_a + _root.jiajd_a) - _root.dii_a._rotation) + 90;
if (_root.xunazd_a >= 360) {
_root.xunazd_a = _root.xunazd_a - 360;
}
if (_root.xunazd_a < 0) {
_root.xunazd_a = 360 + _root.xunazd_a;
}
_root.sxd_a = (_root.czjd_a + _root.sbjd_a) - _root.spwofj._rotation;
this.dqz = int(_root.sxd_a / 20) + 10;
this.gotoAndStop(this.dqz);
if (_root.disb_a._y > 800) {
_root.dii_a._x = 300;
_root.dii_a._y = -300;
_root.disb_a._y = 200;
_root.disb_a._rotation = 0;
this.xue.gotoAndStop(1);
}
}
Instance of Symbol 616 MovieClip "lp" in Frame 6
onClipEvent (load) {
this.swapDepths(200001);
}
Instance of Symbol 629 MovieClip in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(200002);
}
Instance of Symbol 631 MovieClip "wox" in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(200003);
}
Instance of Symbol 632 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(87)) {
this.gotoAndStop(2);
}
if (Key.isDown(71)) {
this.gotoAndStop(3);
}
if (this._currentframe == 2) {
_root.mb.speedy = _root.mb.speedy + 0.01;
}
if (this._currentframe == 3) {
_root.mb.speedy = _root.mb.speedy - 0.01;
}
if (_root.mb.speedy > 5) {
_root.mb.speedy = 5;
}
if (_root.mb.speedy < 0) {
_root.mb.speedy = 0;
}
}
Instance of Symbol 635 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.mb.speedy <= 2) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 643 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.mb.speedy >= 2) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 645 MovieClip "di_b" in Frame 6
onClipEvent (load) {
_root.sw_b = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.jl_b);
this._yscale = 4000 / (_root.jl_b + 40);
this._xscale = 4000 / (_root.jl_b + 40);
if ((((_root.jiajd_b > 30) and (_root.jiajd_b < 150)) and (_root.czjd_b <= 20)) and (_root.czjd_b >= -20)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = (-600 * Math.cos((_root.jiajd_b * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((_root.czjd_b * Math.PI) / 90)) + 200;
_root.xunazd_b = ((_root.jd_b + _root.jiajd_b) - _root.dii_b._rotation) + 90;
if (_root.xunazd_b >= 360) {
_root.xunazd_b = _root.xunazd_b - 360;
}
if (_root.xunazd_b < 0) {
_root.xunazd_b = 360 + _root.xunazd_b;
}
_root.sxd_b = (_root.czjd_b + _root.sbjd_b) - _root.spwofj._rotation;
this.dqz = int(_root.sxd_b / 20) + 10;
this.gotoAndStop(this.dqz);
if (_root.disb_b._y > 800) {
_root.dii_b._x = 0;
_root.dii_b._y = 0;
_root.disb_b._y = 100;
_root.disb_b._rotation = 0;
this.xue.gotoAndStop(1);
}
}
Instance of Symbol 652 MovieClip "post" in Frame 6
onClipEvent (load) {
this.swapDepths(110002);
}
onClipEvent (enterFrame) {
if (_root.fs == 1) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 654 MovieClip "bz_a" in Frame 6
onClipEvent (enterFrame) {
if (_root.di_a.shiw == 1) {
this._alpha = 0;
} else {
jd = Math.atan2(this._y - 200, this._x - 300);
this._rotation = (jd * 180) / Math.PI;
this.swapDepths(1000001);
if ((_root.jiajd_a < 55) or (_root.jiajd_a > 125)) {
this._alpha = 100;
if ((_root.jiajd_a > 125) and (_root.jiajd_a < 270)) {
this._x = 583;
}
if ((_root.jiajd_a < 55) or (_root.jiajd_a > 270)) {
this._x = 17;
}
this._y = 200 - (_root.spwofj._y - _root.disb_a._y);
} else if ((_root.czjd_a >= 16) or (_root.czjd_a <= -16)) {
this._alpha = 100;
if (_root.czjd_a >= 16) {
this._y = 17;
}
if (_root.czjd_a <= -16) {
this._y = 383;
}
this._x = _root.di_a._x;
} else {
this._alpha = 0;
}
}
}
Instance of Symbol 657 MovieClip "huiq" in Frame 6
onClipEvent (load) {
this.swapDepths(110011);
}
onClipEvent (enterFrame) {
_root.zxjl = Math.sqrt(((_root.mb._x - 300) * (_root.mb._x - 300)) + ((_root.mb._y - 200) * (_root.mb._y - 200)));
if (_root.zxjl > 1200) {
_root.huiq.play();
} else {
_root.huiq.gotoAndStop(1);
}
if (_root.zxjl > 1500) {
_root.gotoAndStop("overc");
}
}
Instance of Symbol 654 MovieClip "bz_b" in Frame 6
onClipEvent (enterFrame) {
if (_root.di_b.shiw == 1) {
this._alpha = 0;
} else {
jd = Math.atan2(this._y - 200, this._x - 300);
this._rotation = (jd * 180) / Math.PI;
this.swapDepths(1000002);
if ((_root.jiajd_b < 55) or (_root.jiajd_b > 125)) {
this._alpha = 100;
if ((_root.jiajd_b > 125) and (_root.jiajd_b < 270)) {
this._x = 583;
}
if ((_root.jiajd_b < 55) or (_root.jiajd_b > 270)) {
this._x = 17;
}
this._y = 200 - (_root.spwofj._y - _root.disb_b._y);
} else if ((_root.czjd_b >= 16) or (_root.czjd_b <= -16)) {
this._alpha = 100;
if (_root.czjd_b >= 16) {
this._y = 17;
}
if (_root.czjd_b <= -16) {
this._y = 383;
}
this._x = _root.di_b._x;
} else {
this._alpha = 0;
}
}
}
Instance of Symbol 659 MovieClip "mb" in Frame 6
onClipEvent (load) {
speed = 6;
depth = 200;
depthh = 500;
this.swapDepths(300009);
speedy = 0;
}
onClipEvent (mouseDown) {
_root.fs = 1;
}
onClipEvent (mouseUp) {
_root.fs = 0;
removeMovieClip(_root[mz]);
}
onClipEvent (enterFrame) {
angley = this._rotation;
angley = (angley * Math.PI) / 180;
this.xxmov = (0.1 * speedy) * Math.cos(angley);
this.yymov = (0.1 * speedy) * Math.sin(angley);
this._x = this._x + this.xxmov;
this._y = this._y + this.yymov;
_root.mbjd = this._rotation;
this._rotation = -40 - (_root.bj._x / 6.94444444444444);
angle = this._rotation;
angle = (angle * Math.PI) / 180;
if (((_root.fs == 1) and (_root.mb.speedy > 2)) and (_root.fss == 1)) {
depthh++;
depth++;
if ((depth % 7) == 1) {
nam = "projectile" + depth;
_root.attachMovie("projectile", nam, depth + 5000);
_root[nam]._x = _root.mb._x + Math.cos(angle);
_root[nam]._y = _root.mb._y + Math.sin(angle);
_root[nam]._z = _root.spwofj._y + Math.sin(_root.spwofj._rotation);
_root[nam].xmov = speed * Math.cos(angle);
_root[nam].ymov = speed * Math.sin(angle);
_root[nam].zmov = speed * Math.sin(_root.spwofj._rotation);
_root[nam].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
this._z = this._z + this.zmov;
if (((this.hitTest(_root.dii_a) and (this._z <= (_root.disb_a._y + 20))) and (this._z >= (_root.disb_a._y - 40))) and (_root.jl_a > 15)) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.di_a.xue.gotoAndStop(_root.di_a.xue._currentframe + _root.weil);
}
}
if (((this.hitTest(_root.dii_b) and (this._z <= (_root.disb_b._y + 20))) and (this._z >= (_root.disb_b._y - 40))) and (_root.jl_b > 15)) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.di_b.xue.gotoAndStop(_root.di_b.xue._currentframe + _root.weil);
}
}
hh = Math.sqrt(((this._x - _root.mb._x) * (this._x - _root.mb._x)) + ((this._y - _root.mb._y) * (this._y - _root.mb._y)));
duiangle = Math.atan2(this._y - _root.mb._y, this._x - _root.mb._x);
duiangle = (duiangle * 180) / Math.PI;
jd = int(duiangle - _root.mb._rotation);
};
mz = "pro" + depthh;
_root.attachMovie("pro", mz, 10000 + depthh);
_root[mz]._x = _root.jp._x;
_root[mz]._y = _root.jp._y;
_root[mz]._rotation = -0.3 * _root.jp.jj._rotation;
_root[mz].onEnterFrame = function () {
ttt = this._y - _root.post._y;
if (ttt < 0) {
ttt = 0;
}
this._y = this._y - (((_root._ymouse - 200) * 0.02) + (0.08 * ttt));
this._x = (300 * Math.sin((jd * Math.PI) / 180)) + 300;
this._xscale = 4000 / hh;
this._yscale = 4000 / hh;
if ((this.hitTest(_root.di_a.zdq) and (this._xscale > (_root.di_a._xscale - 5))) and (this._xscale < (_root.di_a._xscale + 5))) {
this._alpha = 0;
_root.zdsy.play();
_root.fsss = _root.fsss + 20;
}
if ((this.hitTest(_root.di_b.zdq) and (this._xscale > (_root.di_b._xscale - 5))) and (this._xscale < (_root.di_b._xscale + 5))) {
this._alpha = 0;
_root.zdsy.play();
_root.fsss = _root.fsss + 20;
}
if (this._yscale > 360) {
this._visible = false;
} else {
this._visible = true;
}
};
if (depth >= 300) {
depth = 200;
}
if (depthh >= 600) {
depthh = 500;
}
}
}
}
Instance of Symbol 662 MovieClip in Frame 6
onClipEvent (load) {
this.swapDepths(100000);
}
Instance of Symbol 666 MovieClip in Frame 6
onClipEvent (load) {
}
Instance of Symbol 668 MovieClip "dii_a" in Frame 6
onClipEvent (load) {
speed = 6;
i = 0;
r = 50;
this._x = 300;
this._y = -300;
xtk1speed = 0.4;
depth = 1000;
depthh = 1100;
this.swapDepths(300003);
}
onClipEvent (enterFrame) {
ttj = ((this._rotation + 90) * Math.PI) / 180;
this.xxmov = xtk1speed * Math.cos(ttj);
this.yymov = xtk1speed * Math.sin(ttj);
this._x = this._x + this.xxmov;
this._y = this._y + this.yymov;
_root.jl_a = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.jd_a = int(angle) - 90;
if (_root.jd_a < 0) {
_root.jd_a = 360 + _root.jd_a;
}
_root.dijd_a = this._rotation;
if (_root.dijd_a < 0) {
_root.dijd_a = 360 + _root.dijd_a;
}
_root.jiajd_a = _root.jd_a - _root.mbjd;
if (_root.jiajd_a >= 360) {
_root.jiajd_a = _root.jiajd_a - 360;
}
if (_root.jiajd_a <= 0) {
_root.jiajd_a = _root.jiajd_a + 360;
}
anglea = this._rotation + 90;
anglea = (anglea * Math.PI) / 180;
angleasb = _root.disb_a._rotation + 90;
angleasb = (angleasb * Math.PI) / 180;
depthh++;
depth++;
dangle = Math.atan2(this._y - _root.mb._y, this._x - _root.mb._x);
dangle = (dangle * 180) / Math.PI;
djd = (int(dangle) + 90) - this._rotation;
if (djd < -3) {
this._rotation = this._rotation - 0.4;
}
if (djd > 3) {
this._rotation = this._rotation + 0.4;
}
gdc = _root.disb_a._y - _root.spwofj._y;
if (((((((depth % 5) == 1) and (djd > -20)) and (djd < 20)) and (gdc < 10)) and (gdc > -10)) and (_root.di_a.shiw == 0)) {
_root.djqfs.play();
nan = "projectile" + depth;
_root.attachMovie("projectile", nan, depth);
_root[nan]._x = _root.dii_a._x + Math.cos(anglea);
_root[nan]._y = _root.dii_a._y + Math.sin(anglea);
_root[nan].xmov = speed * Math.cos(anglea);
_root[nan].ymov = speed * Math.sin(anglea);
_root[nan].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if (((this.hitTest(_root.mb) and (_root.disb_a._y > (_root.spwofj._y - 20))) and (_root.disb_a._y <= (_root.spwofj._y + 20))) and (_root.jl_a > 15)) {
_root.zdsya.play();
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.wox.zhiz._rotation = _root.wox.zhiz._rotation - _root.nand;
_root.fsss = _root.fsss - 10;
}
}
hh = Math.sqrt(((this._x - _root.mb._x) * (this._x - _root.mb._x)) + ((this._y - _root.mb._y) * (this._y - _root.mb._y)));
duiangle = Math.atan2(_root.mb._y - this._y, _root.mb._x - this._x);
duiangle = (duiangle * 180) / Math.PI;
jd = int(duiangle);
if (jd < 0) {
jd = 360 + jd;
}
cduiangle = Math.atan2(_root.spwofj._y - _root.disb_a._y, _root.spwofj._x - _root.disb_a._x);
cduiangle = (cduiangle * 180) / Math.PI;
cjd = int(cduiangle);
if (cjd < 0) {
cjd = 360 + cjd;
}
};
mza = "pra" + depthh;
_root.attachMovie("pra", mza, depthh);
_root[mza]._xscale = 4000 / hh;
_root[mza]._yscale = 4000 / hh;
_root[mza]._x = (-600 * Math.cos((jd * Math.PI) / 180)) + _root.di_a._x;
_root[mza]._y = ((-400 * Math.sin((cjd * Math.PI) / 180)) + _root.di_a._y) - 5;
_root[mza].onEnterFrame = function () {
if (this._x < 300) {
this._rotation = -90;
} else {
this._rotation = 90;
}
this._xscale = 4000 / hh;
this._yscale = 4000 / hh;
this.zdtt = 20 - (20 * Math.sin(_root.jiajd_a));
this.gotoAndStop(this.zdtt);
this._x = (-600 * Math.cos((jd * Math.PI) / 180)) + _root.di_a._x;
this._y = ((-400 * Math.sin((cjd * Math.PI) / 180)) + _root.di_a._y) - 5;
};
if (depth > 1100) {
depth = 1000;
}
if (depthh > 1200) {
depthh = 1100;
}
}
}
Instance of Symbol 670 MovieClip "spwofj" in Frame 6
onClipEvent (load) {
this._y = 400;
_root.jh = 0;
this._rotation = 0;
_root.ww = 6;
}
onClipEvent (enterFrame) {
this.swapDepths(300002);
_root.eew = this._rotation;
this._rotation = 30 - (5 * _root.ww);
this._y = 400 - ((((0.2 * _root.mb.speedy) * (_root.bj._y + 160)) * 400) / 900);
if (_root.bj._y < -100) {
_root.yiz._alpha = _root.yiz._alpha + 5;
} else {
_root.yiz._alpha = _root.yiz._alpha - 5;
}
if (_root.yiz._alpha > 100) {
_root.yiz._alpha = 100;
}
if (_root.yiz._alpha < 0) {
_root.yiz._alpha = 0;
}
if ((this._y < 380) and (_root.mb.speedy < 3)) {
_root.jh = 1;
}
if (_root.jh == 1) {
_root.bj._y = _root.bj._y - 6;
}
if ((_root.bj._y < -110) and (_root.jh == 1)) {
if (_root.wox.zhiz._rotation > -135) {
_root.gotoAndStop("overa");
} else {
_root.gotoAndStop("over");
}
}
if ((this._y > 390) and (this._rotation < -10)) {
_root.gotoAndStop("overa");
}
if (_root.bj._y < -160) {
_root.bj._y = -160;
}
if (this._y >= 395) {
this._rotation = 0;
}
}
Instance of Symbol 672 MovieClip "xyun_a" in Frame 6
onClipEvent (load) {
this.swapDepths(320001);
}
onClipEvent (enterFrame) {
_root.yjl_a = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.yjd_a = int(angle) - 90;
if (_root.yjd_a < 0) {
_root.yjd_a = 360 + _root.yjd_a;
}
_root.yjiajd_a = _root.yjd_a - _root.mbjd;
if (_root.yjiajd_a >= 360) {
_root.yjiajd_a = _root.yjiajd_a - 360;
}
if (_root.yjiajd_a <= 0) {
_root.yjiajd_a = _root.yjiajd_a + 360;
}
}
Instance of Symbol 672 MovieClip "xyun_b" in Frame 6
onClipEvent (load) {
this.swapDepths(320002);
}
onClipEvent (enterFrame) {
_root.yjl_b = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.yjd_b = int(angle) - 90;
if (_root.yjd_b < 0) {
_root.yjd_b = 360 + _root.yjd_b;
}
_root.yjiajd_b = _root.yjd_b - _root.mbjd;
if (_root.yjiajd_b >= 360) {
_root.yjiajd_b = _root.yjiajd_b - 360;
}
if (_root.yjiajd_b <= 0) {
_root.yjiajd_b = _root.yjiajd_b + 360;
}
}
Instance of Symbol 670 MovieClip "disb_a" in Frame 6
onClipEvent (load) {
this._y = 200;
kz = 0;
this.swapDepths(300013);
}
onClipEvent (enterFrame) {
kz = kz + 1;
if (_root.sw_a == 0) {
if (_root.jl_a < 300) {
if ((_root.dii_a.djd > -80) and (_root.dii_a.djd < 80)) {
if (this._y > (_root.spwofj._y + 10)) {
this._y = this._y - 0.3;
}
if (this._y <= (_root.spwofj._y - 10)) {
this._y = this._y + 0.5;
}
this._rotation = this._rotation + ((-this._rotation) * 0.05);
_root.cs.gotoAndStop(2);
} else {
this._y = this._y - (0.4 * Math.sin((this._rotation * Math.PI) / 180));
if ((kz >= 0) and (kz < 200)) {
this._rotation--;
}
if ((kz >= 300) and (kz < 500)) {
this._rotation++;
}
if ((kz >= 200) and (kz < 300)) {
this._rotation = this._rotation + ((-this._rotation) * 0.05);
}
if (this._rotation >= 60) {
this._rotation = 60;
}
if (this._rotation <= -60) {
this._rotation = -60;
}
if (this._y > 360) {
this._y = 359;
}
if (this._y < 0) {
this._y = 1;
}
_root.cs.gotoAndStop(3);
}
} else {
this._y = this._y + ((200 - this._y) * 0.01);
}
} else {
this._rotation = this._rotation - ((this._rotation + 90) * 0.01);
this._y = this._y - (1 * Math.sin((this._rotation * Math.PI) / 180));
_root.cs.gotoAndStop(5);
}
if (kz > 500) {
kz = 0;
}
_root.z_a = 400 - this._y;
_root.sbjd_a = this._rotation;
_root.czjd_a = Math.atan2(_root.spwofj._y - this._y, _root.spwofj._x - this._x);
_root.czjd_a = (_root.czjd_a * 180) / Math.PI;
}
Instance of Symbol 672 MovieClip "xyun_c" in Frame 6
onClipEvent (load) {
this.swapDepths(320003);
}
onClipEvent (enterFrame) {
_root.yjl_c = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.yjd_c = int(angle) - 90;
if (_root.yjd_c < 0) {
_root.yjd_c = 360 + _root.yjd_c;
}
_root.yjiajd_c = _root.yjd_c - _root.mbjd;
if (_root.yjiajd_c >= 360) {
_root.yjiajd_c = _root.yjiajd_c - 360;
}
if (_root.yjiajd_c <= 0) {
_root.yjiajd_c = _root.yjiajd_c + 360;
}
}
Instance of Symbol 672 MovieClip "xyun_d" in Frame 6
onClipEvent (load) {
this.swapDepths(320004);
}
onClipEvent (enterFrame) {
_root.yjl_d = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.yjd_d = int(angle) - 90;
if (_root.yjd_d < 0) {
_root.yjd_d = 360 + _root.yjd_d;
}
_root.yjiajd_d = _root.yjd_d - _root.mbjd;
if (_root.yjiajd_d >= 360) {
_root.yjiajd_d = _root.yjiajd_d - 360;
}
if (_root.yjiajd_d <= 0) {
_root.yjiajd_d = _root.yjiajd_d + 360;
}
}
Instance of Symbol 672 MovieClip "xyun_e" in Frame 6
onClipEvent (load) {
this.swapDepths(320005);
}
onClipEvent (enterFrame) {
_root.yjl_e = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.yjd_e = int(angle) - 90;
if (_root.yjd_e < 0) {
_root.yjd_e = 360 + _root.yjd_e;
}
_root.yjiajd_e = _root.yjd_e - _root.mbjd;
if (_root.yjiajd_e >= 360) {
_root.yjiajd_e = _root.yjiajd_e - 360;
}
if (_root.yjiajd_e <= 0) {
_root.yjiajd_e = _root.yjiajd_e + 360;
}
}
Instance of Symbol 668 MovieClip "dii_b" in Frame 6
onClipEvent (load) {
speed = 6;
i = 0;
this._x = 0;
this._y = 0;
xtk1speed = 0.35;
depth = 2000;
depthh = 2100;
this.swapDepths(300004);
}
onClipEvent (enterFrame) {
ttj = ((this._rotation + 90) * Math.PI) / 180;
this.xxmov = xtk1speed * Math.cos(ttj);
this.yymov = xtk1speed * Math.sin(ttj);
this._x = this._x + this.xxmov;
this._y = this._y + this.yymov;
_root.jl_b = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.jd_b = int(angle) - 90;
if (_root.jd_b < 0) {
_root.jd_b = 360 + _root.jd_b;
}
_root.dijd_b = this._rotation;
if (_root.dijd_b < 0) {
_root.dijd_b = 360 + _root.dijd_b;
}
_root.jiajd_b = _root.jd_b - _root.mbjd;
if (_root.jiajd_b >= 360) {
_root.jiajd_b = _root.jiajd_b - 360;
}
if (_root.jiajd_b <= 0) {
_root.jiajd_b = _root.jiajd_b + 360;
}
anglea = this._rotation + 90;
anglea = (anglea * Math.PI) / 180;
angleasb = _root.disb_b._rotation + 90;
angleasb = (angleasb * Math.PI) / 180;
depthh++;
depth++;
dangle = Math.atan2(this._y - _root.mb._y, this._x - _root.mb._x);
dangle = (dangle * 180) / Math.PI;
djd = (int(dangle) + 90) - this._rotation;
if (djd < -3) {
this._rotation = this._rotation - 0.45;
}
if (djd > 3) {
this._rotation = this._rotation + 0.45;
}
gdc = _root.disb_b._y - _root.spwofj._y;
if (((((((depth % 5) == 1) and (djd > -20)) and (djd < 20)) and (gdc < 10)) and (gdc > -10)) and (_root.di_b.shiw == 0)) {
_root.djqfs.play();
nan = "projectile" + depth;
_root.attachMovie("projectile", nan, depth);
_root[nan]._x = _root.dii_b._x + Math.cos(anglea);
_root[nan]._y = _root.dii_b._y + Math.sin(anglea);
_root[nan].xmov = speed * Math.cos(anglea);
_root[nan].ymov = speed * Math.sin(anglea);
_root[nan].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if (((this.hitTest(_root.mb) and (_root.disb_b._y > (_root.spwofj._y - 20))) and (_root.disb_b._y <= (_root.spwofj._y + 20))) and (_root.jl_b > 15)) {
_root.zdsya.play();
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.wox.zhiz._rotation = _root.wox.zhiz._rotation - _root.nand;
_root.fsss = _root.fsss - 10;
}
}
hh = Math.sqrt(((this._x - _root.mb._x) * (this._x - _root.mb._x)) + ((this._y - _root.mb._y) * (this._y - _root.mb._y)));
duiangle = Math.atan2(_root.mb._y - this._y, _root.mb._x - this._x);
duiangle = (duiangle * 180) / Math.PI;
jd = int(duiangle);
if (jd < 0) {
jd = 360 + jd;
}
cduiangle = Math.atan2(_root.spwofj._y - _root.disb_b._y, _root.spwofj._x - _root.disb_b._x);
cduiangle = (cduiangle * 180) / Math.PI;
cjd = int(cduiangle);
if (cjd < 0) {
cjd = 360 + cjd;
}
};
mza = "pra" + depthh;
_root.attachMovie("pra", mza, depthh);
_root[mza]._xscale = 4000 / hh;
_root[mza]._yscale = 4000 / hh;
_root[mza]._x = (-600 * Math.cos((jd * Math.PI) / 180)) + _root.di_b._x;
_root[mza]._y = ((-400 * Math.sin((cjd * Math.PI) / 180)) + _root.di_b._y) - 5;
_root[mza].onEnterFrame = function () {
if (this._x < 300) {
this._rotation = -90;
} else {
this._rotation = 90;
}
this._xscale = 4000 / hh;
this._yscale = 4000 / hh;
this.zdtt = 20 - (20 * Math.sin(_root.jiajd_b));
this.gotoAndStop(this.zdtt);
this._x = (-600 * Math.cos((jd * Math.PI) / 180)) + _root.di_b._x;
this._y = ((-400 * Math.sin((cjd * Math.PI) / 180)) + _root.di_b._y) - 5;
};
if (depth > 2100) {
depth = 2000;
}
if (depthh > 2200) {
depthh = 2100;
}
}
}
Instance of Symbol 670 MovieClip "disb_b" in Frame 6
onClipEvent (load) {
this._y = 100;
kz = 0;
this.swapDepths(300014);
}
onClipEvent (enterFrame) {
kz = kz + 1;
if (_root.sw_b == 0) {
if (_root.jl_b < 300) {
if ((_root.dii_b.djd > -85) and (_root.dii_b.djd < 85)) {
if (this._y > (_root.spwofj._y + 10)) {
this._y = this._y - 0.3;
}
if (this._y <= (_root.spwofj._y - 10)) {
this._y = this._y + 0.5;
}
this._rotation = this._rotation + ((-this._rotation) * 0.05);
_root.cs.gotoAndStop(2);
} else {
this._y = this._y - (0.4 * Math.sin((this._rotation * Math.PI) / 180));
if ((kz >= 0) and (kz < 200)) {
this._rotation--;
}
if ((kz >= 400) and (kz < 500)) {
this._rotation++;
}
if ((kz >= 200) and (kz < 400)) {
this._rotation = this._rotation + ((-this._rotation) * 0.05);
}
if (this._rotation >= 60) {
this._rotation = 60;
}
if (this._rotation <= -60) {
this._rotation = -60;
}
if (this._y > 360) {
this._y = 359;
}
if (this._y < 0) {
this._y = 1;
}
_root.cs.gotoAndStop(3);
}
} else {
this._y = this._y + ((150 - this._y) * 0.01);
}
} else {
this._rotation = this._rotation - ((this._rotation + 90) * 0.01);
this._y = this._y - (1 * Math.sin((this._rotation * Math.PI) / 180));
_root.cs.gotoAndStop(5);
}
if (kz > 500) {
kz = 0;
}
_root.z_b = 400 - this._y;
_root.sbjd_b = this._rotation;
_root.czjd_b = Math.atan2(_root.spwofj._y - this._y, _root.spwofj._x - this._x);
_root.czjd_b = (_root.czjd_b * 180) / Math.PI;
}
Instance of Symbol 677 MovieClip "SoundBtn" in Frame 6
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
onClipEvent (load) {
this.swapDepths(600002);
}
Instance of Symbol 678 MovieClip in Frame 6
onClipEvent (load) {
this.swapDepths(10000002);
}
Instance of Symbol 680 MovieClip "he" in Frame 6
onClipEvent (load) {
this.swapDepths(100005);
}
onClipEvent (enterFrame) {
if (_root.woxue < 1) {
_root.he.play();
}
if (_root.wanc > 3) {
_root.he.play();
}
}
Frame 7
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
function onEnterFrame() {
speed = _root.mb.speedy * 0.17;
if (_root._xmouse < 280) {
rotation = rotation + speed;
}
if (_root._xmouse > 320) {
rotation = rotation - speed;
}
posY = posY - ((0.2 * _root.mb.speedy) * Math.cos((rotation / 180) * Math.PI));
posX = posX - ((0.2 * _root.mb.speedy) * Math.sin((rotation / 180) * Math.PI));
var _local3 = 0;
while (_local3 < stripCount) {
this["strip" + _local3].pic._x = -posX;
this["strip" + _local3].pic._y = -posY;
if (prevRotation != rotation) {
this["strip" + _local3]._rotation = rotation;
}
_local3++;
}
prevRotation = rotation;
}
Mouse.hide();
startDrag ("post", true, 240, 120, 360, 240);
_quality = "MEDIUM";
stop();
_root.dtbs = 6;
_root.nand = 2;
_root.weil = 5;
_root.wjxm = "\u73A9\u5BB6";
_root.shijiao = 12;
_root.di_b.shiw = 1;
depth = 0;
var stripCount = 0;
var i = 230;
while (i <= 400) {
attachMovie("S-mask", "mask" + stripCount, 2 * stripCount);
maskNow = this["mask" + stripCount];
maskNow._height = 6;
maskNow._width = 600;
maskNow._x = 300;
maskNow._y = i;
attachMovie("S-Stage1", "strip" + stripCount, (2 * stripCount) + 1);
stripNow = this["strip" + stripCount];
stripNow._x = 300;
stripNow._y = 600;
stripNow._xscale = (stripNow._yscale = 10 * (i - 230));
stripNow.setMask(maskNow);
stripCount++;
i = i + 4;
}
posX = 0;
posY = 0;
rotation = 0;
Instance of Symbol 171 MovieClip "yun_a" in Frame 7
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.yjl_a);
this._yscale = 30000 / (_root.yjl_a + 100);
this._xscale = 30000 / (_root.yjl_a + 100);
this.yz = 270;
this.czjd = Math.atan2(_root.spwofj._y - this.yz, _root.spwofj._x);
this.czjd = (this.czjd * 180) / Math.PI;
this._x = (-600 * Math.cos((_root.yjiajd_a * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((this.czjd * Math.PI) / 90)) + 200;
if (_root.yjl_a > 30) {
if ((((_root.yjiajd_a > 30) and (_root.yjiajd_a < 150)) and (_root.yczjd_a <= 20)) and (_root.yczjd_a >= -20)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
} else {
this._alpha = this._alpha - 2;
if ((((this._x > -150) and (this._x < 550)) and (this._y > 90)) and (this._y < 360)) {
_root.chuany.play();
}
}
}
Instance of Symbol 616 MovieClip "lp" in Frame 7
onClipEvent (load) {
this.swapDepths(200001);
}
Instance of Symbol 686 MovieClip in Frame 7
onClipEvent (load) {
this.swapDepths(200004);
}
onClipEvent (enterFrame) {
if (_root.mb.speedy < 1) {
_root.smm = "Press the key 'W' to launch, move the mouse slightly higher than the horizon.";
}
if ((_root.spwofj._y >= 380) and (_root.mb.speedy > 4)) {
_root.smm = "Press the key 'G' to landing, move the mouse slightly higher than the horizon";
}
if (((_root.spwofj._y < 380) and (_root.sw_a == 0)) and (_root.mb.speedy == 5)) {
_root.smm = "Find the red balloon and shoot.";
}
if ((_root.spwofj._y < 380) and (_root.sw_a == 1)) {
_root.smm = "Mission completed, decrease the altitude, ready to landing.";
}
if (((_root.mb.speedy == 0) and (_root.sw_a == 1)) and (_root.spwofj._y > 380)) {
_root.gotoAndStop("byzm");
}
if (_root.zxjl > 1200) {
_root.smm = "Please flight back to the base.";
}
if (Key.isDown(72)) {
stopAllSounds();
_root.gotoAndStop("ksjm");
}
}
Instance of Symbol 688 MovieClip "di_a" in Frame 7
onClipEvent (load) {
_root.sw_a = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(10000 - _root.jl_a);
this._yscale = 4000 / (_root.jl_a + 40);
this._xscale = 4000 / (_root.jl_a + 40);
if ((((_root.jiajd_a > 30) and (_root.jiajd_a < 150)) and (_root.czjd_a <= 20)) and (_root.czjd_a >= -20)) {
this._alpha = 100;
} else {
this._alpha = 0;
}
this._x = (-600 * Math.cos((_root.jiajd_a * Math.PI) / 180)) + 300;
this._y = (-400 * Math.sin((_root.czjd_a * Math.PI) / 90)) + 200;
}
Instance of Symbol 659 MovieClip "mb" in Frame 7
onClipEvent (load) {
speed = 6;
depth = 200;
depthh = 500;
this.swapDepths(300009);
speedy = 0;
}
onClipEvent (mouseDown) {
_root.fs = 1;
}
onClipEvent (mouseUp) {
_root.fs = 0;
removeMovieClip(_root[mz]);
}
onClipEvent (enterFrame) {
angley = this._rotation;
angley = (angley * Math.PI) / 180;
this.xxmov = (0.1 * speedy) * Math.cos(angley);
this.yymov = (0.1 * speedy) * Math.sin(angley);
this._x = this._x + this.xxmov;
this._y = this._y + this.yymov;
_root.mbjd = this._rotation;
this._rotation = -40 - (_root.bj._x / 6.94444444444444);
angle = this._rotation;
angle = (angle * Math.PI) / 180;
if (((_root.fs == 1) and (_root.mb.speedy > 2)) and (_root.fss == 1)) {
depthh++;
depth++;
if ((depth % 7) == 1) {
nam = "projectile" + depth;
_root.attachMovie("projectile", nam, depth + 5000);
_root[nam]._x = _root.mb._x + Math.cos(angle);
_root[nam]._y = _root.mb._y + Math.sin(angle);
_root[nam]._z = _root.spwofj._y + Math.sin(_root.spwofj._rotation);
_root[nam].xmov = speed * Math.cos(angle);
_root[nam].ymov = speed * Math.sin(angle);
_root[nam].zmov = speed * Math.sin(_root.spwofj._rotation);
_root[nam].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
this._z = this._z + this.zmov;
if (((this.hitTest(_root.dii_a) and (this._z <= (_root.disb_a._y + 20))) and (this._z >= (_root.disb_a._y - 40))) and (_root.jl_a > 15)) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.di_a.xue.gotoAndStop(_root.di_a.xue._currentframe + _root.weil);
}
}
if (((this.hitTest(_root.dii_b) and (this._z <= (_root.disb_b._y + 20))) and (this._z >= (_root.disb_b._y - 40))) and (_root.jl_b > 15)) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.di_b.xue.gotoAndStop(_root.di_b.xue._currentframe + _root.weil);
}
}
hh = Math.sqrt(((this._x - _root.mb._x) * (this._x - _root.mb._x)) + ((this._y - _root.mb._y) * (this._y - _root.mb._y)));
duiangle = Math.atan2(this._y - _root.mb._y, this._x - _root.mb._x);
duiangle = (duiangle * 180) / Math.PI;
jd = int(duiangle - _root.mb._rotation);
};
mz = "pro" + depthh;
_root.attachMovie("pro", mz, 10000 + depthh);
_root[mz]._x = _root.jp._x;
_root[mz]._y = _root.jp._y;
_root[mz]._rotation = -0.3 * _root.jp.jj._rotation;
_root[mz].onEnterFrame = function () {
ttt = this._y - _root.post._y;
if (ttt < 0) {
ttt = 0;
}
this._y = this._y - (((_root._ymouse - 200) * 0.02) + (0.08 * ttt));
this._x = (300 * Math.sin((jd * Math.PI) / 180)) + 300;
this._xscale = 4000 / hh;
this._yscale = 4000 / hh;
if ((this.hitTest(_root.di_a) and (this._xscale > (_root.di_a._xscale - 5))) and (this._xscale < (_root.di_a._xscale + 5))) {
this._alpha = 0;
_root.zdsy.play();
}
if (this._yscale > 360) {
this._visible = false;
} else {
this._visible = true;
}
};
if (depth >= 300) {
depth = 200;
}
if (depthh >= 600) {
depthh = 500;
}
}
}
}
Instance of Symbol 668 MovieClip "dii_a" in Frame 7
onClipEvent (load) {
speed = 6;
i = 0;
r = 50;
xtk1speed = 0.4;
depth = 1000;
depthh = 1100;
this.swapDepths(300003);
}
onClipEvent (enterFrame) {
_root.jl_a = Math.sqrt(((_root.mb._x - this._x) * (_root.mb._x - this._x)) + ((_root.mb._y - this._y) * (_root.mb._y - this._y)));
angle = Math.atan2((_root.mb._y - _root.shijiao) - this._y, _root.mb._x - this._x);
angle = (angle * 180) / Math.PI;
_root.jd_a = int(angle) - 90;
if (_root.jd_a < 0) {
_root.jd_a = 360 + _root.jd_a;
}
_root.dijd_a = this._rotation;
if (_root.dijd_a < 0) {
_root.dijd_a = 360 + _root.dijd_a;
}
_root.jiajd_a = _root.jd_a - _root.mbjd;
if (_root.jiajd_a >= 360) {
_root.jiajd_a = _root.jiajd_a - 360;
}
if (_root.jiajd_a <= 0) {
_root.jiajd_a = _root.jiajd_a + 360;
}
anglea = this._rotation + 90;
anglea = (anglea * Math.PI) / 180;
angleasb = _root.disb_a._rotation + 90;
angleasb = (angleasb * Math.PI) / 180;
dangle = Math.atan2(this._y - _root.mb._y, this._x - _root.mb._x);
dangle = (dangle * 180) / Math.PI;
djd = (int(dangle) + 90) - this._rotation;
}
Instance of Symbol 670 MovieClip "disb_a" in Frame 7
onClipEvent (load) {
this._y = 200;
kz = 0;
this.swapDepths(300013);
}
onClipEvent (enterFrame) {
_root.z_a = 400 - this._y;
_root.sbjd_a = this._rotation;
_root.czjd_a = Math.atan2(_root.spwofj._y - this._y, _root.spwofj._x - this._x);
_root.czjd_a = (_root.czjd_a * 180) / Math.PI;
}
Frame 8
stop();
stopAllSounds();
_quality = "HIGH";
Mouse.show();
_root.clean();
var hscore = _root.fsss;
Instance of Symbol 705 MovieClip "jg" in Frame 8
onClipEvent (load) {
this.swapDepths(1000006);
}
Frame 9
stop();
stopAllSounds();
_quality = "HIGH";
Mouse.show();
_root.clean();
var hscore = _root.fsss;
Instance of Symbol 711 MovieClip "jg" in Frame 9
onClipEvent (load) {
this.swapDepths(1000006);
}
Frame 10
stop();
stopAllSounds();
_quality = "HIGH";
Mouse.show();
_root.clean();
var hscore = _root.fsss;
Instance of Symbol 717 MovieClip "jg" in Frame 10
onClipEvent (load) {
this.swapDepths(1000006);
}
Frame 11
stop();
stopAllSounds();
_quality = "HIGH";
Mouse.show();
_root.clean();
var hscore = _root.fsss;
Instance of Symbol 746 MovieClip "jg" in Frame 11
onClipEvent (load) {
this.swapDepths(1000006);
}
Frame 12
stop();
stopAllSounds();
_quality = "HIGH";
Mouse.show();
_root.clean();
Instance of Symbol 750 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(1000006);
}
Symbol 4 MovieClip [projectile] Frame 1
stop();
Symbol 9 MovieClip [pro] Frame 1
stop();
Symbol 12 MovieClip Frame 1
stop();
Instance of Symbol 12 MovieClip "pic" in Symbol 13 MovieClip [S-Stage1] Frame 1
onClipEvent (enterFrame) {
}
Symbol 751 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local27);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local24 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local23 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local25, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local10 = this._parent._parent;
var _local3 = _local10;
while ((!_local3.getBytesTotal()) && (_local3)) {
_local3 = _local3._parent;
}
if (!_local3) {
_local3 = _root;
}
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local5 = false;
var _local6 = _local3.getBytesTotal();
var _local9 = _local3.getBytesLoaded();
var _local4 = (100 * _local9) / _local6;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local11 = this._mochiad_bar._inside;
var _local15 = Math.min(100, Math.min(_local4 || 0, _local12));
_local15 = Math.max(this.last_pcnt, _local15);
this.last_pcnt = _local15;
_local11._xscale = _local15;
options.ad_progress(_local15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local4}, clip._mochiad._containerLCName);
if (_local4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local8 = _local13.getBytesTotal();
if ((_local8 > 0) || (typeof(_local8) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local7 > chk.ad_timeout) && (_local4 == 100)) {
options.ad_failed();
_local5 = true;
}
}
if (_local7 > chk.ad_msec) {
_local5 = true;
}
if (((_local6 > 0) && (_local9 >= _local6)) && (_local5)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 752 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 753 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.1 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 754 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 755 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function requestFunding(properties) {
mochi.as2.MochiServices.send("social_requestFunding", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 756 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("social_hideLoginWidget");
}
static function requestLogin(properties) {
mochi.as2.MochiServices.send("social_requestLogin", properties);
}
static function getFriendsList(properties) {
mochi.as2.MochiServices.send("social_getFriendsList", properties);
}
static function postToStream(properties) {
mochi.as2.MochiServices.send("social_postToStream", properties);
}
static function inviteFriends(properties) {
mochi.as2.MochiServices.send("social_inviteFriends", properties);
}
static function requestFan(properties) {
mochi.as2.MochiServices.send("social_requestFan", properties);
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("social_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var FRIEND_LIST = "FriendsList";
static var PROFILE_DATA = "ProfileData";
static var GAMEPLAY_DATA = "GameplayData";
static var ACTION_CANCELED = "onCancel";
static var ACTION_COMPLETE = "onComplete";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 18 MovieClip Frame 1
_root.okflag = 0;
Symbol 18 MovieClip Frame 173
_root.okflag = 1;
Symbol 23 Button
on (release) {
_root.gotoAndStop("ksjm");
}
Symbol 43 Button
on (press) {
_root.gotoAndStop("rwtz");
}
Symbol 44 Button
on (press) {
_root.gotoAndStop("yxsm");
}
Symbol 45 Button
on (press) {
stopAllSounds();
_root.gotoAndStop("fxxy");
}
Symbol 46 Button
on (release) {
getURL ("http://www.niceclip.net", "_blank");
}
Symbol 101 Button
on (press) {
stopAllSounds();
_root.gotoAndStop("fxxy");
}
Symbol 102 Button
on (press) {
_root.gotoAndStop("ksjm");
}
Symbol 112 Button
on (press) {
this.gotoAndStop(3);
}
Symbol 113 Button
on (press) {
this.gotoAndStop(1);
}
Symbol 114 Button
on (press) {
this.gotoAndStop(2);
}
Symbol 115 MovieClip Frame 1
_root.nand = 2;
_root.weil = 4;
stop();
_root.dengji = 2;
Symbol 115 MovieClip Frame 2
_root.nand = 0.5;
_root.weil = 6;
_root.dengji = 1;
Symbol 115 MovieClip Frame 3
_root.nand = 1;
_root.weil = 1;
_root.dengji = 3;
Symbol 151 Button
on (press) {
stopAllSounds();
if (_root.wjxm == "") {
_root.wjxm = "\u91CC\u5E0C\u7279\u970D\u82AC";
}
_root.gotoAndStop("gdms");
}
Symbol 152 Button
on (press) {
var save = SharedObject.getLocal("yan");
_root.wjxm = save.data.aaa;
_root.cj = save.data.bbb;
_root.dengji = save.data.ccc;
if (_root.cj == undefined) {
_root.cj = 0;
}
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.post)) {
_root.yangg.play();
}
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.post)) {
_root.yangg.play();
}
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Instance of Symbol 177 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 100 - (_root.mb.speedy * 20);
}
Instance of Symbol 181 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = _root.mb.speedy * 20;
}
Instance of Symbol 185 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.fs == 1) and (_root.mb.speedy > 2)) and (_root.fss == 1)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 190 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.fs == 1) and (_root.mb.speedy > 2)) and (_root.fss == 1)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 181 MovieClip in Symbol 211 MovieClip Frame 11
onClipEvent (enterFrame) {
this._alpha = _root.mb.speedy * 20;
}
Instance of Symbol 185 MovieClip in Symbol 211 MovieClip Frame 11
onClipEvent (enterFrame) {
if ((_root.fs == 1) and (_root.mb.speedy > 2)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(this._yscale);
this._y = this._y + 1.5;
this._x = this._x + ((300 - _root._xmouse) / 150);
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = -10;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(this._yscale);
this._y = this._y + 1.5;
this._x = this._x + ((300 - _root._xmouse) / 150);
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = -10;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(this._yscale);
this._y = this._y + 1.5;
this._x = this._x + ((300 - _root._xmouse) / 150);
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = -10;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(this._yscale);
this._y = this._y + 1.5;
this._x = this._x + ((300 - _root._xmouse) / 150);
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = -10;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(this._yscale);
this._y = this._y + 1.5;
this._x = this._x + ((300 - _root._xmouse) / 150);
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = -10;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 2
stop();
Instance of Symbol 215 MovieClip in Symbol 216 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 1;
}
}
Instance of Symbol 211 MovieClip "jj" in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mb.speedy > 4) {
_root.ww = int((_root.post._y - 120) / 12);
this.gotoAndStop(_root.ww);
} else if (_root.spwofj._y >= 380) {
if (this._currentframe > 4) {
this.prevFrame();
}
if (this._currentframe < 4) {
this.nextFrame();
}
}
if (_root.jh == 1) {
this._rotation = this._rotation + 3;
}
if (_root.jh == 0) {
this._rotation = int(((0.2 * _root.mb.speedy) * (_root.post._x - 300)) / 2);
}
_root.yiz._xscale = 100 - Math.abs(this._rotation);
_root.yiz._rotation = this._rotation / 2;
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_a / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_a / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_a / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
_root.cj = _root.cj + 1;
_root.fsss = _root.fsss + 1000;
Symbol 304 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 1
stop();
Symbol 570 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 262 MovieClip in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.xue._currentframe > 60) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 265 MovieClip "xue" in Symbol 572 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 100) {
_parent.shiw = 1;
_parent.pand.gotoAndStop(2);
_root.sw_a = 1;
} else {
_parent.shiw = 0;
_parent.pand.gotoAndStop(1);
_root.sw_a = 0;
}
}
Instance of Symbol 304 MovieClip in Symbol 572 MovieClip Frame 2
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 341 MovieClip in Symbol 572 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 378 MovieClip in Symbol 572 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 415 MovieClip in Symbol 572 MovieClip Frame 5
onClipEvent (enterFrame) {
if ((_parent.shiw = 0)) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 452 MovieClip in Symbol 572 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 489 MovieClip in Symbol 572 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 526 MovieClip in Symbol 572 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 563 MovieClip in Symbol 572 MovieClip Frame 9
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 261 MovieClip in Symbol 572 MovieClip Frame 10
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 564 MovieClip in Symbol 572 MovieClip Frame 11
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 565 MovieClip in Symbol 572 MovieClip Frame 12
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 566 MovieClip in Symbol 572 MovieClip Frame 13
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 567 MovieClip in Symbol 572 MovieClip Frame 14
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 568 MovieClip in Symbol 572 MovieClip Frame 15
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 569 MovieClip in Symbol 572 MovieClip Frame 16
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 570 MovieClip in Symbol 572 MovieClip Frame 17
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 571 MovieClip in Symbol 572 MovieClip Frame 18
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_a / 360) * 18);
this.gotoAndStop(this.dqz);
}
Symbol 581 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 1
stop();
Instance of Symbol 581 MovieClip in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _root.dii_a._rotation - 180;
this._x = (_root.dii_a._x - _root.mb._x) / _root.dtbs;
this._y = (_root.dii_a._y - _root.mb._y) / _root.dtbs;
this.jll = Math.sqrt((this._x * this._x) + (this._y * this._y));
if (this.jll > 30) {
this._visible = false;
if (_root.di_a.shiw == 0) {
_parent.difx_a._visible = true;
} else {
_parent.difx_a._visible = false;
}
} else {
_parent.difx_a._visible = false;
if (_root.di_a.shiw == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
}
Instance of Symbol 583 MovieClip "difx_a" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _root.jd_a;
}
Instance of Symbol 585 MovieClip in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = (300 - _root.mb._x) / _root.dtbs;
this._y = (200 - _root.mb._y) / _root.dtbs;
this.jll = Math.sqrt((this._x * this._x) + (this._y * this._y));
if (this.jll > 30) {
_parent.wfx._visible = true;
this._visible = false;
} else {
_parent.wfx._visible = false;
this._visible = true;
}
}
Instance of Symbol 583 MovieClip "wfx" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
angle = Math.atan2(_root.mb._y - 200, _root.mb._x - 300);
angle = (angle * 180) / Math.PI;
jd = int(angle) - 90;
this._rotation = jd;
}
Instance of Symbol 581 MovieClip in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _root.dii_b._rotation - 180;
this._x = (_root.dii_b._x - _root.mb._x) / _root.dtbs;
this._y = (_root.dii_b._y - _root.mb._y) / _root.dtbs;
this.jll = Math.sqrt((this._x * this._x) + (this._y * this._y));
if (this.jll > 30) {
this._visible = false;
if (_root.di_b.shiw == 0) {
_parent.difx_b._visible = true;
} else {
_parent.difx_b._visible = false;
}
} else {
_parent.difx_b._visible = false;
if (_root.di_b.shiw == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
}
Instance of Symbol 583 MovieClip "difx_b" in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _root.jd_b;
}
Symbol 589 Button
on (press) {
_root.gotoAndStop("bcyx");
}
Symbol 590 MovieClip Frame 1
stop();
Symbol 594 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
stopAllSounds();
_root.gotoAndStop("ksjm");
}
Symbol 596 Button
on (release) {
if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
}
}
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
Instance of Symbol 586 MovieClip "zp" in Symbol 616 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = -(_root.mb._rotation + 90);
}
Instance of Symbol 590 MovieClip in Symbol 616 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.cj > 0) and (_root.mb.speedy == 0)) {
this.gotoAndStop(2);
Mouse.show();
} else {
this.gotoAndStop(1);
Mouse.hide();
}
}
Instance of Symbol 619 MovieClip in Symbol 629 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = ((0.1 * _parent._parent.mb.speedy) * 360) - 110;
}
Symbol 631 MovieClip Frame 1
stop();
Instance of Symbol 619 MovieClip "zhiz" in Symbol 631 MovieClip Frame 1
onClipEvent (load) {
this._rotation = 135;
}
onClipEvent (enterFrame) {
if (this._rotation < -50) {
_root.jp.heiy.gotoAndStop(2);
} else {
_root.jp.heiy.gotoAndStop(1);
}
if ((_root.mb.speedy == 0) and (this._rotation < 135)) {
this._rotation = this._rotation + 0.2;
}
if (this._rotation < -135) {
_root.jh = 1;
}
}
Symbol 632 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 1
stop();
Symbol 639 MovieClip Frame 1
stop();
Symbol 641 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Instance of Symbol 214 MovieClip in Symbol 644 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._parent._currentframe < 10) {
this._y = this._y - ((_parent._parent._currentframe - 1) * 0.5);
} else if (_parent._parent._currentframe >= 10) {
this._y = this._y + ((_parent._parent._currentframe - 10) * 0.5);
}
if ((18 - int((_root.xunazd_b / 360) * 18)) < 10) {
this._x = this._x - ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 6)) * 1.5);
} else if ((18 - int((_root.xunazd_b / 360) * 18)) >= 10) {
this._x = this._x + ((6 - Math.abs((18 - int((_root.xunazd_b / 360) * 18)) - 14)) * 1.5);
}
this._alpha = this._alpha - 1;
this._yscale = this._yscale + 2;
this._xscale = this._xscale + 2;
this._rotation = this._rotation + 2;
if (this._alpha < 0) {
this._y = 0;
this._x = 0;
this._alpha = 100;
this._yscale = 1;
this._xscale = 1;
this._rotation = random(36) * 10;
}
}
Symbol 645 MovieClip Frame 1
stop();
Instance of Symbol 261 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 644 MovieClip in Symbol 645 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.xue._currentframe > 60) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 265 MovieClip "xue" in Symbol 645 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 100) {
_parent.shiw = 1;
_parent.pand.gotoAndStop(2);
_root.sw_b = 1;
} else {
_parent.shiw = 0;
_parent.pand.gotoAndStop(1);
_root.sw_b = 0;
}
}
Instance of Symbol 304 MovieClip in Symbol 645 MovieClip Frame 2
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 341 MovieClip in Symbol 645 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 378 MovieClip in Symbol 645 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 415 MovieClip in Symbol 645 MovieClip Frame 5
onClipEvent (enterFrame) {
if ((_parent.shiw = 0)) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 452 MovieClip in Symbol 645 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 489 MovieClip in Symbol 645 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 526 MovieClip in Symbol 645 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_parent.shiw == 0) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
} else {
this.play();
}
}
Instance of Symbol 563 MovieClip in Symbol 645 MovieClip Frame 9
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 261 MovieClip in Symbol 645 MovieClip Frame 10
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 564 MovieClip in Symbol 645 MovieClip Frame 11
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 565 MovieClip in Symbol 645 MovieClip Frame 12
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 566 MovieClip in Symbol 645 MovieClip Frame 13
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 567 MovieClip in Symbol 645 MovieClip Frame 14
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 568 MovieClip in Symbol 645 MovieClip Frame 15
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 569 MovieClip in Symbol 645 MovieClip Frame 16
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 570 MovieClip in Symbol 645 MovieClip Frame 17
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Instance of Symbol 571 MovieClip in Symbol 645 MovieClip Frame 18
onClipEvent (enterFrame) {
this.dqz = 18 - int((_root.xunazd_b / 360) * 18);
this.gotoAndStop(this.dqz);
}
Symbol 652 MovieClip Frame 1
stop();
_root.fss = 1;
Symbol 652 MovieClip Frame 300
stop();
_root.fss = 0;
Symbol 652 MovieClip Frame 301
prevFrame();
Symbol 657 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 1
_root.woxue = 100;
Symbol 666 MovieClip Frame 1
now = new Date();
startTime = now.getTime();
_root.txt = _root.hasTime;
Symbol 666 MovieClip Frame 2
now = new Date();
tempTime = now.getTime();
_root.txt = _root.hasTime - int((tempTime - startTime) / 1000);
_root.fz = int(_root.txt / 60);
_root.ms = _root.txt - (60 * _root.fz);
if (_root.ms < 10) {
_root.ms = "0" + _root.ms;
}
if (_root.txt < 1) {
this.stop();
}
Symbol 666 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 668 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 60
stop();
_root.play();
Symbol 688 MovieClip Frame 1
stop();
Instance of Symbol 265 MovieClip "xue" in Symbol 688 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 100) {
_root.sw_a = 1;
_parent.shiw = 1;
_parent.gotoAndStop(2);
} else {
_root.sw_a = 0;
_parent.shiw = 0;
}
}
Symbol 699 Button
on (release) {
_root.submitScore();
}
Symbol 704 MovieClip Frame 60
stop();
Symbol 717 MovieClip Frame 1
stop();
Symbol 726 Button
on (press) {
var save = SharedObject.getLocal("yan");
save.data.aaa = _root.wjxm;
save.data.bbb = _root.cj;
save.data.ccc = _root.dengji;
}
Symbol 733 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 1
stop();
Instance of Symbol 733 MovieClip in Symbol 746 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.cj >= 0) and (_root.cj < 5)) {
this.gotoAndStop(1);
}
if ((_root.cj >= 5) and (_root.cj < 10)) {
this.gotoAndStop(2);
}
if ((_root.cj >= 10) and (_root.cj < 15)) {
this.gotoAndStop(3);
}
if ((_root.cj >= 15) and (_root.cj < 20)) {
this.gotoAndStop(4);
}
if ((_root.cj >= 20) and (_root.cj < 30)) {
this.gotoAndStop(5);
}
if ((_root.cj >= 30) and (_root.cj < 50)) {
this.gotoAndStop(6);
}
if ((_root.cj >= 50) and (_root.cj < 80)) {
this.gotoAndStop(7);
}
if (_root.cj >= 80) {
this.gotoAndStop(8);
}
}
Instance of Symbol 735 MovieClip in Symbol 746 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.cj >= 0) and (_root.cj < 10)) {
this.gotoAndStop(1);
}
if ((_root.cj >= 10) and (_root.cj < 15)) {
this.gotoAndStop(2);
}
if ((_root.cj >= 15) and (_root.cj < 20)) {
this.gotoAndStop(3);
}
if ((_root.cj >= 20) and (_root.cj < 30)) {
this.gotoAndStop(4);
}
if ((_root.cj >= 30) and (_root.cj < 50)) {
this.gotoAndStop(5);
}
if ((_root.cj >= 50) and (_root.cj < 80)) {
this.gotoAndStop(6);
}
if (_root.cj >= 80) {
this.gotoAndStop(7);
}
}
Instance of Symbol 744 MovieClip in Symbol 746 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.cj >= 0) and (_root.cj < 5)) {
this.gotoAndStop(1);
}
if ((_root.cj >= 5) and (_root.cj < 10)) {
this.gotoAndStop(2);
}
if ((_root.cj >= 10) and (_root.cj < 15)) {
this.gotoAndStop(3);
}
if ((_root.cj >= 15) and (_root.cj < 20)) {
this.gotoAndStop(4);
}
if ((_root.cj >= 20) and (_root.cj < 30)) {
this.gotoAndStop(5);
}
if ((_root.cj >= 30) and (_root.cj < 50)) {
this.gotoAndStop(6);
}
if ((_root.cj >= 50) and (_root.cj < 80)) {
this.gotoAndStop(7);
}
if (_root.cj >= 80) {
this.gotoAndStop(8);
}
}