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

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

Midnight Invaders.swf

This is the info page for
Flash #27305

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


Text
LOG BOOK

Main Menu

As you know at 05:45 this morning the Bazarovites launched a surprise attack across the
entire sector. Both the Midway and Trafalgar Battle groups have essentially ceased to exist
in the main fighting above Ebaracum. I have now found myself in unenviable position as
commander of the remaining RSF units.

Mercifully the Fleet Carriers; Warspite, Redoubtable and Fletcher were working up their
new fighters in the Dust Belt and have escaped destruction in the initial attacks. They are
on a hard burn towards Ebaracum.

As the Captain of the last operational frigate, your role will be to rescue as much of the
captive population as possible from the prison camps on the surface and evacuate them to
the carriers. Save as many of the survivors as you can Captain!

To: Captain Rosemeyer: RSF Frigate, Sophie.

Rear Admiral Fredricks
RSF Facility, Tara Refuelling Station.

.

G

N

I

D

A

O

L

0%

0%

RESCUED:

SCORE:

300000

SHIPS:

Quota Reached! Exit level by holding down the UP arrow at the top of the screen.

200 / 200

WARNING

LEAVING ATMOSPHERE!

WARNING

LEAVING ATMOSPHERE!

ENTERING ATMOSPHERE IN

3

STAGE

Quit to Menu?
Y / N

<p align="left"><font face="_sans" size="12" color="#000000"> </font></p>

© copyright 2005 Spectrum Wired, www.specgames.com

Sound Effects

Music

Play Game

Log book

Bomb the prisons to release the prisoners, then land on the ground
to rescue them. Be careful not to bomb or land on the prisoners!
Your ship can take three hits before being destroyed. If you run into
a tank your ship will be destroyed instantly.
Keep an eye out for power-up crates. Bomb them to receive sheilds,
speed or extra firepower. Power-ups last until your ship is
destroyed.
You must rescue at least 80% of the prisoners to proceed to the
next level. To exit the level, fly right to the top of the screen and
keep holding down the UP arrow. Make sure you have rescued a
sufficient quota of prisoners before doing this or you will have to
restart the level.
Collect all the prisoners, kill all the enemies, and bomb accurately to
receive bonus points at the end of every level.
Good luck!

blah blah

OK

PRESS ENTER TO CONTINUE

TOTAL:

STAGE      PASSED!

?

TOTAL ANNIHILATION BONUS! +20%

Enemies Despatched:

?

EAGLE EYE BONUS! +20%

Accuracy:

?

HUMANITARIAN BONUS! +20%

People Rescued:

?

PERFECT LEVEL BONUS!!!
STAGE SCORE x 2

BONUSES:

You're not going to win with a score like that!

It's time to get serious…

GAME OVER

Level Reached:

Final Score:

Total People Rescued:

Total Enemies Despatched:

Overall Accuracy:

SUBMIT YOUR SCORE AND
ENTER THE COMPETITION

SUBMIT YOUR SCORE AND
ENTER THE COMPETITION

SUBMIT YOUR SCORE AND
ENTER THE COMPETITION

Play Again

ActionScript [AS1/AS2]

