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

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

Tank Assault.swf

This is the info page for
Flash #22317

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


Text
0%

Click Left Button to Back

STORY
Enemy panzers have broken our lines and occupied a city of strategic
importance. As an anti-tank cannon commander you received the order to
destroy the enemy whatever it takes. Enemy tanks come in three weights:
light, medium and heavy, each with its own unique qualities. If you happen
to detect the enemy command car, you must try your hardest to destroy it.
The operation of liberating the city depends on your efforts. Good luck,
commander!

GAME CONTROL
Move mouse in order to move the gun left and right. Use the keys
"Space" or "Enter" to lift up or lower the barrel. Press keys left
mouse button to fire the gun. Use the key "P" to pause or resume the
game.

LEVEL

33

GAME OVER

Click Left Button

C O N G R A T U L A T I O N S!
You have completed Tank
Assault On-Line version.
If you would like to continue
your adventure please
download visit web-site
www.justfreegames.com
and download full version
game for free.

PAUSED

EXTRA-LIFE

9999999

9999999

9999999

ActionScript [AS1/AS2]

Instance of Symbol 5 MovieClip in Frame 2
on (press) { this._parent.more_pressed(); }
Instance of Symbol 12 MovieClip in Frame 2
on (press) { this._parent.more_pressed(); }
Frame 3
stot = this.getBytesTotal(); sloa = this.getBytesLoaded(); if (stot != 0) { per = Math.floor((sloa / stot) * 100); } else { per = 0; } mc_bar.mc._x = mc_bar.mc._width * (-1 + (sloa / stot)); txtPer = String(per) + "%"; if (((sloa >= 1) && (stot >= 1)) && (sloa == stot)) { gotoAndStop ("main"); inMenuFirst(); } else { gotoAndPlay (2); }
Instance of Symbol 148 MovieClip "mc_sloop" in Frame 5
onClipEvent (load) { var soundControl = new Sound(this); }
Instance of Symbol 153 MovieClip "btn_sound" in Frame 5
onClipEvent (load) { if (this._parent.stopSoundFlag) { this.gotoAndStop(2); } }
Frame 7
this.stop();
Instance of Symbol 21 MovieClip "mc_control" in Frame 7
onClipEvent (load) { this._parent.startGameInit(); } onClipEvent (enterFrame) { this._parent.processGame(); } onClipEvent (keyDown) { this._parent.keyPressed(); updateAfterEvent(); } onClipEvent (mouseUp) { this._parent.myMouseUp(); updateAfterEvent(); } onClipEvent (mouseDown) { this._parent.myMouseDown(); updateAfterEvent(); }
Symbol 1 MovieClip Frame 1
#initclip 4 function soundOff() { mc_sloop.gotoAndStop(3); stopSoundFlag = true; } function soundOn() { mc_sloop.gotoAndStop(2); stopSoundFlag = false; } function new_game_pressed() { gameStart(); } function how_to_play_pressed() { this.gotoAndStop("rules"); } function more_pressed() { getURL ("http://www.justfreegames.com?r1=F&r2=TA&WT.mc_id=FlashTankAssault", "_blank"); } function back_pressed() { playSnd("lib_snd_menuEnter"); this.gotoAndStop("main"); } function inMenuFirst() { mc_sloop.gotoAndStop(2); } function gameStart() { _quality = "MEDIUM"; scores = 0; bonusScores = 0; playerLifes = playerStartLifes; level = 0; nextLevel(); } function nextLevel() { level++; this.gotoAndStop("reset"); this.gotoAndStop("game"); } function newGame() { _quality = "HIGH"; this.gotoAndStop("main"); } function playSnd(lib_snd) { s = new Sound(this); s.attachSound(lib_snd); s.start(); } function startGameInit() { lastTimer = getTimer(); addTankTime = 0; tankCounter = 0; shotCounter = 0; dirtCounter = 0; road_mc[0] = mc_tanks1; road_mc[1] = mc_tanks2; road_mc[2] = mc_tanks3; road_top[0] = (road_top[1] = (road_top[2] = null)); curTanksOnScreen = 0; mc_cannon.init(mc_gunView); mc_cannon.toMove(); sndLife = false; sndCar = false; sndGun = false; sndExplo = false; sndMiss = false; levelInit(lastTimer); addScores(0); updatePlayerLifes(); updateTanksCount(); gameState = 1; } function processGame() { var _local7; var _local5; _local7 = getTimer(); _local5 = _local7 - lastTimer; txtFps = 1 / (_local5 / 1000); lastTimer = _local7; var _local2; var _local3; var _local6; var _local4; if (gameState == 4) { return(undefined); } addTankTime = addTankTime + _local5; if (showMessageF && ((_local7 - startLevelTime) > showLevelPause)) { mc_ndp.gotoAndStop("stEmpty"); mc_ndp._visible = false; showMessageF = false; } if (lifeMessFlag && (gameState == 1)) { lifeMessTimer = lifeMessTimer - _local5; if (lifeMessTimer <= 0) { mc_ndp.gotoAndStop("stEmpty"); mc_ndp._visible = false; lifeMessFlag = false; } } mc_cannon.move(_xmouse, _local5); if (Key.isDown(1) && (mc_cannon.canShot())) { sndGun = true; mc_cannon.doShot(); cannonDoShot(); } if (mc_cannon.isDead() && (gameState == 1)) { curDieTime = curDieTime + _local5; if (curDieTime >= diePause) { newLife(); return(undefined); } } else if (((curTanksOnScreen < maxTanksOnScreen) && (gameState == 1)) && (tanksOnLevel > 0)) { checkAddTank(); } _local6 = 1; while (_local6 <= 3) { _local4 = this["mc_tanks" + _local6]; for (_local3 in _local4) { _local2 = _local4[_local3]; _local2.move(_local5); if (_local2.isCanShot()) { enemyDoShot(_local2); } if (_local2.state == 0) { if (_local2.isBoomed && (!mc_cannon.isDead())) { decrementLevelTanks(_local7); } popTankFromList(_local2); destroyTank(_local2); } } _local6++; } for (_local3 in mc_pshots) { _local2 = mc_pshots[_local3]; _local2.move(_local5); if (_local2.endMoveFlag) { if (!checkTanksHit(_local2._x, _local2.roadNum)) { doDirtBoomOnRoad(_local2._x, _local2.roadNum); } _local2.destroy(); } } for (_local3 in mc_eshots) { _local2 = mc_eshots[_local3]; _local2.move(_local5); if (_local2.endMoveFlag) { if ((!mc_cannon.isDead()) && (checkBoomCannon(_local2))) { doCannonBoom(); } else { doEnemyDirtBoom(_local2._x); } _local2.destroy(); } } if (((level == maxLevel) && (tanksOnLevel <= 0)) && (curTanksOnScreen <= 0)) { toWin(); } if (sndLife) { sndLife = false; sndCar = false; sndGun = false; sndExplo = false; sndMiss = false; if (!stopSoundFlag) { playSnd("lib_snd_life"); } } else if (sndCar) { sndCar = false; sndGun = false; sndExplo = false; sndMiss = false; if (!stopSoundFlag) { playSnd("lib_snd_car"); } } else if (sndGun) { sndGun = false; sndExplo = false; sndMiss = false; if (!stopSoundFlag) { playSnd("lib_snd_gun"); } } else if (sndExplo) { sndExplo = false; sndMiss = false; if (!stopSoundFlag) { playSnd("lib_snd_explo"); } } else if (sndMiss) { sndMiss = false; if (!stopSoundFlag) { playSnd("lib_snd_miss"); } } } function keyPressed() { if (gameState == 1) { if (Key.isDown(80)) { gameState = 4; showMessageF = false; lifeMessFlag = false; mc_ndp.gotoAndStop("stPause"); mc_ndp._visible = true; return(undefined); } if (mc_cannon.isDead()) { return(undefined); } if (Key.isDown(40)) { mc_cannon.viewDown(); } else if (Key.isDown(38)) { mc_cannon.viewUp(); } else if (Key.isDown(32) || (Key.isDown(13))) { mc_cannon.viewNext(); } } else if (gameState == 4) { if (Key.isDown(80)) { gameState = 1; mc_ndp.gotoAndStop("stEmpty"); mc_ndp._visible = false; } } } function myMouseUp() { if (gameState == 2) { newGame(); } else if (gameState == 3) { newGame(); } } function myMouseDown() { if (gameState == 2) { playSnd("lib_snd_menuEnter"); } else if (gameState == 3) { playSnd("lib_snd_menuEnter"); } } function levelInit(curTime) { addTankPeriod = Math.round(3000 * (1 - (0.02 * (level - 1)))); CTank.pauseBaseTime = Math.round(7000 * (1 - (0.02 * (level - 1)))); commanderSpeed = 40 * (1 + (0.02 * (level - 1))); tankSpeed = 20 * (1 + (0.02 * (level - 1))); enemyShotSpeed = enemyStartShotSpeed * (1 + (0.02 * (level - 1))); if (saveTanks == 0) { tanksOnLevel = 10 + (5 * (level - 1)); commanderTankCount = Math.round(tanksOnLevel * (0.2 + (0.8 * Math.random()))); commanderFlag = false; commanderOutFlag = false; } else { tanksOnLevel = saveTanks; saveTanks = 0; } mc_ndp.gotoAndStop("stLevel"); mc_ndp._visible = true; startLevelTime = curTime; showMessageF = true; mc_ndp.mc.mc1.txt = (mc_ndp.mc.mc2.txt = level); mc_ndp.mc.mc3.txt = (mc_ndp.mc.mc4.txt = (mc_ndp.mc.mc5.txt = level)); lifeMessFlag = false; } function destroyTank(tank) { tank.destroy(); curTanksOnScreen--; } function pushTankToList(tank, rNum) { tank.next = road_top[rNum]; tank.prev = null; if (road_top[rNum] != null) { road_top[rNum].prev = tank; } road_top[rNum] = tank; } function popTankFromList(tank) { var _local2 = tank.roadNum; if (road_top[_local2] == tank) { road_top[_local2] = tank.next; } if (tank.prev != null) { tank.prev.next = tank.next; } if (tank.next != null) { tank.next.prev = tank.prev; } } function checkAddTank() { if (addTankTime >= addTankPeriod) { if (tryAddCommander() == false) { if (addTank()) { curTanksOnScreen++; addTankTime = 0; } } else { curTanksOnScreen++; addTankTime = 0; } } } function addTank() { var _local1; var _local2; var _local3; var _local4; _local1 = Math.floor(2.999999 * Math.random()); _local3 = false; _local2 = 0; while (_local2 < 3) { if ((((!commanderFlag) || (commanderRoad != _local1)) && (road_top[_local1] == null)) || (road_top[_local1].goFlag)) { _local3 = true; break; } _local1++; if (_local1 == 3) { _local1 = 0; } _local2++; } if (!_local3) { return(false); } _local4 = 100 * Math.random(); if (_local4 <= prob_array[level - 1][0]) { addMech(1, _local1); } else if (_local4 <= (prob_array[level - 1][0] + prob_array[level - 1][1])) { addMech(2, _local1); } else { addMech(3, _local1); } return(true); } function tryAddCommander() { var _local4; var _local3; var _local2; var _local1; if (commanderOutFlag) { return(false); } if (!commanderFlag) { if (tanksOnLevel < commanderTankCount) { commanderFlag = true; } else { return(false); } _local4 = 0; _local3 = -1; _local1 = 0; while (_local1 < 3) { if (road_top[_local1] == null) { _local3 = _local1; break; } _local2 = road_top[_local1].getDist(); if (_local2 > _local4) { _local4 = _local2; _local3 = _local1; } _local1++; } if (_local3 == -1) { commanderRoad = Math.floor(2.999999 * Math.random()); } else { commanderRoad = _local3; } } if (commanderFlag) { if ((road_top[commanderRoad] == null) || (road_top[commanderRoad].getDist() > 250)) { sndCar = true; addCommander(); return(true); } } return(false); } function addCommander() { commanderOutFlag = true; commanderFlag = false; addMech(0, commanderRoad); } function addMech(mechType, roadNum) { var _local4 = this["mc_tanks" + (roadNum + 1)]; var _local2; switch (mechType) { case 0 : _local2 = _local4.attachMovie("lib_commander", "" + tankCounter, tankCounter); _local2.init(mechType, commanderSpeed, roadNum); break; case 1 : _local2 = _local4.attachMovie("lib_light", "" + tankCounter, tankCounter); _local2.init(mechType, tankSpeed, roadNum); break; case 2 : _local2 = _local4.attachMovie("lib_medium", "" + tankCounter, tankCounter); _local2.init(mechType, tankSpeed, roadNum); break; case 3 : _local2 = _local4.attachMovie("lib_heavy", "" + tankCounter, tankCounter); _local2.init(mechType, tankSpeed, roadNum); break; default : trace("BUG! BUG! BUG!"); } pushTankToList(_local2, roadNum); tankCounter++; if (tankCounter >= 1000) { tankCounter = 0; } } function cannonDoShot() { var _local2; var _local1 = {x:mc_cannon.mc.point._x, y:mc_cannon.mc.point._y}; mc_cannon.mc.localToGlobal(_local1); mc_cannon._parent.globalToLocal(_local1); _local2 = mc_pshots.attachMovie("lib_shot", "" + shotCounter, shotCounter); _local2.init(playerShotSpeed); _local2.startToRoad(mc_cannon.getCurRoad(), _local1.x, _local1.y); shotCounter++; if (shotCounter >= 1000) { shotCounter = 0; } } function enemyDoShot(tank) { var _local4; var _local1 = {x:tank.point._x, y:tank.point._y}; var _local2; tank.localToGlobal(_local1); tank._parent.globalToLocal(_local1); _local4 = mc_eshots.attachMovie("lib_shot", "" + shotCounter, shotCounter); _local4.init(enemyShotSpeed); _local2 = mc_cannon._x; if (Math.random() > 0.7) { if (_local2 > 275) { _local2 = _local2 - (150 * Math.random()); } else { _local2 = _local2 + (150 * Math.random()); } } _local4.startToCannon(mc_cannon.getCurRoad(), _local1.x, _local1.y, _local2); shotCounter++; if (shotCounter >= 1000) { shotCounter = 0; } tank.shotFlag = false; } function checkBoomCannon(mc) { return(Math.abs(mc._x - mc_cannon._x) <= 46); } function doCannonBoom() { curDieTime = 0; mc_cannon.boom(); doFireBoom(mc_cannon._x, mc_cannon._y - 30, 160, mc_eboom); playerLifes--; if (playerLifes <= 0) { toGameOver(); } updatePlayerLifes(); } function doEnemyDirtBoom(x) { doDirtBoom(x, 400, 100, mc_edirt); } function doDirtBoomOnRoad(x, roadNum) { doDirtBoom(x, CTank.road_y[roadNum] + 12, CTank.road_scale[roadNum] * 0.5, mc_pdirt); } function doDirtBoom(x, y, scale, mc_dirt) { sndMiss = true; var _local1 = mc_dirt.attachMovie("lib_dirt_boom", "" + dirtCounter, dirtCounter); _local1._x = x; _local1._y = y; _local1._xscale = (_local1._yscale = scale); dirtCounter++; if (dirtCounter > 1000) { dirtCounter = 0; } } function doFireBoom(x, y, scale, mc_boom) { var _local1 = mc_boom.attachMovie("lib_boom", "" + dirtCounter, dirtCounter); _local1._x = x; _local1._y = y; _local1._xscale = (_local1._yscale = scale); dirtCounter++; if (dirtCounter > 1000) { dirtCounter = 0; } } function checkTanksHit(x, roadNum) { var _local3 = this["mc_tanks" + (roadNum + 1)]; var _local5; var _local2; for (_local5 in _local3) { _local2 = _local3[_local5]; if (_local2.isNotDead() && (Math.abs(_local2._x - x) <= (_local2._width / 2))) { if (_local2.toBoom()) { sndExplo = true; doFireBoom(_local2._x, _local2._y, CTank.road_scale[roadNum], mc_pdirt); } else { sndExplo = true; doFireBoom(_local2._x, _local2._y, 0.7 * CTank.road_scale[roadNum], mc_pdirt); } if (_local2.isCar()) { addScores(scrCommander); } else { addScores(scrBoom); } return(true); } } return(false); } function updatePlayerLifes() { mc_lives.txt = playerLifes; } function addScores(n) { scores = scores + n; bonusScores = bonusScores + n; if (bonusScores > lifeScores) { bonusScores = bonusScores - lifeScores; if (playerLifes < playerMaxLifes) { sndLife = true; playerLifes++; updatePlayerLifes(); lifeMessFlag = true; lifeMessTimer = lifeMessSTime; mc_ndp.gotoAndStop("stLife"); mc_ndp._visible = true; } } mc_scores.txt = scores; } function newLife() { saveTanks = tanksOnLevel; this.gotoAndStop("reset"); this.gotoAndStop("game"); } function decrementLevelTanks(curTime) { tanksOnLevel--; if (tanksOnLevel <= 0) { if (level == maxLevel) { } else { level++; levelInit(curTime); } } updateTanksCount(); } function updateTanksCount() { mc_tanks.txt = tanksOnLevel; } function toWin() { mc_ndp.gotoAndStop("stGameWin"); mc_ndp._visible = true; gameState = 3; } function toGameOver() { mc_ndp.gotoAndStop("stGameOver"); mc_ndp._visible = true; gameState = 2; } var author = "programming by Galimov Ruslan, rigal@mail.ru"; var copyright = "www.sunnygames.com"; var lastTimer; var level; var stopSoundFlag = false; var maxLevel = 15; var gameState; var tankCounter; var shotCounter; var dirtCounter; var scores; var bonusScores; var lifeScores = 1000; var scrBoom = 10; var scrCommander = 300; var playerLifes; var playerStartLifes = 3; var playerMaxLifes = 9; var playerShotSpeed = 135; var enemyShotSpeed; var enemyStartShotSpeed = 100; var sndLife; var sndCar; var sndGun; var sndExplo; var sndMiss; var curDieTime; var diePause = 3000; var startLevelTime; var showLevelPause = 3000; var showMessageF; var lifeMessFlag; var lifeMessTimer; var lifeMessSTime = 2500; var road_mc = [null, null, null]; var road_top = [null, null, null]; var addTankPeriod = 3000; var addTankTime; var prob_array = [[100, 0, 0], [90, 10, 0], [70, 30, 0], [60, 20, 10], [50, 30, 20], [40, 40, 20], [40, 30, 30], [40, 30, 30], [30, 40, 30], [30, 30, 40], [30, 30, 40], [30, 30, 40], [20, 30, 50], [20, 30, 50], [10, 30, 60]]; var commanderSpeed; var tankSpeed; var maxTanksOnScreen = 7; var curTanksOnScreen = 0; var tanksOnLevel; var saveTanks = 0; var commanderTankCount; var commanderRoad; var commanderFlag; var commanderOutFlag; #endinitclip
Symbol 198 MovieClip [__Packages.CTank] Frame 0
class CTank extends MovieClip { static var pauseBaseTime; var myType, speed, roadNum, dir, _xscale, _yscale, myRad, _width, _x, _y, next, prev, state, lifeCount, pauseTime, curTime, shotFlag, goFlag, isBoomed, gotoAndStop, _visible, removeMovieClip; function CTank () { super(); } function init(type_, speed_, roadNum_) { myType = type_; speed = speed_; roadNum = roadNum_; dir = road_dir[roadNum]; _xscale = ((_yscale = road_scale[roadNum])) * dir; myRad = _width / 2; if (dir == 1) { _x = road_x1[roadNum] - myRad; } else { _x = road_x2[roadNum] + myRad; } _y = road_y[roadNum]; next = (prev = null); state = 1; if (myType == 3) { lifeCount = 2; } else { lifeCount = 1; } pauseTime = pauseBaseTime * (0.5 + (0.8 * Math.random())); curTime = 0; shotFlag = false; goFlag = false; isBoomed = false; } function isCar() { return(myType == 0); } function isCanShot() { return((shotFlag && (state == 1)) && (myType > 0)); } function move(dTime) { if (state == 1) { var _local2 = (speed * dTime) / 1000; if (dir == 1) { _x = _x + _local2; if ((next != null) && ((_x + myRad) > (next._x - next.myRad))) { _x = (next._x - next.myRad) - myRad; } if (_x > (road_x2[roadNum] + myRad)) { endMove(); } else if ((_x > road_x1[roadNum]) && (_x < (road_x2[roadNum] - myRad))) { if (!goFlag) { goFlag = true; } if (((curTime = curTime + dTime)) >= pauseTime) { doShot(); } } } else { _x = _x - _local2; if ((next != null) && ((_x - myRad) < (next._x + next.myRad))) { _x = (next._x + next.myRad) + myRad; } if (_x < (road_x1[roadNum] - myRad)) { endMove(); } else if ((_x > (road_x1[roadNum] + myRad)) && (_x < road_x2[roadNum])) { if (!goFlag) { goFlag = true; } if (((curTime = curTime + dTime)) >= pauseTime) { doShot(); } } } } else if (state == 2) { if (((curTime = curTime + dTime)) >= boomTime) { endMove(); } } } function toBoom() { lifeCount--; if (lifeCount > 0) { return(false); } isBoomed = true; if (state == 2) { endMove(); return(true); } if (myType < 2) { endMove(); } else { curTime = 0; state = 2; gotoAndStop("st2"); } return(true); } function getDist() { if (dir == 1) { return(_x - road_x1[roadNum]); } return(road_x2[roadNum] - _x); } function endMove() { _visible = false; state = 0; gotoAndStop("st0"); } function doShot() { shotFlag = true; pauseTime = pauseBaseTime * (0.8 + (0.5 * Math.random())); curTime = 0; } function isNotDead() { return(state > 0); } function destroy() { removeMovieClip(); } static var road_x1 = [82, 0, 27]; static var road_x2 = [469, 513, 533]; static var road_y = [178, 124, 79]; static var road_scale = [100, 80, 70]; static var road_dir = [1, -1, 1]; static var boomTime = 15000; }
Symbol 199 MovieClip [__Packages.CShot] Frame 0
class CShot extends MovieClip { var speed, endMoveFlag, dir, _y, _xscale, _yscale, scaleK, startY, endY, _x, dx, dy, roadNum, endX, removeMovieClip; function CShot () { super(); } function init(speed_) { speed = speed_; endMoveFlag = false; } function move(dTime) { var _local2 = (dTime * speed) / 1000; if (dir == 1) { _y = _y - _local2; _xscale = (_yscale = 80 - ((startY - _y) * scaleK)); if (_y < endY) { _y = endY; endMove(); } } else { _x = _x + (_local2 * dx); _y = _y + (_local2 * dy); _xscale = (_yscale = 80 - ((endY - _y) * scaleK)); if (_y > endY) { _y = endY; endMove(); } } } function endMove() { endMoveFlag = true; } function startToRoad(roadNum_, sX, sY) { roadNum = roadNum_; _x = sX; _y = sY; startY = sY; endY = road_y[roadNum] + 10; dir = 1; scaleK = (80 - (road_scale[roadNum] / 2)) / (startY - endY); } function startToCannon(roadNum_, sX, sY, eX) { roadNum = roadNum_; _x = sX; _y = sY; startY = sY; endX = eX; endY = rHeight; dir = -1; dx = endX - sX; dy = endY - sY; var _local2 = Math.sqrt((dx * dx) + (dy * dy)); dx = dx / _local2; dy = dy / _local2; _xscale = (_yscale = road_scale[roadNum] / 2); scaleK = (80 - (road_scale[roadNum] / 2)) / (endY - _y); } function destroy() { removeMovieClip(); } static var rHeight = 400; static var road_y = CTank.road_y; static var road_scale = CTank.road_scale; }
Symbol 200 MovieClip [__Packages.CCannon] Frame 0
class CCannon extends MovieClip { var mc_gunView, curDelayTime, curView, state, gotoAndStop, mc, _x, gotoAndPlay; function CCannon () { super(); } function init(mc_gunView_) { mc_gunView = mc_gunView_; curDelayTime = delayTime; curView = 1; state = 0; } function reinit() { gotoAndStop(1); mc.gotoAndStop(1); mc_gunView.gotoAndStop(1); curView = 1; _x = rWidth / 2; state = 0; } function move(x, dTime) { var _local3 = Math.abs(x - _x); var _local2 = (speed * dTime) / 1000; if (state == 1) { if (_local3 <= _local2) { _x = x; } else if (x > _x) { _x = _x + _local2; } else { _x = _x - _local2; } if (_x < consrtX) { _x = consrtX; } else if (_x > (rWidth - consrtX)) { _x = rWidth - consrtX; } curDelayTime = curDelayTime + dTime; } } function canShot() { return((state != 2) && (curDelayTime >= delayTime)); } function doShot() { curDelayTime = 0; gotoAndPlay(2); } function toMove() { state = 1; } function boom() { state = 2; gotoAndStop(1); mc.gotoAndStop(4); } function viewUp() { curView++; if (curView > 3) { curView = 3; } else { mc.gotoAndStop(curView); mc_gunView.gotoAndStop(curView); } } function viewDown() { curView--; if (curView < 1) { curView = 1; } else { mc.gotoAndStop(curView); mc_gunView.gotoAndStop(curView); } } function viewNext() { curView++; if (curView > 3) { curView = 1; } mc.gotoAndStop(curView); mc_gunView.gotoAndStop(curView); } function getCurRoad() { return(curView - 1); } function isDead() { return(state == 2); } static var rWidth = 550; static var consrtX = 90; static var delayTime = 1300; static var speed = 600; }
Symbol 18 MovieClip [lib_commander] Frame 1
#initclip 9 Object.registerClass("lib_commander", CTank); #endinitclip this.stop();
Symbol 22 MovieClip [lib_light] Frame 1
#initclip 5 Object.registerClass("lib_light", CTank); #endinitclip this.stop();
Symbol 49 MovieClip Frame 14
gotoAndPlay (1);
Symbol 50 MovieClip [lib_medium] Frame 1
#initclip 6 Object.registerClass("lib_medium", CTank); #endinitclip this.stop();
Symbol 55 MovieClip [lib_heavy] Frame 1
#initclip 7 Object.registerClass("lib_heavy", CTank); #endinitclip this.stop();
Symbol 57 MovieClip [lib_shot] Frame 1
#initclip 8 Object.registerClass("lib_shot", CShot); #endinitclip
Symbol 78 MovieClip [lib_dirt_boom] Frame 11
this.removeMovieClip();
Symbol 120 MovieClip [lib_boom] Frame 23
this.removeMovieClip();
Symbol 136 Button
on (release) { gameStart(); }
Symbol 141 Button
on (release) { how_to_play_pressed(); }
Symbol 146 Button
on (release) { more_pressed(); }
Symbol 148 MovieClip Frame 1
stop();
Symbol 150 Button
on (press) { this._parent.soundOff(); this.gotoAndStop(2); }
Symbol 152 Button
on (press) { this._parent.soundOn(); this.gotoAndStop(1); }
Symbol 153 MovieClip Frame 1
this.stop();
Symbol 154 Button
on (release) { back_pressed(); }
Symbol 173 MovieClip Frame 1
this.stop();
Symbol 174 MovieClip [lib_cannon] Frame 1
#initclip 10 Object.registerClass("lib_cannon", CCannon); #endinitclip this.stop();
Symbol 181 MovieClip Frame 1
this.stop();
Symbol 190 Button
on (press) { this._parent.more_pressed(); }
Symbol 193 MovieClip Frame 1
this.stop();

