Frame 1
stop();
debug = false;
gameID = 276;
gameName = "citygunner";
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Frame 2
stop();
Frame 3
if (!okToPlay) {
gotoAndStop (2);
}
Frame 6
stop();
stopAllSounds();
_root.wj = 1;
_quality = "MEDIUM";
var gunshot = new Sound();
gunshot.attachSound("sound9");
Instance of Symbol 261 MovieClip in Frame 6
on (release) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Frame 8
_root.youxzt = 0;
Instance of Symbol 321 MovieClip in Frame 9
onClipEvent (load) {
this.stop();
}
Instance of Symbol 324 MovieClip in Frame 9
onClipEvent (load) {
this.stop();
}
Instance of Symbol 327 MovieClip in Frame 9
onClipEvent (load) {
this.stop();
}
Instance of Symbol 330 MovieClip in Frame 9
onClipEvent (load) {
this.stop();
}
Frame 10
level = 1;
score = 0;
scoreTxt.text = 0;
stop();
_root.jiqzd = 0;
_root.syzd = 0;
_root.hjzd = 0;
_root.slzd = 100;
_root.rens = 3;
_root.youxzt = 0;
_root.wudi = 0;
_root.laowangsi = 0;
_root.qiangpz = 1;
Instance of Symbol 344 MovieClip "bj" in Frame 10
onClipEvent (load) {
this._x = 0;
}
onClipEvent (enterFrame) {
if ((((this._x <= 0) and (this._x >= -4350)) and (_root.ren._x >= 160)) and (_root.qianj == 1)) {
this._x = this._x - 8;
_root.ren._x = _root.ren._x - 8;
}
if ((((this._x <= 0) and (this._x >= -4350)) and (_root.ren._x <= 60)) and (_root.qianj == -1)) {
this._x = this._x + 8;
_root.ren._x = _root.ren._x + 8;
}
if (this._x > 0) {
this._x = 0;
}
if (this._x < -4340) {
_root.gotoAndStop("lw");
}
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 390 MovieClip "d8" in Frame 10
onClipEvent (load) {
function reset() {
_root.g8sw = 0;
this._y = 284;
this._x = random(400) + 800;
_root.feidfas = 0;
this.gotoAndStop(1);
}
_root.chisb = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 97;
this._x = _root.bj._x + (_root.chisb * 800);
this.tt = random(100);
if (((((this.tt < 10) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) and (_root.youxzt == 0)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -3800) && (this._x < -100)) {
reset();
_root.chisb = _root.chisb + 1;
}
if (_root.g8sw == 1) {
this.gotoAndStop(5);
}
}
Instance of Symbol 421 MovieClip "d2" in Frame 10
onClipEvent (load) {
function reset() {
this._y = 286;
this._x = random(400) + 1000;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 100;
this._x = _root.bj._x + (this.chis * 1000);
if ((_root.bj._x > -3800) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 449 MovieClip "d7" in Frame 10
onClipEvent (load) {
function reset() {
_root.g4sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
_root.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (_root.chis * 700);
this.tt = random(100);
if (((((this.tt < 3) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) and (_root.youxzt == 0)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -3000) && (this._x < -50)) {
reset();
_root.chis = _root.chis + 1;
}
if (_root.g4sw == 1) {
this.gotoAndStop(5);
}
}
Instance of Symbol 451 MovieClip "g4zd" in Frame 10
onClipEvent (load) {
this._x = 800;
_root.g4fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g4fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g4fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g4fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 471 MovieClip "d9" in Frame 10
onClipEvent (load) {
function reset() {
_root.g9sw = 0;
this._x = random(800) + 700;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g9sw == 1) or (this._x < -100)) {
if (_root.bj._x > -3800) {
reset();
}
}
}
}
Instance of Symbol 485 MovieClip "d1" in Frame 10
onClipEvent (load) {
function reset() {
this._y = 333;
this._x = random(400) + 600;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 146;
this._x = _root.bj._x + (this.chis * 900);
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
if ((_root.bj._x > -5000) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 518 MovieClip "d21" in Frame 10
onClipEvent (load) {
function reset() {
_root.g21sw = 0;
this._x = random(1600) + 1000;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g21sw == 1) or (this._x < -100)) {
if (_root.bj._x > -3800) {
reset();
}
}
}
}
Instance of Symbol 598 MovieClip "ren" in Frame 10
onClipEvent (load) {
_root.fangx = 1;
_root.qianj = 0;
_root.dunx = 0;
_root.tiaog = 0;
this.gotoAndStop(1);
this._y = 295;
_root.sspeed = 8;
sy = _y;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (this._y > 295) {
this._y = 295;
}
if (_root.woxue > 0) {
if (_root.wozd == 1) {
_root.ren.gotoAndStop(5);
}
if (((_root.wozd == 0) && (_root.tiaog == 0)) && (_root.ren._currentframe < 5)) {
if (Key.isDown(83) and (this._currentframe != 3)) {
this.gotoAndStop(4);
_root.dunx = 1;
}
if (Key.isDown(87) and (_root.qianj == 0)) {
this.gotoAndStop(3);
}
if (((Key.isDown(68) and (_x < 600)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_xscale = 100;
this.gotoAndStop(2);
_root.fangx = 1;
_root.qianj = 1;
}
if (((Key.isDown(65) and (_x > 50)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_x = (_x - _root.sspeed);
_xscale = -100;
this.gotoAndStop(2);
_root.fangx = -1;
_root.qianj = -1;
}
}
if (_root.post._x >= this._x) {
_xscale = 100;
_root.fangx = 1;
} else {
_xscale = -100;
_root.fangx = -1;
}
if (Key.isDown(49)) {
_root.xuanq.gotoAndStop(1);
}
if (Key.isDown(50) and (_root.syzd > 0)) {
_root.xuanq.gotoAndStop(2);
}
if (Key.isDown(51) and (_root.jiqzd > 0)) {
_root.xuanq.gotoAndStop(3);
}
if (Key.isDown(52) and (_root.hjzd > 0)) {
_root.xuanq.gotoAndStop(4);
}
}
}
}
onClipEvent (keyUp) {
if (_root.youxzt == 0) {
if ((Key.getCode() == 65) || (Key.getCode() == 68)) {
if (_root.tiaog == 0) {
this.gotoAndStop(1);
_root.qianj = 0;
}
}
if ((Key.getCode() == 83) && (_root.tiaog == 0)) {
_root.dunx = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 592 MovieClip "spaceShip" in Frame 10
onClipEvent (load) {
speed = 40;
_root.shaoxuel = 5;
_root.wozd = 0;
_root.rensl = 0;
depth = 200;
dep = 400;
timeCount = 0;
_root.zdfx = 0;
_root.qiangpz = 1;
_root.jqfs = 0;
_root.bl = 0;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (depth > 300) {
depth = 200;
}
if (dep > 500) {
dep = 400;
}
this._x = _root.ren._x;
if (_root.dunx == 0) {
this._y = _root.ren._y;
} else {
this._y = _root.ren._y + 20;
}
if (_root.fangx == 1) {
this._yscale = 100;
} else {
this._yscale = -100;
}
this.gotoAndStop(_root.qiangpz);
xdiff = _root.post._x - _root.spaceShip._x;
ydiff = _root.post._y - _root.spaceShip._y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
_root.spaceShip._rotation = angle;
angle = _root.spaceShip._rotation;
angle = (angle * Math.PI) / 180;
if ((_root.jqfs == 1) and (_root.ren._currentframe < 5)) {
timeCount++;
if (timeCount > 0) {
if ((timeCount % 4) == 1) {
_root.spaceShip.qiangc.play();
depth++;
_root.jiqzd = _root.jiqzd - 1;
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (20 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root[name]._x = _root.spaceShip._x + (90 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (90 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < 0) || (this._y < 0)) || (this._x > 600)) || (this._y > 350)) {
removeMovieClip(this);
}
};
}
} else if (timeCount == 150) {
timeCount = 0;
}
}
}
}
onClipEvent (mouseDown) {
if (_root.youxzt == 0) {
if (_root.ren._currentframe < 5) {
if (((_root.qiangpz == 1) || (_root.qiangpz == 2)) || (_root.qiangpz == 4)) {
if (_root.qiangpz == 4) {
speed = 20;
} else {
speed = 40;
}
if (_root.zdfx == 0) {
_root.zdfx = 1;
depth++;
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root.gunshot.setVolume(10);
_root.gunshot.start(0, 1);
_root[name]._x = _root.spaceShip._x + (40 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (40 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < -100) || (this._y < 0)) || (this._x > 600)) || (this._y > 500)) {
removeMovieClip(this);
_root.zdfx = 0;
}
};
if (_root.qiangpz == 2) {
_root.syzd = _root.syzd - 1;
}
if (_root.qiangpz == 4) {
_root.hjzd = _root.hjzd - 1;
}
if (_root.qiangpz == 2) {
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (30 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
}
}
}
if (_root.qiangpz == 3) {
_root.jqfs = 1;
}
if (_root.qiangpz == 5) {
_root.ren.rengsl.play();
_root.slzd = _root.slzd - 1;
}
}
}
}
onClipEvent (mouseUp) {
_root.jqfs = 0;
}
Instance of Symbol 608 MovieClip "xxx" in Frame 10
onClipEvent (load) {
_root.woxue = 100;
}
onClipEvent (enterFrame) {
_root.xxx.gotoAndStop(100 - _root.woxue);
this.gotoAndStop(100 - _root.woxue);
if (_root.woxue > 100) {
_root.woxue = 100;
}
if (_root.woxue <= 0) {
_root.ren.gotoAndStop(6);
}
}
Instance of Symbol 644 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Instance of Symbol 647 MovieClip "post" in Frame 10
onClipEvent (load) {
this.swapDepths(5000);
}
onClipEvent (enterFrame) {
Mouse.hide();
startDrag ("", true);
}
Frame 11
stop();
Instance of Symbol 344 MovieClip "bj" in Frame 11
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 667 MovieClip "d50" in Frame 11
onClipEvent (enterFrame) {
this._y = _root.bj._y - 55;
if (this._x > 310) {
this._x = this._x - 10;
}
}
Instance of Symbol 471 MovieClip "d9" in Frame 11
onClipEvent (load) {
function reset() {
_root.g9sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g9sw == 1) || (this._x < -100)) {
if (_root.d50._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 669 MovieClip "d91" in Frame 11
onClipEvent (load) {
function reset() {
_root.g91sw = 0;
this._x = random(500) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g91sw == 1) || (this._x < -100)) {
if (_root.d50._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 671 MovieClip "d92" in Frame 11
onClipEvent (load) {
function reset() {
_root.g92sw = 0;
this._x = random(600) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g92sw == 1) || (this._x < -100)) {
if (_root.d50._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 673 MovieClip "pzb" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren)) {
_root.gotoAndStop("d1gw");
}
this._y = _root.bj._y + 120;
}
Frame 12
stop();
Instance of Symbol 317 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 324 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 327 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 330 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 13
level = 2;
scoreTxt.text = score;
stop();
_root.laowangsi = 0;
_root.qiangpz = 1;
Instance of Symbol 678 MovieClip "bj" in Frame 13
onClipEvent (load) {
this._x = 0;
}
onClipEvent (enterFrame) {
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x >= 160)) and (_root.qianj == 1)) {
this._x = this._x - 8;
_root.ren._x = _root.ren._x - 8;
}
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x <= 60)) and (_root.qianj == -1)) {
this._x = this._x + 8;
_root.ren._x = _root.ren._x + 8;
}
if (this._x > 0) {
this._x = 0;
}
if (this._x < -5900) {
_root.gotoAndStop("lwa");
}
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 390 MovieClip "d8" in Frame 13
onClipEvent (load) {
function reset() {
_root.g8sw = 0;
this._y = 284;
this._x = random(400) + 800;
_root.feidfas = 0;
this.gotoAndStop(1);
}
_root.chisb = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 97;
this._x = _root.bj._x + (_root.chisb * 800);
this.tt = random(100);
if ((((this.tt < 10) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -5300) && (this._x < -100)) {
reset();
_root.chisb = _root.chisb + 1;
}
if (_root.g8sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 421 MovieClip "d2" in Frame 13
onClipEvent (load) {
function reset() {
this._y = 280;
this._x = random(400) + 1000;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 94;
this._x = _root.bj._x + (this.chis * 1000);
if ((_root.bj._x > -5800) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 449 MovieClip "d7" in Frame 13
onClipEvent (load) {
function reset() {
_root.g4sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
_root.chis = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (_root.chis * 850);
this.tt = random(100);
if ((((this.tt < 3) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -5400) && (this._x < -50)) {
reset();
_root.chis = _root.chis + 1;
}
if (_root.g4sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 451 MovieClip "g4zd" in Frame 13
onClipEvent (load) {
this._x = 800;
_root.g4fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g4fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g4fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g4fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 471 MovieClip "d9" in Frame 13
onClipEvent (load) {
function reset() {
_root.g9sw = 0;
this._x = random(800) + 900;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g9sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5200) {
reset();
}
}
}
}
Instance of Symbol 485 MovieClip "d1" in Frame 13
onClipEvent (load) {
function reset() {
this._y = 333;
this._x = random(400) + 600;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 146;
this._x = _root.bj._x + (this.chis * 900);
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
if ((_root.bj._x > -5000) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 698 MovieClip "d22" in Frame 13
onClipEvent (load) {
function reset() {
_root.g22sw = 0;
this._x = random(1600) + 1200;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g22sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5200) {
reset();
}
}
}
}
Instance of Symbol 518 MovieClip "d21" in Frame 13
onClipEvent (load) {
function reset() {
_root.g21sw = 0;
this._x = random(1600) + 1600;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g21sw == 1) or (this._x < -100)) {
if (_root.bj._x > -3800) {
reset();
}
}
}
}
Instance of Symbol 716 MovieClip "d23" in Frame 13
onClipEvent (load) {
function reset() {
_root.g23sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (this.chis * 1200);
this.tt = random(100);
if ((((this.tt < 10) and (_root.feid23fas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -5400) && (this._x < -50)) {
reset();
this.chis = this.chis + 1;
}
if (_root.g23sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 451 MovieClip "g23zd" in Frame 13
onClipEvent (load) {
this._x = 800;
_root.g23fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g23fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g23fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g23fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 598 MovieClip "ren" in Frame 13
onClipEvent (load) {
_root.fangx = 1;
_root.qianj = 0;
_root.dunx = 0;
_root.tiaog = 0;
this.gotoAndStop(1);
this._y = 295;
_root.sspeed = 8;
sy = _y;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (this._y > 295) {
this._y = 295;
}
if (_root.woxue > 0) {
if (_root.wozd == 1) {
_root.ren.gotoAndStop(5);
}
if (((_root.wozd == 0) && (_root.tiaog == 0)) && (_root.ren._currentframe < 5)) {
if (Key.isDown(83) and (this._currentframe != 3)) {
this.gotoAndStop(4);
_root.dunx = 1;
}
if (Key.isDown(87) and (_root.qianj == 0)) {
this.gotoAndStop(3);
}
if (((Key.isDown(68) and (_x < 600)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_xscale = 100;
this.gotoAndStop(2);
_root.fangx = 1;
_root.qianj = 1;
}
if (((Key.isDown(65) and (_x > 50)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_x = (_x - _root.sspeed);
_xscale = -100;
this.gotoAndStop(2);
_root.fangx = -1;
_root.qianj = -1;
}
}
if (_root.post._x >= this._x) {
_xscale = 100;
_root.fangx = 1;
} else {
_xscale = -100;
_root.fangx = -1;
}
if (Key.isDown(49)) {
_root.xuanq.gotoAndStop(1);
}
if (Key.isDown(50) and (_root.syzd > 0)) {
_root.xuanq.gotoAndStop(2);
}
if (Key.isDown(51) and (_root.jiqzd > 0)) {
_root.xuanq.gotoAndStop(3);
}
if (Key.isDown(52) and (_root.hjzd > 0)) {
_root.xuanq.gotoAndStop(4);
}
}
}
}
onClipEvent (keyUp) {
if (_root.youxzt == 0) {
if ((Key.getCode() == 65) || (Key.getCode() == 68)) {
if (_root.tiaog == 0) {
this.gotoAndStop(1);
_root.qianj = 0;
}
}
if ((Key.getCode() == 83) && (_root.tiaog == 0)) {
_root.dunx = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 592 MovieClip "spaceShip" in Frame 13
onClipEvent (load) {
speed = 40;
_root.shaoxuel = 5;
_root.wozd = 0;
_root.rensl = 0;
depth = 200;
dep = 400;
timeCount = 0;
_root.zdfx = 0;
_root.qiangpz = 1;
_root.jqfs = 0;
_root.bl = 0;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (depth > 300) {
depth = 200;
}
if (dep > 500) {
dep = 400;
}
this._x = _root.ren._x;
if (_root.dunx == 0) {
this._y = _root.ren._y;
} else {
this._y = _root.ren._y + 20;
}
if (_root.fangx == 1) {
this._yscale = 100;
} else {
this._yscale = -100;
}
this.gotoAndStop(_root.qiangpz);
xdiff = _root.post._x - _root.spaceShip._x;
ydiff = _root.post._y - _root.spaceShip._y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
_root.spaceShip._rotation = angle;
angle = _root.spaceShip._rotation;
angle = (angle * Math.PI) / 180;
if ((_root.jqfs == 1) and (_root.ren._currentframe < 5)) {
timeCount++;
if (timeCount > 0) {
if ((timeCount % 4) == 1) {
_root.spaceShip.qiangc.play();
depth++;
_root.jiqzd = _root.jiqzd - 1;
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (20 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root[name]._x = _root.spaceShip._x + (90 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (90 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < 0) || (this._y < 0)) || (this._x > 600)) || (this._y > 350)) {
removeMovieClip(this);
}
};
}
} else if (timeCount == 150) {
timeCount = 0;
}
}
}
}
onClipEvent (mouseDown) {
if (_root.youxzt == 0) {
if (_root.ren._currentframe < 5) {
if (((_root.qiangpz == 1) || (_root.qiangpz == 2)) || (_root.qiangpz == 4)) {
if (_root.qiangpz == 4) {
speed = 20;
} else {
speed = 40;
}
if (_root.zdfx == 0) {
_root.zdfx = 1;
depth++;
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root.gunshot.setVolume(10);
_root.gunshot.start(0, 1);
_root[name]._x = _root.spaceShip._x + (40 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (40 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < -100) || (this._y < 0)) || (this._x > 600)) || (this._y > 500)) {
removeMovieClip(this);
_root.zdfx = 0;
}
};
if (_root.qiangpz == 2) {
_root.syzd = _root.syzd - 1;
}
if (_root.qiangpz == 4) {
_root.hjzd = _root.hjzd - 1;
}
if (_root.qiangpz == 2) {
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (30 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
}
}
}
if (_root.qiangpz == 3) {
_root.jqfs = 1;
}
if (_root.qiangpz == 5) {
_root.ren.rengsl.play();
_root.slzd = _root.slzd - 1;
}
}
}
}
onClipEvent (mouseUp) {
_root.jqfs = 0;
}
Instance of Symbol 608 MovieClip "xxx" in Frame 13
onClipEvent (load) {
_root.woxue = 100;
}
onClipEvent (enterFrame) {
_root.xxx.gotoAndStop(100 - _root.woxue);
this.gotoAndStop(100 - _root.woxue);
if (_root.woxue > 100) {
_root.woxue = 100;
}
if (_root.woxue <= 0) {
_root.ren.gotoAndStop(6);
}
}
Instance of Symbol 644 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 14
stop();
Instance of Symbol 678 MovieClip "bj" in Frame 14
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 721 MovieClip "pzb" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren)) {
_root.gotoAndStop("d2gw");
}
this._y = _root.bj._y + 103;
}
Instance of Symbol 729 MovieClip "d51" in Frame 14
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y - 112;
this._x = this._x - ((this._x - _root.ren._x) / 20);
}
}
Instance of Symbol 741 MovieClip "gongj" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 741 MovieClip "gongjb" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 741 MovieClip "gongjc" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 741 MovieClip "gongjd" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Frame 15
stop();
Instance of Symbol 317 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 321 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 327 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 330 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 16
level = 3;
scoreTxt.text = score;
stop();
_root.laowangsi = 0;
_root.qiangpz = 1;
Instance of Symbol 746 MovieClip "bj" in Frame 16
onClipEvent (load) {
this._x = 0;
}
onClipEvent (enterFrame) {
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x >= 160)) and (_root.qianj == 1)) {
this._x = this._x - 8;
_root.ren._x = _root.ren._x - 8;
}
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x <= 60)) and (_root.qianj == -1)) {
this._x = this._x + 8;
_root.ren._x = _root.ren._x + 8;
}
if (this._x > 0) {
this._x = 0;
}
if (this._x < -5900) {
_root.gotoAndStop("lwc");
}
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 421 MovieClip "d2" in Frame 16
onClipEvent (load) {
function reset() {
this._y = 287;
this._x = random(400) + 1000;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 94;
this._x = _root.bj._x + (this.chis * 1000);
if ((_root.bj._x > -5800) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 747 MovieClip "gongj" in Frame 16
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 747 MovieClip "gongjb" in Frame 16
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 753 MovieClip "d3" in Frame 16
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 449 MovieClip "d7" in Frame 16
onClipEvent (load) {
function reset() {
_root.g4sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
_root.chis = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (_root.chis * 700);
this.tt = random(100);
if ((((this.tt < 3) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -5000) && (this._x < -50)) {
reset();
_root.chis = _root.chis + 1;
}
if (_root.g4sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 451 MovieClip "g4zd" in Frame 16
onClipEvent (load) {
this._x = 800;
_root.g4fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g4fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g4fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g4fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 772 MovieClip "d6" in Frame 16
onClipEvent (load) {
function reset() {
_root.g6sw = 0;
this._x = random(800) + 800;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g6sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 774 MovieClip "d8" in Frame 16
onClipEvent (load) {
function reset() {
_root.g8sw = 0;
_root.feidfas = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 67;
this.tt = random(100);
if (((((this.tt < 20) and (_root.feidfas == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
reset();
}
}
}
Instance of Symbol 345 MovieClip in Frame 16
onClipEvent (enterFrame) {
this._x = _root.bj._x + 1600;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 16
onClipEvent (enterFrame) {
this._x = _root.bj._x + 2300;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 16
onClipEvent (enterFrame) {
this._x = _root.bj._x + 3300;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 60;
}
}
Instance of Symbol 345 MovieClip in Frame 16
onClipEvent (enterFrame) {
this._x = _root.bj._x + 4900;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 485 MovieClip "d1" in Frame 16
onClipEvent (load) {
function reset() {
this._y = 333;
this._x = random(400) + 600;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 146;
this._x = _root.bj._x + (this.chis * 900);
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
if ((_root.bj._x > -5000) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 791 MovieClip "d24" in Frame 16
onClipEvent (load) {
function reset() {
_root.g24sw = 0;
_root.feidfasc = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 67;
this.tt = random(100);
if (((((this.tt < 10) and (_root.feidfasc == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
reset();
}
}
}
Instance of Symbol 345 MovieClip in Frame 16
onClipEvent (enterFrame) {
this._x = _root.bj._x + 1800;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 16
onClipEvent (enterFrame) {
this._x = _root.bj._x + 2800;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 16
onClipEvent (enterFrame) {
this._x = _root.bj._x + 3900;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x + 20;
}
}
Instance of Symbol 809 MovieClip "d25" in Frame 16
onClipEvent (load) {
function reset() {
_root.g25sw = 0;
this._x = random(500) + 700;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 4;
} else {
if (_root.qianj == 0) {
this._x = this._x - 4;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 4;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 12;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g25sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 451 MovieClip "g23zd" in Frame 16
onClipEvent (load) {
this._x = 800;
_root.g23fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g23fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g23fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g23fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 598 MovieClip "ren" in Frame 16
onClipEvent (load) {
_root.fangx = 1;
_root.qianj = 0;
_root.dunx = 0;
_root.tiaog = 0;
this.gotoAndStop(1);
this._y = 295;
_root.sspeed = 8;
sy = _y;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (this._y > 295) {
this._y = 295;
}
if (_root.woxue > 0) {
if (_root.wozd == 1) {
_root.ren.gotoAndStop(5);
}
if (((_root.wozd == 0) && (_root.tiaog == 0)) && (_root.ren._currentframe < 5)) {
if (Key.isDown(83) and (this._currentframe != 3)) {
this.gotoAndStop(4);
_root.dunx = 1;
}
if (Key.isDown(87) and (_root.qianj == 0)) {
this.gotoAndStop(3);
}
if (((Key.isDown(68) and (_x < 600)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_xscale = 100;
this.gotoAndStop(2);
_root.fangx = 1;
_root.qianj = 1;
}
if (((Key.isDown(65) and (_x > 50)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_x = (_x - _root.sspeed);
_xscale = -100;
this.gotoAndStop(2);
_root.fangx = -1;
_root.qianj = -1;
}
}
if (_root.post._x >= this._x) {
_xscale = 100;
_root.fangx = 1;
} else {
_xscale = -100;
_root.fangx = -1;
}
if (Key.isDown(49)) {
_root.xuanq.gotoAndStop(1);
}
if (Key.isDown(50) and (_root.syzd > 0)) {
_root.xuanq.gotoAndStop(2);
}
if (Key.isDown(51) and (_root.jiqzd > 0)) {
_root.xuanq.gotoAndStop(3);
}
if (Key.isDown(52) and (_root.hjzd > 0)) {
_root.xuanq.gotoAndStop(4);
}
}
}
}
onClipEvent (keyUp) {
if (_root.youxzt == 0) {
if ((Key.getCode() == 65) || (Key.getCode() == 68)) {
if (_root.tiaog == 0) {
this.gotoAndStop(1);
_root.qianj = 0;
}
}
if ((Key.getCode() == 83) && (_root.tiaog == 0)) {
_root.dunx = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 592 MovieClip "spaceShip" in Frame 16
onClipEvent (load) {
speed = 40;
_root.shaoxuel = 5;
_root.wozd = 0;
_root.rensl = 0;
depth = 200;
dep = 400;
timeCount = 0;
_root.zdfx = 0;
_root.qiangpz = 1;
_root.jqfs = 0;
_root.bl = 0;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (depth > 300) {
depth = 200;
}
if (dep > 500) {
dep = 400;
}
this._x = _root.ren._x;
if (_root.dunx == 0) {
this._y = _root.ren._y;
} else {
this._y = _root.ren._y + 20;
}
if (_root.fangx == 1) {
this._yscale = 100;
} else {
this._yscale = -100;
}
this.gotoAndStop(_root.qiangpz);
xdiff = _root.post._x - _root.spaceShip._x;
ydiff = _root.post._y - _root.spaceShip._y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
_root.spaceShip._rotation = angle;
angle = _root.spaceShip._rotation;
angle = (angle * Math.PI) / 180;
if ((_root.jqfs == 1) and (_root.ren._currentframe < 5)) {
timeCount++;
if (timeCount > 0) {
if ((timeCount % 4) == 1) {
_root.spaceShip.qiangc.play();
depth++;
_root.jiqzd = _root.jiqzd - 1;
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (20 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root[name]._x = _root.spaceShip._x + (90 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (90 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < 0) || (this._y < 0)) || (this._x > 600)) || (this._y > 350)) {
removeMovieClip(this);
}
};
}
} else if (timeCount == 150) {
timeCount = 0;
}
}
}
}
onClipEvent (mouseDown) {
if (_root.youxzt == 0) {
if (_root.ren._currentframe < 5) {
if (((_root.qiangpz == 1) || (_root.qiangpz == 2)) || (_root.qiangpz == 4)) {
if (_root.qiangpz == 4) {
speed = 20;
} else {
speed = 40;
}
if (_root.zdfx == 0) {
_root.zdfx = 1;
depth++;
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root.gunshot.setVolume(10);
_root.gunshot.start(0, 1);
_root[name]._x = _root.spaceShip._x + (40 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (40 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < -100) || (this._y < 0)) || (this._x > 600)) || (this._y > 500)) {
removeMovieClip(this);
_root.zdfx = 0;
}
};
if (_root.qiangpz == 2) {
_root.syzd = _root.syzd - 1;
}
if (_root.qiangpz == 4) {
_root.hjzd = _root.hjzd - 1;
}
if (_root.qiangpz == 2) {
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (30 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
}
}
}
if (_root.qiangpz == 3) {
_root.jqfs = 1;
}
if (_root.qiangpz == 5) {
_root.ren.rengsl.play();
_root.slzd = _root.slzd - 1;
}
}
}
}
onClipEvent (mouseUp) {
_root.jqfs = 0;
}
Instance of Symbol 608 MovieClip "xxx" in Frame 16
onClipEvent (load) {
_root.woxue = 100;
}
onClipEvent (enterFrame) {
_root.xxx.gotoAndStop(100 - _root.woxue);
this.gotoAndStop(100 - _root.woxue);
if (_root.woxue > 100) {
_root.woxue = 100;
}
if (_root.woxue <= 0) {
_root.ren.gotoAndStop(6);
}
}
Instance of Symbol 644 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 17
stop();
Instance of Symbol 746 MovieClip "bj" in Frame 17
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 828 MovieClip in Frame 17
onClipEvent (load) {
this._x = 890;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y;
if (this._x > 600) {
this._x = this._x - 10;
}
if (this._x == 600) {
_root.nextFrame();
}
}
}
Instance of Symbol 828 MovieClip "d52" in Frame 18
onClipEvent (enterFrame) {
this._y = _root.bj._y;
}
Instance of Symbol 863 MovieClip "d81" in Frame 18
onClipEvent (load) {
function reset() {
this._x = 500;
_root.g81sw = 0;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 280;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.ren._x < 500) {
_xscale = 100;
this.qjj = 5;
} else {
_xscale = -100;
this.qjj = -5;
}
this._y = _root.bj._y + 93;
if (this._currentframe == 2) {
this._x = this._x - this.qjj;
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if (((_root.g81sw == 1) || (this._x < -50)) || (this._x > 750)) {
if (_root.d52._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 865 MovieClip "d80" in Frame 18
onClipEvent (load) {
function reset() {
this._x = 500;
_root.g80sw = 0;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 280;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.ren._x < 500) {
_xscale = 100;
this.qjj = 5;
} else {
_xscale = -100;
this.qjj = -5;
}
this._y = _root.bj._y + 93;
if (this._currentframe == 2) {
this._x = this._x - this.qjj;
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if (((_root.g80sw == 1) || (this._x < -50)) || (this._x > 750)) {
if (_root.d52._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 866 MovieClip "d82" in Frame 18
onClipEvent (load) {
function reset() {
this._x = 500;
_root.g82sw = 0;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 280;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.ren._x < 500) {
_xscale = 100;
this.qjj = 5;
} else {
_xscale = -100;
this.qjj = -5;
}
this._y = _root.bj._y + 93;
if (this._currentframe == 2) {
this._x = this._x - this.qjj;
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if (((_root.g82sw == 1) || (this._x < -50)) || (this._x > 750)) {
if (_root.d52._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 869 MovieClip "pzb" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren)) {
_root.gotoAndStop("d3gw");
}
this._y = _root.bj._y + 106;
}
Frame 19
stop();
Instance of Symbol 317 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 321 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 324 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 330 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 20
level = 4;
scoreTxt.text = score;
stop();
_root.laowangsi = 0;
_root.qiangpz = 1;
Instance of Symbol 874 MovieClip "bj" in Frame 20
onClipEvent (load) {
this._x = 0;
}
onClipEvent (enterFrame) {
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x >= 160)) and (_root.qianj == 1)) {
this._x = this._x - 8;
_root.ren._x = _root.ren._x - 8;
}
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x <= 60)) and (_root.qianj == -1)) {
this._x = this._x + 8;
_root.ren._x = _root.ren._x + 8;
}
if (this._x > 0) {
this._x = 0;
}
if (this._x < -5900) {
_root.gotoAndStop("lwd");
}
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 879 MovieClip in Frame 20
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
this._x = _root.bj._x + 6236;
this._y = _root.bj._y + 66;
}
Instance of Symbol 421 MovieClip "d2" in Frame 20
onClipEvent (load) {
function reset() {
this._y = 287;
this._x = random(400) + 1000;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 94;
this._x = _root.bj._x + (this.chis * 1000);
if ((_root.bj._x > -5800) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 747 MovieClip "gongj" in Frame 20
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 747 MovieClip "gongjb" in Frame 20
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 753 MovieClip "d3" in Frame 20
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 449 MovieClip "d7" in Frame 20
onClipEvent (load) {
function reset() {
_root.g4sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
_root.chis = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (_root.chis * 700);
this.tt = random(100);
if ((((this.tt < 3) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -5000) && (this._x < -50)) {
reset();
_root.chis = _root.chis + 1;
}
if (_root.g4sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 451 MovieClip "g4zd" in Frame 20
onClipEvent (load) {
this._x = 800;
_root.g4fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g4fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g4fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g4fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 772 MovieClip "d6" in Frame 20
onClipEvent (load) {
function reset() {
_root.g6sw = 0;
this._x = random(800) + 800;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g6sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 774 MovieClip "d8" in Frame 20
onClipEvent (load) {
function reset() {
_root.g8sw = 0;
_root.feidfas = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 54;
this.tt = random(100);
if (((((this.tt < 20) and (_root.feidfas == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
reset();
}
}
}
Instance of Symbol 345 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.bj._x + 1600;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.bj._x + 2600;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 80;
}
}
Instance of Symbol 345 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.bj._x + 5000;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.bj._x + 3700;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 60;
}
}
Instance of Symbol 485 MovieClip "d1" in Frame 20
onClipEvent (load) {
function reset() {
this._y = 333;
this._x = random(400) + 600;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 146;
this._x = _root.bj._x + (this.chis * 900);
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
if ((_root.bj._x > -5000) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 791 MovieClip "d24" in Frame 20
onClipEvent (load) {
function reset() {
_root.g24sw = 0;
_root.feidfasc = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 85;
this.tt = random(100);
if (((((this.tt < 10) and (_root.feidfasc == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
reset();
}
}
}
Instance of Symbol 345 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.bj._x + 1060;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x;
}
}
Instance of Symbol 345 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.bj._x + 3330;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x;
}
}
Instance of Symbol 345 MovieClip in Frame 20
onClipEvent (enterFrame) {
this._x = _root.bj._x + 5455;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x;
}
}
Instance of Symbol 809 MovieClip "d25" in Frame 20
onClipEvent (load) {
function reset() {
_root.g25sw = 0;
this._x = random(500) + 700;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 4;
} else {
if (_root.qianj == 0) {
this._x = this._x - 4;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 4;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 12;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g25sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 716 MovieClip "d23" in Frame 20
onClipEvent (load) {
function reset() {
_root.g23sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (this.chis * 1200);
this.tt = random(100);
if ((((this.tt < 10) and (_root.feid23fas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -5400) && (this._x < -50)) {
reset();
this.chis = this.chis + 1;
}
if (_root.g23sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 451 MovieClip "g23zd" in Frame 20
onClipEvent (load) {
this._x = 800;
_root.g23fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g23fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g23fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g23fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 598 MovieClip "ren" in Frame 20
onClipEvent (load) {
_root.fangx = 1;
_root.qianj = 0;
_root.dunx = 0;
_root.tiaog = 0;
this.gotoAndStop(1);
this._y = 295;
_root.sspeed = 8;
sy = _y;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (this._y > 295) {
this._y = 295;
}
if (_root.woxue > 0) {
if (_root.wozd == 1) {
_root.ren.gotoAndStop(5);
}
if (((_root.wozd == 0) && (_root.tiaog == 0)) && (_root.ren._currentframe < 5)) {
if (Key.isDown(83) and (this._currentframe != 3)) {
this.gotoAndStop(4);
_root.dunx = 1;
}
if (Key.isDown(87) and (_root.qianj == 0)) {
this.gotoAndStop(3);
}
if (((Key.isDown(68) and (_x < 600)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_xscale = 100;
this.gotoAndStop(2);
_root.fangx = 1;
_root.qianj = 1;
}
if (((Key.isDown(65) and (_x > 50)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_x = (_x - _root.sspeed);
_xscale = -100;
this.gotoAndStop(2);
_root.fangx = -1;
_root.qianj = -1;
}
}
if (_root.post._x >= this._x) {
_xscale = 100;
_root.fangx = 1;
} else {
_xscale = -100;
_root.fangx = -1;
}
if (Key.isDown(49)) {
_root.xuanq.gotoAndStop(1);
}
if (Key.isDown(50) and (_root.syzd > 0)) {
_root.xuanq.gotoAndStop(2);
}
if (Key.isDown(51) and (_root.jiqzd > 0)) {
_root.xuanq.gotoAndStop(3);
}
if (Key.isDown(52) and (_root.hjzd > 0)) {
_root.xuanq.gotoAndStop(4);
}
}
}
}
onClipEvent (keyUp) {
if (_root.youxzt == 0) {
if ((Key.getCode() == 65) || (Key.getCode() == 68)) {
if (_root.tiaog == 0) {
this.gotoAndStop(1);
_root.qianj = 0;
}
}
if ((Key.getCode() == 83) && (_root.tiaog == 0)) {
_root.dunx = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 592 MovieClip "spaceShip" in Frame 20
onClipEvent (load) {
speed = 40;
_root.shaoxuel = 5;
_root.wozd = 0;
_root.rensl = 0;
depth = 200;
dep = 400;
timeCount = 0;
_root.zdfx = 0;
_root.qiangpz = 1;
_root.jqfs = 0;
_root.bl = 0;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (depth > 300) {
depth = 200;
}
if (dep > 500) {
dep = 400;
}
this._x = _root.ren._x;
if (_root.dunx == 0) {
this._y = _root.ren._y;
} else {
this._y = _root.ren._y + 20;
}
if (_root.fangx == 1) {
this._yscale = 100;
} else {
this._yscale = -100;
}
this.gotoAndStop(_root.qiangpz);
xdiff = _root.post._x - _root.spaceShip._x;
ydiff = _root.post._y - _root.spaceShip._y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
_root.spaceShip._rotation = angle;
angle = _root.spaceShip._rotation;
angle = (angle * Math.PI) / 180;
if ((_root.jqfs == 1) and (_root.ren._currentframe < 5)) {
timeCount++;
if (timeCount > 0) {
if ((timeCount % 4) == 1) {
_root.spaceShip.qiangc.play();
depth++;
_root.jiqzd = _root.jiqzd - 1;
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (20 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root[name]._x = _root.spaceShip._x + (90 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (90 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < 0) || (this._y < 0)) || (this._x > 600)) || (this._y > 350)) {
removeMovieClip(this);
}
};
}
} else if (timeCount == 150) {
timeCount = 0;
}
}
}
}
onClipEvent (mouseDown) {
if (_root.youxzt == 0) {
if (_root.ren._currentframe < 5) {
if (((_root.qiangpz == 1) || (_root.qiangpz == 2)) || (_root.qiangpz == 4)) {
if (_root.qiangpz == 4) {
speed = 20;
} else {
speed = 40;
}
if (_root.zdfx == 0) {
_root.zdfx = 1;
depth++;
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root.gunshot.setVolume(10);
_root.gunshot.start(0, 1);
_root[name]._x = _root.spaceShip._x + (40 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (40 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < -100) || (this._y < 0)) || (this._x > 600)) || (this._y > 500)) {
removeMovieClip(this);
_root.zdfx = 0;
}
};
if (_root.qiangpz == 2) {
_root.syzd = _root.syzd - 1;
}
if (_root.qiangpz == 4) {
_root.hjzd = _root.hjzd - 1;
}
if (_root.qiangpz == 2) {
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (30 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
}
}
}
if (_root.qiangpz == 3) {
_root.jqfs = 1;
}
if (_root.qiangpz == 5) {
_root.ren.rengsl.play();
_root.slzd = _root.slzd - 1;
}
}
}
}
onClipEvent (mouseUp) {
_root.jqfs = 0;
}
Instance of Symbol 608 MovieClip "xxx" in Frame 20
onClipEvent (load) {
_root.woxue = 100;
}
onClipEvent (enterFrame) {
_root.xxx.gotoAndStop(100 - _root.woxue);
this.gotoAndStop(100 - _root.woxue);
if (_root.woxue > 100) {
_root.woxue = 100;
}
if (_root.woxue <= 0) {
_root.ren.gotoAndStop(6);
}
}
Instance of Symbol 644 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 21
stop();
Instance of Symbol 874 MovieClip "bj" in Frame 21
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 884 MovieClip "pzb" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren)) {
_root.gotoAndStop("d4gw");
}
this._y = _root.bj._y + 102;
}
Instance of Symbol 889 MovieClip "d53" in Frame 21
onClipEvent (load) {
this.stop();
this._y = 296;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 109;
}
Instance of Symbol 753 MovieClip "d3" in Frame 21
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 471 MovieClip "d9" in Frame 21
onClipEvent (load) {
function reset() {
_root.g9sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g9sw == 1) || (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 669 MovieClip "d91" in Frame 21
onClipEvent (load) {
function reset() {
_root.g91sw = 0;
this._x = random(500) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g91sw == 1) || (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 671 MovieClip "d92" in Frame 21
onClipEvent (load) {
function reset() {
_root.g92sw = 0;
this._x = random(600) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g92sw == 1) || (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
}
Frame 22
stop();
Instance of Symbol 317 MovieClip in Frame 22
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 321 MovieClip in Frame 22
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 324 MovieClip in Frame 22
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 327 MovieClip in Frame 22
onClipEvent (load) {
this.gotoAndStop(4);
}
Frame 23
level = 5;
scoreTxt.text = score;
stop();
_root.laowangsi = 0;
_root.qiangpz = 1;
Instance of Symbol 894 MovieClip "bj" in Frame 23
onClipEvent (load) {
this._x = 0;
}
onClipEvent (enterFrame) {
if ((((this._x <= 0) and (this._x >= -6850)) and (_root.ren._x >= 160)) and (_root.qianj == 1)) {
this._x = this._x - 8;
_root.ren._x = _root.ren._x - 8;
}
if ((((this._x <= 0) and (this._x >= -6850)) and (_root.ren._x <= 60)) and (_root.qianj == -1)) {
this._x = this._x + 8;
_root.ren._x = _root.ren._x + 8;
}
if (this._x > 0) {
this._x = 0;
}
if (this._x < -6800) {
_root.gotoAndStop("lwe");
}
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 898 MovieClip "d54" in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 7305;
this._y = _root.bj._y + 85;
}
Instance of Symbol 421 MovieClip "d2" in Frame 23
onClipEvent (load) {
function reset() {
this._y = 286;
this._x = random(400) + 1000;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 94;
this._x = _root.bj._x + (this.chis * 1000);
if ((_root.bj._x > -5800) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 747 MovieClip "gongj" in Frame 23
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 747 MovieClip "gongjb" in Frame 23
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 753 MovieClip "d3" in Frame 23
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 449 MovieClip "d7" in Frame 23
onClipEvent (load) {
function reset() {
_root.g4sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
_root.chis = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (_root.chis * 700);
this.tt = random(100);
if ((((this.tt < 3) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -6000) && (this._x < -50)) {
reset();
_root.chis = _root.chis + 1;
}
if (_root.g4sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 451 MovieClip "g4zd" in Frame 23
onClipEvent (load) {
this._x = 800;
_root.g4fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g4fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g4fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g4fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 774 MovieClip "d8" in Frame 23
onClipEvent (load) {
function reset() {
_root.g8sw = 0;
_root.feidfas = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 54;
this.tt = random(100);
if (((((this.tt < 20) and (_root.feidfas == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
if (_root.bj._x > -6400) {
reset();
}
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 800;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 1860;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 5550;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 485 MovieClip "d1" in Frame 23
onClipEvent (load) {
function reset() {
this._y = 333;
this._x = random(400) + 600;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 146;
this._x = _root.bj._x + (this.chis * 900);
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
if ((_root.bj._x > -5000) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 791 MovieClip "d24" in Frame 23
onClipEvent (load) {
function reset() {
_root.g24sw = 0;
_root.feidfasc = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 85;
this.tt = random(100);
if (((((this.tt < 10) and (_root.feidfasc == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
reset();
}
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 1460;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x;
}
}
Instance of Symbol 809 MovieClip "d25" in Frame 23
onClipEvent (load) {
function reset() {
_root.g25sw = 0;
this._x = random(500) + 1700;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 4;
} else {
if (_root.qianj == 0) {
this._x = this._x - 4;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 4;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 12;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g25sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 716 MovieClip "d23" in Frame 23
onClipEvent (load) {
function reset() {
_root.g23sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (this.chis * 1000);
this.tt = random(100);
if ((((this.tt < 10) and (_root.feid23fas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -6000) && (this._x < -50)) {
reset();
this.chis = this.chis + 1;
}
if (_root.g23sw == 1) {
this.gotoAndStop(5);
}
}
}
Instance of Symbol 518 MovieClip "d21" in Frame 23
onClipEvent (load) {
function reset() {
_root.g21sw = 0;
this._x = random(1600) + 1600;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g21sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
}
Instance of Symbol 471 MovieClip "d9" in Frame 23
onClipEvent (load) {
function reset() {
_root.g9sw = 0;
this._x = random(800) + 700;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g9sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5400) {
reset();
}
}
}
}
Instance of Symbol 451 MovieClip "g23zd" in Frame 23
onClipEvent (load) {
this._x = 800;
_root.g23fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g23fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g23fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g23fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 2660;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x;
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 3360;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 3950;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x;
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 4360;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 5000;
if ((this._x < 700) and (this._x > -50)) {
_root.d24._x = this._x;
}
}
Instance of Symbol 598 MovieClip "ren" in Frame 23
onClipEvent (load) {
_root.fangx = 1;
_root.qianj = 0;
_root.dunx = 0;
_root.tiaog = 0;
this.gotoAndStop(1);
this._y = 295;
_root.sspeed = 8;
sy = _y;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (this._y > 295) {
this._y = 295;
}
if (_root.woxue > 0) {
if (_root.wozd == 1) {
_root.ren.gotoAndStop(5);
}
if (((_root.wozd == 0) && (_root.tiaog == 0)) && (_root.ren._currentframe < 5)) {
if (Key.isDown(83) and (this._currentframe != 3)) {
this.gotoAndStop(4);
_root.dunx = 1;
}
if (Key.isDown(87) and (_root.qianj == 0)) {
this.gotoAndStop(3);
}
if (((Key.isDown(68) and (_x < 600)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_xscale = 100;
this.gotoAndStop(2);
_root.fangx = 1;
_root.qianj = 1;
}
if (((Key.isDown(65) and (_x > 50)) and (this._currentframe < 3)) && (_root.dunx == 0)) {
_x = (_x - _root.sspeed);
_xscale = -100;
this.gotoAndStop(2);
_root.fangx = -1;
_root.qianj = -1;
}
}
if (_root.post._x >= this._x) {
_xscale = 100;
_root.fangx = 1;
} else {
_xscale = -100;
_root.fangx = -1;
}
if (Key.isDown(49)) {
_root.xuanq.gotoAndStop(1);
}
if (Key.isDown(50) and (_root.syzd > 0)) {
_root.xuanq.gotoAndStop(2);
}
if (Key.isDown(51) and (_root.jiqzd > 0)) {
_root.xuanq.gotoAndStop(3);
}
if (Key.isDown(52) and (_root.hjzd > 0)) {
_root.xuanq.gotoAndStop(4);
}
}
}
}
onClipEvent (keyUp) {
if (_root.youxzt == 0) {
if ((Key.getCode() == 65) || (Key.getCode() == 68)) {
if (_root.tiaog == 0) {
this.gotoAndStop(1);
_root.qianj = 0;
}
}
if ((Key.getCode() == 83) && (_root.tiaog == 0)) {
_root.dunx = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 592 MovieClip "spaceShip" in Frame 23
onClipEvent (load) {
speed = 40;
_root.shaoxuel = 5;
_root.wozd = 0;
_root.rensl = 0;
depth = 200;
dep = 400;
timeCount = 0;
_root.zdfx = 0;
_root.qiangpz = 1;
_root.jqfs = 0;
_root.bl = 0;
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (depth > 300) {
depth = 200;
}
if (dep > 500) {
dep = 400;
}
this._x = _root.ren._x;
if (_root.dunx == 0) {
this._y = _root.ren._y;
} else {
this._y = _root.ren._y + 20;
}
if (_root.fangx == 1) {
this._yscale = 100;
} else {
this._yscale = -100;
}
this.gotoAndStop(_root.qiangpz);
xdiff = _root.post._x - _root.spaceShip._x;
ydiff = _root.post._y - _root.spaceShip._y;
angle = Math.atan2(ydiff, xdiff);
angle = (angle * 180) / Math.PI;
_root.spaceShip._rotation = angle;
angle = _root.spaceShip._rotation;
angle = (angle * Math.PI) / 180;
if ((_root.jqfs == 1) and (_root.ren._currentframe < 5)) {
timeCount++;
if (timeCount > 0) {
if ((timeCount % 4) == 1) {
_root.spaceShip.qiangc.play();
depth++;
_root.jiqzd = _root.jiqzd - 1;
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (20 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root[name]._x = _root.spaceShip._x + (90 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (90 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < 0) || (this._y < 0)) || (this._x > 600)) || (this._y > 350)) {
removeMovieClip(this);
}
};
}
} else if (timeCount == 150) {
timeCount = 0;
}
}
}
}
onClipEvent (mouseDown) {
if (_root.youxzt == 0) {
if (_root.ren._currentframe < 5) {
if (((_root.qiangpz == 1) || (_root.qiangpz == 2)) || (_root.qiangpz == 4)) {
if (_root.qiangpz == 4) {
speed = 20;
} else {
speed = 40;
}
if (_root.zdfx == 0) {
_root.zdfx = 1;
depth++;
name = "projectile" + depth;
_root.attachMovie("projectile", name, depth);
_root.gunshot.setVolume(10);
_root.gunshot.start(0, 1);
_root[name]._x = _root.spaceShip._x + (40 * Math.cos(angle));
_root[name]._y = (_root.spaceShip._y - 15) + (40 * Math.sin(angle));
_root[name]._rotation = _root.spaceShip._rotation;
_root[name].xmov = speed * Math.cos(angle);
_root[name].ymov = speed * Math.sin(angle);
_root[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
this._y = this._y + this.ymov;
if ((((this._x < -100) || (this._y < 0)) || (this._x > 600)) || (this._y > 500)) {
removeMovieClip(this);
_root.zdfx = 0;
}
};
if (_root.qiangpz == 2) {
_root.syzd = _root.syzd - 1;
}
if (_root.qiangpz == 4) {
_root.hjzd = _root.hjzd - 1;
}
if (_root.qiangpz == 2) {
dep++;
namea = "zdk" + dep;
_root.attachMovie("zdk", namea, dep);
_root[namea]._x = _root.spaceShip._x + (30 * Math.cos(angle));
_root[namea]._y = _root.spaceShip._y - 30;
if (_root.fangx == 1) {
_root[namea]._xscale = 100;
} else {
_root[namea]._xscale = -100;
}
}
}
}
if (_root.qiangpz == 3) {
_root.jqfs = 1;
}
if (_root.qiangpz == 5) {
_root.ren.rengsl.play();
_root.slzd = _root.slzd - 1;
}
}
}
}
onClipEvent (mouseUp) {
_root.jqfs = 0;
}
Instance of Symbol 608 MovieClip "xxx" in Frame 23
onClipEvent (load) {
_root.woxue = 100;
}
onClipEvent (enterFrame) {
_root.xxx.gotoAndStop(100 - _root.woxue);
this.gotoAndStop(100 - _root.woxue);
if (_root.woxue > 100) {
_root.woxue = 100;
}
if (_root.woxue <= 0) {
_root.ren.gotoAndStop(6);
}
}
Instance of Symbol 902 MovieClip "hm" in Frame 23
onClipEvent (load) {
this.swapDepths(10000);
}
Instance of Symbol 644 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 24
stop();
Instance of Symbol 894 MovieClip "bj" in Frame 24
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 921 MovieClip "d54" in Frame 24
onClipEvent (enterFrame) {
this._y = _root.bj._y + 85;
}
Instance of Symbol 698 MovieClip "d22" in Frame 24
onClipEvent (load) {
function reset() {
_root.g22sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g22sw == 1) || (this._x < -100)) {
if (_root.d54._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 471 MovieClip "d9" in Frame 24
onClipEvent (load) {
function reset() {
_root.g9sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g9sw == 1) || (this._x < -100)) {
if (_root.d54._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 753 MovieClip "d3" in Frame 24
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 5;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.d54._currentframe < 4) {
reset();
}
}
}
}
Instance of Symbol 518 MovieClip "d21" in Frame 24
onClipEvent (load) {
function reset() {
_root.g21sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g21sw == 1) || (this._x < -100)) {
if (_root.d54._currentframe < 4) {
reset();
}
}
}
}
Frame 30
Mouse.show();
stop();
Frame 31
Mouse.show();
stop();
Instance of Symbol 968 MovieClip in Frame 31
onClipEvent (load) {
this.swapDepths(10001);
}
Frame 32
Mouse.show();
stop();
Frame 48
stop();
_root.laowangsi = 0;
_root.qiangpz = 1;
Instance of Symbol 667 MovieClip "d50" in Frame 48
onClipEvent (enterFrame) {
this._y = _root.bj._y - 55;
this._x = _root.bj._x + 1800;
if (this._currentframe == 5) {
_root.nextFrame();
}
}
Instance of Symbol 747 MovieClip "gongj" in Frame 48
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 747 MovieClip "gongjb" in Frame 48
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 753 MovieClip "d3" in Frame 48
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
Instance of Symbol 449 MovieClip "d7" in Frame 48
onClipEvent (load) {
function reset() {
_root.g4sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
_root.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (_root.chis * 700);
this.tt = random(100);
if ((((this.tt < 3) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -1000) && (this._x < -50)) {
reset();
_root.chis = _root.chis + 1;
}
if (_root.g4sw == 1) {
this.gotoAndStop(5);
}
}
Instance of Symbol 451 MovieClip "g4zd" in Frame 48
onClipEvent (load) {
this._x = 800;
_root.g4fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g4fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g4fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g4fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 772 MovieClip "d6" in Frame 48
onClipEvent (load) {
function reset() {
_root.g6sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g6sw == 1) or (this._x < -100)) {
if (_root.bj._x > -1000) {
reset();
}
}
}
Instance of Symbol 774 MovieClip "d8" in Frame 48
onClipEvent (load) {
function reset() {
_root.g8sw = 0;
_root.feidfas = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 54;
this.tt = random(100);
if (((((this.tt < 20) and (_root.feidfas == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
reset();
}
}
Instance of Symbol 345 MovieClip in Frame 48
onClipEvent (enterFrame) {
this._x = _root.bj._x + 800;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 485 MovieClip "d1" in Frame 48
onClipEvent (load) {
function reset() {
this._y = 333;
this._x = random(400) + 600;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 146;
this._x = _root.bj._x + (this.chis * 900);
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
if ((_root.bj._x > -1000) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 421 MovieClip "d2" in Frame 48
onClipEvent (load) {
function reset() {
this._y = 287;
this._x = random(400) + 1000;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 94;
this._x = _root.bj._x + (this.chis * 1000);
if ((_root.bj._x > -5800) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 894 MovieClip "bj" in Frame 49
onClipEvent (load) {
this._x = -1500;
}
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
if (_root.ren._x > 300) {
_root.ren._x = _root.ren._x - 8;
}
}
Instance of Symbol 772 MovieClip "d6" in Frame 49
onClipEvent (load) {
function reset() {
_root.g6sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
this._x = this._x - 3;
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g6sw == 1) or (this._x < -100)) {
if (_root.bj._x > -6400) {
reset();
}
}
}
Instance of Symbol 753 MovieClip "d3" in Frame 49
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
this._x = this._x - 3;
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
Instance of Symbol 894 MovieClip "bj" in Frame 50
onClipEvent (load) {
this._x = -1500;
}
onClipEvent (enterFrame) {
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x >= 160)) and (_root.qianj == 1)) {
this._x = this._x - 8;
_root.ren._x = _root.ren._x - 8;
}
if ((((this._x <= 0) and (this._x >= -6050)) and (_root.ren._x <= 60)) and (_root.qianj == -1)) {
this._x = this._x + 8;
_root.ren._x = _root.ren._x + 8;
}
if (this._x > 0) {
this._x = 0;
}
if (this._x < -3000) {
_root.gotoAndStop("lweb");
}
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 421 MovieClip "d2" in Frame 50
onClipEvent (load) {
function reset() {
this._y = 287;
this._x = random(400) + 1000;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 94;
this._x = _root.bj._x + (this.chis * 1000);
if ((_root.bj._x > -5800) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 747 MovieClip "gongj" in Frame 50
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 747 MovieClip "gongjb" in Frame 50
onClipEvent (enterFrame) {
this._y = _root.bj._y - 106;
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 0;
} else {
if (_root.qianj == 0) {
this._x = this._x - 0;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 8;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 8;
}
}
}
Instance of Symbol 741 MovieClip "gongjc" in Frame 50
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 741 MovieClip "gongjd" in Frame 50
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 753 MovieClip "d3" in Frame 50
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
Instance of Symbol 449 MovieClip "d7" in Frame 50
onClipEvent (load) {
function reset() {
_root.g4sw = 0;
this._y = 290;
this._x = random(400) + 800;
this.gotoAndStop(1);
}
_root.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 103;
this._x = _root.bj._x + (_root.chis * 700);
this.tt = random(100);
if ((((this.tt < 3) and (_root.feidfas == 0)) and (this._x < 650)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((_root.bj._x > -5000) && (this._x < -50)) {
reset();
_root.chis = _root.chis + 1;
}
if (_root.g4sw == 1) {
this.gotoAndStop(5);
}
}
Instance of Symbol 451 MovieClip "g4zd" in Frame 50
onClipEvent (load) {
this._x = 800;
_root.g4fs = 0;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 98;
if (_root.g4fs == 1) {
this._x = this._x - 15;
}
if (this._x < -100) {
this._x = 800;
_root.g4fs = 0;
}
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this._x = 800;
_root.wozd = 1;
_root.g4fs = 0;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 772 MovieClip "d6" in Frame 50
onClipEvent (load) {
function reset() {
_root.g6sw = 0;
this._x = random(800) + 800;
this.gotoAndStop(1);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 5;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 3;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 13;
}
}
}
if (((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (this._currentframe < 3)) and (_root.tiaog == 0)) {
this.gotoAndStop(4);
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
if ((_root.g6sw == 1) or (this._x < -100)) {
if (_root.bj._x > -5000) {
reset();
}
}
}
Instance of Symbol 774 MovieClip "d8" in Frame 50
onClipEvent (load) {
function reset() {
_root.g8sw = 0;
_root.feidfas = 0;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 54;
this.tt = random(100);
if (((((this.tt < 20) and (_root.feidfas == 0)) and (this._x < 650)) and (this._x > 0)) and (this._currentframe < 3)) {
this.gotoAndStop(2);
}
if ((this._x < -20) || (this._x > 650)) {
reset();
}
}
Instance of Symbol 345 MovieClip in Frame 50
onClipEvent (enterFrame) {
this._x = _root.bj._x + 1600;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 50
onClipEvent (enterFrame) {
this._x = _root.bj._x + 2600;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 80;
}
}
Instance of Symbol 345 MovieClip in Frame 50
onClipEvent (enterFrame) {
this._x = _root.bj._x + 5000;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 20;
}
}
Instance of Symbol 345 MovieClip in Frame 50
onClipEvent (enterFrame) {
this._x = _root.bj._x + 3700;
if ((this._x < 700) and (this._x > -50)) {
_root.d8._x = this._x + 60;
}
}
Instance of Symbol 485 MovieClip "d1" in Frame 50
onClipEvent (load) {
function reset() {
this._y = 333;
this._x = random(400) + 600;
this.gotoAndStop(1);
}
this.chis = 1;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 146;
this._x = _root.bj._x + (this.chis * 900);
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
if ((_root.bj._x > -5000) && (this._x < -100)) {
reset();
this.chis = this.chis + 1;
}
}
Instance of Symbol 729 MovieClip "d51" in Frame 50
onClipEvent (enterFrame) {
this._y = _root.bj._y - 112;
if (_root.bj._x <= -3000) {
this._x = this._x - ((this._x - _root.ren._x) / 20);
_root.d51.gj.play();
} else {
_root.d51.gj.gotoAndStop(1);
}
}
Frame 51
stop();
Instance of Symbol 753 MovieClip "d3" in Frame 51
onClipEvent (load) {
function reset() {
_root.g3sw = 0;
this._x = random(1000) + 1000;
this.gotoAndStop(1);
this.xue.gotoAndStop(5);
}
this._y = 50;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y - 137;
if (this._currentframe < 4) {
if ((_root.ren._x >= 60) and (_root.ren._x < 160)) {
this._x = this._x - 3;
} else {
if (_root.qianj == 0) {
this._x = this._x - 3;
}
if ((_root.ren._x < 60) && (_root.qianj == -1)) {
this._x = this._x + 5;
}
if ((_root.ren._x >= 160) && (_root.qianj == 1)) {
this._x = this._x - 11;
}
}
}
if ((_root.g3sw == 1) or (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
Instance of Symbol 471 MovieClip "d9" in Frame 51
onClipEvent (load) {
function reset() {
_root.g9sw = 0;
this._x = random(300) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g9sw == 1) || (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
Instance of Symbol 669 MovieClip "d91" in Frame 51
onClipEvent (load) {
function reset() {
_root.g91sw = 0;
this._x = random(500) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g91sw == 1) || (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
Instance of Symbol 671 MovieClip "d92" in Frame 51
onClipEvent (load) {
function reset() {
_root.g92sw = 0;
this._x = random(600) + 700;
this.gotoAndStop(1);
this.xue.gotoAndStop(8);
}
this._y = 283;
reset();
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 96;
if (this._currentframe < 3) {
if (this._x > -100) {
this._x = this._x - 5;
}
if ((this.kkk.hitTest(_root.ren) and (_root.ren._currentframe < 5)) and (_root.tiaog == 0)) {
_root.woxue = _root.woxue - _root.shaoxuel;
if (_root.woxue > 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
this.gotoAndStop(4);
}
}
if ((_root.g92sw == 1) || (this._x < -100)) {
if (_root.d53._currentframe < 4) {
reset();
}
}
}
Instance of Symbol 894 MovieClip "bj" in Frame 52
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Frame 55
stop();
Instance of Symbol 1014 MovieClip [TMP6ojzjuzm8i] in Frame 55
//component parameters
onClipEvent (construct) {
gameID = 276;
}
Instance of Symbol 1019 MovieClip [TMP6pbk6uzm9i] in Frame 55
//component parameters
onClipEvent (construct) {
gameID = 276;
}
Symbol 3 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Symbol 64 MovieClip Frame 1
stop();
var tagctr = (random(55) + 1);
gotoAndStop(tagctr);
Symbol 65 MovieClip Frame 105
stop();
Symbol 71 MovieClip Frame 1
_root.earl223 = function (val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
};
Symbol 78 MovieClip Frame 1
stop();
Instance of Symbol 91 MovieClip "mcNotice" in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 128 MovieClip Frame 120
stop();
if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.play();
} else if (_root.debug) {
_root.okToPlay = true;
_root.play();
} else {
stop();
_root.mcTaglines._visible = false;
mcNotice._visible = true;
}
Symbol 129 MovieClip Frame 71
stop();
var fogsound = new Sound();
fogsound.onSoundComplete = function () {
_root.okToPlay = true;
_root.play();
};
fogsound.attachSound("fogaudio");
fogsound.start(0, 1);
Symbol 148 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 155 MovieClip [projectile] Frame 1
stop();
if (_root.qiangpz == 1) {
gotoAndStop (1);
}
if (_root.qiangpz == 2) {
gotoAndStop (2);
}
if (_root.qiangpz == 3) {
gotoAndStop (1);
}
if (_root.qiangpz == 4) {
gotoAndStop (4);
}
Instance of Symbol 151 MovieClip in Symbol 155 MovieClip [projectile] Frame 1
onClipEvent (load) {
n = 100;
}
onClipEvent (enterFrame) {
Array();
i = 0;
while (i < n) {
if (_root["d" + i]._currentframe < 4) {
if (this.hitTest(_root["d" + i].kkk)) {
_root["d" + i].gotoAndStop(3);
_root["d" + i].xue.nextFrame();
this.gotoAndStop(2);
}
}
i++;
}
}
Instance of Symbol 151 MovieClip in Symbol 155 MovieClip [projectile] Frame 2
onClipEvent (load) {
n = 100;
}
onClipEvent (enterFrame) {
Array();
i = 0;
while (i < n) {
if (_root["d" + i]._currentframe < 4) {
if (this.hitTest(_root["d" + i].kkk)) {
_root["d" + i].gotoAndStop(3);
_root["d" + i].xue.nextFrame();
_root["d" + i].xue.nextFrame();
_root["d" + i].xue.nextFrame();
this.gotoAndStop(2);
}
}
i++;
}
}
Instance of Symbol 154 MovieClip in Symbol 155 MovieClip [projectile] Frame 4
onClipEvent (load) {
n = 100;
}
onClipEvent (enterFrame) {
Array();
i = 0;
while (i < n) {
if (_root["d" + i]._currentframe < 4) {
if ((this.hitTest(_root["d" + i].kkk) and (_root["d" + i]._currentframe != 3)) and (this._currentframe == 1)) {
_root["d" + i].gotoAndStop(3);
this.gotoAndStop(2);
_root["d" + i].xue.nextFrame();
_root["d" + i].xue.nextFrame();
_root["d" + i].xue.nextFrame();
_root["d" + i].xue.nextFrame();
_root["d" + i].xue.nextFrame();
}
if (this.hitTest(_root["d" + i].kkw)) {
this.gotoAndStop(3);
}
}
i++;
}
}
Symbol 162 MovieClip [zdk] Frame 20
this.removeMovieClip();
Symbol 162 MovieClip [zdk] Frame 21
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 2
stop();
Symbol 205 Button
on (press) {
_root.gotoAndStop("selectplayer");
}
Symbol 209 Button
on (press) {
gotoAndStop ("instructions");
}
Symbol 213 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/?" + _root.gameName, "_blank");
}
Symbol 217 Button
on (release) {
stopAllSounds();
gotoAndStop ("scoreboard");
}
Symbol 300 Button
on (press) {
gotoAndStop ("main_menu");
}
Symbol 309 Button
on (press) {
_root.wj = 2;
_root.gotoAndStop("map_area");
}
Symbol 312 Button
on (press) {
_root.wj = 1;
_root.gotoAndStop("map_area");
}
Symbol 331 MovieClip Frame 45
_root.play();
Symbol 333 Button
on (press) {
_root.gotoAndStop("kaisb");
}
Symbol 334 Button
on (press) {
_root.gotoAndStop("kaisc");
}
Symbol 335 Button
on (press) {
_root.gotoAndStop("kaisd");
}
Symbol 336 Button
on (press) {
_root.gotoAndStop("kaisf");
}
Symbol 344 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 10
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 11
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 12
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 13
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 14
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 15
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 16
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 17
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 18
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 19
_parent.gotoAndStop(4);
Symbol 375 MovieClip Frame 20
_parent.gotoAndStop(4);
Symbol 380 MovieClip Frame 3
_root.feidfasb = 1;
_root.d8.xzdfs.play();
Symbol 380 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 384 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 389 MovieClip Frame 23
stop();
_root.g8sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 390 MovieClip Frame 1
stop();
_root.feidfasb = 0;
Instance of Symbol 348 MovieClip "xzdfs" in Symbol 390 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
_root.wozd = 1;
_root.d8.xzdfs.gotoAndStop(1);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Instance of Symbol 375 MovieClip "xue" in Symbol 390 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Symbol 395 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 29
_root.woxue = _root.woxue + 30;
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 420 MovieClip Frame 33
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 420 MovieClip Frame 34
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 420 MovieClip Frame 40
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 4
_root.g4zd._x = _parent._x - 65;
_root.g4fs = 1;
Symbol 437 MovieClip Frame 40
_root.feidfas = 0;
_parent.gotoAndStop(1);
Symbol 438 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 443 MovieClip Frame 23
stop();
_root.g4sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 448 MovieClip Frame 1
stop();
gotoAndStop(random(4) + 2);
Symbol 448 MovieClip Frame 3
stop();
Symbol 448 MovieClip Frame 4
stop();
Symbol 448 MovieClip Frame 5
stop();
Symbol 449 MovieClip Frame 1
stop();
_root.feidfas = 0;
Instance of Symbol 375 MovieClip "xue" in Symbol 449 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Symbol 449 MovieClip Frame 2
_root.feidfas = 1;
Instance of Symbol 448 MovieClip "dj" in Symbol 449 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao)) {
if ((this._currentframe == 2) or (this._currentframe == 5)) {
_root.syzd = _root.syzd + 10;
}
if (this._currentframe == 3) {
_root.jiqzd = _root.jiqzd + 30;
}
if (this._currentframe == 4) {
_root.hjzd = _root.hjzd + 5;
}
_root.d7._x = -100;
this.gotoAndStop(8);
}
}
Symbol 451 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 1
stop();
Instance of Symbol 456 MovieClip in Symbol 460 MovieClip Frame 1
/* no clip actions */
Symbol 462 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
stop();
Instance of Symbol 462 MovieClip in Symbol 464 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d9._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 347 MovieClip in Symbol 464 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this.gotoAndStop(2);
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Symbol 465 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 470 MovieClip Frame 22
stop();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 471 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 471 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 464 MovieClip "zzdfs" in Symbol 471 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d9._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
if ((_root.d9._currentframe == 4) && (this._currentframe < 19)) {
this.gotoAndStop(1);
}
}
}
Symbol 471 MovieClip Frame 5
_root.g9sw = 1;
Symbol 484 MovieClip Frame 12
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 1
stop();
Instance of Symbol 491 MovieClip in Symbol 494 MovieClip Frame 1
/* no clip actions */
Symbol 496 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 1
stop();
Instance of Symbol 496 MovieClip in Symbol 498 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d21._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 347 MovieClip in Symbol 498 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this.gotoAndStop(2);
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Symbol 511 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 517 MovieClip Frame 22
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 518 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 518 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(7);
}
Instance of Symbol 498 MovieClip in Symbol 518 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d21._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
if ((_root.d21._currentframe == 4) && (this._currentframe < 19)) {
this.gotoAndStop(1);
}
}
}
Symbol 518 MovieClip Frame 5
_root.g21sw = 1;
Symbol 520 MovieClip Frame 1
stop();
_root.anniufy = 1;
Symbol 523 MovieClip Frame 1
this.gotoAndStop(_root.wj);
Symbol 528 MovieClip Frame 1
this.gotoAndStop(_root.wj);
Symbol 535 MovieClip Frame 1
stop();
this.gotoAndStop(_root.wj);
Instance of Symbol 531 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fangx == 1) {
this._rotation = _root.spaceShip._rotation;
} else {
this._rotation = 180 - _root.spaceShip._rotation;
}
}
Instance of Symbol 533 MovieClip in Symbol 535 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.fangx == 1) {
this._rotation = _root.spaceShip._rotation;
} else {
this._rotation = 180 - _root.spaceShip._rotation;
}
}
Symbol 542 MovieClip Frame 1
this.gotoAndStop(_root.wj);
Symbol 544 MovieClip Frame 1
_root.tiaog = 1;
Symbol 544 MovieClip Frame 30
_root.qianj = 0;
_root.tiaog = 0;
_root.ren.gotoAndStop(1);
Instance of Symbol 535 MovieClip in Symbol 545 MovieClip Frame 1
/* no clip actions */
Symbol 545 MovieClip Frame 20
gotoAndPlay (1);
Instance of Symbol 544 MovieClip in Symbol 545 MovieClip Frame 21
onClipEvent (load) {
_root.fff = 26;
}
onClipEvent (enterFrame) {
if (this._currentframe <= 15) {
_root.fff = _root.fff - 2;
_root.ren._y = _root.ren._y - _root.fff;
_root.bj._y = _root.bj._y + 5;
} else {
_root.fff = _root.fff + 2;
_root.ren._y = _root.ren._y + _root.fff;
_root.bj._y = _root.bj._y - 5;
}
if (Key.isDown(68) && (_root.ren._x < 600)) {
_root.ren._x = _root.ren._x + _root.sspeed;
_root.qianj = 1;
}
if (Key.isDown(65) && (_root.ren._x > 50)) {
_root.ren._x = _root.ren._x - _root.sspeed;
_root.qianj = -1;
}
}
Symbol 546 MovieClip Frame 18
gotoAndPlay (5);
Symbol 546 MovieClip Frame 19
_root.ren.gotoAndStop(1);
_root.dunx = 0;
Symbol 547 MovieClip Frame 1
_root.wozd = 1;
Symbol 547 MovieClip Frame 10
_root.wozd = 0;
_root.ren._y = 295;
_root.ren.gotoAndStop(1);
Symbol 564 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 2
_root.spaceShip.ht._x = -18;
_root.bj.play();
Symbol 567 MovieClip Frame 3
_root.spaceShip.ht._x = -8;
Symbol 567 MovieClip Frame 10
_root.zdfx = 0;
Symbol 572 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
_root.spaceShip.ht._x = 5;
_root.bj.play();
Symbol 574 MovieClip Frame 3
_root.spaceShip.ht._x = 15;
Symbol 574 MovieClip Frame 5
_root.zdfx = 0;
Symbol 583 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 2
_root.spaceShip.ht._x = -13;
_root.bj.play();
Symbol 584 MovieClip Frame 3
_root.spaceShip.ht._x = -8;
Symbol 589 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 2
_root.spaceShip.ht._x = -20;
_root.bj.play();
Symbol 591 MovieClip Frame 4
_root.spaceShip.ht._x = -8;
Symbol 591 MovieClip Frame 10
_root.zdfx = 0;
Symbol 592 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip "qianga" in Symbol 592 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.zdfx == 1) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 584 MovieClip "qiangc" in Symbol 592 MovieClip Frame 3
onClipEvent (enterFrame) {
}
Instance of Symbol 591 MovieClip "qianga" in Symbol 592 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.zdfx == 1) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 592 MovieClip "spaceShip" in Symbol 593 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.qiangpz);
}
Symbol 595 MovieClip Frame 1
_root.wudi = 1;
_root.spaceShip._visible = false;
Symbol 595 MovieClip Frame 22
_root.rens = _root.rens - 1;
_root.ren._y = 295;
if (_root.rens < 0) {
_root.gotoAndStop("over");
} else {
play();
}
Symbol 595 MovieClip Frame 40
_root.woxue = 100;
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 595 MovieClip Frame 50
_root.wudi = 0;
_root.spaceShip._visible = true;
_root.xxx.gotoAndStop(100 - _root.woxue);
_parent.gotoAndStop(1);
Instance of Symbol 535 MovieClip in Symbol 596 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.head);
_x = _parent.head._x;
_y = _parent.head._y;
if (_parent._parent._xscale == 100) {
_rotation = _parent._parent.headRot;
if (_rotation > 50) {
_rotation = 50;
}
if (_rotation < -50) {
_rotation = -50;
}
} else {
_rotation = ((-_parent._parent.headRot) + 180);
if (_rotation > 50) {
_rotation = 50;
}
if (_rotation < -50) {
_rotation = -50;
}
}
}
onClipEvent (enterFrame) {
_x = _parent.head._x;
_y = _parent.head._y;
if (_parent._parent._xscale == 100) {
_rotation = _parent._parent.headRot;
if (_rotation > 50) {
_rotation = 50;
}
if (_rotation < -50) {
_rotation = -50;
}
} else {
_rotation = ((-_parent._parent.headRot) + 180);
if (_rotation > 50) {
_rotation = 50;
}
if (_rotation < -50) {
_rotation = -50;
}
}
}
Symbol 596 MovieClip Frame 20
gotoAndPlay (6);
Symbol 598 MovieClip Frame 1
stop();
_root.spaceShip._visible = true;
_root.tiaog = 0;
_root.dunx = 0;
Symbol 598 MovieClip Frame 2
_root.dunx = 0;
Instance of Symbol 545 MovieClip in Symbol 598 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((Key.isDown(68) and (this._currentframe < 21)) and (_root.ren._x < 600)) {
_root.ren._x = _root.ren._x + _root.sspeed;
}
if (Key.isDown(87) && (_root.tiaog == 0)) {
this.gotoAndStop(21);
}
}
Symbol 598 MovieClip Frame 3
_root.dunx = 0;
Instance of Symbol 544 MovieClip in Symbol 598 MovieClip Frame 3
onClipEvent (load) {
_root.fff = 26;
}
onClipEvent (enterFrame) {
if (this._currentframe <= 15) {
_root.fff = _root.fff - 2;
_root.ren._y = _root.ren._y - _root.fff;
_root.bj._y = _root.bj._y + 5;
} else {
_root.fff = _root.fff + 2;
_root.ren._y = _root.ren._y + _root.fff;
_root.bj._y = _root.bj._y - 5;
}
if (Key.isDown(68) && (_root.ren._x < 600)) {
_root.ren._x = _root.ren._x + _root.sspeed;
_root.qianj = 1;
}
if (Key.isDown(65) && (_root.ren._x > 50)) {
_root.ren._x = _root.ren._x - _root.sspeed;
_root.qianj = -1;
}
}
Symbol 598 MovieClip Frame 4
_root.tiaog = 0;
_root.dunx = 1;
Symbol 598 MovieClip Frame 5
_root.wozd = 1;
_root.qianj = 0;
_root.dunx = 0;
_root.tiaog = 0;
if (_root.woxue <= 0) {
nextFrame();
}
Symbol 598 MovieClip Frame 6
_root.wozd = 0;
_root.jqfs = 0;
Symbol 602 MovieClip Frame 1
this.gotoAndStop(_root.wj);
Symbol 608 MovieClip Frame 1
stop();
Symbol 608 MovieClip Frame 100
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 101
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 102
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 103
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 104
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 105
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 106
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 107
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 108
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 109
_root.ren.gotoAndStop(6);
Symbol 608 MovieClip Frame 110
_root.ren.gotoAndStop(6);
Symbol 619 MovieClip Frame 1
stop();
_root.qiangpz = 1;
Symbol 619 MovieClip Frame 2
_root.qiangpz = 2;
Instance of Symbol 345 MovieClip in Symbol 619 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.syzd < 1) {
_root.syzd = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 619 MovieClip Frame 3
_root.qiangpz = 3;
Instance of Symbol 345 MovieClip in Symbol 619 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.jiqzd < 1) {
_root.jiqzd = 0;
_root.jqfs = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 619 MovieClip Frame 4
_root.qiangpz = 4;
Instance of Symbol 345 MovieClip in Symbol 619 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.hjzd < 1) {
_root.hjzd = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 619 MovieClip Frame 5
_root.qiangpz = 5;
Instance of Symbol 345 MovieClip in Symbol 619 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.slzd < 1) {
_root.slzd = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 619 MovieClip Frame 6
gotoAndStop (1);
Symbol 624 Button
on (press) {
sound = new Sound();
sound.setVolume(0);
nextFrame();
}
Symbol 625 Button
on (press) {
prevFrame();
}
Symbol 627 MovieClip Frame 1
stop();
sound = new Sound();
sound.setVolume(100);
Symbol 632 Button
on (press) {
_root.youxzt = 1;
nextFrame();
}
Symbol 633 Button
on (press) {
_root.youxzt = 1;
}
Symbol 640 Button
on (press) {
_root.youxzt = 0;
prevFrame();
}
Symbol 643 Button
on (press) {
stopAllSounds();
fscommand ("quit");
_root.gotoAndStop("main_menu");
}
Symbol 644 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 2
Symbol 652 MovieClip Frame 1
stop();
Symbol 652 MovieClip Frame 2
Symbol 652 MovieClip Frame 3
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 100
_root.d50.gotoAndStop(4);
Symbol 660 MovieClip Frame 101
_root.d50.gotoAndStop(4);
Symbol 660 MovieClip Frame 102
_root.d50.gotoAndStop(4);
Symbol 660 MovieClip Frame 103
_root.d50.gotoAndStop(4);
Symbol 660 MovieClip Frame 104
_root.d50.gotoAndStop(4);
Symbol 662 MovieClip Frame 1
stop();
_root.d50fs = 0;
Symbol 662 MovieClip Frame 20
_root.d50fs = 1;
Symbol 662 MovieClip Frame 46
_root.d50fs = 0;
Symbol 664 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 666 MovieClip Frame 26
stop();
_root.score = _root.score + 1000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 667 MovieClip Frame 1
stop();
Instance of Symbol 652 MovieClip in Symbol 667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tiaog == 1) {
this._rotation = 8;
_root.jd = 1;
} else if (_root.ren._x > 200) {
this._rotation = -17;
_root.jd = 3;
} else {
this._rotation = -6;
_root.jd = 2;
}
}
Instance of Symbol 660 MovieClip "xue" in Symbol 667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d50.gotoAndStop(4);
}
}
Instance of Symbol 662 MovieClip "zzdfs" in Symbol 667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d50fs == 0) {
if (_root.jd == 1) {
this._y = 34;
this._rotation = -8;
}
if (_root.jd == 2) {
this._y = 58;
this._rotation = -22;
}
if (_root.jd == 3) {
this._y = 74;
this._rotation = -32;
}
}
if (_root.d50._x < 320) {
this.play();
} else {
this.gotoAndStop(1);
}
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (_root.jd != 1)) {
_root.wozd = 1;
this.gotoAndPlay(46);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
}
Symbol 667 MovieClip Frame 4
_root.d9.gotoAndStop(4);
_root.d91.gotoAndStop(4);
_root.d92.gotoAndStop(4);
Symbol 667 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 668 MovieClip Frame 1
stop();
Instance of Symbol 462 MovieClip in Symbol 668 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d91._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 347 MovieClip in Symbol 668 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
_root.wozd = 1;
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Symbol 669 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 669 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 668 MovieClip "zzdfs" in Symbol 669 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d9._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
}
}
Symbol 669 MovieClip Frame 5
_root.g91sw = 1;
Symbol 670 MovieClip Frame 1
stop();
Instance of Symbol 462 MovieClip in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d92._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 347 MovieClip in Symbol 670 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
_root.wozd = 1;
this.gotoAndStop(2);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Symbol 671 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 671 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 670 MovieClip "zzdfs" in Symbol 671 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d9._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
}
}
Symbol 671 MovieClip Frame 5
_root.g92sw = 1;
Symbol 678 MovieClip Frame 1
stop();
Symbol 682 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 1
stop();
Instance of Symbol 684 MovieClip in Symbol 687 MovieClip Frame 1
/* no clip actions */
Symbol 689 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 1
stop();
Instance of Symbol 689 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 347 MovieClip in Symbol 690 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this.gotoAndStop(2);
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Symbol 692 MovieClip Frame 8
_parent.gotoAndStop(1);
Instance of Symbol 684 MovieClip "head" in Symbol 697 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.head);
}
Symbol 697 MovieClip Frame 28
_parent.createCorpse();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 698 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(7);
}
Instance of Symbol 690 MovieClip "zzdfs" in Symbol 698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d22._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
if ((_root.d22._currentframe == 4) && (this._currentframe < 19)) {
this.gotoAndStop(1);
}
}
}
Symbol 698 MovieClip Frame 5
_root.g22sw = 1;
Symbol 701 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 4
_root.g23zd._x = _parent._x - 65;
_root.g23fs = 1;
Symbol 710 MovieClip Frame 40
_root.feid23fas = 0;
_parent.gotoAndStop(1);
Symbol 711 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 715 MovieClip Frame 22
stop();
_root.g23sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 716 MovieClip Frame 1
stop();
_root.feid23fas = 0;
Instance of Symbol 375 MovieClip "xue" in Symbol 716 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Symbol 716 MovieClip Frame 2
_root.feid23fas = 1;
Instance of Symbol 448 MovieClip "dj" in Symbol 716 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao)) {
if ((this._currentframe == 2) or (this._currentframe == 5)) {
_root.syzd = _root.syzd + 10;
}
if (this._currentframe == 3) {
_root.jiqzd = _root.jiqzd + 30;
}
if (this._currentframe == 4) {
_root.hjzd = _root.hjzd + 5;
}
_root.d7._x = -100;
this.gotoAndStop(8);
}
}
Symbol 725 MovieClip Frame 30
_root.gongj._x = _root.d51._x;
_root.gongj.play();
Symbol 725 MovieClip Frame 45
_root.gongjb._x = _root.d51._x;
_root.gongjb.play();
Symbol 725 MovieClip Frame 60
_root.gongjc._x = _root.d51._x;
_root.gongjc.play();
Symbol 725 MovieClip Frame 75
_root.gongjd._x = _root.d51._x;
_root.gongjd.play();
Symbol 726 MovieClip Frame 8
_parent.gotoAndStop(2);
Symbol 728 MovieClip Frame 25
_root.score = _root.score + 2000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 729 MovieClip Frame 1
stop();
Instance of Symbol 725 MovieClip "gj" in Symbol 729 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 660 MovieClip "xue" in Symbol 729 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d51.gotoAndStop(4);
}
}
Symbol 729 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 741 MovieClip Frame 1
stop();
Instance of Symbol 739 MovieClip in Symbol 741 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Instance of Symbol 739 MovieClip in Symbol 741 MovieClip Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
}
Symbol 746 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 1
stop();
Instance of Symbol 739 MovieClip in Symbol 747 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Instance of Symbol 739 MovieClip in Symbol 747 MovieClip Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (3 * _root.shaoxuel);
}
}
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 5
_root.gongj._x = _root.d3._x;
_root.gongj.play();
Symbol 748 MovieClip Frame 30
_root.gongjb._x = _root.d3._x;
_root.gongjb.play();
Symbol 750 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 752 MovieClip Frame 12
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Instance of Symbol 748 MovieClip in Symbol 753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if ((_root.d3._x < 230) && (_root.d3._x > 80)) {
this.play();
}
}
}
Instance of Symbol 375 MovieClip "xue" in Symbol 753 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(5);
}
Symbol 753 MovieClip Frame 5
_root.g3sw = 1;
Symbol 757 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 1
stop();
Symbol 761 MovieClip Frame 1
stop();
Instance of Symbol 759 MovieClip in Symbol 762 MovieClip Frame 1
/* no clip actions */
Symbol 764 MovieClip Frame 1
stop();
Symbol 765 MovieClip Frame 1
stop();
Instance of Symbol 764 MovieClip in Symbol 765 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d6._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 347 MovieClip in Symbol 765 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this.gotoAndStop(2);
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Symbol 766 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 771 MovieClip Frame 22
stop();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 772 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 765 MovieClip "zzdfs" in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d6._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
if ((_root.d6._currentframe == 4) && (this._currentframe < 19)) {
this.gotoAndStop(1);
}
}
}
Symbol 772 MovieClip Frame 5
_root.g6sw = 1;
Symbol 774 MovieClip Frame 1
stop();
_root.feidfasb = 0;
Instance of Symbol 348 MovieClip "xzdfs" in Symbol 774 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
_root.wozd = 1;
_root.d8.xzdfs.gotoAndStop(1);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Instance of Symbol 375 MovieClip "xue" in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Symbol 775 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 1
stop();
Symbol 782 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 3
_root.feidfasc = 1;
_root.d24.xzdfs.play();
Symbol 786 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 788 MovieClip Frame 1
stop();
Symbol 789 MovieClip Frame 8
_parent.gotoAndStop(1);
Instance of Symbol 780 MovieClip "head" in Symbol 790 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.head);
}
Symbol 790 MovieClip Frame 28
stop();
_root.g24sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 791 MovieClip Frame 1
stop();
_root.feidfasc = 0;
Instance of Symbol 775 MovieClip "xzdfs" in Symbol 791 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
_root.wozd = 1;
_root.d24.xzdfs.gotoAndStop(1);
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Instance of Symbol 375 MovieClip "xue" in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Symbol 793 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 1
stop();
Instance of Symbol 798 MovieClip in Symbol 802 MovieClip Frame 1
/* no clip actions */
Symbol 803 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 808 MovieClip Frame 22
stop();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 809 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 809 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(7);
}
Instance of Symbol 690 MovieClip "zzdfs" in Symbol 809 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d25._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
if ((_root.d25._currentframe == 4) && (this._currentframe < 19)) {
this.gotoAndStop(1);
}
}
}
Symbol 809 MovieClip Frame 5
_root.g25sw = 1;
Symbol 826 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 827 MovieClip Frame 25
_root.score = _root.score + 3000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 828 MovieClip Frame 1
stop();
Instance of Symbol 660 MovieClip "xue" in Symbol 828 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d52.gotoAndStop(4);
}
}
Symbol 828 MovieClip Frame 4
_root.d80.gotoAndStop(4);
_root.d81.gotoAndStop(4);
_root.d82.gotoAndStop(4);
Symbol 828 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 839 MovieClip Frame 1
gotoAndPlay(random(20) + 1);
Symbol 839 MovieClip Frame 44
_parent.gotoAndStop(2);
Symbol 843 MovieClip Frame 1
stop();
Instance of Symbol 843 MovieClip in Symbol 846 MovieClip Frame 1
/* no clip actions */
Symbol 848 MovieClip Frame 1
stop();
Symbol 849 MovieClip Frame 1
Instance of Symbol 848 MovieClip in Symbol 849 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 347 MovieClip in Symbol 849 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this.gotoAndStop(2);
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - _root.shaoxuel;
}
}
Symbol 853 MovieClip Frame 1
stop();
Symbol 856 MovieClip Frame 8
_parent.gotoAndStop(2);
Symbol 862 MovieClip Frame 22
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 863 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 863 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 849 MovieClip "zzdfs" in Symbol 863 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play;
} else {
this.stop();
}
if ((_root.d80._currentframe == 4) && (this._currentframe < 9)) {
this.gotoAndStop(1);
}
}
Symbol 863 MovieClip Frame 5
_root.g81sw = 1;
Symbol 864 MovieClip Frame 25
_parent.gotoAndStop(2);
Symbol 865 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 865 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 849 MovieClip "zzdfs" in Symbol 865 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play;
} else {
this.stop();
}
if ((_root.d80._currentframe == 4) && (this._currentframe < 9)) {
this.gotoAndStop(1);
}
}
Symbol 865 MovieClip Frame 5
_root.g80sw = 1;
Symbol 866 MovieClip Frame 1
stop();
Instance of Symbol 375 MovieClip "xue" in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 849 MovieClip "zzdfs" in Symbol 866 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play;
} else {
this.stop();
}
if ((_root.d80._currentframe == 4) && (this._currentframe < 9)) {
this.gotoAndStop(1);
}
}
Symbol 866 MovieClip Frame 5
_root.g82sw = 1;
Symbol 874 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 6
_parent.gotoAndStop(2);
Symbol 886 MovieClip Frame 4
_root.d53.dpgj.play();
Symbol 887 MovieClip Frame 1
stop();
Instance of Symbol 451 MovieClip "g4zd" in Symbol 887 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) {
this.gotoAndStop(2);
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Symbol 888 MovieClip Frame 21
_root.score = _root.score + 4000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 889 MovieClip Frame 1
stop();
Instance of Symbol 886 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 660 MovieClip "xue" in Symbol 889 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d53.gotoAndStop(4);
}
}
Symbol 889 MovieClip Frame 4
_root.d9.gotoAndStop(4);
_root.d91.gotoAndStop(4);
_root.d92.gotoAndStop(4);
_root.d3.gotoAndStop(4);
Symbol 889 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 894 MovieClip Frame 1
stop();
Symbol 898 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 30
stopAllSounds();
if (_root.wj == 1) {
_root.gotoAndStop("wina");
} else {
_root.gotoAndStop("winb");
}
Symbol 907 MovieClip Frame 1
stop();
Instance of Symbol 906 MovieClip in Symbol 907 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ren.jiao) && (_root.tiaog == 0)) && (_root.dunx == 0)) {
this.gotoAndStop(2);
_root.wozd = 1;
if (_root.woxue >= 0) {
_root.ren.gotoAndStop(5);
} else {
_root.ren.gotoAndStop(6);
}
_root.woxue = _root.woxue - (2 * _root.shaoxuel);
}
}
Symbol 911 MovieClip Frame 3
_root.d54.dpgj.play();
Symbol 918 MovieClip Frame 1
stop();
Symbol 918 MovieClip Frame 150
_root.d50.gotoAndStop(4);
Symbol 918 MovieClip Frame 151
_root.d50.gotoAndStop(4);
Symbol 918 MovieClip Frame 152
_root.d50.gotoAndStop(4);
Symbol 918 MovieClip Frame 153
_root.d50.gotoAndStop(4);
Symbol 918 MovieClip Frame 154
_root.d50.gotoAndStop(4);
Symbol 919 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 920 MovieClip Frame 26
_root.score = _root.score + 5000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 921 MovieClip Frame 1
stop();
Instance of Symbol 911 MovieClip in Symbol 921 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 918 MovieClip "xue" in Symbol 921 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 150) {
_root.d54.gotoAndStop(4);
}
}
Symbol 921 MovieClip Frame 4
_root.d9.gotoAndStop(4);
_root.d21.gotoAndStop(4);
_root.d22.gotoAndStop(4);
_root.d3.gotoAndStop(4);
_root.hm.play();
Symbol 921 MovieClip Frame 5
_root.hm.play();
Symbol 929 Button
on (press) {
_root.gotoAndStop("main_menu");
}
Symbol 933 Button
on (press) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Symbol 940 MovieClip [TMPd4lzhusf84] Frame 1
function earl223(val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
}
mcButtonMain.mcButton.FOG.swapDepths(0);
mcButtonMain.mcButton.attachMovie(btnMC, "btnMC", 0);
mcButtonMain.mcButton.btnMC.onRelease = function () {
var _local2 = new LoadVars();
_local2.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
_local2.score = Score;
_local2.score2 = earl223(String(Score));
_local2.gamer = gameID;
_local2.id = random(9999999);
_local2.toString();
_local2.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", _local2, "POST");
delete this.onRelease;
};
Symbol 941 MovieClip Frame 50
stop();
submitMe.Score = _root.score;
Instance of Symbol 940 MovieClip [TMPd4lzhusf84] "submitMe" in Symbol 941 MovieClip Frame 50
//component parameters
onClipEvent (construct) {
btnMC = "submitScore";
gameID = 276;
}
Symbol 964 Button
on (press) {
stopAllSounds();
_root.gotoAndStop("main_menu");
}
Symbol 965 MovieClip Frame 340
stop();
submitMe.Score = _root.score;
Instance of Symbol 940 MovieClip [TMPd4lzhusf84] "submitMe" in Symbol 965 MovieClip Frame 340
//component parameters
onClipEvent (construct) {
btnMC = "submitScore";
gameID = 276;
}
Symbol 968 MovieClip Frame 10
stop();
Symbol 987 MovieClip Frame 340
stop();
submitMe.Score = _root.score;
Instance of Symbol 940 MovieClip [TMPd4lzhusf84] "submitMe" in Symbol 987 MovieClip Frame 340
//component parameters
onClipEvent (construct) {
btnMC = "submitScore";
gameID = 276;
}
Symbol 996 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 997 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}
Symbol 1004 MovieClip Frame 1
stop();
Symbol 1004 MovieClip Frame 2
stop();
Symbol 1014 MovieClip [TMP6ojzjuzm8i] Frame 1
var arrScore = new Array();
mcScoreboard.sboard.dir = "stop";
mcScoreboard.sboard.mcScoreHolder.mcScore._visible = false;
mcLabel._visible = false;
var main = this;
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = main.mcScoreboard.sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
main.mcScoreboard.mcLoading._visible = false;
main.mcScoreboard.sboard.mcScoreHolder.item = myPlayer.length;
main.mcScoreboard.sboard.mcScoreHolder.speedy = 0;
main.mcScoreboard.sboard.mcScoreHolder.desty = 0;
main.mcScoreboard.sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
};
xmlPlayer.load((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + _root.gameID) + "&rand=") + random(999999));
Symbol 1019 MovieClip [TMP6pbk6uzm9i] Frame 1
var arrScore = new Array();
mcScoreboard.sboard.dir = "stop";
mcScoreboard.sboard.mcScoreHolder.mcScore._visible = false;
mcLabel._visible = false;
var main = this;
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = main.mcScoreboard.sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
main.mcScoreboard.mcLoading._visible = false;
main.mcScoreboard.sboard.mcScoreHolder.item = myPlayer.length;
main.mcScoreboard.sboard.mcScoreHolder.speedy = 0;
main.mcScoreboard.sboard.mcScoreHolder.desty = 0;
main.mcScoreboard.sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
};
xmlPlayer.load(((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + gameID) + "&rand=") + random(999999)) + "&filt=1");
Symbol 1022 Button
on (release) {
gotoAndStop ("main_menu");
}