Frame 1
_global.musicDisabled = false; var perc = Math.round((100 / _root.getBytesTotal()) * _root.getBytesLoaded()); txtPercent.text = perc + "%"; var max = 128; var barWidth = Math.round((max / 100) * perc); movLoadBar._width = barWidth; if (_root.getBytesTotal() == _root.getBytesLoaded()) { gotoAndStop ("frameMenu"); }
Frame 2
gotoAndPlay (1);
Frame 3
_root.music = new Music(); if (_global.musicDisabled) { checkMusic._visible = false; checkMusicText._visible = false; } stop();
Instance of Symbol 259 MovieClip [FCheckBoxSymbol] "checkSound" in Frame 3
//component parameters onClipEvent (construct) { label = ""; initialValue = true; labelPlacement = "right"; changeHandler = ""; }
Instance of Symbol 259 MovieClip [FCheckBoxSymbol] "checkMusic" in Frame 3
//component parameters onClipEvent (construct) { label = ""; initialValue = true; labelPlacement = "right"; changeHandler = ""; }
Frame 4
_root.game.gameLoop();
Frame 5
gotoAndPlay ("frameGame");
Frame 6
_root.game.destroy(); delete game; var percent = Math.round((_global.peopleRescued / (_global.levelNumber * 10)) * 100); rescued_txt.text = ((((_global.peopleRescued + " / ") + (_global.levelNumber * 10)) + " (") + percent) + "%)"; var epercent = Math.round((_global.enemiesKilled / _global.totalEnemies) * 100); enemies_txt.text = ((((_global.enemiesKilled + " / ") + _global.totalEnemies) + " (") + epercent) + "%)"; var ac = Math.round((_global.shotsHit / _global.shotsFired) * 100); if (_global.shotsFired == 0) { ac = 0; } acc_txt.text = ((((_global.shotsHit + " / ") + _global.shotsFired) + " (") + ac) + "%)"; if (_global.peopleRescued >= (_global.levelNumber * 8)) { var sndLevelFinish = new Sound(); sndLevelFinish.attachSound("sndCompleteLevel"); if (_global.soundOn) { sndLevelFinish.start(0, 1); } _global.levplayerShield = _global.playerShield; _global.levpowerupCluster = _global.powerupCluster; _global.levpowerupSpeed = _global.powerupSpeed; leveldesc_txt.text = "STAGE PASSED!"; levscore_txt._visible = true; levscore._visible = true; levscore.text = _global.levelScore; if (percent == 100) { bonus1._visible = true; bonus1_txt._visible = true; _global.levelScore = _global.levelScore + Math.round((levelScore / 100) * 20); bonus1.text = _global.levelScore; } else { bonus1._visible = false; bonus1_txt._visible = false; } if (epercent == 100) { bonus2._visible = true; bonus2_txt._visible = true; _global.levelScore = _global.levelScore + Math.round((levelScore / 100) * 20); bonus2.text = _global.levelScore; } else { bonus2._visible = false; bonus2_txt._visible = false; } if (ac >= 75) { bonus4._visible = true; bonus4_txt._visible = true; _global.levelScore = _global.levelScore + Math.round((levelScore / 100) * 20); bonus4.text = _global.levelScore; } else { bonus4._visible = false; bonus4_txt._visible = false; } if (((ac >= 75) && (percent == 100)) && (epercent == 100)) { perfectbonus_txt._visible = true; _global.levelScore = _global.levelScore * 2; perfectbonus._visible = true; perfectbonus.text = _global.levelScore; } else { perfectbonus_txt._visible = false; perfectbonus._visible = false; } _global.playerScore = _global.playerScore + _global.levelScore; var count = 0; var lifetext = ""; if (_global.playerScore >= _global.nextExtraShip) { _global.playerShips++; _global.nextExtraShip = _global.nextExtraShip * 2; lifetext = ("\n\nExtra ship! Next extra ship at " + _global.nextExtraShip) + " points."; } else { lifetext = ("\n\nNext extra ship at " + _global.nextExtraShip) + " points."; } var debrieftext = "Congratulations you got your quota!\nYour ship has been repaired!\n"; if (_global.levelNumber != 20) { debrieftext = debrieftext + ((((("In level " + (_global.levelNumber + 1)) + " you will need to rescue ") + ((_global.levelNumber + 1) * 8)) + " people.") + lifetext); } trace(debrieftext); debrief_txt.text = debrieftext; totalscore._visible = true; totalscore_txt._visible = true; totalscore.text = _global.playerScore; _global.finalPeople = _global.finalPeople + _global.peopleRescued; _global.finalEnemies = _global.finalEnemies + _global.enemiesKilled; _global.finalShotsHit = _global.finalShotsHit + _global.shotsHit; _global.finalShotsFired = _global.finalShotsFired + _global.shotsFired; } else { var sndLevelFinish = new Sound(); sndLevelFinish.attachSound("sndFailLevel"); if (_global.soundOn) { sndLevelFinish.start(0, 1); } txtBonus._visible = false; _global.playerShield = _global.levplayerShield; _global.powerupCluster = _global.levpowerupCluster; _global.powerupSpeed = _global.levpowerupSpeed; leveldesc_txt.text = "STAGE FAILED"; debrief_txt.text = "Sorry you didnt get your quota...\n\nTry again!"; continue_txt.text = "PRESS ENTER TO RETRY"; levscore_txt._visible = false; levscore._visible = false; bonus1._visible = false; bonus1_txt._visible = false; bonus2._visible = false; bonus2_txt._visible = false; bonus3._visible = false; bonus3_txt._visible = false; bonus4._visible = false; bonus4_txt._visible = false; perfectbonus_txt._visible = false; totalscore._visible = false; totalscore_txt._visible = false; } stop();
Frame 7
_root.music.stopMusic(); _root.game.destroy(); delete game; var sndLevelFinish = new Sound(); sndLevelFinish.attachSound("sndFailLevel"); if (_global.soundOn) { sndLevelFinish.start(0, 1); } var percent = Math.round((_global.finalPeople / 2100) * 100); people_txt.text = ((_global.finalPeople + " / 2100 (") + percent) + "%)"; var epercent = Math.round((_global.finalEnemies / 896) * 100); enemies_txt.text = ((_global.finalEnemies + " / 896 (") + epercent) + "%)"; var ac = Math.round((_global.finalShotsHit / _global.finalShotsFired) * 100); if (_global.finalShotsFired == 0) { ac = 0; } accuracy_txt.text = ((((_global.finalShotsHit + " / ") + _global.finalShotsFired) + " (") + ac) + "%)"; if (_global.playerScore > 5000) { message.text = "Hey! You're Good! \nYou've got a high enough score to enter the competition. \nYou can proudly say that you are a Playaholic!"; butSubmit._visible = true; } else { butSubmit._visible = false; } stop();
Frame 8
stop();
Symbol 10 Button
on (release) { gotoAndPlay ("frameMenu"); }
Symbol 390 MovieClip [__Packages.Music] Frame 0
class Music { static var sndMusic1, sndMusic2, sndMusic3, sndMusic4, sndMusic5, sndMusic51, sndMusic6, sndMusic8, sndMusic9, sndMusic7, sndMusic10; function Music () { trace("loading music"); sndMusic1 = new Sound(); sndMusic1.attachSound("music1"); sndMusic2 = new Sound(); sndMusic2.attachSound("music2"); sndMusic3 = new Sound(); sndMusic3.attachSound("music3"); sndMusic4 = new Sound(); sndMusic4.attachSound("music4"); sndMusic5 = new Sound(); sndMusic5.attachSound("music5"); sndMusic51 = new Sound(); sndMusic51.attachSound("music51"); sndMusic6 = new Sound(); sndMusic6.attachSound("music6"); sndMusic8 = new Sound(); sndMusic8.attachSound("music8"); sndMusic9 = new Sound(); sndMusic9.attachSound("music9"); sndMusic1.onSoundComplete = function () { Music.musicControl(); }; sndMusic2.onSoundComplete = function () { Music.musicControl(); }; sndMusic3.onSoundComplete = function () { Music.musicControl(); }; sndMusic4.onSoundComplete = function () { Music.musicControl(); }; sndMusic5.onSoundComplete = function () { Music.musicControl(); }; sndMusic6.onSoundComplete = function () { Music.musicControl(); }; sndMusic7.onSoundComplete = function () { Music.musicControl(); }; sndMusic8.onSoundComplete = function () { Music.musicControl(); }; sndMusic9.onSoundComplete = function () { Music.musicControl(); }; sndMusic10.onSoundComplete = function () { Music.musicControl(); }; sndMusic51.onSoundComplete = function () { Music.musicControl(); }; } function startMusic() { trace("hello music: " + sndMusic1); sndMusic1.start(0, 1); } function stopMusic() { trace("stopping music"); sndMusic1.stop("music1"); sndMusic2.stop("music2"); sndMusic3.stop("music3"); sndMusic4.stop("music4"); sndMusic5.stop("music5"); sndMusic6.stop("music6"); sndMusic7.stop("music7"); sndMusic8.stop("music8"); sndMusic9.stop("music9"); sndMusic10.stop("music10"); sndMusic51.stop("music51"); } static function musicControl() { trace("music control!"); switch (musicArrangement[musicPos]) { case 1 : sndMusic1.start(0, 1); break; case 2 : sndMusic2.start(0, 1); break; case 3 : sndMusic3.start(0, 1); break; case 4 : sndMusic4.start(0, 1); break; case 5 : sndMusic5.start(0, 1); break; case 6 : sndMusic6.start(0, 1); break; case 8 : sndMusic8.start(0, 1); break; case 9 : sndMusic9.start(0, 1); break; case 51 : sndMusic51.start(0, 1); } musicPos++; if (musicPos >= musicArrangement.length) { musicPos = 0; } } static var musicArrangement = new Array(2, 3, 3, 4, 5, 3, 3, 3, 3, 51, 6, 6, 6, 6, 8, 9, 9); static var musicPos = 0; }
Symbol 391 MovieClip [__Packages.Game] Frame 0
class Game { var chopper, hud, level_start, sndClick, people, turrets, tanks, level, back1, back2, levelWidth, quit, ground, explode, level_exit, prisons, scenery, sndLeavingLevel, sndExplosion, sndEngine, sndPrisonAlarm, sndPersonCollect, sndPersonSquash, sndShipHit, sndShipDie, sndExplosionTank, sndExplosionBigTank, sndExplosionBuilding, sndUberBombLaunch, sndUberBombSplit, sndPowerupCluster, sndPowerupShield; function Game () { } function gameLoop() { getKeys(); if (paused) { return(undefined); } frameControl(); if (levelActive) { scrollBackground(); chopper.control(); moveCamera(); peopleControl(); enemyControl(); } } function frameControl() { frames++; fps++; if ((getTimer() - fpsTimer) >= 1000) { hud.fps_txt.text = fps; if (fps < 20) { } fps = 0; fpsTimer = getTimer(); } if (frames == 24) { seconds++; frames = 0; if (countdown == 1) { level_start._visible = false; levelActive = true; countdown--; if ((seconds < 4) && (_global.musicOn)) { } } else if (countdown > 1) { countdown--; seconds--; level_start.countdown.text = countdown; sndClick.start(0, 1); } } } function peopleControl() { var _local2 = 0; while (_local2 < people.length) { people[_local2].control(); _local2++; } } function enemyControl() { var _local2 = 0; while (_local2 < turrets.length) { turrets[_local2].control(); _local2++; } _local2 = 0; while (_local2 < tanks.length) { tanks[_local2].control(); _local2++; } } function scrollBackground() { var _local2 = ((level._x * -1) / 1650) * 100; var _local3 = 2.5 * _local2; back1._x = _local3 * -1; var _local4 = ((level._x * -1) / 1650) * 100; back2._x = _local4 * -1; } function moveCamera() { var _local4 = (level._x * -1) + 275; var _local3 = _local4 - chopper.player._x; level._x = levelRealX; level._y = 0; if (_local3 > 0) { if (_local3 < 10) { level._x++; } else if ((_local3 >= 10) && (_local3 < 25)) { level._x = level._x + 2; } else if ((_local3 >= 25) && (_local3 < 50)) { level._x = level._x + 3; } else if ((_local3 >= 50) && (_local3 < 75)) { level._x = level._x + 4; } else if ((_local3 >= 75) && (_local3 < 100)) { level._x = level._x + 5; } else if ((_local3 >= 100) && (_local3 < 125)) { level._x = level._x + 6; } else if (_local3 >= 125) { level._x = level._x + _global.playerSpeed; } } if (_local3 < 0) { if (_local3 > -10) { level._x--; } else if ((_local3 <= -10) && (_local3 > -25)) { level._x = level._x - 2; } else if ((_local3 <= -25) && (_local3 > -50)) { level._x = level._x - 3; } else if ((_local3 <= -50) && (_local3 > -75)) { level._x = level._x - 4; } else if ((_local3 <= -75) && (_local3 > -100)) { level._x = level._x - 5; } else if ((_local3 <= -100) && (_local3 > -125)) { level._x = level._x - 6; } else if (_local3 <= -125) { level._x = level._x - _global.playerSpeed; } } if ((level._x + (levelWidth - 550)) < 0) { level._x = (levelWidth - 550) * -1; } if (level._x > 0) { level._x = 0; } levelRealX = level._x; if (shakeGround > 0) { level._x = level._x + (Math.round(Math.random() * 6) - 3); level._y = level._y + (Math.round(Math.random() * 6) - 3); shakeGround--; } } function getKeys() { if (Key.isDown(38)) { keyUpFlag = true; } else { keyUpFlag = false; } if (Key.isDown(40)) { keyDownFlag = true; } else { keyDownFlag = false; } if (Key.isDown(37)) { keyLeftFlag = true; } else { keyLeftFlag = false; } if (Key.isDown(39)) { keyRightFlag = true; } else { keyRightFlag = false; } if (Key.isDown(32)) { keySpaceFlag = true; } else { keySpaceFlag = false; } if (Key.isDown(27)) { paused = true; quit._visible = true; } if (paused && ((Key.getAscii() == 121) || (Key.getAscii() == 89))) { paused = false; _root.music.stopMusic(); destroy(); _root.gotoAndPlay("frameMenu"); } if (paused && ((Key.getAscii() == 110) || (Key.getAscii() == 78))) { paused = false; quit._visible = false; } } function buildLevel(levelNo) { trace("1 " + _global.soundOn); Mouse.hide(); if (_global.soundOn) { setupSounds(); } trace("2"); if (levelNo < 18) { levelWidth = 500 + (levelNo * 100); } else { levelWidth = 2200; } level = _root.attachMovie("level", "_level", 2); level._x = ((levelWidth - 550) / 2) * -1; levelRealX = level._x; level._y = 0; trace("3"); var fakeLevel = levelNo; trace((("Level " + _global.levelNumber) + ": Fake") + fakeLevel); var backNumber1 = 2; var backNumber2 = 2; if (_global.levelNumber <= 5) { backNumber1 = (backNumber2 = 2); } else if ((_global.levelNumber > 5) && (_global.levelNumber <= 10)) { backNumber1 = (backNumber2 = 1); } else if ((_global.levelNumber > 10) && (_global.levelNumber <= 15)) { backNumber1 = (backNumber2 = 3); } else { backNumber1 = 3; backNumber2 = 1; } trace("4"); back1 = _root.attachMovie(backNumber1 + "back1", "_back1", 1); back1._x = -125; back1._y = 0; back2 = _root.attachMovie(backNumber2 + "back2", "_back2", 0); back2._x = -50; back2._y = 0; ground = new Array(); var i = 0; while (i < 22) { ground.push(level.attachMovie("ground" + backNumber1, eval ("_ground" add i), 4 + i)); ground[i]._x = i * 100; ground[i]._y = 400 - groundHeight; i++; } explode = new Array(); var i = 0; while (i < _global.playerBombCount) { explode.push(level.attachMovie("explosion", "_explosion", 51980 + i)); explode[i].anim._visible = false; explode[i].anim.stop(); i++; } hud = _root.attachMovie("hud", "_hud", 50); hud._x = 0; hud._y = 0; if (_global.playerShield == 0) { hud.shieldPowerup._visible = false; } if (!_global.powerupCluster) { hud.clusterPowerup._visible = false; } if (!_global.powerupSpeed) { hud.speedPowerup._visible = false; } hud.shieldPowerup.stop(); hud.clusterPowerup.stop(); hud.speedPowerup.stop(); hud.score_txt.text = _global.playerScore; hud.rescued_txt.text = "0 / " + (levelNo * 10); hud.lives_txt.text = _global.playerShips; hud.exit_guide._visible = false; quit = _root.attachMovie("quit", "_quit", 100); quit._x = 160; quit._y = 140; quit._visible = false; level_exit = _root.attachMovie("levelexit", "_levelexit", 53); level_exit._x = 0; level_exit._y = 0; level_exit._visible = false; level_start = _root.attachMovie("levelstart", "_levelstart", 56); level_start._x = 0; level_start._y = 0; level_start.levellabel.text = "STAGE " + _global.levelNumber; people = new Array(); prisons = new Array(); var i = 0; while (i < levelNo) { prisons.push(new Scenery(this, level, "prison", 35, 30, 10, true, i, false)); i++; } scenery = new Array(); if (levelNo == 6) { scenery.push(new Scenery(this, level, "dropbox", 30, 30, 0, true, levelNo + 1, true)); scenery[0].powerup = "shield"; } else if (levelNo == 8) { scenery.push(new Scenery(this, level, "dropbox", 30, 30, 0, true, levelNo + 1, true)); scenery[0].powerup = "clusterbomb"; } else if (levelNo == 10) { scenery.push(new Scenery(this, level, "dropbox", 30, 30, 0, true, levelNo + 1, true)); scenery[0].powerup = "speed"; } else if ((levelNo > 10) && (levelNo < 16)) { scenery.push(new Scenery(this, level, "dropbox", 30, 30, 0, true, levelNo + 1, true)); } else if (levelNo >= 16) { scenery.push(new Scenery(this, level, "dropbox", 30, 30, 0, true, levelNo + 1, true)); scenery.push(new Scenery(this, level, "dropbox", 30, 30, 0, true, levelNo + 1, true)); } turrets = new Array(); var i = 0; while (i < fakeLevel) { turrets.push(new ETurret(this, level, 8, 8, 0, 0, "shell", "turret1", i)); i++; } var i = 0; while (i < (fakeLevel - 5)) { turrets.push(new ETurret(this, level, 1, 20, 1, 1, "rocket", "turret2", turrets.length + 1)); i++; } tanks = new Array(); var i = 0; while (i < fakeLevel) { tanks.push(new ETank(this, level, 8, 8, 0, 0, 1, "shell", "tank1", 24, 8, i)); i++; } var i = 0; while (i < ((fakeLevel - 3) * 1.5)) { tanks.push(new ETank(this, level, 8, 8, 0, 0, 3, "shell", "tank2", 35, 7, tanks.length + 5)); i++; } if (levelNo > 10) { var i = 0; while (i < (fakeLevel - 10)) { tanks.push(new EUberTank(this, level, "tank3", i)); i++; } } _global.totalEnemies = tanks.length + turrets.length; chopper = new Chopper(this, level); chopper.maxThrust = _global.playerSpeed; scrollBackground(); trace("10"); } function destroy() { Mouse.show(); sndLeavingLevel.stop("sndLeavingLevel"); level.removeMovieClip(); back1.removeMovieClip(); back2.removeMovieClip(); hud.removeMovieClip(); quit.removeMovieClip(); level_exit.removeMovieClip(); level_start.removeMovieClip(); } function setupSounds() { sndExplosion = new Sound(); sndExplosion.attachSound("sndExplosion"); sndEngine = new Sound(chopper.player); sndEngine.attachSound("sndEngine"); sndLeavingLevel = new Sound(hud); sndLeavingLevel.attachSound("sndLeavingLevel"); sndClick = new Sound(); sndClick.attachSound("sndClick"); sndClick.start(0, 1); sndPrisonAlarm = new Sound(); sndPrisonAlarm.attachSound("sndPrisonAlarm"); sndPersonCollect = new Sound(); sndPersonCollect.attachSound("sndPersonCollect"); sndPersonSquash = new Sound(); sndPersonSquash.attachSound("sndPersonSquash"); sndShipHit = new Sound(); sndShipHit.attachSound("sndShipHit"); sndShipDie = new Sound(); sndShipDie.attachSound("sndShipDie"); sndExplosionTank = new Sound(); sndExplosionTank.attachSound("sndExplosionTank"); sndExplosionBigTank = new Sound(); sndExplosionBigTank.attachSound("sndExplosionBigTank"); sndExplosionBuilding = new Sound(); sndExplosionBuilding.attachSound("sndExplosionBuilding"); sndUberBombLaunch = new Sound(); sndUberBombLaunch.attachSound("sndUberBombLaunch"); sndUberBombSplit = new Sound(); sndUberBombSplit.attachSound("sndUberBombSplit"); sndPowerupCluster = new Sound(); sndPowerupCluster.attachSound("powerup3bomb"); sndPowerupShield = new Sound(); sndPowerupShield.attachSound("powerupShield"); trace("hello sound"); } var fpsTimer = getTimer(); var fps = 0; var frames = 0; var seconds = 0; var countdown = 3; var levelActive = false; var paused = false; var groundHeight = 25; var shakeGround = 0; var levelRealX = 0; var keyUpFlag = false; var keyDownFlag = false; var keyLeftFlag = false; var keyRightFlag = false; var keySpaceFlag = false; }
Symbol 392 MovieClip [__Packages.Chopper] Frame 0
class Chopper { var game, level, bombs, bombsVThrust, bombsHThrust, player, tempThrust, maxThrust, playerFakeX; function Chopper (gam, lev) { game = gam; level = lev; bombs = new Array(); bombsVThrust = new Array(); bombsHThrust = new Array(); var _local3 = 0; while (_local3 < _global.playerBombCount) { bombs.push(level.attachMovie("player_bomb", "p_bomb" + _local3, 8299 + _local3)); bombs[_local3]._visible = false; bombsVThrust.push(0); bombsHThrust.push(0); _local3++; } player = level.attachMovie("chopperG", "_chopperG", 7000); player._x = game.levelWidth / 2; player._y = 40; player.jet_downG1._visible = false; player.jet_downG2._visible = false; player.shield._visible = true; if (_global.playerShield == 2) { player.shield._alpha = 100; } if (_global.playerShield == 2) { player.shield._alpha = 60; } if (_global.playerShield == 1) { player.shield._alpha = 30; } if (_global.playerShield == 0) { player.shield._visible = false; } if (_global.playerHealth == 1) { player.gotoAndStop(2); } } function control() { if (_global.playerHealth <= 0) { _global.playerHealth--; if (_global.playerHealth < -36) { game.level_start._visible = true; game.levelActive = false; game.countdown = 3; game.level_start.countdown.text = 3; game.frames = 0; game.sndClick.start(0, 1); player.gotoAndStop(1); _global.playerHealth = 3; player._y = 40; player._x = (game.level._x * -1) + 275; player._rotation = 0; if (_global.playerShips < 0) { _global.finalPeople = _global.finalPeople + _global.peopleRescued; _global.finalEnemies = _global.finalEnemies + _global.enemiesKilled; _global.finalShotsHit = _global.finalShotsHit + _global.shotsHit; _global.finalShotsFired = _global.finalShotsFired + _global.shotsFired; _global.playerScore = _global.playerScore + _global.levelScore; _root.gotoAndStop("frameEndGame"); } clearProjectiles(); var _local4 = 0; while (_local4 < game.tanks.length) { game.tanks[_local4].clearProjectiles(); _local4++; } _local4 = 0; while (_local4 < game.turrets.length) { game.turrets[_local4].clearProjectiles(); _local4++; } } } else { moveMe(); } bombControl(); } function moveMe() { vThrust = vThrust - 1; if (game.keyUpFlag) { if (_global.powerupSpeed) { vThrust = vThrust + 6; } else { vThrust = vThrust + 3; } player.jet_down1._visible = true; player.jet_down2._visible = true; if (_global.powerupSpeed) { player.jet_downG1._visible = true; player.jet_downG2._visible = true; } } else { player.jet_down1._visible = false; player.jet_down2._visible = false; player.jet_downG1._visible = false; player.jet_downG2._visible = false; } if (game.keyLeftFlag && (!onGround)) { if (_global.powerupSpeed) { hThrust = hThrust - 6; } hThrust = hThrust - 3; } if (game.keyRightFlag && (!onGround)) { if (_global.powerupSpeed) { hThrust = hThrust + 6; } hThrust = hThrust + 3; } if (((!game.keyLeftFlag) && (!game.keyRightFlag)) || (onGround)) { if (hThrust > 0) { hThrust--; } if (hThrust < 0) { hThrust++; } if (onGround) { if (hThrust > 0) { hThrust--; } if (hThrust < 0) { hThrust++; } } } tempThrust = maxThrust; if (_global.powerupSpeed) { tempThrust = tempThrust + 2; } if (vThrust > maxThrust) { vThrust = maxThrust; } if (vThrust < -10) { vThrust = -10; } if (hThrust > maxThrust) { hThrust = maxThrust; } if (hThrust < (maxThrust * -1)) { hThrust = maxThrust * -1; } if (((hThrust > 0) && (hThrust <= 3)) && (game.keyRightFlag)) { player._rotation = 3; } else if ((hThrust > 3) && (game.keyRightFlag)) { player._rotation = 6; } else if (((hThrust < 0) && (hThrust >= -3)) && (game.keyLeftFlag)) { player._rotation = -3; } else if ((hThrust < -3) && (game.keyLeftFlag)) { player._rotation = -6; } else if (((hThrust == 0) || (!game.keyLeftFlag)) || (!game.keyRightFlag)) { player._rotation = 0; } player._x = player._x + hThrust; player._y = player._y - vThrust; if ((getPlayerY() + playerHeight) > (400 - game.groundHeight)) { player._y = ((400 - game.groundHeight) - playerHeight) + (playerHeight / 2); onGround = true; var _local4 = 0; while (_local4 < game.people.length) { if (((firstTouch && (game.people[_local4].person._visible)) && (game.people[_local4].person._x >= game.chopper.getPlayerX())) && (game.people[_local4].person._x <= (game.chopper.getPlayerX() + game.chopper.playerWidth))) { game.people[_local4].person._visible = false; _global.peopleKilled++; game.sndPersonSquash.start(0, 1); } _local4++; } firstTouch = false; } else { onGround = false; firstTouch = true; } if (player._y <= 20) { playerFakeX++; if (exitDelay > 48) { _global.levelTime = game.seconds; _root.gotoAndPlay("frameEndLevel"); } exitDelay++; if (exitDelay > 12) { if (!game.level_exit._visible) { game.sndLeavingLevel.start(0, 2); } game.level_exit._visible = true; } if (player._y < (25 - playerFakeX)) { player._y = 25 - playerFakeX; } } else { exitDelay = 0; playerFakeX = 0; game.level_exit._visible = false; game.sndLeavingLevel.stop("sndLeavingLevel"); if (player._y < 25) { player._y = 25; } } if (getPlayerX() < 0) { player._x = 0 + (playerWidth / 2); } if ((getPlayerX() + playerWidth) > game.levelWidth) { player._x = game.levelWidth - (playerWidth / 2); } var _local4 = 0; while (_local4 < game.scenery.length) { if (game.scenery[_local4].scenery._visible && (game.scenery[_local4].powerup != "none")) { if ((((getPlayerX() >= (game.scenery[_local4].scenery._x - 5)) && ((getPlayerX() + playerWidth) <= ((game.scenery[_local4].scenery._x + game.scenery[_local4].sceneryWidth) + 5))) && (getPlayerY() >= (game.scenery[_local4].scenery._y - 5))) && ((getPlayerY() + playerWidth) <= ((game.scenery[_local4].scenery._y + game.scenery[_local4].sceneryHeight) + 5))) { game.scenery[_local4].scenery._visible = false; _global.levelScore = _global.levelScore + 200; game.hud.score_txt.text = _global.playerScore + _global.levelScore; if (game.scenery[_local4].powerup == "shield") { game.hud.shieldPowerup._visible = true; _global.playerShield = 3; player.shield._visible = true; player.shield._alpha = 100; game.sndPowerupShield.start(0, 1); } else if (game.scenery[_local4].powerup == "clusterbomb") { game.hud.clusterPowerup._visible = true; _global.powerupCluster = true; game.sndPowerupCluster.start(0, 1); } else if (game.scenery[_local4].powerup == "speed") { game.hud.speedPowerup._visible = true; _global.powerupSpeed = true; game.sndPowerupCluster.start(0, 1); } } } _local4++; } } function bombControl() { var _local3 = 0; while (_local3 < bombs.length) { if (bombs[_local3]._visible == false) { if ((game.keySpaceFlag == true) && (fireDelay <= 0)) { if ((getPlayerY() < ((400 - game.groundHeight) - (playerHeight * 3))) && (_global.playerHealth > 0)) { bombsHThrust[_local3] = hThrust; bombsVThrust[_local3] = vThrust; bombs[_local3]._x = player._x; bombs[_local3]._y = (player._y + (playerHeight / 2)) + 2; bombs[_local3]._visible = true; fireDelay = 10; _global.shotsFired++; if (_global.powerupCluster) { bombsHThrust[_local3 + 1] = hThrust - 2; bombsVThrust[_local3 + 1] = vThrust; bombs[_local3 + 1]._x = player._x; bombs[_local3 + 1]._y = (player._y + (playerHeight / 2)) + 2; bombs[_local3 + 1]._visible = true; bombsHThrust[_local3 + 2] = hThrust + 2; bombsVThrust[_local3 + 2] = vThrust; bombs[_local3 + 2]._x = player._x; bombs[_local3 + 2]._y = (player._y + (playerHeight / 2)) + 2; bombs[_local3 + 2]._visible = true; _global.shotsFired = _global.shotsFired + 2; } } } } else { bombsVThrust[_local3] = bombsVThrust[_local3] - 2; if (bombsVThrust[_local3] > 8) { bombsVThrust[_local3] = 8; } bombs[_local3]._x = bombs[_local3]._x + bombsHThrust[_local3]; bombs[_local3]._y = bombs[_local3]._y - bombsVThrust[_local3]; var _local4 = 0; while (_local4 < game.scenery.length) { if (game.scenery[_local4].scenery._visible && (game.scenery[_local4].destructable)) { if ((((bombs[_local3]._x >= (game.scenery[_local4].scenery._x - 2)) && (bombs[_local3]._x <= ((game.scenery[_local4].scenery._x + game.scenery[_local4].sceneryWidth) + 2))) && (bombs[_local3]._y >= (game.scenery[_local4].scenery._y - 2))) && (bombs[_local3]._y <= ((game.scenery[_local4].scenery._y + game.scenery[_local4].sceneryHeight) + 2))) { game.scenery[_local4].scenery._visible = false; game.sndExplosionBuilding.start(0, 1); bombs[_local3]._visible = false; game.explode[_local3]._x = bombs[_local3]._x; game.explode[_local3]._y = bombs[_local3]._y; game.explode[_local3].anim._visible = true; game.explode[_local3].anim.gotoAndPlay(1); if (game.scenery[_local4].powerup != "none") { game.scenery.push(new Scenery(game, level, game.scenery[_local4].powerup, 20, 20, 0, false, _global.levelNo + 2, false)); game.scenery[game.scenery.length - 1].powerup = game.scenery[_local4].powerup; game.scenery[game.scenery.length - 1].scenery._x = game.scenery[_local4].scenery._x; } _global.shotsHit++; } } _local4++; } _local4 = 0; while (_local4 < game.prisons.length) { if (game.prisons[_local4].scenery._currentframe == 1) { if ((((bombs[_local3]._x >= (game.prisons[_local4].scenery._x - 2)) && (bombs[_local3]._x <= ((game.prisons[_local4].scenery._x + game.prisons[_local4].sceneryWidth) + 2))) && (bombs[_local3]._y >= (game.prisons[_local4].scenery._y - 2))) && (bombs[_local3]._y <= ((game.prisons[_local4].scenery._y + game.prisons[_local4].sceneryHeight) + 2))) { game.prisons[_local4].scenery.gotoAndStop(2); game.sndPrisonAlarm.start(0, 1); game.sndExplosionBuilding.start(0, 1); bombs[_local3]._visible = false; game.explode[_local3]._x = bombs[_local3]._x; game.explode[_local3]._y = bombs[_local3]._y; game.explode[_local3].anim._visible = true; game.explode[_local3].anim.gotoAndPlay(1); _global.shotsHit++; var _local5 = 0; while (_local5 < game.prisons[_local4].people) { game.people.push(new Person(game, level, false, false, "person", (game.prisons[_local4].scenery._x + (game.prisons[_local4].sceneryWidth / 2)) + (random(30) - 15), game.people.length)); game.people[_local5].person.stop(); _local5++; } } } _local4++; } if (bombs[_local3]._y > (400 - game.groundHeight)) { bombs[_local3]._visible = false; game.sndExplosion.start(0, 1); game.explode[_local3]._x = bombs[_local3]._x; game.explode[_local3]._y = (400 - game.groundHeight) - 10; game.explode[_local3].anim._visible = true; game.explode[_local3].anim.gotoAndPlay(1); if (bombSplash(_local3, 27)) { _global.shotsHit++; } } } _local3++; } fireDelay--; } function bombHit(cx, cy, cwidth, cheight, splash, splashWidth) { var _local7 = false; var _local4 = 10; var _local8 = false; var _local3 = 0; while (_local3 < bombs.length) { if (bombs[_local3]._visible) { if ((((bombs[_local3]._x >= (cx - _local4)) && (bombs[_local3]._x <= ((cx + _local4) + cwidth))) && (bombs[_local3]._y >= (cy - (_local4 / 2)))) && (bombs[_local3]._y <= ((cy + _local4) + cheight))) { _local7 = true; game.sndExplosion.start(0, 1); bombs[_local3]._visible = false; game.explode[_local3]._x = bombs[_local3]._x; game.explode[_local3]._y = bombs[_local3]._y; game.explode[_local3].anim._visible = true; game.explode[_local3].anim.gotoAndPlay(1); if (splash) { _local8 = bombSplash(_local3, splashWidth); } } } _local3++; } if (_local7 || (_local8)) { _global.shotsHit++; } return(_local7); } function bombSplash(z, bombSplashWidth) { var _local5 = false; var _local2 = 0; while (_local2 < game.tanks.length) { if (((game.tanks[_local2].tank._currentframe == 1) && ((game.tanks[_local2].tank._x + (game.tanks[_local2].tankWidth / 2)) > (bombs[z]._x - bombSplashWidth))) && ((game.tanks[_local2].tank._x + (game.tanks[_local2].tankWidth / 2)) < (bombs[z]._x + bombSplashWidth))) { game.tanks[_local2].killMe(); _local5 = true; } _local2++; } _local2 = 0; while (_local2 < game.turrets.length) { if (((game.turrets[_local2].turret._currentframe == 1) && ((game.turrets[_local2].turret._x + (game.turrets[_local2].turretWidth / 2)) > (bombs[z]._x - bombSplashWidth))) && ((game.turrets[_local2].turret._x + (game.turrets[_local2].turretWidth / 2)) < (bombs[z]._x + bombSplashWidth))) { game.turrets[_local2].killMe(); _local5 = true; } _local2++; } _local2 = 0; while (_local2 < game.people.length) { if (((game.people[_local2].person._visible == true) && (game.people[_local2].person._x > (bombs[z]._x - bombSplashWidth))) && (game.people[_local2].person._x < (bombs[z]._x + bombSplashWidth))) { game.people[_local2].killMe(); _local5 = true; } _local2++; } return(_local5); } function getPlayerX() { return(player._x - (playerWidth / 2)); } function getPlayerY() { return(player._y - (playerHeight / 2)); } function clearProjectiles() { var _local2 = 0; while (_local2 < bombs.length) { bombs[_local2]._visible = false; _local2++; } } function takeHp() { if (_global.playerHealth <= 0) { return(undefined); } if (_global.playerShield > 0) { _global.playerShield--; if (_global.playerShield == 2) { player.shield._alpha = 60; } if (_global.playerShield == 1) { player.shield._alpha = 30; } if (_global.playerShield == 0) { player.shield._visible = false; game.hud.shieldPowerup._visible = false; } } else { _global.playerHealth--; if (_global.playerHealth == 2) { player.gotoAndStop(2); } if (_global.playerHealth == 1) { player.gotoAndStop(3); } if (_global.playerHealth > 0) { game.sndShipHit.start(0, 1); } } if (_global.playerHealth <= 0) { _global.playerShips--; _global.powerupCluster = false; game.hud.clusterPowerup._visible = false; _global.powerupSpeed = false; game.hud.speedPowerup._visible = false; if (_global.playerShips >= 0) { game.hud.lives_txt.text = _global.playerShips; } game.sndShipDie.start(0, 1); player.gotoAndStop(4); vThrust = -5; hThrust = 0; onGround = false; firstTouch = true; var _local3 = 0; while (_local3 < game.people.length) { game.people[_local3].person.gotoAndStop(1); _local3++; } game.level_exit._visible = false; } } var fireDelay = 0; var vThrust = 0; var hThrust = 0; var onGround = false; var firstTouch = true; var exitDelay = 0; var playerWidth = 14; var playerHeight = 10; }
Symbol 393 MovieClip [__Packages.Scenery] Frame 0
class Scenery { var game, level, scenery, people, destructable, sceneryWidth, sceneryHeight, powerup; function Scenery (gme, lvl, image, width, height, ppl, destr, tNo, power) { game = gme; level = lvl; scenery = level.attachMovie(image, "_" + image, 2000 + tNo); people = ppl; destructable = destr; sceneryWidth = width; sceneryHeight = height; if (power) { if (_global.powerupCluster || (_global.powerupSpeed)) { powerup = "shield"; } else if (((_global.playerShield > 0) && (_global.powerupSpeed)) && (!_global.powerupCluster)) { powerup = "clusterbomb"; } else if ((_global.playerShield > 0) && (_global.powerupCluster)) { powerup = "speed"; } else { var _local7 = Math.random(); if (_local7 < 0.3) { powerup = "clusterbomb"; } else if (_local7 < 0.6) { powerup = "shield"; } else { powerup = "speed"; } } } else { powerup = "none"; } scenery._y = (400 - game.groundHeight) - sceneryHeight; var _local4 = random(game.levelWidth - sceneryWidth); var _local5 = true; var _local6 = 10; do { _local5 = true; var _local3 = 0; while (_local3 < game.prisons.length) { if (((_local4 >= game.prisons[_local3].scenery._x) && (_local4 <= (game.prisons[_local3].scenery._x + game.prisons[_local3].sceneryWidth))) || (((_local4 + sceneryWidth) >= game.prisons[_local3].scenery._x) && ((_local4 + sceneryWidth) <= (game.prisons[_local3].scenery._x + game.prisons[_local3].sceneryWidth)))) { _local5 = false; _local4 = random(game.levelWidth - sceneryWidth); } _local3++; } _local6--; if (_local6 == 0) { _local5 = true; } } while (!_local5); scenery._x = _local4; } }
Symbol 394 MovieClip [__Packages.Person] Frame 0
class Person { var game, level, person, moveable, suicide, invulnerable, dir; function Person (gme, lvl, movea, suic, image, x, tNo) { game = gme; level = lvl; person = level.attachMovie(image, "_" + image, 6000 + tNo); person._x = x; person._y = (400 - game.groundHeight) - height; moveable = movea; suicide = suic; invulnerable = 8; } function control() { if (!person._visible) { return(undefined); } if (invulnerable > 0) { invulnerable--; } if (game.chopper.bombHit(person._x - 5, person._y, width + 10, height + 20, true)) { return(undefined); } if (game.chopper.onGround) { if (random(100) < 10) { if (random(100) < 50) { speed--; } else { speed++; } if (speed < 1) { speed = 1; } if (speed > 3) { speed = 3; } } if (game.chopper.player._x > person._x) { dir = 1; person._x = person._x + speed; } else { dir = -1; person._x = person._x - speed; } person.play(); if ((((person._x >= game.chopper.getPlayerX()) && (person._x <= (game.chopper.getPlayerX() + game.chopper.playerWidth))) && (person._y >= game.chopper.getPlayerY())) && (person._y <= (game.chopper.getPlayerY() + game.chopper.playerHeight))) { person._visible = false; game.sndPersonCollect.start(0, 1); _global.peopleRescued++; game.hud.rescued_txt.text = (_global.peopleRescued + " / ") + (_global.levelNumber * 10); var _local3 = Math.round((100 / (_global.levelNumber * 10)) * _global.peopleRescued); game.hud.rescuedperc_txt.text = _local3 + "%"; if (_local3 >= 80) { game.hud.rescuedperc_txt.textColor = 65382; game.hud.exit_guide._visible = true; } else if ((_global.peopleKilled + _global.peopleRescued) == (_global.levelNumber * 10)) { game.hud.exit_guide._visible = true; game.hud.exit_guide.debrief_txt.text = "Level Failed. Exit level by holding down the UP arrow at the top of the screen."; } _global.levelScore = _global.levelScore + 75; game.hud.score_txt.text = _global.playerScore + _global.levelScore; } } else if (moveable) { } else { dir = 0; person.gotoAndStop(1); } } function killMe() { if (invulnerable != 0) { return(undefined); } _global.peopleKilled++; person._visible = false; var _local3 = Math.round((100 / (_global.levelNumber * 10)) * _global.peopleRescued); if (((_global.peopleKilled + _global.peopleRescued) == (_global.levelNumber * 10)) && (_local3 < 80)) { game.hud.exit_guide._visible = true; game.hud.exit_guide.debrief_txt.text = "Level Failed. Exit level by holding down the UP arrow at the top of the screen."; } } var speed = 2; var width = 5; var height = 5; }
Symbol 395 MovieClip [__Packages.ETurret] Frame 0
class ETurret { var game, level, projectile, turret; function ETurret (gme, lvl, pSpeed, pMaxSpeed, pAccel, pAcurate, pImage, tImage, tNo) { game = gme; level = lvl; projectile = new Projectile(); projectile.projectileSpeed = pSpeed; projectile.projectileOSpeed = pSpeed; projectile.maxProjectileSpeed = pMaxSpeed; projectile.projectileAcceleration = pAccel; projectile.projectile = level.attachMovie(pImage, "_" + pImage, 100 + tNo); projectile.projectile._visible = false; projectile.projectileAcuracy = pAcurate; projectile.game = game; projectile.level = level; turret = level.attachMovie(tImage, "_" + tImage, 300 + tNo); turret._y = (400 - game.groundHeight) - turretHeight; var _local2 = random(game.levelWidth - turretWidth); var _local4 = true; var _local5 = 10; do { _local4 = true; var _local3 = 0; while (_local3 < game.prisons.length) { if (((_local2 >= game.prisons[_local3].scenery._x) && (_local2 <= (game.prisons[_local3].scenery._x + game.prisons[_local3].sceneryWidth))) || (((_local2 + turretWidth) >= game.prisons[_local3].scenery._x) && ((_local2 + turretWidth) <= (game.prisons[_local3].scenery._x + game.prisons[_local3].sceneryWidth)))) { _local4 = false; _local2 = random(game.levelWidth - turretWidth); } _local3++; } _local3 = 0; while (_local3 < game.turrets.length) { if (((_local2 >= game.turrets[_local3].turret._x) && (_local2 <= (game.turrets[_local3].turret._x + game.turrets[_local3].turretWidth))) || (((_local2 + turretWidth) >= game.turrets[_local3].turret._x) && ((_local2 + turretWidth) <= (game.turrets[_local3].turret._x + game.turrets[_local3].turretWidth)))) { _local4 = false; _local2 = random(game.levelWidth - turretWidth); } _local3++; } _local3 = 0; while (_local3 < game.scenery.length) { if (((_local2 >= game.scenery[_local3].scenery._x) && (_local2 <= (game.scenery[_local3].scenery._x + game.scenery[_local3].sceneryWidth))) || (((_local2 + turretWidth) >= game.scenery[_local3].scenery._x) && ((_local2 + turretWidth) <= (game.scenery[_local3].scenery._x + game.scenery[_local3].sceneryWidth)))) { _local4 = false; _local2 = random(game.levelWidth - turretWidth); } _local3++; } _local5--; if (_local5 == 0) { _local4 = true; } } while (!_local4); turret._x = _local2; } function control() { if (projectile.projectile._visible == false) { if (((turret._x > (level._x * -1)) && (turret._x < ((level._x * -1) + 550))) && (turret._currentframe == 1)) { projectile.fireProjectile(turret._x + 5, turret._y, 0); } } else { projectile.moveProjectile(); } if (turret._currentframe != 1) { return(undefined); } game.chopper.bombHit(turret._x, turret._y, turretWidth, turretHeight + 10, true, 27); } function killMe() { _global.levelScore = _global.levelScore + 25; game.hud.score_txt.text = _global.playerScore + _global.levelScore; turret.gotoAndStop(2); game.sndExplosionBuilding.start(0, 1); _global.enemiesKilled++; } function clearProjectiles() { projectile.projectile._visible = false; } var turretHeight = 20; var turretWidth = 15; }
Symbol 396 MovieClip [__Packages.Projectile] Frame 0
class Projectile { var game, projectileAcuracy, projectileXVelocity, projectileYVelocity, projectile, projectileAcceleration, projectileSpeed, maxProjectileSpeed, level, projectileOSpeed; function Projectile () { } function fireProjectile(tx, ty, variance) { if (game.countdown > 0) { return(undefined); } if (projectileAcuracy == 0) { var _local4 = (game.chopper.player._x + (random(variance) - (variance / 2))) - tx; var _local3 = game.chopper.player._y - ty; } else { var _local4 = ((game.chopper.player._x + (random(variance) - (variance / 2))) + (game.chopper.hThrust * 2)) - tx; var _local3 = (game.chopper.player._y - (game.chopper.vThrust * 2)) - ty; } var _local5 = Math.atan2(_local4, _local3); if ((_local5 < -1.7) || (_local5 > 1.7)) { var _local7 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); projectileXVelocity = _local4 / _local7; projectileYVelocity = _local3 / _local7; projectile._visible = true; projectile._x = tx; projectile._y = ty; if (projectileAcceleration > 0) { var _local2 = (_local5 / (Math.PI*2)) * 360; _local2 = _local2 - 180; if (_local2 < 180) { _local2 = _local2 * -1; } else { _local2 = _local2 - 180; } projectile._rotation = _local2; } } } function moveProjectile() { projectile._x = projectile._x + (projectileXVelocity * projectileSpeed); projectile._y = projectile._y + (projectileYVelocity * projectileSpeed); projectileSpeed = projectileSpeed + projectileAcceleration; if (projectileSpeed > maxProjectileSpeed) { projectileSpeed = maxProjectileSpeed; } if (((projectile._x < (level._x * -1)) || (projectile._x > ((level._x * -1) + 550))) || (projectile._y < 0)) { projectile._visible = false; projectileSpeed = projectileOSpeed; } if (_global.playerHealth <= 0) { return(undefined); } if ((((projectile._x >= game.chopper.getPlayerX()) && (projectile._x <= (game.chopper.getPlayerX() + game.chopper.playerWidth))) && (projectile._y >= game.chopper.getPlayerY())) && (projectile._y <= (game.chopper.getPlayerY() + game.chopper.playerHeight))) { game.chopper.takeHp(); projectile._visible = false; } } }
Symbol 397 MovieClip [__Packages.ETank] Frame 0
class ETank { var game, level, projectiles, tank; function ETank (gme, lvl, pSpeed, pMaxSpeed, pAccel, pAcurate, pCount, pImage, tImage, tSpeed, tLag, tNo) { game = gme; level = lvl; projectiles = new Array(); var _local2 = 0; while (_local2 < pCount) { projectiles.push(new Projectile()); projectiles[_local2].projectileSpeed = pSpeed; projectiles[_local2].projectileOSpeed = pSpeed; projectiles[_local2].maxProjectileSpeed = pMaxSpeed; projectiles[_local2].projectileAcceleration = pAccel; projectiles[_local2].projectile = level.attachMovie(pImage, "_ta_" + pImage, (50000 + (tNo * 10)) + _local2); projectiles[_local2].projectile._visible = false; projectiles[_local2].projectileAcuracy = pAcurate; projectiles[_local2].game = game; projectiles[_local2].level = level; _local2++; } tankSpeed = tSpeed; tankAccelLag = tLag; tank = level.attachMovie(tImage, "_" + tImage, 700 + tNo); tank._y = (400 - game.groundHeight) - tankHeight; tank._x = random(game.levelWidth - tankWidth); } function control() { var _local3 = 0; while (_local3 < projectiles.length) { if (projectiles[_local3].projectile._visible == false) { if (((tank._x > (level._x * -1)) && (tank._x < ((level._x * -1) + 550))) && (tank._currentframe == 1)) { projectiles[_local3].fireProjectile(tank._x + (tankWidth / 2), tank._y, 50); } } else { projectiles[_local3].moveProjectile(); } _local3++; } if (tank._currentframe == 2) { return(undefined); } if (((tank._x + tankWidth) >= (level._x * -1)) && ((tank._x - tankWidth) <= ((level._x * -1) + 550))) { if (random(100) < 10) { tankDir = random(3) - 1; } if (tankDir == -1) { tankThrust--; if (tankThrust < (tankSpeed * -1)) { tankThrust = tankSpeed * -1; } } if (tankDir == 1) { tankThrust++; if (tankThrust > tankSpeed) { tankThrust = tankSpeed; } } if (tankDir == 0) { if (tankThrust < 0) { tankThrust++; } if (tankThrust > 0) { tankThrust--; } } tank._x = tank._x + Math.round(tankThrust / tankAccelLag); if (tank._x < 0) { tank._x = 0; tankThrust = 0; } if (tank._x > (game.levelWidth - tankWidth)) { tank._x = game.levelWidth - tankWidth; tankThrust = 0; } } if ((((tank._x >= game.chopper.player._x) && (tank._x <= (game.chopper.player._x + game.chopper.playerWidth))) || (((tank._x + tankWidth) >= game.chopper.player._x) && ((tank._x + tankWidth) <= (game.chopper.player._x + game.chopper.playerWidth)))) && ((game.chopper.player._y + game.chopper.playerHeight) > (tank._y + 3))) { if (_global.playerHealth > 0) { _global.playerHealth = 1; game.chopper.takeHp(); } } game.chopper.bombHit(tank._x, tank._y - 2, tankWidth, tankHeight + 10, true, 27); } function killMe() { _global.levelScore = _global.levelScore + 50; game.hud.score_txt.text = _global.playerScore + _global.levelScore; tank.gotoAndStop(2); game.sndExplosionTank.start(0, 1); _global.enemiesKilled++; } function clearProjectiles() { var _local2 = 0; while (_local2 < projectiles.length) { projectiles[_local2].projectile._visible = false; _local2++; } } var tankHeight = 15; var tankWidth = 25; var tankSpeed = 32; var tankAccelLag = 7; var tankThrust = 0; var tankDir = 0; }
Symbol 398 MovieClip [__Packages.EUberTank] Frame 0
class EUberTank { var game, level, bomb, tank; function EUberTank (gme, lvl, tImage, tNo) { game = gme; level = lvl; bomb = new UberBomb(game, level, this, tNo); tank = level.attachMovie(tImage, "_" + tImage, 600 + tNo); tank._y = (400 - game.groundHeight) - tankHeight; tank._x = random(game.levelWidth - tankWidth); } function control() { bomb.control(); if (tank._currentframe == 4) { return(undefined); } if (((tank._x + (tankWidth * 2)) >= ((level._x * -1) - tankWidth)) && ((tank._x - (tankWidth * 2)) <= ((level._x * -1) + 550))) { if (random(100) < 10) { tankDir = random(3) - 1; } if (tankDir == -1) { tankThrust--; if (tankThrust < (tankSpeed * -1)) { tankThrust = tankSpeed * -1; } } if (tankDir == 1) { tankThrust++; if (tankThrust > tankSpeed) { tankThrust = tankSpeed; } } if (tankDir == 0) { if (tankThrust < 0) { tankThrust++; } if (tankThrust > 0) { tankThrust--; } } tank._x = tank._x + Math.round(tankThrust / tankAccelLag); if (tank._x < 0) { tank._x = 0; tankThrust = 0; } if (tank._x > (game.levelWidth - tankWidth)) { tank._x = game.levelWidth - tankWidth; tankThrust = 0; } } if ((((tank._x >= game.chopper.player._x) && (tank._x <= (game.chopper.player._x + game.chopper.playerWidth))) || (((tank._x + tankWidth) >= game.chopper.player._x) && ((tank._x + tankWidth) <= (game.chopper.player._x + game.chopper.playerWidth)))) && ((game.chopper.player._y + game.chopper.playerHeight) > (tank._y + 3))) { if (_global.playerHealth > 0) { _global.playerHealth = 1; game.chopper.takeHp(); } } var _local3 = false; if (hp == 1) { _local3 = true; } if (game.chopper.bombHit(tank._x, tank._y - 3, tankWidth, tankHeight + 6, _local3, 50)) { hp--; if (hp == 2) { tank.gotoAndStop(2); } if (hp == 1) { tank.gotoAndStop(3); } if (hp == 0) { tank.gotoAndStop(4); _global.enemiesKilled++; game.sndExplosionBigTank.start(0, 1); game.shakeGround = 36; _global.levelScore = _global.levelScore + 200; game.hud.score_txt.text = _global.playerScore + _global.levelScore; } } } function clearProjectiles() { bomb.clearProjectiles(); } function killMe() { hp--; if (hp == 2) { tank.gotoAndStop(2); } if (hp == 1) { tank.gotoAndStop(3); } if (hp == 0) { tank.gotoAndStop(4); _global.enemiesKilled++; game.sndExplosionBigTank.start(0, 1); game.shakeGround = 36; game.chopper.bombHit(tank._x, tank._y - 3, tankWidth, tankHeight + 6, true, 50); _global.levelScore = _global.levelScore + 200; game.hud.score_txt.text = _global.playerScore + _global.levelScore; } } var tankHeight = 29; var tankWidth = 36; var tankSpeed = 20; var tankAccelLag = 10; var tankThrust = 0; var tankDir = 0; var hp = 3; }
Symbol 399 MovieClip [__Packages.UberBomb] Frame 0
class UberBomb { var game, level, tank, bomb, projectiles, vThrust; function UberBomb (gme, lvl, tnk, tNo) { game = gme; level = lvl; tank = tnk; bomb = level.attachMovie("uber_bomb", "_u_rocket", 1200 + tNo); bomb._visible = false; projectiles = new Array(); var _local2 = 0; while (_local2 <= numProjectiles) { projectiles.push(new UberProjectile()); projectiles[_local2].projectile = level.attachMovie("shell", "_ushell", (20000 + (tNo * 100)) + _local2); projectiles[_local2].projectile._visible = false; projectiles[_local2].game = game; projectiles[_local2].level = level; _local2++; } } function control() { if (game.countdown > 0) { return(undefined); } if (exploding) { var _local5 = false; var _local2 = 0; while (_local2 <= numProjectiles) { projectiles[_local2].moveProjectile(); if (projectiles[_local2].projectile._visible) { _local5 = true; } _local2++; } exploding = _local5; } else if (bomb._visible) { bomb._y = bomb._y - vThrust; vThrust--; if (vThrust == 0) { game.sndUberBombSplit.start(0, 1); exploding = true; bomb._visible = false; var _local2 = 0; while (_local2 < numProjectiles) { var _local3 = (_local2 / numProjectiles) * 100; var _local4 = (0.06 * _local3) - 3; projectiles[_local2].projectile._x = bomb._x; projectiles[_local2].projectile._y = bomb._y; projectiles[_local2].fireProjectile(_local4); projectiles[_local2].projectile._visible = true; _local2++; } } } else if (((tank.tank._currentframe != 4) && (tank.tank._x >= (level._x * -1))) && ((tank.tank._x + tank.tankWidth) <= ((level._x * -1) + 550))) { vThrust = 16; game.sndUberBombLaunch.start(0, 1); bomb._x = (tank.tank._x + (tank.tankWidth / 2)) - 4; bomb._y = tank.tank._y; bomb._visible = true; } } function clearProjectiles() { bomb._visible = false; var _local2 = 0; while (_local2 <= numProjectiles) { projectiles[_local2].projectile._visible = false; _local2++; } } var exploding = false; var numProjectiles = 15; }
Symbol 400 MovieClip [__Packages.UberProjectile] Frame 0
class UberProjectile { var projectileXVelocity, projectileYVelocity, projectile, level, game; function UberProjectile () { } function fireProjectile(angle) { projectileXVelocity = Math.cos(angle); projectileYVelocity = Math.sin(angle); } function moveProjectile() { projectile._x = projectile._x + (projectileXVelocity * projectileSpeed); projectile._y = projectile._y + (projectileYVelocity * projectileSpeed); if ((((projectile._x < (level._x * -1)) || (projectile._x > ((level._x * -1) + 550))) || (projectile._y < 0)) || (projectile._y > (400 - game.groundHeight))) { projectile._visible = false; } if (_global.playerHealth <= 0) { return(undefined); } if ((((projectile._x >= game.chopper.getPlayerX()) && (projectile._x <= (game.chopper.getPlayerX() + game.chopper.playerWidth))) && (projectile._y >= game.chopper.getPlayerY())) && (projectile._y <= (game.chopper.getPlayerY() + game.chopper.playerHeight))) { game.chopper.takeHp(); projectile._visible = false; } } var projectileSpeed = 8; var projectileHeight = 5; var projectileWidth = 5; }
Symbol 42 MovieClip [2back1] Frame 1
if (Math.random() < 0.25) { this.gotoAndPlay(149); } else { this.gotoAndPlay(Math.round(Math.random() * 100)); }
Symbol 79 MovieClip Frame 63
stop();
Symbol 80 MovieClip [prison] Frame 1
stop();
Symbol 80 MovieClip [prison] Frame 2
stop();
Symbol 117 MovieClip Frame 10
stop();
Symbol 119 MovieClip [chopperG] Frame 1
stop();
Symbol 119 MovieClip [chopperG] Frame 2
stop();
Symbol 119 MovieClip [chopperG] Frame 3
stop();
Symbol 119 MovieClip [chopperG] Frame 4
stop();
Symbol 208 MovieClip Frame 16
this._visible = false; stop();
Symbol 225 MovieClip [tank1] Frame 1
stop();
Symbol 225 MovieClip [tank1] Frame 2
stop();
Symbol 229 MovieClip [tank2] Frame 1
stop();
Symbol 229 MovieClip [tank2] Frame 2
stop();
Symbol 239 MovieClip Frame 10
stop();
Symbol 240 MovieClip Frame 21
stop();
Symbol 241 MovieClip [tank3] Frame 1
stop();
Symbol 241 MovieClip [tank3] Frame 2
stop();
Symbol 241 MovieClip [tank3] Frame 3
stop();
Symbol 241 MovieClip [tank3] Frame 4
stop();
Symbol 246 MovieClip [turret1] Frame 1
stop();
Symbol 246 MovieClip [turret1] Frame 2
stop();
Symbol 252 MovieClip [turret2] Frame 1
stop();
Symbol 252 MovieClip [turret2] Frame 2
stop();
Symbol 256 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent; component.registerSkinElement(boundingBox, "background"); stop();
Symbol 256 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled"); stop();
Symbol 259 MovieClip [FCheckBoxSymbol] Frame 1
#initclip 14 function FCheckBoxClass() { this.init(); } FCheckBoxClass.prototype = new FUIComponentClass(); Object.registerClass("FCheckBoxSymbol", FCheckBoxClass); FCheckBoxClass.prototype.init = function () { super.setSize(this._width, this._height); this.boundingBox_mc.unloadMovie(); this.attachMovie("fcb_hitArea", "fcb_hitArea_mc", 1); this.attachMovie("fcb_states", "fcb_states_mc", 2); this.attachMovie("FLabelSymbol", "fLabel_mc", 3); super.init(); this.setChangeHandler(this.changeHandler); this._xscale = 100; this._yscale = 100; this.setSize(this.width, this.height); if (this.initialValue == undefined) { this.setCheckState(false); } else { this.setCheckState(this.initialValue); } if (this.label != undefined) { this.setLabel(this.label); } this.ROLE_SYSTEM_CHECKBUTTON = 44; this.STATE_SYSTEM_CHECKED = 16; this.EVENT_OBJECT_STATECHANGE = 32778; this.EVENT_OBJECT_NAMECHANGE = 32780; this._accImpl.master = this; this._accImpl.stub = false; this._accImpl.get_accRole = this.get_accRole; this._accImpl.get_accName = this.get_accName; this._accImpl.get_accState = this.get_accState; this._accImpl.get_accDefaultAction = this.get_accDefaultAction; this._accImpl.accDoDefaultAction = this.accDoDefaultAction; }; FCheckBoxClass.prototype.setLabelPlacement = function (pos) { this.setLabel(this.getLabel()); this.txtFormat(pos); var _local7 = this.fLabel_mc._height / 2; var _local8 = this.fcb_states_mc._height / 2; var _local5 = _local8 - _local7; var _local6 = this.fcb_states_mc._width; var _local4 = this.fcb_states_mc; var _local9 = this.fLabel_mc; var _local2 = 0; if (_local4._width > this.width) { _local2 = 0; } else { _local2 = this.width - _local4._width; } this.fLabel_mc.setSize(_local2); if ((pos == "right") || (pos == undefined)) { this.labelPlacement = "right"; this.fcb_states_mc._x = 0; this.fLabel_mc._x = _local6; this.txtFormat("left"); } else if (pos == "left") { this.labelPlacement = "left"; this.fLabel_mc._x = 0; this.fcb_states_mc._x = this.width - _local6; this.txtFormat("right"); } this.fLabel_mc._y = _local5; this.fcb_hitArea_mc._y = _local5; }; FCheckBoxClass.prototype.txtFormat = function (pos) { var _local3 = this.textStyle; var _local4 = this.styleTable; _local3.align = ((_local4.textAlign.value == undefined) ? ((_local3.align = pos)) : undefined); _local3.leftMargin = ((_local4.textLeftMargin.value == undefined) ? ((_local3.leftMargin = 0)) : undefined); _local3.rightMargin = ((_local4.textRightMargin.value == undefined) ? ((_local3.rightMargin = 0)) : undefined); if (this.flabel_mc._height > this.height) { super.setSize(this.width, this.flabel_mc._height); } else { super.setSize(this.width, this.height); } this.fLabel_mc.labelField.setTextFormat(this.textStyle); this.setEnabled(this.enable); }; FCheckBoxClass.prototype.setHitArea = function (w, h) { var _local3 = this.fcb_hitArea_mc; this.hitArea = _local3; if (this.fcb_states_mc._width > w) { _local3._width = this.fcb_states_mc._width; } else { _local3._width = w; } _local3._visible = false; if (arguments.length > 1) { _local3._height = h; } }; FCheckBoxClass.prototype.setSize = function (w) { this.setLabel(this.getLabel()); this.setLabelPlacement(this.labelPlacement); if (this.fcb_states_mc._height < this.flabel_mc.labelField._height) { super.setSize(w, this.flabel_mc.labelField._height); } this.setHitArea(this.width, this.height); this.setLabelPlacement(this.labelPlacement); }; FCheckBoxClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this._width + 6, this._height - 1); }; FCheckBoxClass.prototype.onPress = function () { this.pressFocus(); _root.focusRect.removeMovieClip(); var _local3 = this.fcb_states_mc; if (this.getValue()) { _local3.gotoAndStop("checkedPress"); } else { _local3.gotoAndStop("press"); } }; FCheckBoxClass.prototype.onRelease = function () { this.fcb_states_mc.gotoAndStop("up"); this.setValue(!this.checked); }; FCheckBoxClass.prototype.onReleaseOutside = function () { var _local2 = this.fcb_states_mc; if (this.getValue()) { _local2.gotoAndStop("checkedEnabled"); } else { _local2.gotoAndStop("up"); } }; FCheckBoxClass.prototype.onDragOut = function () { var _local2 = this.fcb_states_mc; if (this.getValue()) { _local2.gotoAndStop("checkedEnabled"); } else { _local2.gotoAndStop("up"); } }; FCheckBoxClass.prototype.onDragOver = function () { var _local2 = this.fcb_states_mc; if (this.getValue()) { _local2.gotoAndStop("checkedPress"); } else { _local2.gotoAndStop("press"); } }; FCheckBoxClass.prototype.setValue = function (checkedValue) { if (checkedValue || (checkedValue == undefined)) { this.setCheckState(checkedValue); } else if (checkedValue == false) { this.setCheckState(checkedValue); } this.executeCallBack(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true); } }; FCheckBoxClass.prototype.setCheckState = function (checkedValue) { var _local2 = this.fcb_states_mc; if (this.enable) { this.flabel_mc.setEnabled(true); if (checkedValue || (checkedValue == undefined)) { _local2.gotoAndStop("checkedEnabled"); this.enabled = true; this.checked = true; } else { _local2.gotoAndStop("up"); this.enabled = true; this.checked = false; } } else { this.flabel_mc.setEnabled(false); if (checkedValue || (checkedValue == undefined)) { _local2.gotoAndStop("checkedDisabled"); this.enabled = false; this.checked = true; } else { _local2.gotoAndStop("uncheckedDisabled"); this.enabled = false; this.checked = false; this.focusRect.removeMovieClip(); } } }; FCheckBoxClass.prototype.getValue = function () { return(this.checked); }; FCheckBoxClass.prototype.setEnabled = function (enable) { if ((enable == true) || (enable == undefined)) { this.enable = true; Super.setEnabled(true); } else { this.enable = false; Super.setEnabled(false); } this.setCheckState(this.checked); }; FCheckBoxClass.prototype.getEnabled = function () { return(this.enable); }; FCheckBoxClass.prototype.setLabel = function (label) { this.fLabel_mc.setLabel(label); this.txtFormat(); if (Accessibility.isActive()) { Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE); } }; FCheckBoxClass.prototype.getLabel = function () { return(this.fLabel_mc.labelField.text); }; FCheckBoxClass.prototype.setTextColor = function (color) { this.fLabel_mc.labelField.textColor = color; }; FCheckBoxClass.prototype.myOnKeyDown = function () { if (((Key.getCode() == 32) && (this.pressOnce == undefined)) && (this.enabled == true)) { this.setValue(!this.getValue()); this.pressOnce = true; } }; FCheckBoxClass.prototype.myOnKeyUp = function () { if (Key.getCode() == 32) { this.pressOnce = undefined; } }; FCheckBoxClass.prototype.get_accRole = function (childId) { return(this.master.ROLE_SYSTEM_CHECKBUTTON); }; FCheckBoxClass.prototype.get_accName = function (childId) { return(this.master.getLabel()); }; FCheckBoxClass.prototype.get_accState = function (childId) { if (this.master.getValue()) { return(this.master.STATE_SYSTEM_CHECKED); } return(0); }; FCheckBoxClass.prototype.get_accDefaultAction = function (childId) { if (this.master.getValue()) { return("UnCheck"); } return("Check"); }; FCheckBoxClass.prototype.accDoDefaultAction = function (childId) { this.master.setValue(!this.master.getValue()); }; #endinitclip boundingBox_mc._visible = false; deadPreview._visible = false;
Symbol 260 MovieClip [FUIComponentSymbol] Frame 1
#initclip 12 function FUIComponentClass() { this.init(); } FUIComponentClass.prototype = new MovieClip(); FUIComponentClass.prototype.init = function () { this.enable = true; this.focused = false; this.useHandCursor = false; this._accImpl = new Object(); this._accImpl.stub = true; this.styleTable = new Array(); if (_global.globalStyleFormat == undefined) { _global.globalStyleFormat = new FStyleFormat(); globalStyleFormat.isGlobal = true; _global._focusControl = new Object(); _global._focusControl.onSetFocus = function (oldFocus, newFocus) { oldFocus.myOnKillFocus(); newFocus.myOnSetFocus(); }; Selection.addListener(_global._focusControl); } if (this._name != undefined) { this._focusrect = false; this.tabEnabled = true; this.focusEnabled = true; this.tabChildren = false; this.tabFocused = true; if (this.hostStyle == undefined) { globalStyleFormat.addListener(this); } else { this.styleTable = this.hostStyle; } this.deadPreview._visible = false; this.deadPreview._width = (this.deadPreview._height = 1); this.methodTable = new Object(); this.keyListener = new Object(); this.keyListener.controller = this; this.keyListener.onKeyDown = function () { this.controller.myOnKeyDown(); }; this.keyListener.onKeyUp = function () { this.controller.myOnKeyUp(); }; for (var _local3 in this.styleFormat_prm) { this.setStyleProperty(_local3, this.styleFormat_prm[_local3]); } } }; FUIComponentClass.prototype.setEnabled = function (enabledFlag) { this.enable = ((arguments.length > 0) ? (enabledFlag) : true); this.tabEnabled = (this.focusEnabled = enabledFlag); if ((!this.enable) && (this.focused)) { Selection.setFocus(undefined); } }; FUIComponentClass.prototype.getEnabled = function () { return(this.enable); }; FUIComponentClass.prototype.setSize = function (w, h) { this.width = w; this.height = h; this.focusRect.removeMovieClip(); }; FUIComponentClass.prototype.setChangeHandler = function (chng, obj) { this.handlerObj = ((obj == undefined) ? (this._parent) : (obj)); this.changeHandler = chng; }; FUIComponentClass.prototype.invalidate = function (methodName) { this.methodTable[methodName] = true; this.onEnterFrame = this.cleanUI; }; FUIComponentClass.prototype.cleanUI = function () { if (this.methodTable.setSize) { this.setSize(this.width, this.height); } else { this.cleanUINotSize(); } this.methodTable = new Object(); delete this.onEnterFrame; }; FUIComponentClass.prototype.cleanUINotSize = function () { for (var _local2 in this.methodTable) { this[_local2](); } }; FUIComponentClass.prototype.drawRect = function (x, y, w, h) { var _local4 = this.styleTable.focusRectInner.value; var _local5 = this.styleTable.focusRectOuter.value; if (_local4 == undefined) { _local4 = 16777215 /* 0xFFFFFF */; } if (_local5 == undefined) { _local5 = 0; } this.createEmptyMovieClip("focusRect", 1000); this.focusRect.controller = this; this.focusRect.lineStyle(1, _local5); this.focusRect.moveTo(x, y); this.focusRect.lineTo(x + w, y); this.focusRect.lineTo(x + w, y + h); this.focusRect.lineTo(x, y + h); this.focusRect.lineTo(x, y); this.focusRect.lineStyle(1, _local4); this.focusRect.moveTo(x + 1, y + 1); this.focusRect.lineTo((x + w) - 1, y + 1); this.focusRect.lineTo((x + w) - 1, (y + h) - 1); this.focusRect.lineTo(x + 1, (y + h) - 1); this.focusRect.lineTo(x + 1, y + 1); }; FUIComponentClass.prototype.pressFocus = function () { this.tabFocused = false; this.focusRect.removeMovieClip(); Selection.setFocus(this); }; FUIComponentClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this.width + 4, this.height + 4); }; FUIComponentClass.prototype.myOnSetFocus = function () { this.focused = true; Key.addListener(this.keyListener); if (this.tabFocused) { this.drawFocusRect(); } }; FUIComponentClass.prototype.myOnKillFocus = function () { this.tabFocused = true; this.focused = false; this.focusRect.removeMovieClip(); Key.removeListener(this.keyListener); }; FUIComponentClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this); }; FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) { this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal); }; FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) { if (value == "") { return(undefined); } var _local17 = parseInt(value); if (!isNaN(_local17)) { value = _local17; } var _local16 = ((arguments.length > 2) ? (isGlobal) : false); if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].useGlobal || (!_local16)) { this.styleTable[propName].value = value; if (this.setCustomStyleProperty(propName, value)) { } else if (propName == "embedFonts") { this.invalidate("setSize"); } else if (propName.subString(0, 4) == "text") { if (this.textStyle == undefined) { this.textStyle = new TextFormat(); } var _local18 = propName.subString(4, propName.length); this.textStyle[_local18] = value; this.invalidate("setSize"); } else { for (var _local15 in this.styleTable[propName].coloredMCs) { var _local4 = new Color(this.styleTable[propName].coloredMCs[_local15]); if (this.styleTable[propName].value == undefined) { var _local5 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"}; _local4.setTransform(_local5); } else { _local4.setRGB(value); } } } this.styleTable[propName].useGlobal = _local16; } }; FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) { if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].coloredMCs == undefined) { this.styleTable[propName].coloredMCs = new Object(); } this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef; if (this.styleTable[propName].value != undefined) { var _local4 = new Color(skinMCRef); _local4.setRGB(this.styleTable[propName].value); } }; _global.FStyleFormat = function () { this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true}; this.listeners = new Object(); this.isGlobal = false; if (arguments.length > 0) { for (var _local3 in arguments[0]) { this[_local3] = arguments[0][_local3]; } } }; _global.FStyleFormat.prototype = new Object(); FStyleFormat.prototype.addListener = function () { var _local3 = 0; while (_local3 < arguments.length) { var _local4 = arguments[_local3]; this.listeners[arguments[_local3]] = _local4; for (var _local5 in this) { if (this.isAStyle(_local5)) { _local4.updateStyleProperty(this, _local5.toString()); } } _local3++; } }; FStyleFormat.prototype.removeListener = function (component) { this.listeners[component] = undefined; for (var _local4 in this) { if (this.isAStyle(_local4)) { if (component.styleTable[_local4].useGlobal == this.isGlobal) { component.styleTable[_local4].useGlobal = true; var _local3 = (this.isGlobal ? undefined : (globalStyleFormat[_local4])); component.setStyleProperty(_local4, _local3, true); } } } }; FStyleFormat.prototype.applyChanges = function () { var _local6 = 0; for (var _local5 in this.listeners) { var _local3 = this.listeners[_local5]; if (arguments.length > 0) { var _local4 = 0; while (_local4 < arguments.length) { if (this.isAStyle(arguments[_local4])) { _local3.updateStyleProperty(this, arguments[_local4]); } _local4++; } } else { for (var _local4 in this) { if (this.isAStyle(_local4)) { _local3.updateStyleProperty(this, _local4.toString()); } } } } }; FStyleFormat.prototype.isAStyle = function (name) { return((this.nonStyles[name] ? false : true)); }; #endinitclip
Symbol 269 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(shadow_mc, "shadow"); component.registerSkinElement(darkshadow_mc, "darkshadow"); component.registerSkinElement(highlight_mc, "highlight"); component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 271 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(background_mc, "background");
Symbol 274 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 276 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 279 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(check_mc, "foregroundDisabled");
Symbol 282 MovieClip Frame 1
var component = _parent._parent; component.registerSkinElement(check_mc, "check");
Symbol 283 MovieClip [fcb_states] Frame 1
stop();
Symbol 283 MovieClip [fcb_states] Frame 2
stop();
Symbol 283 MovieClip [fcb_states] Frame 3
stop();
Symbol 283 MovieClip [fcb_states] Frame 4
stop();
Symbol 283 MovieClip [fcb_states] Frame 5
stop();
Symbol 283 MovieClip [fcb_states] Frame 6
stop();
Symbol 288 MovieClip [FLabelSymbol] Frame 1
#initclip 13 _global.FLabelClass = function () { if (this.hostComponent == undefined) { this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller)); } if (this.customTextStyle == undefined) { if (this.hostComponent.textStyle == undefined) { this.hostComponent.textStyle = new TextFormat(); } this.textStyle = this.hostComponent.textStyle; this.enable = true; } }; FLabelClass.prototype = new MovieClip(); Object.registerClass("FLabelSymbol", FLabelClass); FLabelClass.prototype.setLabel = function (label) { var _local2 = this.hostComponent.styleTable.embedFonts.value; if (_local2 != undefined) { this.labelField.embedFonts = _local2; } this.labelField.setNewTextFormat(this.textStyle); this.labelField.text = label; this.labelField._height = this.labelField.textHeight + 2; }; FLabelClass.prototype.setSize = function (width) { this.labelField._width = width; }; FLabelClass.prototype.setEnabled = function (enable) { this.enable = enable; var _local2 = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value; if (_local2 == undefined) { _local2 = (enable ? 0 : 8947848); } this.setColor(_local2); }; FLabelClass.prototype.getLabel = function () { return(this.labelField.text); }; FLabelClass.prototype.setColor = function (col) { this.labelField.textColor = col; }; #endinitclip
Symbol 320 MovieClip Frame 1
stop();
Instance of Symbol 259 MovieClip [FCheckBoxSymbol] in Symbol 320 MovieClip Frame 1
//component parameters onClipEvent (construct) { label = "Check Box"; initialValue = false; labelPlacement = "right"; changeHandler = ""; }
Instance of Symbol 260 MovieClip [FUIComponentSymbol] in Symbol 320 MovieClip Frame 1
//component parameters onClipEvent (construct) { }
Instance of Symbol 288 MovieClip [FLabelSymbol] in Symbol 320 MovieClip Frame 1
//component parameters onClipEvent (construct) { }
Symbol 328 Button
on (release) { _global.levelNumber = 1; _global.peopleRescued = 0; _global.peopleKilled = 0; _global.levelScore = 0; _global.totalEnemies = 0; _global.enemiesKilled = 0; _global.levelTime = 0; _global.shotsFired = 0; _global.shotsHit = 0; _global.playerShips = 2; _global.playerHealth = 3; _global.playerShield = 0; _global.powerupCluster = false; _global.powerupSpeed = false; _global.levplayerShield = 0; _global.levpowerupCluster = false; _global.levpowerupSpeed = false; _global.playerScore = 0; _global.playerSpeed = 7; _global.playerBombCount = 9; _global.nextExtraShip = 10000; _global.finalPeople = 0; _global.finalEnemies = 0; _global.finalShotsHit = 0; _global.finalShotsFired = 0; _global.soundOn = checkSound.getValue(); _global.musicOn = checkMusic.getValue(); if (_global.musicDisabled) { _global.musicOn = false; } if (_global.musicOn) { trace("trying to start music..." + _root.music); _root.music.startMusic(); } _root.game = new Game(); _root.game.buildLevel(_global.levelNumber); _root.gotoAndPlay("frameGame"); }
Symbol 331 Button
on (release) { gotoAndPlay ("frameStory"); }
Symbol 342 Button
on (release, keyPress "<Enter>") { if ((_global.levelNumber == 20) && (_global.peopleRescued >= (_global.levelNumber * 8))) { gotoAndStop ("frameEndGame"); } else { if (_global.peopleRescued >= (_global.levelNumber * 8)) { _global.levelNumber++; _global.playerHealth = 3; } _global.levelScore = 0; _global.peopleRescued = 0; _global.peopleKilled = 0; _global.totalEnemies = 0; _global.enemiesKilled = 0; _global.levelTime = 0; _global.shotsFired = 0; _global.shotsHit = 0; _root.game = new Game(); _root.game.buildLevel(_global.levelNumber); gotoAndPlay ("frameGame"); } }
Symbol 387 Button
on (release) { getURL ("http://www.playaholics.com/comp_entry.php?developer=spectrumwired&game=midnight&score=" + _global.playerScore, "_top"); gotoAndPlay (3); }
Symbol 389 Button
on (release) { _global.levelNumber = 1; _global.peopleRescued = 0; _global.peopleKilled = 0; _global.levelScore = 0; _global.totalEnemies = 0; _global.enemiesKilled = 0; _global.levelTime = 0; _global.shotsFired = 0; _global.shotsHit = 0; _global.playerShips = 2; _global.playerHealth = 3; _global.playerShield = 0; _global.powerupCluster = false; _global.powerupSpeed = false; _global.levplayerShield = 0; _global.levpowerupCluster = false; _global.levpowerupSpeed = false; _global.playerScore = 0; _global.playerSpeed = 7; _global.playerBombCount = 9; _global.nextExtraShip = 10000; _global.finalPeople = 0; _global.finalEnemies = 0; _global.finalShotsHit = 0; _global.finalShotsFired = 0; if (_global.musicOn) { _root.music.startMusic(); } _root.game = new Game(); _root.game.buildLevel(_global.levelNumber); _root.gotoAndPlay("frameGame"); }