Library Items

Symbol 1 MovieClipUsed by:Timeline
Symbol 198 MovieClip [__Packages.CTank]
Symbol 199 MovieClip [__Packages.CShot]
Symbol 200 MovieClip [__Packages.CCannon]
Symbol 2 GraphicUsed by:Timeline
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:Timeline
Symbol 8 FontUsed by:9
Symbol 9 EditableTextUses:8Used by:Timeline
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 GraphicUsed by:14 150 152
Symbol 14 MovieClipUses:13Used by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:18
Symbol 18 MovieClip [lib_commander]Uses:17Used by:Timeline
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:22
Symbol 21 MovieClipUsed by:22 50 55 173  Timeline
Symbol 22 MovieClip [lib_light]Uses:20 21Used by:Timeline
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:50
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:50
Symbol 27 BitmapUsed by:31 37 39 41 43 45 47
Symbol 28 BitmapUsed by:31 37 39 41 43 45 47
Symbol 29 BitmapUsed by:31 37 39 41 43 45 47
Symbol 30 BitmapUsed by:31 37 39 41 43 45 47
Symbol 31 GraphicUses:27 28 29 30Used by:49
Symbol 32 BitmapUsed by:36 38 40 42 44 46 48
Symbol 33 BitmapUsed by:36 38 40 42 44 46 48
Symbol 34 BitmapUsed by:36 38 40 42 44 46 48
Symbol 35 BitmapUsed by:36 38 40 42 44 46 48
Symbol 36 GraphicUses:32 33 34 35Used by:49
Symbol 37 GraphicUses:28 29 30 27Used by:49
Symbol 38 GraphicUses:33 34 35 32Used by:49
Symbol 39 GraphicUses:29 30 27 28Used by:49
Symbol 40 GraphicUses:34 35 32 33Used by:49
Symbol 41 GraphicUses:30 27 28 29Used by:49
Symbol 42 GraphicUses:35 32 33 34Used by:49
Symbol 43 GraphicUses:27 28 29 30Used by:49
Symbol 44 GraphicUses:32 33 34 35Used by:49
Symbol 45 GraphicUses:28 29 30 27Used by:49
Symbol 46 GraphicUses:33 34 35 32Used by:49
Symbol 47 GraphicUses:29 30 27 28Used by:49
Symbol 48 GraphicUses:34 35 32 33Used by:49
Symbol 49 MovieClipUses:31 36 37 38 39 40 41 42 43 44 45 46 47 48Used by:50 55
Symbol 50 MovieClip [lib_medium]Uses:24 21 26 49Used by:Timeline
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:55
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:55
Symbol 55 MovieClip [lib_heavy]Uses:52 21 54 49Used by:Timeline
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip [lib_shot]Uses:56Used by:Timeline
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:78
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:78
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:78
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:78
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:78
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:78
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:78
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:78
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:78
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:78
Symbol 78 MovieClip [lib_dirt_boom]Uses:59 61 63 65 67 69 71 73 75 77Used by:Timeline
Symbol 79 BitmapUsed by:80 81 82 83
Symbol 80 GraphicUses:79Used by:120
Symbol 81 GraphicUses:79Used by:120
Symbol 82 GraphicUses:79Used by:120
Symbol 83 GraphicUses:79Used by:120
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:120
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:120
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:120
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:120
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:120
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:120
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:120
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:120
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:120
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:120
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:120
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:120
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:120
Symbol 110 BitmapUsed by:111
Symbol 111 GraphicUses:110Used by:120
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:120
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:120
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:120
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:120
Symbol 120 MovieClip [lib_boom]Uses:80 81 82 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 119Used by:Timeline
Symbol 121 Sound [lib_snd_life]Used by:127
Symbol 122 Sound [lib_snd_gun]Used by:127
Symbol 123 Sound [lib_snd_miss]Used by:127
Symbol 124 Sound [lib_snd_menuEnter]Used by:127 136 141 146
Symbol 125 Sound [lib_snd_explo]Used by:127
Symbol 126 Sound [lib_snd_car]Used by:127
Symbol 127 MovieClipUses:121 122 123 124 125 126Used by:Timeline
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:154  Timeline
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:136
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:136
Symbol 134 GraphicUsed by:136 141 146 174 190
Symbol 135 SoundUsed by:136 141 146 150 152
Symbol 136 ButtonUses:131 133 134 135 124Used by:Timeline
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:141
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:141
Symbol 141 ButtonUses:138 140 134 135 124Used by:Timeline
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:146
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:146
Symbol 146 ButtonUses:143 145 134 135 124Used by:Timeline
Symbol 147 SoundUsed by:148
Symbol 148 MovieClipUses:147Used by:Timeline
Symbol 149 GraphicUsed by:150
Symbol 150 ButtonUses:149 13 135Used by:153
Symbol 151 GraphicUsed by:152
Symbol 152 ButtonUses:151 13 135Used by:153
Symbol 153 MovieClipUses:150 152Used by:Timeline
Symbol 154 ButtonUses:129Used by:Timeline
Symbol 155 FontUsed by:156 182 183 186 187 189 191 192 194 195 196
Symbol 156 TextUses:155Used by:Timeline
Symbol 157 FontUsed by:158 159
Symbol 158 TextUses:157Used by:Timeline
Symbol 159 TextUses:157Used by:Timeline
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:160Used by:Timeline
Symbol 162 GraphicUsed by:Timeline
Symbol 163 GraphicUsed by:Timeline
Symbol 164 GraphicUsed by:Timeline
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:173
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:173
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:173
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:173
Symbol 173 MovieClipUses:166 21 168 170 172Used by:174
Symbol 174 MovieClip [lib_cannon]Uses:134 173Used by:Timeline
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:175Used by:181
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:181
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:181
Symbol 181 MovieClipUses:176 178 180Used by:Timeline
Symbol 182 TextUses:155Used by:193
Symbol 183 EditableTextUses:155Used by:184
Symbol 184 MovieClipUses:183Used by:185
Symbol 185 MovieClipUses:184Used by:193
Symbol 186 TextUses:155Used by:193
Symbol 187 TextUses:155Used by:193
Symbol 188 GraphicUsed by:193
Symbol 189 TextUses:155Used by:193
Symbol 190 ButtonUses:134Used by:193
Symbol 191 TextUses:155Used by:193
Symbol 192 TextUses:155Used by:193
Symbol 193 MovieClipUses:182 185 186 187 188 189 190 191 192Used by:Timeline
Symbol 194 EditableTextUses:155Used by:197
Symbol 195 EditableTextUses:155Used by:197
Symbol 196 EditableTextUses:155Used by:197
Symbol 197 MovieClipUses:194 195 196Used by:Timeline

