STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229594 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #22317 |
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 2on (press) { this._parent.more_pressed(); }Instance of Symbol 12 MovieClip in Frame 2on (press) { this._parent.more_pressed(); }Frame 3stot = 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 5onClipEvent (load) { var soundControl = new Sound(this); }Instance of Symbol 153 MovieClip "btn_sound" in Frame 5onClipEvent (load) { if (this._parent.stopSoundFlag) { this.gotoAndStop(2); } }Frame 7this.stop();Instance of Symbol 21 MovieClip "mc_control" in Frame 7onClipEvent (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; #endinitclipSymbol 198 MovieClip [__Packages.CTank] Frame 0class 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 0class 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 0class 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 14gotoAndPlay (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); #endinitclipSymbol 78 MovieClip [lib_dirt_boom] Frame 11this.removeMovieClip();Symbol 120 MovieClip [lib_boom] Frame 23this.removeMovieClip();Symbol 136 Buttonon (release) { gameStart(); }Symbol 141 Buttonon (release) { how_to_play_pressed(); }Symbol 146 Buttonon (release) { more_pressed(); }Symbol 148 MovieClip Frame 1stop();Symbol 150 Buttonon (press) { this._parent.soundOff(); this.gotoAndStop(2); }Symbol 152 Buttonon (press) { this._parent.soundOn(); this.gotoAndStop(1); }Symbol 153 MovieClip Frame 1this.stop();Symbol 154 Buttonon (release) { back_pressed(); }Symbol 173 MovieClip Frame 1this.stop();Symbol 174 MovieClip [lib_cannon] Frame 1#initclip 10 Object.registerClass("lib_cannon", CCannon); #endinitclip this.stop();Symbol 181 MovieClip Frame 1this.stop();Symbol 190 Buttonon (press) { this._parent.more_pressed(); }Symbol 193 MovieClip Frame 1this.stop();
Library Items
Symbol 1 MovieClip | Used by:Timeline | |
Symbol 198 MovieClip [__Packages.CTank] | ||
Symbol 199 MovieClip [__Packages.CShot] | ||
Symbol 200 MovieClip [__Packages.CCannon] | ||
Symbol 2 Graphic | Used by:Timeline | |
Symbol 3 Bitmap | Used by:4 | |
Symbol 4 Graphic | Uses:3 | Used by:5 |
Symbol 5 MovieClip | Uses:4 | Used by:Timeline |
Symbol 6 Bitmap | Used by:7 | |
Symbol 7 Graphic | Uses:6 | Used by:Timeline |
Symbol 8 Font | Used by:9 | |
Symbol 9 EditableText | Uses:8 | Used by:Timeline |
Symbol 10 Bitmap | Used by:11 | |
Symbol 11 Graphic | Uses:10 | Used by:12 |
Symbol 12 MovieClip | Uses:11 | Used by:Timeline |
Symbol 13 Graphic | Used by:14 150 152 | |
Symbol 14 MovieClip | Uses:13 | Used by:15 |
Symbol 15 MovieClip | Uses:14 | Used by:Timeline |
Symbol 16 Bitmap | Used by:17 | |
Symbol 17 Graphic | Uses:16 | Used by:18 |
Symbol 18 MovieClip [lib_commander] | Uses:17 | Used by:Timeline |
Symbol 19 Bitmap | Used by:20 | |
Symbol 20 Graphic | Uses:19 | Used by:22 |
Symbol 21 MovieClip | Used by:22 50 55 173 Timeline | |
Symbol 22 MovieClip [lib_light] | Uses:20 21 | Used by:Timeline |
Symbol 23 Bitmap | Used by:24 | |
Symbol 24 Graphic | Uses:23 | Used by:50 |
Symbol 25 Bitmap | Used by:26 | |
Symbol 26 Graphic | Uses:25 | Used by:50 |
Symbol 27 Bitmap | Used by:31 37 39 41 43 45 47 | |
Symbol 28 Bitmap | Used by:31 37 39 41 43 45 47 | |
Symbol 29 Bitmap | Used by:31 37 39 41 43 45 47 | |
Symbol 30 Bitmap | Used by:31 37 39 41 43 45 47 | |
Symbol 31 Graphic | Uses:27 28 29 30 | Used by:49 |
Symbol 32 Bitmap | Used by:36 38 40 42 44 46 48 | |
Symbol 33 Bitmap | Used by:36 38 40 42 44 46 48 | |
Symbol 34 Bitmap | Used by:36 38 40 42 44 46 48 | |
Symbol 35 Bitmap | Used by:36 38 40 42 44 46 48 | |
Symbol 36 Graphic | Uses:32 33 34 35 | Used by:49 |
Symbol 37 Graphic | Uses:28 29 30 27 | Used by:49 |
Symbol 38 Graphic | Uses:33 34 35 32 | Used by:49 |
Symbol 39 Graphic | Uses:29 30 27 28 | Used by:49 |
Symbol 40 Graphic | Uses:34 35 32 33 | Used by:49 |
Symbol 41 Graphic | Uses:30 27 28 29 | Used by:49 |
Symbol 42 Graphic | Uses:35 32 33 34 | Used by:49 |
Symbol 43 Graphic | Uses:27 28 29 30 | Used by:49 |
Symbol 44 Graphic | Uses:32 33 34 35 | Used by:49 |
Symbol 45 Graphic | Uses:28 29 30 27 | Used by:49 |
Symbol 46 Graphic | Uses:33 34 35 32 | Used by:49 |
Symbol 47 Graphic | Uses:29 30 27 28 | Used by:49 |
Symbol 48 Graphic | Uses:34 35 32 33 | Used by:49 |
Symbol 49 MovieClip | Uses:31 36 37 38 39 40 41 42 43 44 45 46 47 48 | Used by:50 55 |
Symbol 50 MovieClip [lib_medium] | Uses:24 21 26 49 | Used by:Timeline |
Symbol 51 Bitmap | Used by:52 | |
Symbol 52 Graphic | Uses:51 | Used by:55 |
Symbol 53 Bitmap | Used by:54 | |
Symbol 54 Graphic | Uses:53 | Used by:55 |
Symbol 55 MovieClip [lib_heavy] | Uses:52 21 54 49 | Used by:Timeline |
Symbol 56 Graphic | Used by:57 | |
Symbol 57 MovieClip [lib_shot] | Uses:56 | Used by:Timeline |
Symbol 58 Bitmap | Used by:59 | |
Symbol 59 Graphic | Uses:58 | Used by:78 |
Symbol 60 Bitmap | Used by:61 | |
Symbol 61 Graphic | Uses:60 | Used by:78 |
Symbol 62 Bitmap | Used by:63 | |
Symbol 63 Graphic | Uses:62 | Used by:78 |
Symbol 64 Bitmap | Used by:65 | |
Symbol 65 Graphic | Uses:64 | Used by:78 |
Symbol 66 Bitmap | Used by:67 | |
Symbol 67 Graphic | Uses:66 | Used by:78 |
Symbol 68 Bitmap | Used by:69 | |
Symbol 69 Graphic | Uses:68 | Used by:78 |
Symbol 70 Bitmap | Used by:71 | |
Symbol 71 Graphic | Uses:70 | Used by:78 |
Symbol 72 Bitmap | Used by:73 | |
Symbol 73 Graphic | Uses:72 | Used by:78 |
Symbol 74 Bitmap | Used by:75 | |
Symbol 75 Graphic | Uses:74 | Used by:78 |
Symbol 76 Bitmap | Used by:77 | |
Symbol 77 Graphic | Uses:76 | Used by:78 |
Symbol 78 MovieClip [lib_dirt_boom] | Uses:59 61 63 65 67 69 71 73 75 77 | Used by:Timeline |
Symbol 79 Bitmap | Used by:80 81 82 83 | |
Symbol 80 Graphic | Uses:79 | Used by:120 |
Symbol 81 Graphic | Uses:79 | Used by:120 |
Symbol 82 Graphic | Uses:79 | Used by:120 |
Symbol 83 Graphic | Uses:79 | Used by:120 |
Symbol 84 Bitmap | Used by:85 | |
Symbol 85 Graphic | Uses:84 | Used by:120 |
Symbol 86 Bitmap | Used by:87 | |
Symbol 87 Graphic | Uses:86 | Used by:120 |
Symbol 88 Bitmap | Used by:89 | |
Symbol 89 Graphic | Uses:88 | Used by:120 |
Symbol 90 Bitmap | Used by:91 | |
Symbol 91 Graphic | Uses:90 | Used by:120 |
Symbol 92 Bitmap | Used by:93 | |
Symbol 93 Graphic | Uses:92 | Used by:120 |
Symbol 94 Bitmap | Used by:95 | |
Symbol 95 Graphic | Uses:94 | Used by:120 |
Symbol 96 Bitmap | Used by:97 | |
Symbol 97 Graphic | Uses:96 | Used by:120 |
Symbol 98 Bitmap | Used by:99 | |
Symbol 99 Graphic | Uses:98 | Used by:120 |
Symbol 100 Bitmap | Used by:101 | |
Symbol 101 Graphic | Uses:100 | Used by:120 |
Symbol 102 Bitmap | Used by:103 | |
Symbol 103 Graphic | Uses:102 | Used by:120 |
Symbol 104 Bitmap | Used by:105 | |
Symbol 105 Graphic | Uses:104 | Used by:120 |
Symbol 106 Bitmap | Used by:107 | |
Symbol 107 Graphic | Uses:106 | Used by:120 |
Symbol 108 Bitmap | Used by:109 | |
Symbol 109 Graphic | Uses:108 | Used by:120 |
Symbol 110 Bitmap | Used by:111 | |
Symbol 111 Graphic | Uses:110 | Used by:120 |
Symbol 112 Bitmap | Used by:113 | |
Symbol 113 Graphic | Uses:112 | Used by:120 |
Symbol 114 Bitmap | Used by:115 | |
Symbol 115 Graphic | Uses:114 | Used by:120 |
Symbol 116 Bitmap | Used by:117 | |
Symbol 117 Graphic | Uses:116 | Used by:120 |
Symbol 118 Bitmap | Used by:119 | |
Symbol 119 Graphic | Uses:118 | Used 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 119 | Used 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 MovieClip | Uses:121 122 123 124 125 126 | Used by:Timeline |
Symbol 128 Bitmap | Used by:129 | |
Symbol 129 Graphic | Uses:128 | Used by:154 Timeline |
Symbol 130 Bitmap | Used by:131 | |
Symbol 131 Graphic | Uses:130 | Used by:136 |
Symbol 132 Bitmap | Used by:133 | |
Symbol 133 Graphic | Uses:132 | Used by:136 |
Symbol 134 Graphic | Used by:136 141 146 174 190 | |
Symbol 135 Sound | Used by:136 141 146 150 152 | |
Symbol 136 Button | Uses:131 133 134 135 124 | Used by:Timeline |
Symbol 137 Bitmap | Used by:138 | |
Symbol 138 Graphic | Uses:137 | Used by:141 |
Symbol 139 Bitmap | Used by:140 | |
Symbol 140 Graphic | Uses:139 | Used by:141 |
Symbol 141 Button | Uses:138 140 134 135 124 | Used by:Timeline |
Symbol 142 Bitmap | Used by:143 | |
Symbol 143 Graphic | Uses:142 | Used by:146 |
Symbol 144 Bitmap | Used by:145 | |
Symbol 145 Graphic | Uses:144 | Used by:146 |
Symbol 146 Button | Uses:143 145 134 135 124 | Used by:Timeline |
Symbol 147 Sound | Used by:148 | |
Symbol 148 MovieClip | Uses:147 | Used by:Timeline |
Symbol 149 Graphic | Used by:150 | |
Symbol 150 Button | Uses:149 13 135 | Used by:153 |
Symbol 151 Graphic | Used by:152 | |
Symbol 152 Button | Uses:151 13 135 | Used by:153 |
Symbol 153 MovieClip | Uses:150 152 | Used by:Timeline |
Symbol 154 Button | Uses:129 | Used by:Timeline |
Symbol 155 Font | Used by:156 182 183 186 187 189 191 192 194 195 196 | |
Symbol 156 Text | Uses:155 | Used by:Timeline |
Symbol 157 Font | Used by:158 159 | |
Symbol 158 Text | Uses:157 | Used by:Timeline |
Symbol 159 Text | Uses:157 | Used by:Timeline |
Symbol 160 Bitmap | Used by:161 | |
Symbol 161 Graphic | Uses:160 | Used by:Timeline |
Symbol 162 Graphic | Used by:Timeline | |
Symbol 163 Graphic | Used by:Timeline | |
Symbol 164 Graphic | Used by:Timeline | |
Symbol 165 Bitmap | Used by:166 | |
Symbol 166 Graphic | Uses:165 | Used by:173 |
Symbol 167 Bitmap | Used by:168 | |
Symbol 168 Graphic | Uses:167 | Used by:173 |
Symbol 169 Bitmap | Used by:170 | |
Symbol 170 Graphic | Uses:169 | Used by:173 |
Symbol 171 Bitmap | Used by:172 | |
Symbol 172 Graphic | Uses:171 | Used by:173 |
Symbol 173 MovieClip | Uses:166 21 168 170 172 | Used by:174 |
Symbol 174 MovieClip [lib_cannon] | Uses:134 173 | Used by:Timeline |
Symbol 175 Bitmap | Used by:176 | |
Symbol 176 Graphic | Uses:175 | Used by:181 |
Symbol 177 Bitmap | Used by:178 | |
Symbol 178 Graphic | Uses:177 | Used by:181 |
Symbol 179 Bitmap | Used by:180 | |
Symbol 180 Graphic | Uses:179 | Used by:181 |
Symbol 181 MovieClip | Uses:176 178 180 | Used by:Timeline |
Symbol 182 Text | Uses:155 | Used by:193 |
Symbol 183 EditableText | Uses:155 | Used by:184 |
Symbol 184 MovieClip | Uses:183 | Used by:185 |
Symbol 185 MovieClip | Uses:184 | Used by:193 |
Symbol 186 Text | Uses:155 | Used by:193 |
Symbol 187 Text | Uses:155 | Used by:193 |
Symbol 188 Graphic | Used by:193 | |
Symbol 189 Text | Uses:155 | Used by:193 |
Symbol 190 Button | Uses:134 | Used by:193 |
Symbol 191 Text | Uses:155 | Used by:193 |
Symbol 192 Text | Uses:155 | Used by:193 |
Symbol 193 MovieClip | Uses:182 185 186 187 188 189 190 191 192 | Used by:Timeline |
Symbol 194 EditableText | Uses:155 | Used by:197 |
Symbol 195 EditableText | Uses:155 | Used by:197 |
Symbol 196 EditableText | Uses:155 | Used by:197 |
Symbol 197 MovieClip | Uses:194 195 196 | Used by:Timeline |
Instance Names
"mc_bar" | Frame 2 | Symbol 15 MovieClip |
"mc_sloop" | Frame 5 | Symbol 148 MovieClip |
"btn_sound" | Frame 5 | Symbol 153 MovieClip |
"mc_tanks1" | Frame 7 | Symbol 21 MovieClip |
"mc_tanks2" | Frame 7 | Symbol 21 MovieClip |
"mc_tanks3" | Frame 7 | Symbol 21 MovieClip |
"mc_pdirt" | Frame 7 | Symbol 21 MovieClip |
"mc_eshots" | Frame 7 | Symbol 21 MovieClip |
"mc_pshots" | Frame 7 | Symbol 21 MovieClip |
"mc_edirt" | Frame 7 | Symbol 21 MovieClip |
"mc_cannon" | Frame 7 | Symbol 174 MovieClip [lib_cannon] |
"mc_gunView" | Frame 7 | Symbol 181 MovieClip |
"mc_eboom" | Frame 7 | Symbol 21 MovieClip |
"mc_ndp" | Frame 7 | Symbol 193 MovieClip |
"mc_lives" | Frame 7 | Symbol 197 MovieClip |
"mc_scores" | Frame 7 | Symbol 197 MovieClip |
"mc_tanks" | Frame 7 | Symbol 197 MovieClip |
"mc_control" | Frame 7 | Symbol 21 MovieClip |
"mc" | Symbol 15 MovieClip Frame 1 | Symbol 14 MovieClip |
"point" | Symbol 22 MovieClip [lib_light] Frame 1 | Symbol 21 MovieClip |
"point" | Symbol 50 MovieClip [lib_medium] Frame 1 | Symbol 21 MovieClip |
"point" | Symbol 55 MovieClip [lib_heavy] Frame 1 | Symbol 21 MovieClip |
"point" | Symbol 173 MovieClip Frame 1 | Symbol 21 MovieClip |
"mc" | Symbol 174 MovieClip [lib_cannon] Frame 1 | Symbol 173 MovieClip |
"mc5" | Symbol 185 MovieClip Frame 1 | Symbol 184 MovieClip |
"mc4" | Symbol 185 MovieClip Frame 1 | Symbol 184 MovieClip |
"mc3" | Symbol 185 MovieClip Frame 1 | Symbol 184 MovieClip |
"mc2" | Symbol 185 MovieClip Frame 1 | Symbol 184 MovieClip |
"mc1" | Symbol 185 MovieClip Frame 1 | Symbol 184 MovieClip |
"mc" | Symbol 193 MovieClip Frame 1 | Symbol 185 MovieClip |
Special Tags
Protect (24) | Timeline Frame 1 | 0 bytes "" |
ExportAssets (56) | Timeline Frame 1 | Symbol 198 as "__Packages.CTank" |
ExportAssets (56) | Timeline Frame 1 | Symbol 199 as "__Packages.CShot" |
ExportAssets (56) | Timeline Frame 1 | Symbol 200 as "__Packages.CCannon" |
ExportAssets (56) | Timeline Frame 4 | Symbol 18 as "lib_commander" |
ExportAssets (56) | Timeline Frame 4 | Symbol 22 as "lib_light" |
ExportAssets (56) | Timeline Frame 4 | Symbol 50 as "lib_medium" |
ExportAssets (56) | Timeline Frame 4 | Symbol 55 as "lib_heavy" |
ExportAssets (56) | Timeline Frame 4 | Symbol 57 as "lib_shot" |
ExportAssets (56) | Timeline Frame 4 | Symbol 78 as "lib_dirt_boom" |
ExportAssets (56) | Timeline Frame 4 | Symbol 120 as "lib_boom" |
ExportAssets (56) | Timeline Frame 4 | Symbol 121 as "lib_snd_life" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "lib_snd_gun" |
ExportAssets (56) | Timeline Frame 4 | Symbol 123 as "lib_snd_miss" |
ExportAssets (56) | Timeline Frame 4 | Symbol 124 as "lib_snd_menuEnter" |
ExportAssets (56) | Timeline Frame 4 | Symbol 125 as "lib_snd_explo" |
ExportAssets (56) | Timeline Frame 4 | Symbol 126 as "lib_snd_car" |
ExportAssets (56) | Timeline Frame 5 | Symbol 124 as "lib_snd_menuEnter" |
ExportAssets (56) | Timeline Frame 5 | Symbol 124 as "lib_snd_menuEnter" |
ExportAssets (56) | Timeline Frame 5 | Symbol 124 as "lib_snd_menuEnter" |
ExportAssets (56) | Timeline Frame 7 | Symbol 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
txtPer | Symbol 9 EditableText | "0% " |
txt | Symbol 183 EditableText | "33" |
txt | Symbol 194 EditableText | "9999999" |
txt | Symbol 195 EditableText | "9999999" |
txt | Symbol 196 EditableText | "9999999" |
|