Library Items

Symbol 1 Sound [sndUberBombLaunch]
Symbol 2 Sound [sndUberBombSplit]
Symbol 3 Sound [powerupShield]
Symbol 4 Sound [powerup3bomb]
Symbol 5 FontUsed by:6 11 19 20 21 22 23 24 25 26 27 126 127 129 164 165 166 167 169 170 171 341 343 345 346 347 348 367 379 383 385 388
Symbol 6 TextUses:5Used by:Timeline
Symbol 7 GraphicUsed by:10 328 331 389
Symbol 8 GraphicUsed by:10 328 331 389
Symbol 9 GraphicUsed by:10 328 331 389
Symbol 10 ButtonUses:7 8 9Used by:Timeline
Symbol 11 TextUses:5Used by:Timeline
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:Timeline
Symbol 14 FontUsed by:15
Symbol 15 TextUses:14Used by:Timeline
Symbol 16 FontUsed by:17 18
Symbol 17 TextUses:16Used by:Timeline
Symbol 18 TextUses:16Used by:Timeline
Symbol 19 TextUses:5Used by:Timeline
Symbol 20 TextUses:5Used by:Timeline
Symbol 21 TextUses:5Used by:Timeline
Symbol 22 TextUses:5Used by:Timeline
Symbol 23 TextUses:5Used by:Timeline
Symbol 24 TextUses:5Used by:Timeline
Symbol 25 TextUses:5Used by:Timeline
Symbol 26 TextUses:5Used by:Timeline
Symbol 27 EditableTextUses:5Used by:Timeline
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:Timeline
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:Timeline
Symbol 390 MovieClip [__Packages.Music]
Symbol 391 MovieClip [__Packages.Game]
Symbol 392 MovieClip [__Packages.Chopper]
Symbol 393 MovieClip [__Packages.Scenery]
Symbol 394 MovieClip [__Packages.Person]
Symbol 395 MovieClip [__Packages.ETurret]
Symbol 396 MovieClip [__Packages.Projectile]
Symbol 397 MovieClip [__Packages.ETank]
Symbol 398 MovieClip [__Packages.EUberTank]
Symbol 399 MovieClip [__Packages.UberBomb]
Symbol 400 MovieClip [__Packages.UberProjectile]
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClip [1back1]Uses:33Used by:320
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClip [1back2]Uses:36Used by:320
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:42
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:42
Symbol 42 MovieClip [2back1]Uses:39 41Used by:320
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClip [2back2]Uses:44Used by:320
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:48
Symbol 48 MovieClip [3back1]Uses:47Used by:320
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:51
Symbol 51 MovieClip [3back2]Uses:50Used by:320
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:54
Symbol 54 MovieClip [ground1]Uses:53Used by:320
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 MovieClip [ground2]Uses:56Used by:320
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:60
Symbol 60 MovieClip [ground3]Uses:59Used by:320
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:65
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:65
Symbol 65 MovieClip [person]Uses:62 64Used by:320
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:74
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:74
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:74
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:74
Symbol 74 MovieClipUses:67 69 71 73Used by:80
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:80
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClipUses:78Used by:80
Symbol 80 MovieClip [prison]Uses:74 76 79Used by:320
Symbol 81 ShapeTweeningUsed by:84
Symbol 82 ShapeTweeningUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:81 82 83Used by:119
Symbol 85 BitmapUsed by:86 214
Symbol 86 GraphicUses:85Used by:87
Symbol 87 MovieClipUses:86Used by:119
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:90
Symbol 90 MovieClipUses:89Used by:119
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:95
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:95
Symbol 95 MovieClipUses:92 94Used by:119
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:100
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:100
Symbol 100 MovieClipUses:97 99Used by:119
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:117
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:117
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:117
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:117
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:117
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:117
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:117
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 MovieClipUses:102 104 106 108 110 112 114 116Used by:118 240
Symbol 118 MovieClipUses:117Used by:119
Symbol 119 MovieClip [chopperG]Uses:84 87 90 95 100 118Used by:320
Symbol 120 MovieClip [level]Used by:320
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:163
Symbol 123 FontUsed by:124 125 128 162 344 349 355 359 364
Symbol 124 EditableTextUses:123Used by:163
Symbol 125 EditableTextUses:123Used by:163
Symbol 126 TextUses:5Used by:163
Symbol 127 TextUses:5Used by:163
Symbol 128 EditableTextUses:123Used by:163
Symbol 129 TextUses:5Used by:163
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:138
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:138
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:138
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:138
Symbol 138 MovieClip [clusterbomb]Uses:131 133 135 137Used by:163 320
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:147
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:147
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:147
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147
Symbol 147 MovieClip [shield]Uses:140 142 144 146Used by:163 320
Symbol 148 BitmapUsed by:149
Symbol 149 GraphicUses:148Used by:156
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:156
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:156
Symbol 154 BitmapUsed by:155
Symbol 155 GraphicUses:154Used by:156
Symbol 156 MovieClip [speed]Uses:149 151 153 155Used by:163
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:161
Symbol 159 FontUsed by:160
Symbol 160 EditableTextUses:159Used by:161
Symbol 161 MovieClipUses:158 160Used by:163
Symbol 162 EditableTextUses:123Used by:163
Symbol 163 MovieClip [hud]Uses:122 124 125 126 127 128 129 138 147 156 161 162Used by:320
Symbol 164 TextUses:5Used by:168
Symbol 165 TextUses:5Used by:168
Symbol 166 TextUses:5Used by:168
Symbol 167 TextUses:5Used by:168
Symbol 168 MovieClip [levelexit]Uses:164 165 166 167Used by:320
Symbol 169 TextUses:5Used by:172
Symbol 170 EditableTextUses:5Used by:172
Symbol 171 EditableTextUses:5Used by:172
Symbol 172 MovieClip [levelstart]Uses:169 170 171Used by:320
Symbol 173 FontUsed by:174
Symbol 174 TextUses:173Used by:175
Symbol 175 MovieClip [quit]Uses:174Used by:320
Symbol 176 BitmapUsed by:177
Symbol 177 GraphicUses:176Used by:208
Symbol 178 BitmapUsed by:179
Symbol 179 GraphicUses:178Used by:208
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:208
Symbol 182 BitmapUsed by:183
Symbol 183 GraphicUses:182Used by:208
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:208
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:208
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:208
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:208
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:208
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:208
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:208
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:208
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:208
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:208
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:208
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:208
Symbol 208 MovieClipUses:177 179 181 183 185 187 189 191 193 195 197 199 201 203 205 207Used by:209 224 228 238 239 240 251
Symbol 209 MovieClip [explosion]Uses:208Used by:320
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:212
Symbol 212 MovieClip [player_bomb]Uses:211Used by:320
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:85 213Used by:215
Symbol 215 MovieClip [rocket]Uses:214Used by:320
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:218
Symbol 218 MovieClip [shell]Uses:217Used by:320
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClip [uber_bomb]Uses:220Used by:320
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:225
Symbol 224 MovieClipUses:208Used by:225
Symbol 225 MovieClip [tank1]Uses:223 224Used by:320
Symbol 226 BitmapUsed by:227
Symbol 227 GraphicUses:226Used by:229
Symbol 228 MovieClipUses:208Used by:229 246
Symbol 229 MovieClip [tank2]Uses:227 228Used by:320
Symbol 230 BitmapUsed by:231
Symbol 231 GraphicUses:230Used by:241
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:241
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:234Used by:241
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:241
Symbol 238 MovieClipUses:208Used by:241
Symbol 239 MovieClipUses:208Used by:241
Symbol 240 MovieClipUses:117 208Used by:241
Symbol 241 MovieClip [tank3]Uses:231 233 235 237 238 239 240Used by:320
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:246
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:246
Symbol 246 MovieClip [turret1]Uses:243 245 228Used by:320
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:252
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:252
Symbol 251 MovieClipUses:208Used by:252
Symbol 252 MovieClip [turret2]Uses:248 250 251Used by:320
Symbol 253 GraphicUsed by:254 270
Symbol 254 MovieClipUses:253Used by:256
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClip [FBoundingBoxSymbol]Uses:254 255Used by:259
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClipUses:257Used by:259
Symbol 259 MovieClip [FCheckBoxSymbol]Uses:256 258Used by:320  Timeline
Symbol 260 MovieClip [FUIComponentSymbol]Used by:320
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:261Used by:269
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClipUses:263Used by:269
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:265Used by:269
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:269
Symbol 269 MovieClipUses:262 264 266 268Used by:283
Symbol 270 MovieClipUses:253Used by:271
Symbol 271 MovieClipUses:270Used by:283
Symbol 272 GraphicUsed by:273 275
Symbol 273 MovieClipUses:272Used by:274
Symbol 274 MovieClipUses:273Used by:283
Symbol 275 MovieClipUses:272Used by:276
Symbol 276 MovieClipUses:275Used by:283
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClipUses:277Used by:279
Symbol 279 MovieClipUses:278Used by:283
Symbol 280 GraphicUsed by:281
Symbol 281 MovieClipUses:280Used by:282
Symbol 282 MovieClipUses:281Used by:283
Symbol 283 MovieClip [fcb_states]Uses:269 271 274 276 279 282Used by:320
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClip [fcb_hitArea]Uses:284Used by:320
Symbol 286 FontUsed by:287
Symbol 287 EditableTextUses:286Used by:288
Symbol 288 MovieClip [FLabelSymbol]Uses:287Used by:320
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:297
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:297
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:297
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:297
Symbol 297 MovieClip [dropbox]Uses:290 292 294 296Used by:320
Symbol 298 Sound [sndClick]Used by:320
Symbol 299 Sound [sndCompleteLevel]Used by:320
Symbol 300 Sound [sndExplosionTank]Used by:320
Symbol 301 Sound [sndExplosion]Used by:320
Symbol 302 Sound [sndExplosionBigTank]Used by:320
Symbol 303 Sound [sndExplosionBuilding]Used by:320
Symbol 304 Sound [sndFailLevel]Used by:320
Symbol 305 Sound [sndLeavingLevel]Used by:320
Symbol 306 Sound [sndPersonCollect]Used by:320
Symbol 307 Sound [sndPersonSquash]Used by:320
Symbol 308 Sound [sndPrisonAlarm]Used by:320
Symbol 309 Sound [sndShipDie]Used by:320
Symbol 310 Sound [sndShipHit]Used by:320
Symbol 311 Sound [music1]Used by:320
Symbol 312 Sound [music2]Used by:320
Symbol 313 Sound [music3]Used by:320
Symbol 314 Sound [music4]Used by:320
Symbol 315 Sound [music5]Used by:320
Symbol 316 Sound [music51]Used by:320
Symbol 317 Sound [music6]Used by:320
Symbol 318 Sound [music8]Used by:320
Symbol 319 Sound [music9]Used by:320
Symbol 320 MovieClipUses:34 37 42 45 48 51 54 57 60 65 80 119 120 163 168 172 175 209 212 215 218 221 225 229 241 246 252 259 260 283 285 288 138 297 147 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319Used by:Timeline
Symbol 321 BitmapUsed by:322
Symbol 322 GraphicUses:321Used by:Timeline
Symbol 323 FontUsed by:324
Symbol 324 TextUses:323Used by:Timeline
Symbol 325 FontUsed by:326 327
Symbol 326 EditableTextUses:325Used by:Timeline
Symbol 327 EditableTextUses:325Used by:Timeline
Symbol 328 ButtonUses:7 8 9Used by:Timeline
Symbol 329 FontUsed by:330 332
Symbol 330 TextUses:329Used by:Timeline
Symbol 331 ButtonUses:7 8 9Used by:Timeline
Symbol 332 TextUses:329Used by:Timeline
Symbol 333 FontUsed by:334
Symbol 334 TextUses:333Used by:Timeline
Symbol 335 GraphicUsed by:Timeline
Symbol 336 BitmapUsed by:337
Symbol 337 GraphicUses:336Used by:Timeline
Symbol 338 FontUsed by:339 366
Symbol 339 EditableTextUses:338Used by:Timeline
Symbol 340 GraphicUsed by:342
Symbol 341 TextUses:5Used by:342
Symbol 342 ButtonUses:340 341Used by:Timeline
Symbol 343 EditableTextUses:5Used by:Timeline
Symbol 344 EditableTextUses:123Used by:Timeline
Symbol 345 EditableTextUses:5Used by:Timeline
Symbol 346 EditableTextUses:5Used by:Timeline
Symbol 347 EditableTextUses:5Used by:Timeline
Symbol 348 EditableTextUses:5Used by:Timeline
Symbol 349 EditableTextUses:123Used by:Timeline
Symbol 350 FontUsed by:351 356 360 363 365
Symbol 351 EditableTextUses:350Used by:Timeline
Symbol 352 FontUsed by:353 354 357 358 361 362 368 369 372 373 374 376 377 378
Symbol 353 TextUses:352Used by:Timeline
Symbol 354 EditableTextUses:352Used by:Timeline
Symbol 355 EditableTextUses:123Used by:Timeline
Symbol 356 EditableTextUses:350Used by:Timeline
Symbol 357 TextUses:352Used by:Timeline
Symbol 358 EditableTextUses:352Used by:Timeline
Symbol 359 EditableTextUses:123Used by:Timeline
Symbol 360 EditableTextUses:350Used by:Timeline
Symbol 361 TextUses:352Used by:Timeline
Symbol 362 EditableTextUses:352Used by:Timeline
Symbol 363 EditableTextUses:350Used by:Timeline
Symbol 364 EditableTextUses:123Used by:Timeline
Symbol 365 EditableTextUses:350Used by:Timeline
Symbol 366 EditableTextUses:338Used by:Timeline
Symbol 367 TextUses:5Used by:Timeline
Symbol 368 EditableTextUses:352Used by:Timeline
Symbol 369 TextUses:352Used by:Timeline
Symbol 370 FontUsed by:371 375
Symbol 371 TextUses:370Used by:Timeline
Symbol 372 TextUses:352Used by:Timeline
Symbol 373 TextUses:352Used by:Timeline
Symbol 374 TextUses:352Used by:Timeline
Symbol 375 EditableTextUses:370Used by:Timeline
Symbol 376 EditableTextUses:352Used by:Timeline
Symbol 377 EditableTextUses:352Used by:Timeline
Symbol 378 EditableTextUses:352Used by:Timeline
Symbol 379 EditableTextUses:5Used by:387
Symbol 380 BitmapUsed by:381 384
Symbol 381 GraphicUses:380Used by:382
Symbol 382 MovieClipUses:381Used by:387
Symbol 383 EditableTextUses:5Used by:387
Symbol 384 GraphicUses:380Used by:387
Symbol 385 EditableTextUses:5Used by:387
Symbol 386 GraphicUsed by:387
Symbol 387 ButtonUses:379 382 383 384 385 386Used by:Timeline
Symbol 388 TextUses:5Used by:Timeline
Symbol 389 ButtonUses:7 8 9Used by:Timeline