Instance Names

"mc_bar"Frame 2Symbol 15 MovieClip
"mc_sloop"Frame 5Symbol 148 MovieClip
"btn_sound"Frame 5Symbol 153 MovieClip
"mc_tanks1"Frame 7Symbol 21 MovieClip
"mc_tanks2"Frame 7Symbol 21 MovieClip
"mc_tanks3"Frame 7Symbol 21 MovieClip
"mc_pdirt"Frame 7Symbol 21 MovieClip
"mc_eshots"Frame 7Symbol 21 MovieClip
"mc_pshots"Frame 7Symbol 21 MovieClip
"mc_edirt"Frame 7Symbol 21 MovieClip
"mc_cannon"Frame 7Symbol 174 MovieClip [lib_cannon]
"mc_gunView"Frame 7Symbol 181 MovieClip
"mc_eboom"Frame 7Symbol 21 MovieClip
"mc_ndp"Frame 7Symbol 193 MovieClip
"mc_lives"Frame 7Symbol 197 MovieClip
"mc_scores"Frame 7Symbol 197 MovieClip
"mc_tanks"Frame 7Symbol 197 MovieClip
"mc_control"Frame 7Symbol 21 MovieClip
"mc"Symbol 15 MovieClip Frame 1Symbol 14 MovieClip
"point"Symbol 22 MovieClip [lib_light] Frame 1Symbol 21 MovieClip
"point"Symbol 50 MovieClip [lib_medium] Frame 1Symbol 21 MovieClip
"point"Symbol 55 MovieClip [lib_heavy] Frame 1Symbol 21 MovieClip
"point"Symbol 173 MovieClip Frame 1Symbol 21 MovieClip
"mc"Symbol 174 MovieClip [lib_cannon] Frame 1Symbol 173 MovieClip
"mc5"Symbol 185 MovieClip Frame 1Symbol 184 MovieClip
"mc4"Symbol 185 MovieClip Frame 1Symbol 184 MovieClip
"mc3"Symbol 185 MovieClip Frame 1Symbol 184 MovieClip
"mc2"Symbol 185 MovieClip Frame 1Symbol 184 MovieClip
"mc1"Symbol 185 MovieClip Frame 1Symbol 184 MovieClip
"mc"Symbol 193 MovieClip Frame 1Symbol 185 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 198 as "__Packages.CTank"
ExportAssets (56)Timeline Frame 1Symbol 199 as "__Packages.CShot"
ExportAssets (56)Timeline Frame 1Symbol 200 as "__Packages.CCannon"
ExportAssets (56)Timeline Frame 4Symbol 18 as "lib_commander"
ExportAssets (56)Timeline Frame 4Symbol 22 as "lib_light"
ExportAssets (56)Timeline Frame 4Symbol 50 as "lib_medium"
ExportAssets (56)Timeline Frame 4Symbol 55 as "lib_heavy"
ExportAssets (56)Timeline Frame 4Symbol 57 as "lib_shot"
ExportAssets (56)Timeline Frame 4Symbol 78 as "lib_dirt_boom"
ExportAssets (56)Timeline Frame 4Symbol 120 as "lib_boom"
ExportAssets (56)Timeline Frame 4Symbol 121 as "lib_snd_life"
ExportAssets (56)Timeline Frame 4Symbol 122 as "lib_snd_gun"
ExportAssets (56)Timeline Frame 4Symbol 123 as "lib_snd_miss"
ExportAssets (56)Timeline Frame 4Symbol 124 as "lib_snd_menuEnter"
ExportAssets (56)Timeline Frame 4Symbol 125 as "lib_snd_explo"
ExportAssets (56)Timeline Frame 4Symbol 126 as "lib_snd_car"
ExportAssets (56)Timeline Frame 5Symbol 124 as "lib_snd_menuEnter"
ExportAssets (56)Timeline Frame 5Symbol 124 as "lib_snd_menuEnter"
ExportAssets (56)Timeline Frame 5Symbol 124 as "lib_snd_menuEnter"
ExportAssets (56)Timeline Frame 7Symbol 174 as "lib_cannon"

