Frame 1
_fglv = new LoadVars();
_fglv.gid = 261;
_fglv.url = _root._url;
_fglv.sendAndLoad("http://www.freegamesforyourwebsite.com/stats.php", _fglv, "POST");
delete _fglv;
var debug = true;
var gameID = 276;
var gameName = "citygunner";
stop();
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";
Instance of Symbol 260 MovieClip in Frame 6
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=261&area=minilogo", "_blank");
}
Frame 8
_root.youxzt = 0;
Instance of Symbol 320 MovieClip in Frame 9
onClipEvent (load) {
this.stop();
}
Instance of Symbol 323 MovieClip in Frame 9
onClipEvent (load) {
this.stop();
}
Instance of Symbol 326 MovieClip in Frame 9
onClipEvent (load) {
this.stop();
}
Instance of Symbol 329 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 343 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 389 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 420 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 448 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 450 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 470 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 597 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 591 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[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 607 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 643 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Instance of Symbol 646 MovieClip "post" in Frame 10
onClipEvent (load) {
this.swapDepths(5000);
}
onClipEvent (enterFrame) {
Mouse.hide();
startDrag ("", true);
}
Frame 11
stop();
Instance of Symbol 343 MovieClip "bj" in Frame 11
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 666 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 470 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 668 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 670 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 672 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 316 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 323 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 326 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 329 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 677 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 389 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 420 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 448 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 450 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 470 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 697 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 715 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 450 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 597 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 591 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[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 607 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 643 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 14
stop();
Instance of Symbol 677 MovieClip "bj" in Frame 14
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 720 MovieClip "pzb" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren)) {
_root.gotoAndStop("d2gw");
}
this._y = _root.bj._y + 103;
}
Instance of Symbol 728 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 740 MovieClip "gongj" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 740 MovieClip "gongjb" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 740 MovieClip "gongjc" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 740 MovieClip "gongjd" in Frame 14
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Frame 15
stop();
Instance of Symbol 316 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 320 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 326 MovieClip in Frame 15
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 329 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 745 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 420 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 746 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 746 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 752 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 448 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 450 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 771 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 773 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 344 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 344 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 344 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 344 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 790 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 344 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 344 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 344 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 808 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 450 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 597 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 591 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[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 607 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 643 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 17
stop();
Instance of Symbol 745 MovieClip "bj" in Frame 17
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 827 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 827 MovieClip "d52" in Frame 18
onClipEvent (enterFrame) {
this._y = _root.bj._y;
}
Instance of Symbol 862 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 864 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 865 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 868 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 316 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 320 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 323 MovieClip in Frame 19
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 329 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 873 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 878 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 420 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 746 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 746 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 752 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 448 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 450 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 771 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 773 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 344 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 344 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 344 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 344 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 790 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 344 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 344 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 344 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 808 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 715 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 450 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 597 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 591 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[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 607 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 643 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 21
stop();
Instance of Symbol 873 MovieClip "bj" in Frame 21
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 883 MovieClip "pzb" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.ren)) {
_root.gotoAndStop("d4gw");
}
this._y = _root.bj._y + 102;
}
Instance of Symbol 888 MovieClip "d53" in Frame 21
onClipEvent (load) {
this.stop();
this._y = 296;
}
onClipEvent (enterFrame) {
this._y = _root.bj._y + 109;
}
Instance of Symbol 752 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 470 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 668 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 670 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 316 MovieClip in Frame 22
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 320 MovieClip in Frame 22
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 323 MovieClip in Frame 22
onClipEvent (load) {
this.gotoAndStop(4);
}
Instance of Symbol 326 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 893 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 897 MovieClip "d54" in Frame 23
onClipEvent (enterFrame) {
this._x = _root.bj._x + 7305;
this._y = _root.bj._y + 85;
}
Instance of Symbol 420 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 746 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 746 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 752 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 448 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 450 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 773 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 344 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 344 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 344 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 790 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 344 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 808 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 715 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 470 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 450 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 344 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 344 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 344 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 344 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 344 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 597 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 591 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[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 607 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 901 MovieClip "hm" in Frame 23
onClipEvent (load) {
this.swapDepths(10000);
}
Instance of Symbol 643 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.youxzt = 1;
this.nextFrame();
}
}
Frame 24
stop();
Instance of Symbol 893 MovieClip "bj" in Frame 24
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Instance of Symbol 920 MovieClip "d54" in Frame 24
onClipEvent (enterFrame) {
this._y = _root.bj._y + 85;
}
Instance of Symbol 697 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 470 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 752 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 967 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 666 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 746 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 746 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 752 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 448 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 450 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 771 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 773 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 344 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 420 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 893 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 771 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 752 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 893 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 420 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 746 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 746 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 740 MovieClip "gongjc" in Frame 50
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 740 MovieClip "gongjd" in Frame 50
onClipEvent (enterFrame) {
this._y = _root.bj._y - 26;
}
Instance of Symbol 752 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 448 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 450 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 771 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 773 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 344 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 344 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 344 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 344 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 728 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 752 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 470 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 668 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 670 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 893 MovieClip "bj" in Frame 52
onClipEvent (enterFrame) {
if (this._y < 187) {
this._y = 187;
}
}
Frame 55
stop();
Instance of Symbol 1013 MovieClip [TMP6ojzjuzm8i] in Frame 55
//component parameters
onClipEvent (construct) {
gameID = 276;
}
Instance of Symbol 1018 MovieClip [TMP6pbk6uzm9i] in Frame 55
//component parameters
onClipEvent (construct) {
gameID = 276;
}
Symbol 3 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=261&area=loader", "_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 {
_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 147 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 154 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 150 MovieClip in Symbol 154 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 150 MovieClip in Symbol 154 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 153 MovieClip in Symbol 154 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 161 MovieClip [zdk] Frame 20
this.removeMovieClip();
Symbol 161 MovieClip [zdk] Frame 21
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
Symbol 204 Button
on (press) {
_root.gotoAndStop("selectplayer");
}
Symbol 208 Button
on (press) {
gotoAndStop ("instructions");
}
Symbol 212 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=261&area=menu", "_blank");
}
Symbol 216 Button
on (release) {
stopAllSounds();
gotoAndStop ("scoreboard");
}
Symbol 299 Button
on (press) {
gotoAndStop ("main_menu");
}
Symbol 308 Button
on (press) {
_root.wj = 2;
_root.gotoAndStop("map_area");
}
Symbol 311 Button
on (press) {
_root.wj = 1;
_root.gotoAndStop("map_area");
}
Symbol 330 MovieClip Frame 45
_root.play();
Symbol 332 Button
on (press) {
_root.gotoAndStop("kaisb");
}
Symbol 333 Button
on (press) {
_root.gotoAndStop("kaisc");
}
Symbol 334 Button
on (press) {
_root.gotoAndStop("kaisd");
}
Symbol 335 Button
on (press) {
_root.gotoAndStop("kaisf");
}
Symbol 343 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 10
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 11
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 12
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 13
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 14
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 15
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 16
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 17
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 18
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 19
_parent.gotoAndStop(4);
Symbol 374 MovieClip Frame 20
_parent.gotoAndStop(4);
Symbol 379 MovieClip Frame 3
_root.feidfasb = 1;
_root.d8.xzdfs.play();
Symbol 379 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 383 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 388 MovieClip Frame 23
stop();
_root.g8sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 389 MovieClip Frame 1
stop();
_root.feidfasb = 0;
Instance of Symbol 347 MovieClip "xzdfs" in Symbol 389 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 374 MovieClip "xue" in Symbol 389 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Symbol 394 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 29
_root.woxue = _root.woxue + 30;
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 419 MovieClip Frame 33
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 419 MovieClip Frame 34
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 419 MovieClip Frame 40
stop();
Symbol 420 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 4
_root.g4zd._x = _parent._x - 65;
_root.g4fs = 1;
Symbol 436 MovieClip Frame 40
_root.feidfas = 0;
_parent.gotoAndStop(1);
Symbol 437 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 442 MovieClip Frame 23
stop();
_root.g4sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 447 MovieClip Frame 1
stop();
gotoAndStop(random(4) + 2);
Symbol 447 MovieClip Frame 3
stop();
Symbol 447 MovieClip Frame 4
stop();
Symbol 447 MovieClip Frame 5
stop();
Symbol 448 MovieClip Frame 1
stop();
_root.feidfas = 0;
Instance of Symbol 374 MovieClip "xue" in Symbol 448 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Symbol 448 MovieClip Frame 2
_root.feidfas = 1;
Instance of Symbol 447 MovieClip "dj" in Symbol 448 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 450 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 1
stop();
Instance of Symbol 455 MovieClip in Symbol 459 MovieClip Frame 1
/* no clip actions */
Symbol 461 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 1
stop();
Instance of Symbol 461 MovieClip in Symbol 463 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d9._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 346 MovieClip in Symbol 463 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 464 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 469 MovieClip Frame 22
stop();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 470 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 470 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 463 MovieClip "zzdfs" in Symbol 470 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 470 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 346 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 374 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 527 MovieClip Frame 1
this.gotoAndStop(_root.wj);
Symbol 534 MovieClip Frame 1
stop();
this.gotoAndStop(_root.wj);
Instance of Symbol 530 MovieClip in Symbol 534 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fangx == 1) {
this._rotation = _root.spaceShip._rotation;
} else {
this._rotation = 180 - _root.spaceShip._rotation;
}
}
Instance of Symbol 532 MovieClip in Symbol 534 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.fangx == 1) {
this._rotation = _root.spaceShip._rotation;
} else {
this._rotation = 180 - _root.spaceShip._rotation;
}
}
Symbol 541 MovieClip Frame 1
this.gotoAndStop(_root.wj);
Symbol 543 MovieClip Frame 1
_root.tiaog = 1;
Symbol 543 MovieClip Frame 30
_root.qianj = 0;
_root.tiaog = 0;
_root.ren.gotoAndStop(1);
Instance of Symbol 534 MovieClip in Symbol 544 MovieClip Frame 1
/* no clip actions */
Symbol 544 MovieClip Frame 20
gotoAndPlay (1);
Instance of Symbol 543 MovieClip in Symbol 544 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 545 MovieClip Frame 18
gotoAndPlay (5);
Symbol 545 MovieClip Frame 19
_root.ren.gotoAndStop(1);
_root.dunx = 0;
Symbol 546 MovieClip Frame 1
_root.wozd = 1;
Symbol 546 MovieClip Frame 10
_root.wozd = 0;
_root.ren._y = 295;
_root.ren.gotoAndStop(1);
Symbol 563 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 2
_root.spaceShip.ht._x = -18;
_root.bj.play();
Symbol 566 MovieClip Frame 3
_root.spaceShip.ht._x = -8;
Symbol 566 MovieClip Frame 10
_root.zdfx = 0;
Symbol 571 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 2
_root.spaceShip.ht._x = 5;
_root.bj.play();
Symbol 573 MovieClip Frame 3
_root.spaceShip.ht._x = 15;
Symbol 573 MovieClip Frame 5
_root.zdfx = 0;
Symbol 582 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 2
_root.spaceShip.ht._x = -13;
_root.bj.play();
Symbol 583 MovieClip Frame 3
_root.spaceShip.ht._x = -8;
Symbol 588 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 2
_root.spaceShip.ht._x = -20;
_root.bj.play();
Symbol 590 MovieClip Frame 4
_root.spaceShip.ht._x = -8;
Symbol 590 MovieClip Frame 10
_root.zdfx = 0;
Symbol 591 MovieClip Frame 1
stop();
Instance of Symbol 566 MovieClip "qianga" in Symbol 591 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.zdfx == 1) {
this.play();
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
time = new Date();
n = time.getYear() + 1900;
y = time.getMonth() + 1;
r = time.getDate();
if ((((10000 * n) + (100 * y)) + r) >= 20080920) {
setProperty(_root, _visible , false);
}
}
Instance of Symbol 573 MovieClip "qianga" in Symbol 591 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.zdfx == 1) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 583 MovieClip "qiangc" in Symbol 591 MovieClip Frame 3
onClipEvent (enterFrame) {
}
Instance of Symbol 590 MovieClip "qianga" in Symbol 591 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.zdfx == 1) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 591 MovieClip "spaceShip" in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.qiangpz);
}
Symbol 594 MovieClip Frame 1
_root.wudi = 1;
_root.spaceShip._visible = false;
Symbol 594 MovieClip Frame 22
_root.rens = _root.rens - 1;
_root.ren._y = 295;
if (_root.rens < 0) {
_root.gotoAndStop("over");
} else {
play();
}
Symbol 594 MovieClip Frame 40
_root.woxue = 100;
_root.xxx.gotoAndStop(100 - _root.woxue);
Symbol 594 MovieClip Frame 50
_root.wudi = 0;
_root.spaceShip._visible = true;
_root.xxx.gotoAndStop(100 - _root.woxue);
_parent.gotoAndStop(1);
Instance of Symbol 534 MovieClip in Symbol 595 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 595 MovieClip Frame 20
gotoAndPlay (6);
Symbol 597 MovieClip Frame 1
stop();
_root.spaceShip._visible = true;
_root.tiaog = 0;
_root.dunx = 0;
Symbol 597 MovieClip Frame 2
_root.dunx = 0;
Instance of Symbol 544 MovieClip in Symbol 597 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 597 MovieClip Frame 3
_root.dunx = 0;
Instance of Symbol 543 MovieClip in Symbol 597 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 597 MovieClip Frame 4
_root.tiaog = 0;
_root.dunx = 1;
Symbol 597 MovieClip Frame 5
_root.wozd = 1;
_root.qianj = 0;
_root.dunx = 0;
_root.tiaog = 0;
if (_root.woxue <= 0) {
nextFrame();
}
Symbol 597 MovieClip Frame 6
_root.wozd = 0;
_root.jqfs = 0;
Symbol 601 MovieClip Frame 1
this.gotoAndStop(_root.wj);
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 100
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 101
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 102
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 103
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 104
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 105
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 106
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 107
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 108
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 109
_root.ren.gotoAndStop(6);
Symbol 607 MovieClip Frame 110
_root.ren.gotoAndStop(6);
Symbol 618 MovieClip Frame 1
stop();
_root.qiangpz = 1;
Symbol 618 MovieClip Frame 2
_root.qiangpz = 2;
Instance of Symbol 344 MovieClip in Symbol 618 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.syzd < 1) {
_root.syzd = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 618 MovieClip Frame 3
_root.qiangpz = 3;
Instance of Symbol 344 MovieClip in Symbol 618 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.jiqzd < 1) {
_root.jiqzd = 0;
_root.jqfs = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 618 MovieClip Frame 4
_root.qiangpz = 4;
Instance of Symbol 344 MovieClip in Symbol 618 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.hjzd < 1) {
_root.hjzd = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 618 MovieClip Frame 5
_root.qiangpz = 5;
Instance of Symbol 344 MovieClip in Symbol 618 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.slzd < 1) {
_root.slzd = 0;
_root.xuanq.gotoAndStop(1);
}
}
Symbol 618 MovieClip Frame 6
gotoAndStop (1);
Symbol 623 Button
on (press) {
sound = new Sound();
sound.setVolume(0);
nextFrame();
}
Symbol 624 Button
on (press) {
prevFrame();
}
Symbol 626 MovieClip Frame 1
stop();
sound = new Sound();
sound.setVolume(100);
Symbol 631 Button
on (press) {
_root.youxzt = 1;
nextFrame();
}
Symbol 632 Button
on (press) {
_root.youxzt = 1;
}
Symbol 639 Button
on (press) {
_root.youxzt = 0;
prevFrame();
}
Symbol 642 Button
on (press) {
stopAllSounds();
fscommand ("quit");
_root.gotoAndStop("main_menu");
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 2
Symbol 651 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 2
Symbol 651 MovieClip Frame 3
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 100
_root.d50.gotoAndStop(4);
Symbol 659 MovieClip Frame 101
_root.d50.gotoAndStop(4);
Symbol 659 MovieClip Frame 102
_root.d50.gotoAndStop(4);
Symbol 659 MovieClip Frame 103
_root.d50.gotoAndStop(4);
Symbol 659 MovieClip Frame 104
_root.d50.gotoAndStop(4);
Symbol 661 MovieClip Frame 1
stop();
_root.d50fs = 0;
Symbol 661 MovieClip Frame 20
_root.d50fs = 1;
Symbol 661 MovieClip Frame 46
_root.d50fs = 0;
Symbol 663 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 665 MovieClip Frame 26
stop();
_root.score = _root.score + 1000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 666 MovieClip Frame 1
stop();
Instance of Symbol 651 MovieClip in Symbol 666 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 659 MovieClip "xue" in Symbol 666 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d50.gotoAndStop(4);
}
}
Instance of Symbol 661 MovieClip "zzdfs" in Symbol 666 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 666 MovieClip Frame 4
_root.d9.gotoAndStop(4);
_root.d91.gotoAndStop(4);
_root.d92.gotoAndStop(4);
Symbol 666 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 667 MovieClip Frame 1
stop();
Instance of Symbol 461 MovieClip in Symbol 667 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d91._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 346 MovieClip in Symbol 667 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 668 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 668 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 667 MovieClip "zzdfs" in Symbol 668 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d9._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
}
}
Symbol 668 MovieClip Frame 5
_root.g91sw = 1;
Symbol 669 MovieClip Frame 1
stop();
Instance of Symbol 461 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d92._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 346 MovieClip in Symbol 669 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 670 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 669 MovieClip "zzdfs" in Symbol 670 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if (_root.d9._x < 650) {
this.play();
} else {
this.gotoAndStop(1);
}
}
}
Symbol 670 MovieClip Frame 5
_root.g92sw = 1;
Symbol 677 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 1
stop();
Instance of Symbol 683 MovieClip in Symbol 686 MovieClip Frame 1
/* no clip actions */
Symbol 688 MovieClip Frame 1
stop();
Symbol 689 MovieClip Frame 1
stop();
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 346 MovieClip in Symbol 689 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 691 MovieClip Frame 8
_parent.gotoAndStop(1);
Instance of Symbol 683 MovieClip "head" in Symbol 696 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.head);
}
Symbol 696 MovieClip Frame 28
_parent.createCorpse();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 697 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 697 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(7);
}
Instance of Symbol 689 MovieClip "zzdfs" in Symbol 697 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 697 MovieClip Frame 5
_root.g22sw = 1;
Symbol 700 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 1
stop();
Symbol 704 MovieClip Frame 1
stop();
Symbol 709 MovieClip Frame 4
_root.g23zd._x = _parent._x - 65;
_root.g23fs = 1;
Symbol 709 MovieClip Frame 40
_root.feid23fas = 0;
_parent.gotoAndStop(1);
Symbol 710 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 714 MovieClip Frame 22
stop();
_root.g23sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 715 MovieClip Frame 1
stop();
_root.feid23fas = 0;
Instance of Symbol 374 MovieClip "xue" in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Symbol 715 MovieClip Frame 2
_root.feid23fas = 1;
Instance of Symbol 447 MovieClip "dj" in Symbol 715 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 724 MovieClip Frame 30
_root.gongj._x = _root.d51._x;
_root.gongj.play();
Symbol 724 MovieClip Frame 45
_root.gongjb._x = _root.d51._x;
_root.gongjb.play();
Symbol 724 MovieClip Frame 60
_root.gongjc._x = _root.d51._x;
_root.gongjc.play();
Symbol 724 MovieClip Frame 75
_root.gongjd._x = _root.d51._x;
_root.gongjd.play();
Symbol 725 MovieClip Frame 8
_parent.gotoAndStop(2);
Symbol 727 MovieClip Frame 25
_root.score = _root.score + 2000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 728 MovieClip Frame 1
stop();
Instance of Symbol 724 MovieClip "gj" in Symbol 728 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 659 MovieClip "xue" in Symbol 728 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d51.gotoAndStop(4);
}
}
Symbol 728 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 740 MovieClip Frame 1
stop();
Instance of Symbol 738 MovieClip in Symbol 740 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Instance of Symbol 738 MovieClip in Symbol 740 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 745 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 1
stop();
Instance of Symbol 738 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Instance of Symbol 738 MovieClip in Symbol 746 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 747 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 5
_root.gongj._x = _root.d3._x;
_root.gongj.play();
Symbol 747 MovieClip Frame 30
_root.gongjb._x = _root.d3._x;
_root.gongjb.play();
Symbol 749 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 751 MovieClip Frame 12
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Instance of Symbol 747 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
if ((_root.d3._x < 230) && (_root.d3._x > 80)) {
this.play();
}
}
}
Instance of Symbol 374 MovieClip "xue" in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(5);
}
Symbol 752 MovieClip Frame 5
_root.g3sw = 1;
Symbol 756 MovieClip Frame 1
stop();
Symbol 758 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 1
stop();
Instance of Symbol 758 MovieClip in Symbol 761 MovieClip Frame 1
/* no clip actions */
Symbol 763 MovieClip Frame 1
stop();
Symbol 764 MovieClip Frame 1
stop();
Instance of Symbol 763 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.d6._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 346 MovieClip in Symbol 764 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 765 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 770 MovieClip Frame 22
stop();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 771 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 771 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 764 MovieClip "zzdfs" in Symbol 771 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 771 MovieClip Frame 5
_root.g6sw = 1;
Symbol 773 MovieClip Frame 1
stop();
_root.feidfasb = 0;
Instance of Symbol 347 MovieClip "xzdfs" in Symbol 773 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 374 MovieClip "xue" in Symbol 773 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Symbol 774 MovieClip Frame 1
stop();
Symbol 777 MovieClip Frame 1
stop();
Symbol 779 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 1
stop();
Symbol 785 MovieClip Frame 3
_root.feidfasc = 1;
_root.d24.xzdfs.play();
Symbol 785 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 787 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 8
_parent.gotoAndStop(1);
Instance of Symbol 779 MovieClip "head" in Symbol 789 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.head);
}
Symbol 789 MovieClip Frame 28
stop();
_root.g24sw = 1;
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 790 MovieClip Frame 1
stop();
_root.feidfasc = 0;
Instance of Symbol 774 MovieClip "xzdfs" in Symbol 790 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 374 MovieClip "xue" in Symbol 790 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Symbol 792 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 1
stop();
Instance of Symbol 797 MovieClip in Symbol 801 MovieClip Frame 1
/* no clip actions */
Symbol 802 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 807 MovieClip Frame 22
stop();
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 808 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 808 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(7);
}
Instance of Symbol 689 MovieClip "zzdfs" in Symbol 808 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 808 MovieClip Frame 5
_root.g25sw = 1;
Symbol 825 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 826 MovieClip Frame 25
_root.score = _root.score + 3000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 827 MovieClip Frame 1
stop();
Instance of Symbol 659 MovieClip "xue" in Symbol 827 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d52.gotoAndStop(4);
}
}
Symbol 827 MovieClip Frame 4
_root.d80.gotoAndStop(4);
_root.d81.gotoAndStop(4);
_root.d82.gotoAndStop(4);
Symbol 827 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 838 MovieClip Frame 1
gotoAndPlay(random(20) + 1);
Symbol 838 MovieClip Frame 44
_parent.gotoAndStop(2);
Symbol 842 MovieClip Frame 1
stop();
Instance of Symbol 842 MovieClip in Symbol 845 MovieClip Frame 1
/* no clip actions */
Symbol 847 MovieClip Frame 1
stop();
Symbol 848 MovieClip Frame 1
Instance of Symbol 847 MovieClip in Symbol 848 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._currentframe != 4) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 346 MovieClip in Symbol 848 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 852 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 8
_parent.gotoAndStop(2);
Symbol 861 MovieClip Frame 22
_root.score = _root.score + (50 * _root.level);
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 862 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 862 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 848 MovieClip "zzdfs" in Symbol 862 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 862 MovieClip Frame 5
_root.g81sw = 1;
Symbol 863 MovieClip Frame 25
_parent.gotoAndStop(2);
Symbol 864 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 864 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 848 MovieClip "zzdfs" in Symbol 864 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 864 MovieClip Frame 5
_root.g80sw = 1;
Symbol 865 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "xue" in Symbol 865 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(8);
}
Instance of Symbol 848 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.g82sw = 1;
Symbol 873 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 6
_parent.gotoAndStop(2);
Symbol 885 MovieClip Frame 4
_root.d53.dpgj.play();
Symbol 886 MovieClip Frame 1
stop();
Instance of Symbol 450 MovieClip "g4zd" in Symbol 886 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 887 MovieClip Frame 21
_root.score = _root.score + 4000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 888 MovieClip Frame 1
stop();
Instance of Symbol 885 MovieClip in Symbol 888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 659 MovieClip "xue" in Symbol 888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 99) {
_root.d53.gotoAndStop(4);
}
}
Symbol 888 MovieClip Frame 4
_root.d9.gotoAndStop(4);
_root.d91.gotoAndStop(4);
_root.d92.gotoAndStop(4);
_root.d3.gotoAndStop(4);
Symbol 888 MovieClip Frame 5
_root.pzb._x = 600;
Symbol 893 MovieClip Frame 1
stop();
Symbol 897 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 30
stopAllSounds();
if (_root.wj == 1) {
_root.gotoAndStop("wina");
} else {
_root.gotoAndStop("winb");
}
Symbol 906 MovieClip Frame 1
stop();
Instance of Symbol 905 MovieClip in Symbol 906 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 910 MovieClip Frame 3
_root.d54.dpgj.play();
Symbol 917 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 150
_root.d50.gotoAndStop(4);
Symbol 917 MovieClip Frame 151
_root.d50.gotoAndStop(4);
Symbol 917 MovieClip Frame 152
_root.d50.gotoAndStop(4);
Symbol 917 MovieClip Frame 153
_root.d50.gotoAndStop(4);
Symbol 917 MovieClip Frame 154
_root.d50.gotoAndStop(4);
Symbol 918 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 919 MovieClip Frame 26
_root.score = _root.score + 5000;
_root.scoreTxt.text = _root.score;
_parent.gotoAndStop(5);
Symbol 920 MovieClip Frame 1
stop();
Instance of Symbol 910 MovieClip in Symbol 920 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.youxzt == 0) {
this.play();
} else {
this.stop();
}
}
Instance of Symbol 917 MovieClip "xue" in Symbol 920 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe > 150) {
_root.d54.gotoAndStop(4);
}
}
Symbol 920 MovieClip Frame 4
_root.d9.gotoAndStop(4);
_root.d21.gotoAndStop(4);
_root.d22.gotoAndStop(4);
_root.d3.gotoAndStop(4);
_root.hm.play();
Symbol 920 MovieClip Frame 5
_root.hm.play();
Symbol 928 Button
on (press) {
_root.gotoAndStop("main_menu");
}
Symbol 932 Button
on (press) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=261&area=gameover", "_blank");
}
Symbol 939 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 940 MovieClip Frame 50
stop();
submitMe.Score = _root.score;
Instance of Symbol 939 MovieClip [TMPd4lzhusf84] "submitMe" in Symbol 940 MovieClip Frame 50
//component parameters
onClipEvent (construct) {
btnMC = "submitScore";
gameID = 276;
}
Symbol 963 Button
on (press) {
stopAllSounds();
_root.gotoAndStop("main_menu");
}
Symbol 964 MovieClip Frame 340
stop();
submitMe.Score = _root.score;
Instance of Symbol 939 MovieClip [TMPd4lzhusf84] "submitMe" in Symbol 964 MovieClip Frame 340
//component parameters
onClipEvent (construct) {
btnMC = "submitScore";
gameID = 276;
}
Symbol 967 MovieClip Frame 10
stop();
Symbol 986 MovieClip Frame 340
stop();
submitMe.Score = _root.score;
Instance of Symbol 939 MovieClip [TMPd4lzhusf84] "submitMe" in Symbol 986 MovieClip Frame 340
//component parameters
onClipEvent (construct) {
btnMC = "submitScore";
gameID = 276;
}
Symbol 995 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 996 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}
Symbol 1003 MovieClip Frame 1
stop();
Symbol 1003 MovieClip Frame 2
stop();
Symbol 1013 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 1018 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 1021 Button
on (release) {
gotoAndStop ("main_menu");
}