Instance Names

"txtPercent"Frame 1Symbol 27 EditableText
"movLoadBar"Frame 1Symbol 31 MovieClip
"checkSound"Frame 3Symbol 259 MovieClip [FCheckBoxSymbol]
"checkMusic"Frame 3Symbol 259 MovieClip [FCheckBoxSymbol]
"checkSoundText"Frame 3Symbol 326 EditableText
"checkMusicText"Frame 3Symbol 327 EditableText
"debrief_txt"Frame 6Symbol 339 EditableText
"butOk_but"Frame 6Symbol 342 Button
"continue_txt"Frame 6Symbol 343 EditableText
"levscore"Frame 6Symbol 344 EditableText
"totalscore"Frame 6Symbol 345 EditableText
"totalscore_txt"Frame 6Symbol 346 EditableText
"leveldesc_txt"Frame 6Symbol 347 EditableText
"level_txt"Frame 6Symbol 348 EditableText
"bonus2"Frame 6Symbol 349 EditableText
"bonus2_txt"Frame 6Symbol 351 EditableText
"enemies_txt"Frame 6Symbol 354 EditableText
"bonus4"Frame 6Symbol 355 EditableText
"bonus4_txt"Frame 6Symbol 356 EditableText
"acc_txt"Frame 6Symbol 358 EditableText
"bonus1"Frame 6Symbol 359 EditableText
"bonus1_txt"Frame 6Symbol 360 EditableText
"rescued_txt"Frame 6Symbol 362 EditableText
"perfectbonus_txt"Frame 6Symbol 363 EditableText
"perfectbonus"Frame 6Symbol 364 EditableText
"txtBonus"Frame 6Symbol 365 EditableText
"message"Frame 7Symbol 366 EditableText
"people_txt"Frame 7Symbol 376 EditableText
"enemies_txt"Frame 7Symbol 377 EditableText
"accuracy_txt"Frame 7Symbol 378 EditableText
"butSubmit"Frame 7Symbol 387 Button
"shield"Symbol 119 MovieClip [chopperG] Frame 1Symbol 84 MovieClip
"jet_down1"Symbol 119 MovieClip [chopperG] Frame 1Symbol 87 MovieClip
"jet_down2"Symbol 119 MovieClip [chopperG] Frame 1Symbol 87 MovieClip
"jet_downG1"Symbol 119 MovieClip [chopperG] Frame 1Symbol 87 MovieClip
"jet_downG2"Symbol 119 MovieClip [chopperG] Frame 1Symbol 87 MovieClip
"debrief_txt"Symbol 161 MovieClip Frame 1Symbol 160 EditableText
"rescuedperc_txt"Symbol 163 MovieClip [hud] Frame 1Symbol 124 EditableText
"lives_txt"Symbol 163 MovieClip [hud] Frame 1Symbol 125 EditableText
"score_txt"Symbol 163 MovieClip [hud] Frame 1Symbol 128 EditableText
"clusterPowerup"Symbol 163 MovieClip [hud] Frame 1Symbol 138 MovieClip [clusterbomb]
"shieldPowerup"Symbol 163 MovieClip [hud] Frame 1Symbol 147 MovieClip [shield]
"speedPowerup"Symbol 163 MovieClip [hud] Frame 1Symbol 156 MovieClip [speed]
"exit_guide"Symbol 163 MovieClip [hud] Frame 1Symbol 161 MovieClip
"rescued_txt"Symbol 163 MovieClip [hud] Frame 1Symbol 162 EditableText
"countdown"Symbol 172 MovieClip [levelstart] Frame 1Symbol 170 EditableText
"levellabel"Symbol 172 MovieClip [levelstart] Frame 1Symbol 171 EditableText
"anim"Symbol 209 MovieClip [explosion] Frame 1Symbol 208 MovieClip
"anim"Symbol 224 MovieClip Frame 1Symbol 208 MovieClip
"anim"Symbol 228 MovieClip Frame 1Symbol 208 MovieClip
"anim"Symbol 238 MovieClip Frame 1Symbol 208 MovieClip
"anim"Symbol 239 MovieClip Frame 10Symbol 208 MovieClip
"anim"Symbol 240 MovieClip Frame 21Symbol 208 MovieClip
"anim"Symbol 251 MovieClip Frame 1Symbol 208 MovieClip
"boundingBox"Symbol 256 MovieClip [FBoundingBoxSymbol] Frame 1Symbol 254 MovieClip
"boundingBox2"Symbol 256 MovieClip [FBoundingBoxSymbol] Frame 2Symbol 254 MovieClip
"boundingBox_mc"Symbol 259 MovieClip [FCheckBoxSymbol] Frame 1Symbol 256 MovieClip [FBoundingBoxSymbol]
"deadPreview"Symbol 259 MovieClip [FCheckBoxSymbol] Frame 1Symbol 258 MovieClip
"highlight3D_mc"Symbol 269 MovieClip Frame 1Symbol 262 MovieClip
"highlight_mc"Symbol 269 MovieClip Frame 1Symbol 264 MovieClip
"shadow_mc"Symbol 269 MovieClip Frame 1Symbol 266 MovieClip
"darkshadow_mc"Symbol 269 MovieClip Frame 1Symbol 268 MovieClip
"background_mc"Symbol 271 MovieClip Frame 1Symbol 270 MovieClip
"background_mc"Symbol 274 MovieClip Frame 1Symbol 273 MovieClip
"background_mc"Symbol 276 MovieClip Frame 1Symbol 275 MovieClip
"check_mc"Symbol 279 MovieClip Frame 1Symbol 278 MovieClip
"check_mc"Symbol 282 MovieClip Frame 1Symbol 281 MovieClip
"fcb_frame_mc"Symbol 283 MovieClip [fcb_states] Frame 1Symbol 269 MovieClip
"frb_frame_mc"Symbol 283 MovieClip [fcb_states] Frame 1Symbol 271 MovieClip
"labelField"Symbol 288 MovieClip [FLabelSymbol] Frame 1Symbol 287 EditableText

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$a2$gtZbP15/7K0PW6qkLviVl1."
ExportAssets (56)Timeline Frame 1Symbol 1 as "sndUberBombLaunch"
ExportAssets (56)Timeline Frame 1Symbol 2 as "sndUberBombSplit"
ExportAssets (56)Timeline Frame 1Symbol 3 as "powerupShield"
ExportAssets (56)Timeline Frame 1Symbol 4 as "powerup3bomb"
ExportAssets (56)Timeline Frame 1Symbol 390 as "__Packages.Music"
ExportAssets (56)Timeline Frame 1Symbol 391 as "__Packages.Game"
ExportAssets (56)Timeline Frame 1Symbol 392 as "__Packages.Chopper"
ExportAssets (56)Timeline Frame 1Symbol 393 as "__Packages.Scenery"
ExportAssets (56)Timeline Frame 1Symbol 394 as "__Packages.Person"
ExportAssets (56)Timeline Frame 1Symbol 395 as "__Packages.ETurret"
ExportAssets (56)Timeline Frame 1Symbol 396 as "__Packages.Projectile"
ExportAssets (56)Timeline Frame 1Symbol 397 as "__Packages.ETank"
ExportAssets (56)Timeline Frame 1Symbol 398 as "__Packages.EUberTank"
ExportAssets (56)Timeline Frame 1Symbol 399 as "__Packages.UberBomb"
ExportAssets (56)Timeline Frame 1Symbol 400 as "__Packages.UberProjectile"
ExportAssets (56)Timeline Frame 3Symbol 34 as "1back1"
ExportAssets (56)Timeline Frame 3Symbol 37 as "1back2"
ExportAssets (56)Timeline Frame 3Symbol 42 as "2back1"
ExportAssets (56)Timeline Frame 3Symbol 45 as "2back2"
ExportAssets (56)Timeline Frame 3Symbol 48 as "3back1"
ExportAssets (56)Timeline Frame 3Symbol 51 as "3back2"
ExportAssets (56)Timeline Frame 3Symbol 54 as "ground1"
ExportAssets (56)Timeline Frame 3Symbol 57 as "ground2"
ExportAssets (56)Timeline Frame 3Symbol 60 as "ground3"
ExportAssets (56)Timeline Frame 3Symbol 65 as "person"
ExportAssets (56)Timeline Frame 3Symbol 80 as "prison"
ExportAssets (56)Timeline Frame 3Symbol 119 as "chopperG"
ExportAssets (56)Timeline Frame 3Symbol 120 as "level"
ExportAssets (56)Timeline Frame 3Symbol 138 as "clusterbomb"
ExportAssets (56)Timeline Frame 3Symbol 147 as "shield"
ExportAssets (56)Timeline Frame 3Symbol 156 as "speed"
ExportAssets (56)Timeline Frame 3Symbol 163 as "hud"
ExportAssets (56)Timeline Frame 3Symbol 168 as "levelexit"
ExportAssets (56)Timeline Frame 3Symbol 172 as "levelstart"
ExportAssets (56)Timeline Frame 3Symbol 175 as "quit"
ExportAssets (56)Timeline Frame 3Symbol 209 as "explosion"
ExportAssets (56)Timeline Frame 3Symbol 212 as "player_bomb"
ExportAssets (56)Timeline Frame 3Symbol 215 as "rocket"
ExportAssets (56)Timeline Frame 3Symbol 218 as "shell"
ExportAssets (56)Timeline Frame 3Symbol 221 as "uber_bomb"
ExportAssets (56)Timeline Frame 3Symbol 225 as "tank1"
ExportAssets (56)Timeline Frame 3Symbol 229 as "tank2"
ExportAssets (56)Timeline Frame 3Symbol 241 as "tank3"
ExportAssets (56)Timeline Frame 3Symbol 246 as "turret1"
ExportAssets (56)Timeline Frame 3Symbol 252 as "turret2"
ExportAssets (56)Timeline Frame 3Symbol 256 as "FBoundingBoxSymbol"
ExportAssets (56)Timeline Frame 3Symbol 259 as "FCheckBoxSymbol"
ExportAssets (56)Timeline Frame 3Symbol 260 as "FUIComponentSymbol"
ExportAssets (56)Timeline Frame 3Symbol 283 as "fcb_states"
ExportAssets (56)Timeline Frame 3Symbol 285 as "fcb_hitArea"
ExportAssets (56)Timeline Frame 3Symbol 288 as "FLabelSymbol"
ExportAssets (56)Timeline Frame 3Symbol 138 as "clusterbomb"
ExportAssets (56)Timeline Frame 3Symbol 297 as "dropbox"
ExportAssets (56)Timeline Frame 3Symbol 147 as "shield"
ExportAssets (56)Timeline Frame 3Symbol 298 as "sndClick"
ExportAssets (56)Timeline Frame 3Symbol 299 as "sndCompleteLevel"
ExportAssets (56)Timeline Frame 3Symbol 300 as "sndExplosionTank"
ExportAssets (56)Timeline Frame 3Symbol 301 as "sndExplosion"
ExportAssets (56)Timeline Frame 3Symbol 302 as "sndExplosionBigTank"
ExportAssets (56)Timeline Frame 3Symbol 303 as "sndExplosionBuilding"
ExportAssets (56)Timeline Frame 3Symbol 304 as "sndFailLevel"
ExportAssets (56)Timeline Frame 3Symbol 305 as "sndLeavingLevel"
ExportAssets (56)Timeline Frame 3Symbol 306 as "sndPersonCollect"
ExportAssets (56)Timeline Frame 3Symbol 307 as "sndPersonSquash"
ExportAssets (56)Timeline Frame 3Symbol 308 as "sndPrisonAlarm"
ExportAssets (56)Timeline Frame 3Symbol 309 as "sndShipDie"
ExportAssets (56)Timeline Frame 3Symbol 310 as "sndShipHit"
ExportAssets (56)Timeline Frame 3Symbol 311 as "music1"
ExportAssets (56)Timeline Frame 3Symbol 312 as "music2"
ExportAssets (56)Timeline Frame 3Symbol 313 as "music3"
ExportAssets (56)Timeline Frame 3Symbol 314 as "music4"
ExportAssets (56)Timeline Frame 3Symbol 315 as "music5"
ExportAssets (56)Timeline Frame 3Symbol 316 as "music51"
ExportAssets (56)Timeline Frame 3Symbol 317 as "music6"
ExportAssets (56)Timeline Frame 3Symbol 318 as "music8"
ExportAssets (56)Timeline Frame 3Symbol 319 as "music9"
ExportAssets (56)Timeline Frame 3Symbol 259 as "FCheckBoxSymbol"
ExportAssets (56)Timeline Frame 3Symbol 259 as "FCheckBoxSymbol"