Labels

"main"Frame 5
"rules"Frame 6
"game"Frame 7
"reset"Frame 8
"st1"Symbol 18 MovieClip [lib_commander] Frame 1
"st0"Symbol 18 MovieClip [lib_commander] Frame 3
"st1"Symbol 22 MovieClip [lib_light] Frame 1
"st0"Symbol 22 MovieClip [lib_light] Frame 3
"st1"Symbol 50 MovieClip [lib_medium] Frame 1
"st2"Symbol 50 MovieClip [lib_medium] Frame 2
"st0"Symbol 50 MovieClip [lib_medium] Frame 3
"st1"Symbol 55 MovieClip [lib_heavy] Frame 1
"st2"Symbol 55 MovieClip [lib_heavy] Frame 2
"st0"Symbol 55 MovieClip [lib_heavy] Frame 3
"stLevel"Symbol 193 MovieClip Frame 1
"stEmpty"Symbol 193 MovieClip Frame 2
"stGameOver"Symbol 193 MovieClip Frame 3
"stGameWin"Symbol 193 MovieClip Frame 4
"stPause"Symbol 193 MovieClip Frame 5
"stLife"Symbol 193 MovieClip Frame 6

Dynamic Text Variables

txtPerSymbol 9 EditableText"0%  "
txtSymbol 183 EditableText"33"
txtSymbol 194 EditableText"9999999"
txtSymbol 195 EditableText"9999999"
txtSymbol 196 EditableText"9999999"




http://swfchan.com/5/22317/info.shtml
Created: 27/5 -2019 00:01:23 Last modified: 27/5 -2019 00:01:23 Server time: 22/12 -2024 01:31:17