STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/94820032?noj=FRM94820032-22DC" width="1" height="1"></div>

Battle City.swf

This is the info page for
Flash #24981

(Click the ID number above for more basic data on this flash file.)


Text
10

10

2005

星の魂

shanghai

<p align="center"><font face="_sans" size="16" color="#666666"><b><i>qq:59453672</i></b></font></p><p align="left"><font face="_sans" size="16" color="#666666"><b><i>msn:zheng2511@hotmail.com</i></b></font></p>

00

关数选择

ActionScript [AS1/AS2]

Frame 1
function drawmap(mymap) { _root.createEmptyMovieClip("game", 1); game._x = game._x + 40; game._y = game._y + 20; game.attachMovie("bg", "bg", 1); game.bg._x = -40; game.bg._y = -20; i = 0; while (i < 26) { j = 0; while (j < 26) { var name; name = (("T_" + i) + "_") + j; game.attachMovie("gametile", name, ((100 * i) + j) + 100); game[name].init(mymap[i][j], i, j); j++; } i++; } game.attachMovie("home", "home", 3000); game.home._x = 208; game.home._y = 400; i = 0; while (i < 20) { var name; name = "N_" + i; game.attachMovie("Nenemy", name, 50 + i); with (game[name]) { _x = (27 + (i % 2)) * 16; _y = (1 + Math.floor(i / 2)) * 16; } i++; } } function make_control() { _root.game.createEmptyMovieClip("control", 2); _root.game.control.onEnterFrame = function () { if (Key.isDown(70)) { if (_root.game.MT_1.Fire()) { _root.S_fashe.start(0, 1); } } if (Key.isDown(38)) { _root.game.MT_1.move(0, -1); } else if (Key.isDown(40)) { _root.game.MT_1.move(0, 1); } else if (Key.isDown(37)) { _root.game.MT_1.move(-1, 0); } else if (Key.isDown(39)) { _root.game.MT_1.move(1, 0); } }; } function draw_Tank(name) { if (name == "MT_") { _root.draw_mytank(); } else { _root.draw_enemytank(); } } function draw_mytank() { if (_root.myNumber > 0) { var time = getTimer(); _root.game.attachMovie("donghua", "donghua", 3100); _root.game.donghua._x = 128; _root.game.donghua._y = 384; _root.game.donghua.onEnterFrame = function () { if ((getTimer() - time) >= 800) { _root.game.attachMovie("Mtank" + _root.myLv, "MT_1", 3100); _root.game.MT_1.attachMovie("baohu", "baohu", 1); _root.game.MT_1.baohu.setTime(3000); _root.game.MT_1.init(8, 24); _root.myNumber--; } }; } else { _root.gameOver(); } } function draw_enemytank() { if (_root.enemyCurrentNumber <= 20) { if (_root.enemyNumber < 4) { var time = getTimer(); _root.game.createEmptyMovieClip("drawT", 3); _root.game.drawT.onEnterFrame = function () { if ((getTimer() - time) > 1500) { var _local5 = _root.enemyCurrentNumber; var _local3 = 0; var _local4 = (_root.enemyCurrentNumber % 3) * 12; _root.enemyNumber++; _root.game.attachMovie("donghua", "donghua1", 3200); _root.game.donghua1._x = _local4 * 16; _root.game.donghua1._y = _local3; _root.game.donghua1.number = _local5; _root.game.donghua1.k = 0; _root.game.donghua1.x = _local4; _root.game.donghua1.y = _local3; time = getTimer(); } if ((_root.enemyNumber == 4) || (_root.enemyCurrentNumber > 20)) { delete this.onEnterFrame; this.removeMovieClip(); } }; } } else if (_root.enemyNumber == 0) { _root.gameWin(); } } function startGame() { enemyCurrentNumber = 1; enemyNumber = 0; drawmap(_root["gamemap" + gameLv]); draw_mytank(); draw_enemytank(); make_control(); } function gameOver() { _root.game.control.removeMovieClip(); _root.game.attachMovie("gameover", "gameover", 3500); _root.game.gameover._x = 208; _root.game.gameover._y = 448; _root.game.gameover.onEnterFrame = function () { var _local3 = this._y; if (_local3 > 182) { _local3 = _local3 - 5; this._y = _local3; } else { _root.endShow(); delete this.onEnterFrame; } }; } function gameWin() { _root.game.createEmptyMovieClip("gamewin", 3); var time = getTimer(); _root.game.gamewin.onEnterFrame = function () { if ((getTimer() - time) > 3500) { _root.myNumber++; _root.gameLv++; if (_root.gameLv > 16) { _root.endShow(); } else { _root.startGame(); } delete this.onEnterFrame; } }; } function endShow() { _root.attachMovie("end", "end", 1); _root.end._x = 50; _root.end._y = 10; } function piantouShow() { S_ws.attachSound("sws"); S_yidong.attachSound("syidong"); S_hit.attachSound("shit"); S_hit2.attachSound("shit2"); S_jiangli.attachSound("sjiangli"); S_fashe.attachSound("sfashe"); S_fashe.setVolume(50); _root.myLv = 1; _root.gameLv = 1; _root.myNumber = 3; _root.attachMovie("piantou", "piantou", 1); _root.piantou._x = 40; _root.piantou._y = 10; } function choiceGame() { _root.attachMovie("choice", "choice", 1); _root.choice._x = 230; _root.choice._y = 200; } gamemap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0], [0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1,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 = [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 3, 3, 1, 1, 2, 2]; tanks16 = [4, 4, 1, 1, 2, 2, 2, 2, 3, 3, 2, 2, 4, 4, 3, 3, 1, 1, 2, 2]; fscommand ("allowscale", false); fscommand ("showmenu", false); var sound = new Sound(); var S_yidong = new Sound(); var S_fashe = new Sound(); var S_jiangli = new Sound(); var S_hit = new Sound(); var S_hit2 = new Sound(); var S_ws = new Sound(); var gameLv; var enemyCurrentNumber; var enemyNumber; var myLv; var myNumber; piantouShow();
Symbol 12 MovieClip [Mtank1] Frame 1
#initclip 25 Object.registerClass("Mtank1", myTank1); #endinitclip stop();
Symbol 20 MovieClip [xiaobaozha] Frame 4
if (_root.game[_parent.name] != undefined) { _root.game[_parent.name].openFire(); } _parent.removeMovieClip();
Symbol 21 MovieClip [bullet] Frame 1
#initclip 15 Object.registerClass("bullet", Bullet); #endinitclip stop();
Symbol 34 MovieClip [gametile] Frame 1
#initclip 16 Object.registerClass("gametile", gameTile); #endinitclip
Symbol 39 MovieClip [home] Frame 1
stop();
Symbol 46 MovieClip [baozha] Frame 7
this.removeMovieClip();
Symbol 52 MovieClip [Etank1] Frame 1
#initclip 17 Object.registerClass("Etank1", enemyTank1); #endinitclip
Symbol 60 MovieClip Frame 1
stop(); x = this._x; speed = 2; this.onEnterFrame = function () { if ((x < 150) || (x > 350)) { speed = -speed; } x = x + speed; this._x = x; };
Symbol 65 MovieClip [donghua] Frame 4
k++; if (k == 3) { var classnumber = ("Etank" + _root["tanks" + _root.gameLv][number - 1]); var name = ("ET_" + number); _root.game.attachMovie(classnumber, name, 3500 + number); _root.game[name].id = number; _root.game[name].init(x, y); if ((number % 7) == 4) { _root.game[name].setParent(); } _root.game["N_" + (20 - number)].removeMovieClip(); _root.enemyCurrentNumber++; this.removeMovieClip(); }
Symbol 81 Button
on (release) { _root.choiceGame(); _parent.removeMovieClip(); }
Symbol 88 MovieClip [Etank2] Frame 1
#initclip 18 Object.registerClass("Etank2", enemyTank2); #endinitclip stop();
Symbol 94 MovieClip [Etank3] Frame 1
#initclip 19 Object.registerClass("Etank3", enemyTank3); #endinitclip stop();
Symbol 100 MovieClip [Etank4] Frame 1
#initclip 20 Object.registerClass("Etank4", enemyTank4); #endinitclip stop();
Symbol 106 MovieClip [Mtank2] Frame 1
#initclip 21 Object.registerClass("Mtank2", myTank2); #endinitclip
Symbol 112 MovieClip [Mtank3] Frame 1
#initclip 22 Object.registerClass("Mtank3", myTank3); #endinitclip
Symbol 133 MovieClip [jiangli] Frame 1
#initclip 23 Object.registerClass("jiangli", jiangLi); #endinitclip
Symbol 137 MovieClip [baohu] Frame 1
#initclip 24 Object.registerClass("baohu", baoHu); #endinitclip
Symbol 142 Button
on (release) { _root.piantouShow(); }
Symbol 150 Button
on (release) { if (_root.gameLv > 1) { _root.gameLv--; } }
Symbol 152 Button
on (release) { if (_root.gameLv < 16) { _root.gameLv++; } }
Symbol 153 Button
on (release) { _root.startGame(); _parent.removeMovieClip(); }
Symbol 157 MovieClip [__Packages.Bullet] Frame 0
class Bullet extends MovieClip { var width, height, name, enemy, dirx, diry, x, y, lv, speed, _x, _y, xtile, ytile, gotoAndStop, onEnterFrame, downY, upY, leftX, rightX, upleft, downleft, upright, downright; function Bullet () { super(); width = 4; height = 4; } function changeEnemy() { if (name.charAt(0) == "M") { enemy = "ET_"; } else { enemy = "MT_"; } } function init(x, y, dirx, diry, lv, name, shootspeed) { this.dirx = dirx; this.diry = diry; this.x = x + (dirx * 16); this.y = y + (diry * 16); this.lv = lv; this.name = name; speed = shootspeed; changeEnemy(); _x = this.x; _y = this.y; xtile = Math.floor((this.x - dirx) / 16); ytile = Math.floor((this.y - diry) / 16); (gotoAndStop((dirx + (diry * 2)) + 3));// not popped move(); } function move() { onEnterFrame = function () { this.getMyCorners(this.x + (this.speed * this.dirx), this.y + (this.speed * this.diry)); if (((this.upleft && (this.downleft)) && (this.upright)) && (this.downright)) { this.x = this.x + (this.speed * this.dirx); this.y = this.y + (this.speed * this.diry); this.xtile = Math.floor(this.x / 16); this.ytile = Math.floor(this.y / 16); this._x = this.x; this._y = this.y; } else { if (this.dirx == 1) { this.x = (this.xtile + 1) * 16; } if (this.dirx == -1) { this.x = this.xtile * 16; } if (this.diry == 1) { this.y = (this.ytile + 1) * 16; } if (this.diry == -1) { this.y = this.ytile * 16; } this._x = this.x; this._y = this.y; (this.gotoAndStop(6));// not popped this.distory(); delete this.onEnterFrame; } var _local3 = 1; while (_local3 <= 20) { if (this.hitTest(_root.game[this.enemy + _local3])) { (this.gotoAndStop(6));// not popped if (this.lv < 3) { _root.game[this.enemy + _local3].distorypower--; } else { _root.game[this.enemy + _local3].distorypower = 0; } if (_root.game[this.enemy + _local3].distorypower <= 0) { var _local5 = _root.game[this.enemy + _local3]._x; var _local4 = _root.game[this.enemy + _local3]._y; _root.game[this.enemy + _local3].deleteup(); if (this.enemy == "ET_") { _root.enemyNumber--; if (_root.game[this.enemy + _local3].haveParent) { _root.S_hit2.start(0, 1); _root.game.attachMovie("jiangli", "jiangli", 95000); } } else { _root.myLv = 1; } _root.game[this.enemy + _local3].removeMovieClip(); _root.game.attachMovie("baozha", "baozha" + this.name, this.getDepth() + 1); _root.game["baozha" + this.name]._x = _local5; _root.game["baozha" + this.name]._y = _local4; _root.draw_Tank(this.enemy); } else if (this.name == "MT_1") { _root.S_ws.start(0, 1); } delete this.onEnterFrame; } _local3++; } if ((this.enemy == "MT_") && (this.hitTest(_root.game.B_MT_1))) { _root.game.B_MT_1.removeMovieClip(); _root.game.MT_1.openFire(); _root.game[this.name].openFire(); this.removeMovieClip(); } }; } function getMyCorners(x, y) { downY = Math.floor(((y + height) - 1) / 16); upY = Math.floor((y - height) / 16); leftX = Math.floor((x - width) / 16); rightX = Math.floor(((x + width) - 1) / 16); upleft = _root.game[(("T_" + upY) + "_") + leftX].shootable; downleft = _root.game[(("T_" + downY) + "_") + leftX].shootable; upright = _root.game[(("T_" + upY) + "_") + rightX].shootable; downright = _root.game[(("T_" + downY) + "_") + rightX].shootable; } function distory() { var _local4; var _local3; var _local5 = false; if (((dirx != 0) && ((xtile + dirx) >= 0)) && ((xtile + dirx) <= 25)) { _local4 = xtile + dirx; _local3 = ytile; if (_root.game[(("T_" + _local3) + "_") + _local4].distorylv <= lv) { _root.game[(("T_" + _local3) + "_") + _local4].init(0, _local3, _local4); } if (_root.game[(("T_" + (_local3 - 1)) + "_") + _local4].distorylv <= lv) { _root.game[(("T_" + (_local3 - 1)) + "_") + _local4].init(0, _local3 - 1, _local4); } if ((_root.game[(("T_" + _local3) + "_") + _local4].name == "laojia") || (_root.game[(("T_" + (_local3 - 1)) + "_") + _local4].name == "laojia")) { _local5 = true; } } if (diry != 0) { _local4 = xtile; _local3 = ytile + diry; if (_root.game[(("T_" + _local3) + "_") + _local4].distorylv <= lv) { _root.game[(("T_" + _local3) + "_") + _local4].init(0, _local3, _local4); } if (_root.game[(("T_" + _local3) + "_") + (_local4 - 1)].distorylv <= lv) { _root.game[(("T_" + _local3) + "_") + (_local4 - 1)].init(0, _local3, _local4 - 1); } if ((_root.game[(("T_" + _local3) + "_") + _local4].name == "laojia") || (_root.game[(("T_" + _local3) + "_") + (_local4 - 1)].name == "laojia")) { _local5 = true; } } if (_local5) { _root.game.home.attachMovie("baozha", "baozha", 1); _root.game.home.gotoAndStop(2); _root.gameOver(); } } }
Symbol 158 MovieClip [__Packages.gameTile] Frame 0
class gameTile extends MovieClip { var walkable, shootable, name, distorylv, swapDepths, getDepth, upOb, _y, _x, gotoAndStop; function gameTile () { super(); } function init(flag, y, x) { switch (flag) { case 0 : walkable = true; shootable = true; name = "lu"; distorylv = 5; break; case 1 : walkable = false; shootable = false; name = "qiang"; distorylv = 1; break; case 2 : walkable = false; shootable = false; name = "gangban"; distorylv = 3; break; case 3 : walkable = true; shootable = true; name = "shu"; swapDepths(getDepth() + 90000); distorylv = 5; break; case 4 : walkable = false; shootable = true; name = "shui"; distorylv = 5; break; case 9 : walkable = false; shootable = false; name = "laojia"; distorylv = 5; } upOb = ""; _y = y * 16; _x = x * 16; (gotoAndStop(name));// not popped } function checkwalkable(name) { var _local2; _local2 = (upOb == "") || (upOb == name); return(walkable && (_local2)); } }
Symbol 159 MovieClip [__Packages.Tank] Frame 0
class Tank extends MovieClip { var name, _name, width, height, distorypower, starttime, _x, _y, x, y, dirx, diry, gotoAndStop, xtile, ytile, speed, upleft, upright, downleft, downright, downY, upY, leftX, rightX, canfire, shoottime, id, lv, shootspeed; function Tank () { super(); name = _name; width = 16; height = 16; distorypower = 1; starttime = getTimer(); } function init(tx, ty) { _x = 16 * (tx + 1); _y = 16 * (ty + 1); x = _x; y = _y; openFire(); } function move(dirx, diry) { _root.S_yidong.stop("syidong"); _root.S_yidong.start(0, 1); this.dirx = dirx; this.diry = diry; (gotoAndStop((dirx + (diry * 2)) + 3));// not popped xtile = Math.round(x / 16); ytile = Math.round(y / 16); if (dirx) { y = ytile * 16; } if (diry) { x = xtile * 16; } deleteup(); getMyCorners(x, y + (diry * speed)); if (diry == -1) { if (upleft && (upright)) { y = y + (speed * diry); } } if (diry == 1) { if (downleft && (downright)) { y = y + (speed * diry); } } getMyCorners(x + (dirx * speed), y); if (dirx == -1) { if (upleft && (downleft)) { x = x + (speed * dirx); } } if (dirx == 1) { if (upright && (downright)) { x = x + (speed * dirx); } } _x = x; _y = y; xtile = Math.round(x / 16); ytile = Math.round(y / 16); setup(); } function getMyCorners(x, y) { downY = Math.floor(((y + height) - 1) / 16); upY = Math.floor((y - height) / 16); leftX = Math.floor((x - width) / 16); rightX = Math.floor(((x + width) - 1) / 16); upleft = _root.game[(("T_" + upY) + "_") + leftX].checkwalkable(); downleft = _root.game[(("T_" + downY) + "_") + leftX].checkwalkable(); upright = _root.game[(("T_" + upY) + "_") + rightX].checkwalkable(); downright = _root.game[(("T_" + downY) + "_") + rightX].checkwalkable(); } function Fire() { if (canfire && ((getTimer() - starttime) > shoottime)) { starttime = getTimer(); lockFire(); var _local3 = "B_" + name; _root.game.attachMovie("bullet", _local3, 5000 + (id * 4)); _root.game[_local3].init(x, y, dirx, diry, lv, name, shootspeed); return(true); } } function lockFire() { canfire = false; } function openFire() { canfire = true; } function setup() { _root.game[(("T_" + ytile) + "_") + xtile].upOb = "name"; _root.game[(("T_" + (ytile - 1)) + "_") + xtile].upOb = "name"; _root.game[(("T_" + ytile) + "_") + (xtile - 1)].upOb = "name"; _root.game[(("T_" + (ytile - 1)) + "_") + (xtile - 1)].upOb = "name"; } function deleteup() { _root.game[(("T_" + ytile) + "_") + xtile].upOb = ""; _root.game[(("T_" + (ytile - 1)) + "_") + xtile].upOb = ""; _root.game[(("T_" + ytile) + "_") + (xtile - 1)].upOb = ""; _root.game[(("T_" + (ytile - 1)) + "_") + (xtile - 1)].upOb = ""; } }
Symbol 160 MovieClip [__Packages.enemyTank] Frame 0
class enemyTank extends Tank { var dirx, diry, lv, move, onEnterFrame, x, prevx, y, prevy, attachMovie; function enemyTank () { super(); dirx = 0; diry = 1; lv = 1; move(dirx, diry); brain(); } function brain() { onEnterFrame = function () { this.prevx = this.x; this.prevy = this.y; this.move(this.dirx, this.diry); this.Fire(); this.changeturn(); }; } function changeturn() { if ((prevx == x) && (prevy == y)) { var _local2; _local2 = Math.floor(Math.random() * 2); if (_local2 == 0) { _local2 = -1; } if (dirx == 0) { dirx = _local2; diry = 0; } else { dirx = 0; diry = _local2; } } } function setParent() { _root.game.jiangli.removeMovieClip(); haveParent = true; attachMovie("hjiangli", "hjiangli", 1); } function stopBrain() { delete onEnterFrame; } var haveParent = false; }
Symbol 161 MovieClip [__Packages.enemyTank1] Frame 0
class enemyTank1 extends enemyTank { var shootspeed, speed, lv, shoottime; function enemyTank1 () { super(); shootspeed = 6; speed = 3; lv = 1; shoottime = 1000; } }
Symbol 162 MovieClip [__Packages.enemyTank2] Frame 0
class enemyTank2 extends enemyTank { var shootspeed, speed, lv, shoottime; function enemyTank2 () { super(); shootspeed = 8; speed = 5; lv = 1; shoottime = 800; } }
Symbol 163 MovieClip [__Packages.enemyTank3] Frame 0
class enemyTank3 extends enemyTank { var shootspeed, speed, lv, shoottime; function enemyTank3 () { super(); shootspeed = 10; speed = 4; lv = 1; shoottime = 600; } }
Symbol 164 MovieClip [__Packages.enemyTank4] Frame 0
class enemyTank4 extends enemyTank { var speed, lv, distorypower, shoottime, shootspeed; function enemyTank4 () { super(); speed = 2; lv = 1; distorypower = 3; shoottime = 900; shootspeed = 9; } }
Symbol 165 MovieClip [__Packages.myTank] Frame 0
class myTank extends Tank { var id, dirx, diry, gotoAndStop, shoottime; function myTank () { super(); id = 0; dirx = 0; diry = -1; (gotoAndStop((dirx + (diry * 2)) + 3));// not popped shoottime = 0; } }
Symbol 166 MovieClip [__Packages.myTank2] Frame 0
class myTank2 extends myTank { var shootspeed, speed, lv; function myTank2 () { super(); shootspeed = 12; speed = 4; lv = 2; } }
Symbol 167 MovieClip [__Packages.myTank3] Frame 0
class myTank3 extends myTank { var shootspeed, speed, lv; function myTank3 () { super(); shootspeed = 11; speed = 4; lv = 3; } }
Symbol 168 MovieClip [__Packages.jiangLi] Frame 0
class jiangLi extends MovieClip { var id, gotoAndStop, _x, _y, onEnterFrame; function jiangLi () { super(); id = Math.floor(Math.random() * 6) + 1; gotoAndStop(id); var _local3 = Math.floor((Math.random() * 19) + 2); var _local4 = Math.floor((Math.random() * 19) + 2); _x = _local3 * 16; _y = _local4 * 16; makejiangli(); } function makejiangli() { onEnterFrame = function () { if (this.hitTest(_root.game.MT_1)) { _root.S_hit.start(0, 1); switch (this.id) { case 1 : _root.game.MT_1.attachMovie("baohu", "baohu", 1); _root.game.MT_1.baohu.setTime(10000); _root.S_hit2.start(0, 1); break; case 2 : _root.myNumber++; _root.S_jiangli.start(0, 1); break; case 3 : if (_root.myLv < 3) { _root.myLv++; var _local7 = _root.game.MT_1.xtile - 1; var _local8 = _root.game.MT_1.ytile - 1; var _local10 = _root.game.MT_1.dirx; var _local9 = _root.game.MT_1.diry; _root.game.attachMovie("Mtank" + _root.myLv, "MT_1", 3100); _root.game.MT_1.init(_local7, _local8); _root.game.MT_1.move(_local10, _local9); } break; case 4 : var _local4 = 1; while (_local4 <= 20) { if (_root.game["ET_" + _local4] != undefined) { var _local6 = _root.game["ET_" + _local4]._x; var _local5 = _root.game["ET_" + _local4]._y; _root.game["ET_" + _local4].deleteup(); _root.game.attachMovie("baozha", "baozha" + _local4, _root.game["ET_" + _local4].getDepth()); _root.game["baozha" + _local4]._x = _local6; _root.game["baozha" + _local4]._y = _local5; _root.enemyNumber--; _root.draw_enemytank(); } _local4++; } break; case 5 : var starttime = getTimer(); _root.game.createEmptyMovieClip("stopEnemy", 5); _root.game.stopEnemy.onEnterFrame = function () { if ((getTimer() - starttime) < 12000) { var _local3 = 1; while (_local3 <= 20) { if (_root.game["ET_" + _local3] != undefined) { _root.game["ET_" + _local3].stopBrain(); } _local3++; } } else { var _local3 = 1; while (_local3 <= 20) { if (_root.game["ET_" + _local3] != undefined) { _root.game["ET_" + _local3].brain(); } _local3++; } delete this.onEnterFrame; this.removeMovieClip(); } }; break; case 6 : _local4 = 22; while (_local4 < 26) { var _local3 = 10; while (_local3 < 16) { if ((_root.game[(("T_" + _local4) + "_") + _local3].name != "laojia") && (_root.game[(("T_" + _local4) + "_") + _local3].upOb == "")) { _root.game[(("T_" + _local4) + "_") + _local3].init(2, _local4, _local3); } _local3++; } _local4++; } var starttime = getTimer(); _root.game.createEmptyMovieClip("pHome", 6); _root.game.pHome.onEnterFrame = function () { if ((getTimer() - starttime) >= 12000) { var _local4 = 22; while (_local4 < 26) { var _local3 = 10; while (_local3 < 16) { if ((_root.game[(("T_" + _local4) + "_") + _local3].name != "laojia") && (_root.game[(("T_" + _local4) + "_") + _local3].upOb == "")) { _root.game[(("T_" + _local4) + "_") + _local3].init(1, _local4, _local3); } _local3++; } _local4++; } delete this.onEnterFrame; this.removeMovieClip(); } }; } this.removeMovieClip(); } }; } }
Symbol 169 MovieClip [__Packages.baoHu] Frame 0
class baoHu extends MovieClip { var startTime, onEnterFrame; function baoHu () { super(); startTime = getTimer(); } function setTime(time) { onEnterFrame = function () { _root.game.MT_1.distorypower = 5; if ((getTimer() - this.startTime) > time) { _root.game.MT_1.distorypower = 1; this.removeMovieClip(); } }; } }
Symbol 170 MovieClip [__Packages.myTank1] Frame 0
class myTank1 extends myTank { var shootspeed, speed, lv; function myTank1 () { super(); shootspeed = 10; speed = 4; lv = 1; } }

Library Items

Symbol 1 Sound [syidong]
Symbol 2 Sound [sjiangli]
Symbol 3 Sound [shit2]
Symbol 4 Sound [shit]
Symbol 5 Sound [sfashe]Used by:81 142 153
Symbol 6 Sound [sws]Used by:150 152
Symbol 7 BitmapUsed by:8 9 10 11 79 80 138 139 140 141
Symbol 8 GraphicUses:7Used by:12
Symbol 9 GraphicUses:7Used by:12
Symbol 10 GraphicUses:7Used by:12
Symbol 11 GraphicUses:7Used by:12
Symbol 12 MovieClip [Mtank1]Uses:8 9 10 11
Symbol 13 GraphicUsed by:21
Symbol 14 GraphicUsed by:21
Symbol 15 GraphicUsed by:21
Symbol 16 GraphicUsed by:21
Symbol 17 BitmapUsed by:18 19 43 45
Symbol 18 GraphicUses:17Used by:20
Symbol 19 GraphicUses:17Used by:20
Symbol 20 MovieClip [xiaobaozha]Uses:18 19Used by:21
Symbol 21 MovieClip [bullet]Uses:13 14 15 16 20
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24
Symbol 24 MovieClipUses:23Used by:34
Symbol 25 BitmapUsed by:26 79 80 138 139 140 141
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClipUses:26Used by:34
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:34
Symbol 30 BitmapUsed by:31 32
Symbol 31 GraphicUses:30Used by:33
Symbol 32 GraphicUses:30Used by:33
Symbol 33 MovieClipUses:31 32Used by:34
Symbol 34 MovieClip [gametile]Uses:24 27 29 33
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:39
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:39
Symbol 39 MovieClip [home]Uses:36 38
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:42
Symbol 42 MovieClip [Nenemy]Uses:41
Symbol 43 GraphicUses:17Used by:46
Symbol 44 SoundUsed by:46
Symbol 45 GraphicUses:17Used by:46
Symbol 46 MovieClip [baozha]Uses:43 44 45
Symbol 47 BitmapUsed by:48 49 50 51
Symbol 48 GraphicUses:47Used by:52
Symbol 49 GraphicUses:47Used by:52
Symbol 50 GraphicUses:47Used by:52
Symbol 51 GraphicUses:47Used by:52
Symbol 52 MovieClip [Etank1]Uses:48 49 50 51
Symbol 53 BitmapUsed by:55
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:53 54Used by:62
Symbol 56 FontUsed by:57 58
Symbol 57 EditableTextUses:56Used by:62
Symbol 58 EditableTextUses:56Used by:62
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:62
Symbol 61 SoundUsed by:62
Symbol 62 MovieClip [bg]Uses:55 57 58 60 61
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:65
Symbol 65 MovieClip [donghua]Uses:64
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 MovieClip [gameover]Uses:67
Symbol 69 FontUsed by:70
Symbol 70 EditableTextUses:69Used by:82
Symbol 71 FontUsed by:72
Symbol 72 TextUses:71Used by:82
Symbol 73 FontUsed by:74 75
Symbol 74 EditableTextUses:73Used by:82
Symbol 75 EditableTextUses:73Used by:82
Symbol 76 BitmapUsed by:78
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:76 77Used by:82
Symbol 79 GraphicUses:7 25Used by:81
Symbol 80 GraphicUses:7 25Used by:81
Symbol 81 ButtonUses:79 80 5Used by:82
Symbol 82 MovieClip [piantou]Uses:70 72 74 75 78 81
Symbol 83 BitmapUsed by:84 85 86 87
Symbol 84 GraphicUses:83Used by:88
Symbol 85 GraphicUses:83Used by:88
Symbol 86 GraphicUses:83Used by:88
Symbol 87 GraphicUses:83Used by:88
Symbol 88 MovieClip [Etank2]Uses:84 85 86 87
Symbol 89 BitmapUsed by:90 91 92 93
Symbol 90 GraphicUses:89Used by:94
Symbol 91 GraphicUses:89Used by:94
Symbol 92 GraphicUses:89Used by:94
Symbol 93 GraphicUses:89Used by:94
Symbol 94 MovieClip [Etank3]Uses:90 91 92 93
Symbol 95 BitmapUsed by:96 97 98 99 148 149
Symbol 96 GraphicUses:95Used by:100
Symbol 97 GraphicUses:95Used by:100
Symbol 98 GraphicUses:95Used by:100
Symbol 99 GraphicUses:95Used by:100
Symbol 100 MovieClip [Etank4]Uses:96 97 98 99
Symbol 101 BitmapUsed by:102 103 104 105
Symbol 102 GraphicUses:101Used by:106
Symbol 103 GraphicUses:101Used by:106
Symbol 104 GraphicUses:101Used by:106
Symbol 105 GraphicUses:101Used by:106
Symbol 106 MovieClip [Mtank2]Uses:102 103 104 105
Symbol 107 BitmapUsed by:108 109 110 111 151
Symbol 108 GraphicUses:107Used by:112
Symbol 109 GraphicUses:107Used by:112
Symbol 110 GraphicUses:107Used by:112
Symbol 111 GraphicUses:107Used by:112
Symbol 112 MovieClip [Mtank3]Uses:108 109 110 111
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip [hjiangli]Uses:113
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 MovieClipUses:116Used by:133
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:120
Symbol 120 MovieClipUses:119Used by:133
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:123
Symbol 123 MovieClipUses:122Used by:133
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:126
Symbol 126 MovieClipUses:125Used by:133
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:129
Symbol 129 MovieClipUses:128Used by:133
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:132
Symbol 132 MovieClipUses:131Used by:133
Symbol 133 MovieClip [jiangli]Uses:117 120 123 126 129 132
Symbol 134 BitmapUsed by:135 136
Symbol 135 GraphicUses:134Used by:137
Symbol 136 GraphicUses:134Used by:137
Symbol 137 MovieClip [baohu]Uses:135 136
Symbol 138 GraphicUses:7 25Used by:142 153
Symbol 139 GraphicUses:7 25Used by:142 153
Symbol 140 GraphicUses:7 25Used by:142 153
Symbol 141 GraphicUses:7 25Used by:142 153
Symbol 142 ButtonUses:138 139 140 141 5Used by:145
Symbol 143 GraphicUsed by:145
Symbol 144 SoundUsed by:145
Symbol 145 MovieClip [end]Uses:142 143 144
Symbol 146 FontUsed by:147
Symbol 147 EditableTextUses:146Used by:156
Symbol 148 GraphicUses:95Used by:150
Symbol 149 GraphicUses:95Used by:150
Symbol 150 ButtonUses:148 149 6Used by:156
Symbol 151 GraphicUses:107Used by:152
Symbol 152 ButtonUses:151 6Used by:156
Symbol 153 ButtonUses:138 139 140 141 5Used by:156
Symbol 154 FontUsed by:155
Symbol 155 TextUses:154Used by:156
Symbol 156 MovieClip [choice]Uses:147 150 152 153 155
Symbol 157 MovieClip [__Packages.Bullet]
Symbol 158 MovieClip [__Packages.gameTile]
Symbol 159 MovieClip [__Packages.Tank]
Symbol 160 MovieClip [__Packages.enemyTank]
Symbol 161 MovieClip [__Packages.enemyTank1]
Symbol 162 MovieClip [__Packages.enemyTank2]
Symbol 163 MovieClip [__Packages.enemyTank3]
Symbol 164 MovieClip [__Packages.enemyTank4]
Symbol 165 MovieClip [__Packages.myTank]
Symbol 166 MovieClip [__Packages.myTank2]
Symbol 167 MovieClip [__Packages.myTank3]
Symbol 168 MovieClip [__Packages.jiangLi]
Symbol 169 MovieClip [__Packages.baoHu]
Symbol 170 MovieClip [__Packages.myTank1]

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "syidong"
ExportAssets (56)Timeline Frame 1Symbol 2 as "sjiangli"
ExportAssets (56)Timeline Frame 1Symbol 3 as "shit2"
ExportAssets (56)Timeline Frame 1Symbol 4 as "shit"
ExportAssets (56)Timeline Frame 1Symbol 5 as "sfashe"
ExportAssets (56)Timeline Frame 1Symbol 6 as "sws"
ExportAssets (56)Timeline Frame 1Symbol 12 as "Mtank1"
ExportAssets (56)Timeline Frame 1Symbol 20 as "xiaobaozha"
ExportAssets (56)Timeline Frame 1Symbol 21 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 34 as "gametile"
ExportAssets (56)Timeline Frame 1Symbol 39 as "home"
ExportAssets (56)Timeline Frame 1Symbol 42 as "Nenemy"
ExportAssets (56)Timeline Frame 1Symbol 46 as "baozha"
ExportAssets (56)Timeline Frame 1Symbol 20 as "xiaobaozha"
ExportAssets (56)Timeline Frame 1Symbol 52 as "Etank1"
ExportAssets (56)Timeline Frame 1Symbol 62 as "bg"
ExportAssets (56)Timeline Frame 1Symbol 65 as "donghua"
ExportAssets (56)Timeline Frame 1Symbol 68 as "gameover"
ExportAssets (56)Timeline Frame 1Symbol 5 as "sfashe"
ExportAssets (56)Timeline Frame 1Symbol 82 as "piantou"
ExportAssets (56)Timeline Frame 1Symbol 88 as "Etank2"
ExportAssets (56)Timeline Frame 1Symbol 94 as "Etank3"
ExportAssets (56)Timeline Frame 1Symbol 100 as "Etank4"
ExportAssets (56)Timeline Frame 1Symbol 106 as "Mtank2"
ExportAssets (56)Timeline Frame 1Symbol 112 as "Mtank3"
ExportAssets (56)Timeline Frame 1Symbol 114 as "hjiangli"
ExportAssets (56)Timeline Frame 1Symbol 133 as "jiangli"
ExportAssets (56)Timeline Frame 1Symbol 137 as "baohu"
ExportAssets (56)Timeline Frame 1Symbol 5 as "sfashe"
ExportAssets (56)Timeline Frame 1Symbol 145 as "end"
ExportAssets (56)Timeline Frame 1Symbol 6 as "sws"
ExportAssets (56)Timeline Frame 1Symbol 6 as "sws"
ExportAssets (56)Timeline Frame 1Symbol 5 as "sfashe"
ExportAssets (56)Timeline Frame 1Symbol 156 as "choice"
ExportAssets (56)Timeline Frame 1Symbol 157 as "__Packages.Bullet"
ExportAssets (56)Timeline Frame 1Symbol 158 as "__Packages.gameTile"
ExportAssets (56)Timeline Frame 1Symbol 159 as "__Packages.Tank"
ExportAssets (56)Timeline Frame 1Symbol 160 as "__Packages.enemyTank"
ExportAssets (56)Timeline Frame 1Symbol 161 as "__Packages.enemyTank1"
ExportAssets (56)Timeline Frame 1Symbol 162 as "__Packages.enemyTank2"
ExportAssets (56)Timeline Frame 1Symbol 163 as "__Packages.enemyTank3"
ExportAssets (56)Timeline Frame 1Symbol 164 as "__Packages.enemyTank4"
ExportAssets (56)Timeline Frame 1Symbol 165 as "__Packages.myTank"
ExportAssets (56)Timeline Frame 1Symbol 166 as "__Packages.myTank2"
ExportAssets (56)Timeline Frame 1Symbol 167 as "__Packages.myTank3"
ExportAssets (56)Timeline Frame 1Symbol 168 as "__Packages.jiangLi"
ExportAssets (56)Timeline Frame 1Symbol 169 as "__Packages.baoHu"
ExportAssets (56)Timeline Frame 1Symbol 170 as "__Packages.myTank1"
Tag 0x0FF (255)Timeline Frame 11 bytes "."

Labels

"lu"Symbol 34 MovieClip [gametile] Frame 1
"qiang"Symbol 34 MovieClip [gametile] Frame 2
"gangban"Symbol 34 MovieClip [gametile] Frame 3
"shu"Symbol 34 MovieClip [gametile] Frame 4
"shui"Symbol 34 MovieClip [gametile] Frame 5
"laojia"Symbol 34 MovieClip [gametile] Frame 6

Dynamic Text Variables

_root.myNumberSymbol 57 EditableText"10"
_root.gameLvSymbol 58 EditableText"10"
_root.gameLvSymbol 147 EditableText"00"




http://swfchan.com/5/24981/info.shtml
Created: 24/5 -2019 06:55:23 Last modified: 24/5 -2019 06:55:23 Server time: 22/12 -2024 07:26:03