Labels

"frameMenu"Frame 3
"frameGame"Frame 4
"frameEndLevel"Frame 6
"frameEndGame"Frame 7
"frameStory"Frame 8
"enabled"Symbol 256 MovieClip [FBoundingBoxSymbol] Frame 1
"disabled"Symbol 256 MovieClip [FBoundingBoxSymbol] Frame 2
"Symbol_36"Symbol 260 MovieClip [FUIComponentSymbol] Frame 1
"up"Symbol 283 MovieClip [fcb_states] Frame 1
"press"Symbol 283 MovieClip [fcb_states] Frame 2
"uncheckedDisabled"Symbol 283 MovieClip [fcb_states] Frame 3
"checkedDisabled"Symbol 283 MovieClip [fcb_states] Frame 4
"checkedPress"Symbol 283 MovieClip [fcb_states] Frame 5
"checkedEnabled"Symbol 283 MovieClip [fcb_states] Frame 6
"Symbol_32"Symbol 288 MovieClip [FLabelSymbol] Frame 1

Dynamic Text Variables

_global.levelNumberSymbol 348 EditableText"?"
_global.levelNumberSymbol 368 EditableText""
_global.playerScoreSymbol 375 EditableText""




http://swfchan.com/6/27305/info.shtml
Created: 21/5 -2019 17:29:57 Last modified: 21/5 -2019 17:29:57 Server time: 28/04 -2024 10:43:25