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

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

Jetpac 2.swf

This is the info page for
Flash #74914

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


Text
www.terrypaton.com

Enter your name
in the highscores

type your name

(MAXIMUM 15 LETTERS)

ENTER

ENTER

LOADING
YOUR
HIGHSCORE
RESULT...

LOADING
YOUR
HIGHSCORE
RESULT...

YOU MADE IT TO POSITION

99

SORRY, YOU DIDN'T
MAKE IT INTO THE
HIGHSCORES.
TRY AGAIN!

jetpac

PLAY

PLAY

2.01

Your Highest Score:

RESET SCORE

RESET SCORE

<p align="center"><font face="Standard" size="53" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

MUSIC:

off

oN

off

oN

YOU ARE STRANDED FAR FROM EARTH, ALL WE CAN DO
IS SEND YOU SUPPLIES, YOU'LL HAVE TO RE-ASSEMBLE
THEM YOURSELF!
use the arrow keys and space to
complete your mission.

message from earth:

This game has been made as a
TRIBUTE TO THE 1982 classic

www.terrypaton.coM

oXYGEN

F

<p align="right"><font face="Standard" size="50" color="#0099ff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Standard" size="20" color="#0066ff" letterSpacing="0.000000" kerning="1">9</font></p>

STAGE

<p align="right"><font face="Standard" size="40" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

HOLDER

laserBeams

<p align="center"><font face="_sans" size="13" color="#ffffff" letterSpacing="0.000000" kerning="0">stars</font></p>

SCORE:

00000000

This game was made here!

<p align="center"><font face="Standard" size="66" color="#ffffff" letterSpacing="0.000000" kerning="0">well done!</font></p>

you made it back to earth!

GAME OVER

OK

OK

STAGE:

00000000

000

YOU ARE DOOMED
ON A DISTANT PLANET FROM EARTH

GAME OVER

ActionScript [AS1/AS2]

Frame 1
function gameMenu(menu, obj) { getURL (_root.authorsSite, "_blank"); } _root.gameTitle = "jetpac"; _root.gameName = "jetpac2"; _root.gameDesc = "Outer Space Action!"; _root.vNum = "2.02"; _root.flashVersionsNeeded = 8; _root.legalDomain = "http://www.terrypaton.com"; _root.legalDomain = "http://www.users.tpg.com.au/"; _root.authorName = "Terry Paton"; _root.authorContact = "terry@terrypaton.com"; _root.authorsSite = "http://www.terrypaton.com"; _root.gameLocation = _root._url.substr(0, legalDomain.length); _root.gameQuality = "AUTO"; var menu_cm = new ContextMenu(); menu_cm.customItems.push(new ContextMenuItem("--> www.terrypaton.com", gameMenu)); menu_cm.hideBuiltInItems(); _root.menu = menu_cm; fscommand ("fullscreen", true); this.createEmptyMovieClip("ob", 1); ob.lineStyle(1, 16777215, 100); ob.lineTo(240, 0); ob.lineTo(240, 20); ob.lineTo(0, 20); ob.lineTo(0, 0); ob.endFill(); ob._x = 200; ob._y = 220; this.createEmptyMovieClip("iB", 2); iB.beginFill(16777215, 30); iB.lineTo(233, 0); iB.lineTo(233, 15); iB.lineTo(0, 15); iB.endFill(); iB._x = 204; iB._y = 223; var mf = new TextFormat(); mf.bold = true; mf.font = "Arial"; mf.size = 14; mf.align = "center"; mf.color = 16777215 /* 0xFFFFFF */; this.createTextField("lT", 5000, 0, 0, 640, 32); iB.onLoad = function () { }; iB.onEnterFrame = function () { pL = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (pL < 100) { this._xscale = pL; _root.stop(); } else { removeMovieClip(this._parent.ob); removeMovieClip(this._parent.lT); removeMovieClip(this); _root.play(); } };
Instance of Symbol 9 MovieClip in Frame 2
onClipEvent (load) { var flashVersion = System.capabilities.version; if (8 > flashVersion.substr(4, 1)) { _parent.stop(); this.gotoAndStop(2); } _root.gameIsLegal = "no"; legalDomain1 = "http://uploads.ungrounded.net"; legalDomain2 = "http://www.terrypaton.com"; _root.gameLocation1 = _root._url.substr(0, legalDomain1.length); _root.gameLocation2 = _root._url.substr(0, legalDomain2.length); if ((_root.gameLocation1 == legalDomain1) || (_root.gameLocation2 == legalDomain2)) { _root.play(); } else { loadVariablesNum ("games/legal/licence.txt", 0, "POST"); trace("BAD"); } } onClipEvent (enterFrame) { if (_root.gameIsLegal == "yes") { trace("dfsdf"); _root.play(); } }
Frame 2
if (false) { }
Frame 5
function stopmusic() { music1.stop(); music2.stop(); music3.stop(); optionsmusic.stop(); intromusic.stop(); gameovermusic.stop(); gamefinishedmusic.stop(); } function playmusic() { if (musicstate == 1) { stopmusic(); trace("playing music"); trace(gameScene); switch (gameScene) { case "INTRO" : trace("BLASH"); intromusic.start(0, 90); return; case "GAME" : b = level - (int(level / 3) * 3); switch (b) { case 0 : music1.start(0, 30); break; case 1 : music2.start(0, 30); break; case 2 : music3.start(0, 30); break; default : music1.start(0, 30); } return; case "GAME OVER" : gameovermusic.start(0, 9); return; case "OPTIONS" : optionsmusic.start(0, 90); return; case "HOW TO PLAY" : optionsmusic.start(0, 90); return; case "GAME FINISHED" : gamefinishedmusic.start(0, 90); return; } } } storage = SharedObject.getLocal("store"); yourhigh = storage.data.myhighscore; if (yourhigh == undefined) { storage.data.myhighscore = 0; yourhigh = 0; } musicstate = storage.data.musicsetting; if ((musicstate == undefined) || (musicstate == 2)) { musicstate = 1; storage.data.musicsetting = 1; } intromusic = new Sound(); intromusic.attachSound("intromusicSnd");
Frame 6
function resetlevel() { this.resetclip.resetclip.gotoAndPlay(2); storage.data.myhighscore = 0; yourhigh = 0; storage.flush(); } function musicon() { this.options.on_off.gotoAndStop(1); musicstate = 1; storage.data.musicsetting = 1; playmusic(); } function musicoff() { stopmusic(); this.options.on_off.gotoAndStop(2); musicstate = 0; storage.data.musicsetting = 0; } this.playBtn.onPress = function () { gotoAndPlay (11); }; gameScene = "INTRO"; playmusic(); if (musicstate == 0) { this.options.on_off.gotoAndStop(2); } gameState = "setup";
Frame 10
stop();
Frame 11
function bonusClass() { } bonusClass.prototype = new MovieClip(); bonusClass.prototype.onLoad = function () { this.bonusType = random(5) + 1; this.gotoAndStop(this.bonusType); this.bState = "fall"; this.speed = 1; this.y = this._y; this.x = this._x; }; bonusClass.prototype.onEnterFrame = function () { if (this.bState == "fall") { this.y = this.y + this.speed; this.speed = this.speed * 1.02; if (platForms.hitTest(this.x - 10, this.y + 2, true) || (platForms.hitTest(this.x + 10, this.y + 2, true))) { this.bState = "wait"; if (this.y > 458) { this.y = 458; } this.c = 0; } } else { this.c++; if (this.c > 60) { this._alpha = this._alpha - 5; if (this.c > 80) { removeMovieClip(this); } } } if (this.bState != "exit") { if (this.hitTest(player)) { if (this.bonusType == 1) { playerEnergy = playerEnergy + 15; if (playerEnergy > 100) { playerEnergy = 100; } energyBar.energyBar_Bar._xscale = playerEnergy; this.energyBar.cap._x = this.energyBar.energyBar_Bar._width - 100; } this.bState = "exit"; bonusCollectSnd.start(); score = score + 500; } } if (this.bState == "exit") { this._xscale = this._xscale * 1.05; this._yscale = this._yscale * 1.05; this._alpha = this._alpha - 5; if (this._xscale > 150) { removeMovieClip(this); } } this._x = this.x; this._y = this.y; }; Object.registerClass("bonus", bonusClass); function playingState() { playerEnergy = playerEnergy - 0.02; energyBar.energyBar_Bar._xscale = playerEnergy; this.energyBar.cap._x = this.energyBar.energyBar_Bar._width - 100; if (playerEnergy < 1) { die.start(); playerEnergy = 0; gameState = "start gameover"; } testKeys(); if (playerYSpeed < 10) { if (playerY < 430) { playerYSpeed = playerYSpeed + 0.35; } } if (playerXSpeed > playerMaxSpeed) { playerXSpeed = playerMaxSpeed; } else if (playerXSpeed < (-playerMaxSpeed)) { playerXSpeed = -playerMaxSpeed; } if (playerYSpeed < -30) { playerYSpeed = -30; } if (playerYSpeed < 0.1) { playerY = playerY + playerYSpeed; playerYSpeed = playerYSpeed * 0.8; player.thrustFlame._xscale = Math.abs(playerYSpeed * 5); } hitLeft = false; hitRight = false; hitAbove = false; hitBelow = false; if (playerYSpeed > -0.01) { if (platForms.hitTest(playerX, playerY + 30, true)) { if (playerYSpeed > 0) { playerYSpeed = 0; } hitBelow = true; } playerY = playerY + playerYSpeed; } else if (playerYSpeed < 0) { hitAbove = false; if (platForms.hitTest(playerX, playerY - 30, true)) { playerY = playerY - playerYSpeed; playerYSpeed = 3; hitAbove = true; } else { playerY = playerY - playerYSpeed; } } if (playerXSpeed < -0.1) { if (playerXSpeed < 0) { if ((platForms.hitTest(playerX - 30, playerY, true) || (platForms.hitTest(playerX - 30, playerY + 20, true))) || (platForms.hitTest(playerX - 30, playerY - 20, true))) { trace("left"); playerXSpeed = 0; hitLeft = true; } else { playerX = playerX + playerXSpeed; } } } else if (playerXSpeed > 0.1) { if ((platForms.hitTest(playerX + 30, playerY, true) || (platForms.hitTest(playerX + 30, playerY + 20, true))) || (platForms.hitTest(playerX + 30, playerY - 20, true))) { if (playerXSpeed > 0) { playerXSpeed = 0; hitRight = true; } } else { playerX = playerX + playerXSpeed; } } if (playerYSpeed > 10) { playerYSpeed = 10; } playerXSpeed = playerXSpeed * 0.9; if (playerX < 0) { playerX = 649; } else if (playerX > 650) { playerX = 0; } if (playerY < 20) { playerY = 20; playerYSpeed = 0; } else if (playerY > 430) { playerY = 430; playerYSpeed = 0; } player._x = playerX; player._y = playerY; player._rotation = playerXSpeed * 2; if (enemies.bonus._x == undefined) { bonusDelay++; if (bonusDelay > bonusWait) { bonusWait = 60 + random(290); bonusDelay = 0; this.enemies.attachMovie("bonus", "bonus", 999); this.enemies.bonus._x = random(600) + 20; this.enemies.bonus._y = -30; } } alGen++; if (shipStage < 10) { if (alGen > alGenDelay) { alGenDelay = random(30) + 30; alGen = 0; alAdd = 0; i = 1; while (i < 50) { if (eval ("enemies.e" + i)._y != undefined) { alAdd++; } i++; } if (alAdd < levelMaxEnemies) { texe++; if (texe > 99) { texe = 1; } enemies.attachMovie(enemyName, "e" + texe, texe); eval ("enemies.e" + texe)._y = random(200); eval ("enemies.e" + texe)._x = 630; } } } if (shipStage > 2) { if (fuelCount == 0) { if (shipStage < 10) { trace("FUEL ADDED"); fuelCount++; enemies.attachMovie("ship", "fuel", 55); enemies.fuel.gotoAndStop(30); enemies.fuel.shipPeice = 30; enemies.fuel._y = -50; if (random(2) == 1) { enemies.fuel._x = random(325) + 20; } else { enemies.fuel._x = random(100) + 530; } } } } if (hitBelow == false) { if (lastHit == 1) { trace("puff of smoke"); attachMovie("jetPuff", "jetPuff", 997); jetPuff._x = playerX; jetPuff._y = playerY + 10; } lastHit = 0; player.gotoAndStop(1); playerMaxSpeed = 10; } if (hitBelow == true) { lastHit = 1; playerMaxSpeed = 2; if (playerXSpeed == 0) { player.gotoAndStop(2); } else { player.gotoAndStop(3); } } if (Math.abs(playerXSpeed) < 1) { playerXSpeed = 0; } } function damagePlayer() { if (gameState == "playing") { if (playerState != 6) { playerEnergy = playerEnergy - 1; hurtSnd.start(); if (playerEnergy < 1) { die.start(); playerEnergy = 0; testGameOver(); } energyBar.energyBar_Bar._xscale = playerEnergy; energyBar.energyLoss.gotoAndPlay(2); this.energyBar.cap._x = this.energyBar.energyBar_Bar._width - 100; player.gotoAndPlay(2); } } } function testGameOver() { lives--; if (lives < 0) { lives = 0; } gameState = "life lost start"; } function enemy1Class() { } enemy1Class.prototype = new MovieClip(); enemy1Class.prototype.onLoad = function () { this.maxSpeed = 2 + (Math.random() * 2); this.agility = 5 + (Math.random() * 2); this.fov = 300; this.rov = 200; this.health = 45; this.deaths = 0; this.speed = 3; this.delay = 0; this.angle = random(20) + 1; this.startDelay = 30; this._alpha = 0; this.eState = "norm"; this._rotation = -this.angle; this.y = this._y; this.x = 680; }; enemy1Class.prototype.onEnterFrame = function () { if ((gameState == "playing") || (gameState == "level complete wait")) { if (this.startDelay > 1) { this.startDelay--; this._alpha = this._alpha + 4; if (this._alpha > 100) { this._alpha = 100; } } else { if (this.health < 1) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("enemy_explosion", "ex" + tex, tex); with (eval ("enemies.ex" + tex)) { gotoAndStop(1); _rotation = this._rotation; _x = this.x; _y = this.y; } removeMovieClip(this); } this.xMove = Math.cos((this.angle * Math.PI) / 180); this.x = this.x - (this.speed * this.xMove); this.yMove = Math.sin((this.angle * Math.PI) / 180); this.y = this.y + (this.speed * this.yMove); if (this.hitTest(player.hitBox)) { damagePlayer(); } if (platForms.hitTest(this.x + this.xMove, this.y + this.yMove, true)) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("enemy_explosion", "ex" + tex, tex); with (eval ("enemies.ex" + tex)) { _rotation = this._rotation; gotoAndStop(1); _x = this.x; _y = this.y; } removeMovieClip(this); } if (this.x < -60) { this.x = 650; } } } this._x = this.x; this._y = this.y; }; Object.registerClass("level1Enemy", enemy1Class); function enemy2Class() { } enemy2Class.prototype = new MovieClip(); enemy2Class.prototype.onLoad = function () { this.maxSpeed = 1 + (Math.random() * 2); this.agility = 2 + (Math.random() * 3); this.fov = 240; this.rov = 200; this.health = 100; this.deaths = 0; this.speed = 5; this.delay = 0; this.yDir = random(2); this.startDelay = 30; this._alpha = 0; this.clip.gotoAndStop(random(7) + 1); this.eState = "norm"; this.attachMovie("spawn", "spawn", 2); this.y = this._y; this.x = this._x; this.ySpeed = 4; this.clip.gotoAndStop(random(10) + 1); }; enemy2Class.prototype.onEnterFrame = function () { if ((gameState == "playing") || (gameState == "level complete wait")) { if (this.startDelay > 1) { this.startDelay--; this._alpha = this._alpha + 4; if (this._alpha > 100) { this._alpha = 100; } } else { if (this.health < 1) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("enemy_explosion", "ex" + tex, tex); with (eval ("enemies.ex" + tex)) { gotoAndStop(2); _x = this.x; _y = this.y; } removeMovieClip(this); } if (this.yDir == 0) { this.y = this.y + this.ySpeed; } if (this.yDir == 1) { this.y = this.y - this.ySpeed; } this.x = this.x - 2; if (this.hitTest(player.hitBox)) { damagePlayer(); } if (platForms.hitTest(this.x, this.y + 20, true)) { this.yDir = 1; this.y = this.y - 5; } else if (platForms.hitTest(this.x, this.y - 20, true)) { this.yDir = 0; this.y = this.y + 5; } if (this.x < 0) { this.x = 650; } if (this.y < 10) { this.yDir = 0; this.y = 10; } else if (this.y > 430) { this.y = 420; this.yDir = 1; } } } this._x = this.x; this._y = this.y; }; Object.registerClass("level2Enemy", enemy2Class); function enemy3Class() { } enemy3Class.prototype = new MovieClip(); enemy3Class.prototype.onLoad = function () { this.maxSpeed = 2 + (Math.random() * 2); this.agility = 5 + (Math.random() * 2); this.fov = 300; this.rov = 200; this.health = 100; this.deaths = 0; this.speed = 1; this.delay = 0; this.angle = random(360); this.startDelay = 30; this._alpha = 0; this.eState = "norm"; this.attachMovie("spawn", "spawn", 2); this.y = this._y; this.x = this._x; }; enemy3Class.prototype.onEnterFrame = function () { if ((gameState == "playing") || (gameState == "level complete wait")) { if (this.startDelay > 1) { this.startDelay--; this._alpha = this._alpha + 4; if (this._alpha > 100) { this._alpha = 100; } } else { if (this.health < 1) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("enemy_explosion", "ex" + tex, tex); this.eState = "die"; with (eval ("enemies.ex" + tex)) { gotoAndStop(3); _x = this.x; _y = this.y; } removeMovieClip(this); } this.speed = this.speed + (1 - random(2)); if (this.speed > this.maxSpeed) { this.speed = this.maxSpeed; } else if (this.speed < 1) { this.speed = 1; } dx = playerX - this.x; dy = playerY - this.y; angleToFood = Math.round(((Math.atan2(dy, dx) / Math.PI) * 180) - this.angle); if (angleToFood < -180) { angleToFood = angleToFood + 360; } else if (angleToFood > 180) { angleToFood = angleToFood - 360; } distToFood = Math.round(Math.sqrt((dx * dx) + (dy * dy))); if (this.delay < 1) { if ((Math.abs(angleToFood) <= (this.fov / 2)) && (distToFood <= this.rov)) { this.aby = ((angleToFood > this.agility) ? (this.agility % angleToFood) : (angleToFood / this.agility)); this.angle = this.angle + this.aby; } } else { this.aby = (1 - Math.round(Math.random() * 2)) * this.agility; this.angle = this.angle + this.aby; } if (this.delay == 0) { this.x = this.x + (this.speed * Math.cos((this.angle * Math.PI) / 180)); this.y = this.y + (this.speed * Math.sin((this.angle * Math.PI) / 180)); } else { this.x = this.x - (this.speed * Math.cos((this.angle * Math.PI) / 180)); this.y = this.y - (this.speed * Math.sin((this.angle * Math.PI) / 180)); } if (this.hitTest(player.hitBox)) { damagePlayer(); } if (platForms.hitTest(this.x + (this.speed * Math.cos((this.angle * Math.PI) / 180)), this.y + (this.speed * Math.sin((this.angle * Math.PI) / 180)), true)) { this.delay = 6; this.angle = -this.angle; } if (this.delay > 0) { this.delay--; } if (this.x < 0) { this.x = 650; } else if (this.x > 650) { this.x = 0; } if (this.y < 10) { this.y = 10; this.delay = 6; this.angle = -this.angle; } else if (this.y > 430) { this.y = 430; } } } this._x = this.x; this._y = this.y; }; Object.registerClass("level3Enemy", enemy3Class); function enemy4Class() { } enemy4Class.prototype = new MovieClip(); enemy4Class.prototype.onLoad = function () { this.maxSpeed = 1 + (Math.random() * 2); this.agility = 2 + (Math.random() * 3); this.fov = 240; this.rov = 200; this.health = 150; this.deaths = 0; this.speed = 1; this.delay = 0; this.angle = random(360); this.startDelay = 30; this._alpha = 0; this.clip.gotoAndStop(random(7) + 1); this.eState = "norm"; this.attachMovie("spawn", "spawn", 2); this.y = this._y; this.x = this._x; }; enemy4Class.prototype.onEnterFrame = function () { if ((gameState == "playing") || (gameState == "level complete wait")) { if (this.startDelay > 1) { this.startDelay--; this._alpha = this._alpha + 4; if (this._alpha > 100) { this._alpha = 100; } } else { if (this.health < 1) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("enemy_explosion", "ex" + tex, tex); with (eval ("enemies.ex" + tex)) { gotoAndStop(4); _x = this.x; _y = this.y; } removeMovieClip(this); } this.speed = this.speed + (1 - random(2)); if (this.speed > this.maxSpeed) { this.speed = this.maxSpeed; } else if (this.speed < 1) { this.speed = 1; } dx = playerX - this.x; dy = playerY - this.y; angleToFood = Math.round(((Math.atan2(dy, dx) / Math.PI) * 180) - this.angle); if (angleToFood < -180) { angleToFood = angleToFood + 360; } else if (angleToFood > 180) { angleToFood = angleToFood - 360; } distToFood = Math.round(Math.sqrt((dx * dx) + (dy * dy))); if (this.delay < 1) { if ((Math.abs(angleToFood) <= (this.fov / 2)) && (distToFood <= this.rov)) { this.aby = ((angleToFood > this.agility) ? (this.agility % angleToFood) : (angleToFood / this.agility)); this.angle = this.angle + this.aby; } } else { this.aby = (1 - Math.round(Math.random() * 2)) * this.agility; this.angle = this.angle + this.aby; } if (this.delay < 1) { this.x = this.x + (this.speed * Math.cos((this.angle * Math.PI) / 180)); this.y = this.y + (this.speed * Math.sin((this.angle * Math.PI) / 180)); } else { this.x = this.x - (this.speed * Math.cos((this.angle * Math.PI) / 180)); this.y = this.y - (this.speed * Math.sin((this.angle * Math.PI) / 180)); } if (this.hitTest(player.hitBox)) { damagePlayer(); } if (platForms.hitTest(this.x + (this.speed * Math.cos((this.angle * Math.PI) / 180)), this.y + (this.speed * Math.sin((this.angle * Math.PI) / 180)), true)) { this.delay = 6; this.angle = -this.angle; } if (this.delay > 0) { this.delay--; } if (this.x < 0) { this.x = 650; } else if (this.x > 650) { this.x = 0; } if (this.y < 10) { this.y = 10; this.delay = 6; this.angle = -this.angle; } else if (this.y > 430) { this.y = 430; } } } this._x = this.x; this._y = this.y; }; Object.registerClass("level4Enemy", enemy4Class); function enemy5Class() { } enemy5Class.prototype = new MovieClip(); enemy5Class.prototype.onLoad = function () { this.maxSpeed = 2 + (Math.random() * 2); this.agility = 5 + (Math.random() * 2); this.fov = 300; this.rov = 200; this.health = 45; this.speed = 3; this.delay = 0; this.startDelay = 30; this._alpha = 0; this.subState = "move1"; this.eState = "norm"; this.y = this._y; this.x = 20; this.eDir = random(2); this.eFace = random(2); if (this.eFace == 0) { this.xSpeed = -3; this._xscale = -100; } else { this.xSpeed = 3; } this.flyDelay = random(200); this.clip.gotoAndStop(random(10) + 1); }; enemy5Class.prototype.onEnterFrame = function () { if ((gameState == "playing") || (gameState == "level complete wait")) { if (this.startDelay > 1) { this.startDelay--; this._alpha = this._alpha + 4; if (this._alpha > 100) { this._alpha = 100; } } else { if (this.subState == "move1") { this.flyDelay--; if (this.flyDelay < 1) { this.subState = "move2"; } if (this.eDir == 0) { this.y = this.y + 2; if (this.y > 400) { this.eDir = 1; } } else if (this.eDir == 1) { this.y = this.y - 2; if (this.y < 10) { this.eDir = 0; } } } if (this.subState == "move2") { this.x = this.x + this.xSpeed; this.y = this.y + 2; if (this.x < -60) { this.x = 650; } else if (this.x > 650) { this.x = -10; } } if (this.health < 1) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("enemy_explosion", "ex" + tex, tex); with (eval ("enemies.ex" + tex)) { gotoAndStop(5); _rotation = this._rotation; _x = this.x; _y = this.y; } removeMovieClip(this); } if (this.hitTest(player.hitBox)) { damagePlayer(); } if (platForms.hitTest(this.x, this.y + 10, true)) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("enemy_explosion", "ex" + tex, tex); with (eval ("enemies.ex" + tex)) { _rotation = this._rotation; gotoAndStop(5); _x = this.x; _y = this.y; } removeMovieClip(this); } } } this._x = this.x; this._y = this.y; }; Object.registerClass("level5Enemy", enemy5Class); function explosionClass() { } explosionClass.prototype = new MovieClip(); explosionClass.prototype.onLoad = function () { this.health = 10; this.n = random(3); if (this.n == 0) { explosionSnd1.start(); } if (this.n == 1) { explosionSnd2.start(); } if (this.n == 2) { explosionSnd3.start(); } }; explosionClass.prototype.onEnterFrame = function () { this.health--; this._alpha = this._alpha - 10; this._xscale = this._xscale * 1.1; this._yscale = this._yscale * 1.1; if (this.health < 1) { removeMovieClip(this); } }; Object.registerClass("enemy_explosion", explosionClass); function fireLaser() { if (laserDelay > 0) { laserDelay--; } else { fireLaserSnd.start(); laserBeamsHolder.attachMovie("laserClip", "l" + Lnum, Lnum); eval ("laserBeamsHolder.l" + Lnum)._y = playerY - 5; if (playerFacing == "left") { eval ("laserBeamsHolder.l" + Lnum)._x = (playerX - 25) - playerXSpeed; eval ("laserBeamsHolder.l" + Lnum).dir = "left"; } if (playerFacing == "right") { eval ("laserBeamsHolder.l" + Lnum)._x = (playerX + 25) + playerXSpeed; eval ("laserBeamsHolder.l" + Lnum).dir = "right"; } Lnum++; if (Lnum > 10) { Lnum = 1; } laserDelay = 5; } } laserDelay = 0; laserBeams = 1; Lnum = 1; function frameAction() { switch (gameState) { case "playing" : playingState(); return; case "start gameover" : i = 0; while (i < 50) { removeMovieClip(eval ("enemies.e" + i)); removeMovieClip(eval ("laserBeamsHolder.l" + i)); i++; } removeMovieClip(enemies.bonus); removeMovieClip(general.ship1); removeMovieClip(general.ship2); removeMovieClip(general.ship3); removeMovieClip(player); gameState = "game over wait"; gameoverWait = 60; return; case "game over wait" : gameoverWait--; if (gameoverWait < 1) { gotoAndPlay (23); } return; case "life lost start" : lifeLostWait = 60; gameState = "life lost wait"; i = 0; while (i < 50) { removeMovieClip(eval ("enemies.e" + i)); removeMovieClip(eval ("laserBeamsHolder.l" + i)); i++; } playerX = 280; playerY = 380; playerFallSpeed = 4; removeMovieClip(enemies.bonus); player.gotoAndStop(4); return; case "life lost wait" : trace(lifeLostWait); player._y = player._y + playerFallSpeed; playerFallSpeed = playerFallSpeed * 1.03; player._rotation = player._rotation + 5; lifeLostWait--; if (lifeLostWait < 1) { if (lives == 0) { gotoAndPlay (23); } else { gameState = "start again"; } delete playerFallSpeed; } return; case "start again" : playerEnergy = 100; energyBar.energyLoss.gotoAndPlay(2); this.energyBar.cap._x = this.energyBar.energyBar_Bar._width - 100; gameState = "playing"; return; case "ship landing start" : trace("ship landing"); gameState = "ship landing"; general.ship3.clip.gotoAndStop(12); landSnd.start(); return; case "ship landing" : if (general.ship3._y < general.ship3.shipPosY) { temp = 100 * ((general.ship3.shipPosY - general.ship3._y) / 100); if (temp > 200) { temp = 200; } this.platForms._x = random(2); this.platForms._y = random(2); this.enemies._x = random(2); this.enemies._y = random(2); this.general._x = random(2); this.general._y = random(2); general.ship3.clip.thrust._yscale = temp; if (general.ship3._y > 250) { if (general.shipDust._y == undefined) { general.attachMovie("shipLandDust", "shipDust", 1000); general.shipDust._x = 411; general.shipDust._y = general.ship3.shipPosY; } } } else { gameState = "playing"; this.platForms._x = 0; this.platForms._y = 0; this.enemies._x = 0; this.enemies._y = 0; this.general._x = 0; this.general._y = 0; landSnd.stop(); general.ship3.clip.gotoAndStop(3); general.ship3._y = general.ship3.shipPosY; } return; case "level complete start" : trace("level is complete"); playerEnergy = 100; energyBar.energyBar_Bar._xscale = playerEnergy; this.energyBar.cap._x = this.energyBar.energyBar_Bar._width - 100; removeMovieClip(player); shipSpeed = 1; gameState = "level complete wait"; general.attachMovie("shipLaunchDust", "shipDust", 1000); general.shipDust._x = 411; general.shipDust._y = general.ship3.shipPosY; launchSnd.start(); return; case "level complete wait" : this.platForms._x = random(2); this.platForms._y = random(2); this.enemies._x = random(2); this.enemies._y = random(2); this.general._x = random(2); this.general._y = random(2); shipSpeed = shipSpeed * 1.01; general.ship3.clip.gotoAndStop(11); general.ship3._y = general.ship3._y - shipSpeed; general.ship3.clip.thrust._yscale = (30 - shipSpeed) * 3; if (general.ship3._y < -100) { this.platForms._x = 0; this.platForms._y = 0; this.enemies._x = 0; this.enemies._y = 0; this.general._x = 0; this.general._y = 0; removeMovieClip(general.ship3); gameState = "next level"; } return; case "next level" : launchSnd.stop(); removeAllClips(); level++; if (level > 9) { gotoAndPlay (17); } else { trace("increase level"); setupLevel(); if (((level == 1) || (level == 4)) || (level == 7)) { gameState = "playing"; } else { gameState = "ship landing start"; trace("gameState"); } } return; case "setup" : setup(); setupLevel(); if (level == 1) { gameState = "playing"; } else { gameState = "next level"; } return; case "" : return; } } function jetPuffClass() { } jetPuffClass.prototype = new MovieClip(); jetPuffClass.prototype.onLoad = function () { this.c = 10; }; jetPuffClass.prototype.onEnterFrame = function () { this.c--; this._xscale = this._xscale + 5; if (this.c < 1) { removeMovieClip(this); } this._alpha = this._alpha * 0.9; }; Object.registerClass("jetPuff", jetPuffClass); function laserClass() { } laserClass.prototype = new MovieClip(); laserClass.prototype.onLoad = function () { this.life = 30; this.lx = this._x; this.ly = this._y; this.spd = 15; this.lineLength = 10; this.lState = "norm"; if (this.dir == "left") { this._xscale = -100; } }; laserClass.prototype.onEnterFrame = function () { if (this.lState == "norm") { this.life--; this._alpha = this._alpha - 2; if (this.life < 1) { removeMovieClip(this); } if (this.dir == "left") { this.lx = this.lx - this.spd; this.createEmptyMovieClip("lsr", 5); this.lsr.lineStyle(10, 16776960, 100); this.lsr.lineTo(this.lineLength, 0); } if (this.dir == "right") { this.lx = this.lx + this.spd; this.createEmptyMovieClip("lsr", 5); this.lsr.lineStyle(10, 16776960, 100); this.lsr.lineTo(-this.lineLength, 0); } this.spd = this.spd * 1.1; if ((this.lx > 700) || (this.lx < -100)) { removeMovieClip(this); } this._x = this.lx; this.lineLength = this.lineLength * 1.2; if (platForms.hitTest(this.lx, this.ly, true)) { removeMovieClip(this); } c = 0; while (c < 50) { if (eval ("this.enemies.e" + c).eState == "norm") { if (eval ("this.enemies.e" + c).hitTest(this.lx, this.ly, true)) { trace(c); eval ("this.enemies.e" + c).health = eval ("this.enemies.e" + c).health - 50; if (this.dir == "left") { eval ("this.enemies.e" + c)._x = eval ("this.enemies.e" + c)._x - (5 + random(5)); } if (this.dir == "right") { eval ("this.enemies.e" + c)._x = eval ("this.enemies.e" + c)._x + (5 + random(5)); } if (eval ("this.enemies.e" + c).health > 0) { tex = enemies.getNextHighestDepth(); enemies.attachMovie("tink", "tink", 1000); tinkSnd.start(); with (enemies.tink) { _x = this._x; _y = this._y; } } score = score + (level * 10); this.lState = "die"; break; } } c++; } } if (this.lState == "die") { removeMovieClip(this); } }; Object.registerClass("laserClip", laserClass); function removeAllClips() { i = 0; while (i < 250) { removeMovieClip(eval ("enemies.e" + i)); removeMovieClip(eval ("general.ship" + i)); removeMovieClip(eval ("laserBeamsHolder.l" + i)); i++; } removeMovieClip(enemies.fuel); removeMovieClip(enemies.bonus); removeMovieClip(player); } function setupLevel() { removeAllClips(); trace("setupLevel()"); playerEnergy = 100; bonusDelay = 0; bonusWait = 70; playerFacing = "left"; upKey = 38; downKey = 40; leftKey = 37; rightKey = 39; fireKey = 32; playerX = 280; playerY = 380; playerXSpeed = 0; playerYSpeed = 0; playerMaxSpeed = 10; n = 0; hitAbove = false; hitBelow = false; hitLeft = false; hitRight = false; player.thrustFlame._xscale = 1; switch (level) { case 1 : shipStage = 1; shipLevelOffset = 0; levelEnemyNum = 1; alGenDelay = 30; backGround.gotoAndStop(1); break; case 2 : shipStage = 3; shipLevelOffset = 0; levelEnemyNum = 2; alGenDelay = 60; backGround.gotoAndStop(1); break; case 3 : shipStage = 3; shipLevelOffset = 0; levelEnemyNum = 3; alGenDelay = 60; backGround.gotoAndStop(1); break; case 4 : shipStage = 1; shipLevelOffset = 0; alGenDelay = 30; levelEnemyNum = 5; backGround.gotoAndStop(2); break; case 5 : shipStage = 3; shipLevelOffset = 3; alGenDelay = 60; levelEnemyNum = 3; backGround.gotoAndStop(2); break; case 6 : shipStage = 3; shipLevelOffset = 3; alGenDelay = 60; levelEnemyNum = 4; backGround.gotoAndStop(2); break; case 7 : shipStage = 1; shipLevelOffset = 3; alGenDelay = 60; levelEnemyNum = 4; backGround.gotoAndStop(3); break; case 8 : shipStage = 3; shipLevelOffset = 3; alGenDelay = 60; levelEnemyNum = 2; backGround.gotoAndStop(3); break; case 9 : shipStage = 3; shipLevelOffset = 3; alGenDelay = 60; levelEnemyNum = 5; backGround.gotoAndStop(3); break; default : shipStage = 3; shipLevelOffset = 0; alGenDelay = 60; levelEnemyNum = 5; } alGen = 0; levelMaxEnemies = 6; enemyName = ("level" + levelEnemyNum) + "Enemy"; i = 1; while (i < 5) { enemies.attachMovie(enemyName, "e" + i, i); eval ("enemies.e" + i)._y = random(200); eval ("enemies.e" + i)._x = 640; i++; } general.attachMovie("ship", "ship1", 1); general.ship1._y = -50; general.ship1._x = 116; general.ship1.gotoAndStop(1 + shipLevelOffset); general.ship1.shipPeice = 1; general.attachMovie("ship", "ship2", 2); general.ship2._y = -100; general.ship2._x = 296; general.ship2.shipPeice = 2; general.ship2.gotoAndStop(2 + shipLevelOffset); general.attachMovie("ship", "ship3", 3); general.ship3._y = -150; general.ship3._x = 411; general.ship3.gotoAndStop(3 + shipLevelOffset); general.ship3.shipPeice = 3; if (shipStage > 2) { removeMovieClip(general.ship1); removeMovieClip(general.ship2); general.ship3.clip.gotoAndStop(shipStage); } fuelCount = 0; texe = 7; attachMovie("player", "player", 97); player._x = -200; } function setup() { lives = 2; level = 1; score = 0; playerEnergy = 100; playerCarry = 0; trailCount = 0; trailDelay = 3; } function shipClass() { } shipClass.prototype = new MovieClip(); shipClass.prototype.onLoad = function () { this.sState = "fall"; if (this.shipPeice == 1) { this.shipPosY = 330; } if (this.shipPeice == 2) { this.shipPosY = 393; } if (this.shipPeice == 3) { this.shipPosY = 457; } if (this.shipPeice == 30) { this.shipPosY = 450; } this.shipXPos = 411; if (gameState == "ship landing start") { this.speed = 15; } else { this.speed = 1; } }; shipClass.prototype.onEnterFrame = function () { if (this.sState == "fall") { if (gameState == "ship landing") { this._y = this._y + this.speed; this.speed = this.speed * 0.976; if (platForms.hitTest(this._x - 20, this._y + 2.5, true) || (platForms.hitTest(this._x + 20, this._y + 2.5, true))) { this.sState = "wait"; } } else { this._y = this._y + this.speed; this.speed = this.speed * 1.02; if (platForms.hitTest(this._x - 20, this._y + 2.5, true) || (platForms.hitTest(this._x + 20, this._y + 2.5, true))) { this.sState = "wait"; } } } if (this.hitSpot.hitTest(player)) { if (this.shipPeice != 3) { if ((((this.shipPeice == 1) && (shipStage == 2)) || ((this.shipPeice == 2) && (shipStage == 1))) || (this.shipPeice == 30)) { if (((playerCarry == 0) && (this.sState != "falling2")) && (gameState == "playing")) { this.sState = "grabbed"; CollectSnd.start(); score = score + 500; playerCarry = 1; } } } if (this.shipPeice == 3) { if ((shipStage > 9) && (gameState != "level complete start")) { gameState = "level complete start"; this.sState = "launch"; } } } if (this.sState == "grabbed") { if (gameState == "life lost wait") { this.sState = "fall"; playerCarry = 0; } this._x = player._x; this._y = player._y + 5; if ((this._x > (this.shipXPos - 5)) && (this._x < (this.shipXPos + 5))) { this.sState = "falling2"; this.ySpeed = 1; playerCarry = 0; this._x = this.shipXPos; } } if (this.sState == "falling2") { this._x = shipTargetX; this._y = this._y + this.ySpeed; this.ySpeed = this.ySpeed * 1.05; if (this._y >= this.shipPosY) { this._y = this.shipPosY; this.sState = "inPlace"; shipStage++; if (this.shipPeice == 30) { fuelCount = 0; fuelDeliverSnd.start(); } general.ship3.clip.gotoAndStop(shipStage); removeMovieClip(this); trace("ADDED"); } } if (this._y >= 457) { this._y = 457; } if (this.sState == "inPlace") { } if (this.sState == "launch") { } }; Object.registerClass("ship", shipClass); fireLaserSnd = new Sound(); fireLaserSnd.attachSound("fireLaserSound"); explosionSnd1 = new Sound(); explosionSnd1.attachSound("explosionSound1"); explosionSnd2 = new Sound(); explosionSnd2.attachSound("explosionSound2"); explosionSnd3 = new Sound(); explosionSnd3.attachSound("explosionSound3"); tinkSnd = new Sound(); tinkSnd.attachSound("tinkSound"); bonusCollectSnd = new Sound(); bonusCollectSnd.attachSound("bonusCollectSound"); hurtSnd = new Sound(); hurtSnd.attachSound("hurtSound"); CollectSnd = new Sound(); CollectSnd.attachSound("CollectSound"); fuelDeliverSnd = new Sound(); fuelDeliverSnd.attachSound("fuelDeliverSound"); fuelPickUpSnd = new Sound(); fuelPickUpSnd.attachSound("fuelPickUpSound"); launchSnd = new Sound(); launchSnd.attachSound("launchSound"); landSnd = new Sound(); landSnd.attachSound("landSound"); function testKeys() { if (!hitLeft) { if (Key.isDown(leftKey)) { playerXSpeed = playerXSpeed - 1.2; player._xscale = 100; playerFacing = "left"; } } if (!hitRight) { if (Key.isDown(rightKey)) { playerXSpeed = playerXSpeed + 1.2; player._xscale = -100; playerFacing = "right"; } } if (!hitAbove) { if (Key.isDown(upKey)) { playerYSpeed = playerYSpeed - 6; } } if (!hitBelow) { if (Key.isDown(downKey)) { playerYSpeed = playerYSpeed + 1; } } if (Key.isDown(fireKey)) { fireLaser(); } } function tinkClass() { } tinkClass.prototype = new MovieClip(); tinkClass.prototype.onLoad = function () { this._rotation = random(360); }; tinkClass.prototype.onEnterFrame = function () { this._alpha = this._alpha - 9; this._xscale = this._xscale * 1.1; this._yscale = this._yscale * 1.1; if (this._alpha < 10) { removeMovieClip(this); } }; Object.registerClass("tink", tinkClass); gameScene = "GAME";
Instance of Symbol 248 MovieClip in Frame 11
onClipEvent (enterFrame) { _parent.frameAction(); }
Frame 15
gameState = "setup"; stop();
Frame 16
gotoAndPlay (6);
Frame 17
okBtn.onRelease = function () { gotoAndPlay (6); }; gameScene = "GAME COMPLETE"; if (score > yourhigh) { yourhigh = score; storage.data.myhighscore = score; } else { newHighScore_clip._y = 500; }
Instance of Symbol 268 MovieClip "stars" in Frame 17
onClipEvent (enterFrame) { _parent.generatestars(); }
Frame 22
stop();
Frame 23
okBtn.onRelease = function () { gotoAndPlay (6); }; gameScene = "GAME OVER"; if (score > yourhigh) { yourhigh = score; storage.data.myhighscore = score; }
Instance of Symbol 284 MovieClip "stars" in Frame 23
onClipEvent (enterFrame) { _parent.generatestars(); }
Frame 24
if (false) { }
Frame 25
if (false) { }
Frame 26
if (false) { }
Frame 27
if (false) { }
Frame 28
if (false) { }
Frame 29
if (false) { }
Frame 30
if (false) { }
Frame 31
if (false) { }
Frame 32
if (false) { }
Frame 33
if (false) { }
Frame 34
if (false) { }
Frame 35
if (false) { }
Frame 36
if (false) { }
Frame 37
if (false) { }
Frame 38
if (false) { }
Frame 41
stop();
Symbol 8 Button
on (release) { getURL ("http://www.macromedia.com/go/getflashplayer/", "_blank"); }
Symbol 9 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 1
_root.stop();
Symbol 18 MovieClip Frame 93
_root.play();
Symbol 70 MovieClip [enemyStartClip] Frame 30
removeMovieClip(this);
Symbol 73 MovieClip [level1Enemy] Frame 1
this.gotoAndStop(random(5) + 1);
Symbol 120 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 156 Button
on (release) { sendHighscore(); }
Symbol 164 MovieClip [highscore_entry] Frame 1
function sendHighscore() { submitURL = (((("http://www.terrypaton.com/highscores/testScore.php?game=" + _root.gameName) + "&score=") + _root.score) + "&name=") + typeYourName; trace(submitURL); loadVariablesNum (submitURL, 0, "GET"); this.gotoAndPlay("loadingResult"); } typeYourName = "type your name"; _root.yourPos = undefined; var keyListener = new Object(); keyListener.onKeyDown = function () { if (!(Key.getCode() === 13)) { } else if (typeYourName != "type your name") { trace("enter pressed"); sendHighscore(); } }; Key.addListener(keyListener);
Symbol 164 MovieClip [highscore_entry] Frame 5
stop();
Symbol 164 MovieClip [highscore_entry] Frame 10
if (_root.yourPos == undefined) { this.gotoAndPlay(8); } else if (_root.yourPos != "none") { this.gotoAndPlay("showHighscoreResult"); } else { this.gotoAndPlay("noResult"); }
Symbol 164 MovieClip [highscore_entry] Frame 11
stop();
Symbol 164 MovieClip [highscore_entry] Frame 15
stop();
Symbol 164 MovieClip [highscore_entry] Frame 20
stop();
Symbol 172 MovieClip [shipLandDust] Frame 92
removeMovieClip(this);
Symbol 175 MovieClip [spawn] Frame 30
removeMovieClip(this);
Symbol 176 MovieClip [shipLaunchDust] Frame 59
removeMovieClip(this);
Symbol 188 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 23
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 210 Button
on (release) { _root.resetlevel(); }
Symbol 217 Button
on (press) { _root.musicoff(); this.over.play(); }
Symbol 220 Button
on (press) { _root.musicon(); this.over.play(); }
Symbol 221 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
function generatestars() { if (sc == undefined) { sc = 1; sd = 0; n = 1; } sc++; if (sc > sd) { sc = 0; i = 0; while (i < 5) { stars.attachMovie("star", "s" + n, n); with (eval ("stars.s" + n)) { _x = -5; _y = -5; } n++; i++; } if (n > 1000) { n = 0; } } } function starClass() { } function calcX(tRot, tDepth) { this.temprot = (tRot / 180) * Math.PI; return(320 + (tDepth * Math.sin(this.temprot))); } function calcY(tRot, tDepth) { this.temprot = (tRot / 180) * Math.PI; return(200 + (tDepth * Math.cos(this.temprot))); } function calcScale(tDepth) { return(10 + (90 * (tDepth / 200))); } starClass.prototype = new MovieClip(); starClass.prototype.onLoad = function () { this.rot = random(360); this.depth = 2; this.gotoAndStop(1 + random(3)); }; starClass.prototype.onEnterFrame = function () { this.depth = this.depth * 1.1; this.rot = this.rot + 2; if (this.depth > 400) { removeMovieClip(this); } this.x = calcX(this.rot, this.depth); this.y = calcY(this.rot, this.depth); this.scale = calcScale(this.depth); this._x = this.x; this._y = this.y; this._xscale = 1.5 * this.scale; this._yscale = 1.5 * this.scale; }; Object.registerClass("star", starClass);
Instance of Symbol 260 MovieClip "stars" in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.generatestars(); }
Symbol 268 MovieClip Frame 4
stop();
Symbol 284 MovieClip Frame 1
function generatestars() { if (sc == undefined) { sc = 1; sd = 0; n = 1; } sc++; if (sc > sd) { sc = 0; i = 0; while (i < 1) { stars.attachMovie("star", "s" + n, n); with (eval ("stars.s" + n)) { _x = -5; _y = -5; } n++; i++; } if (n > 1000) { n = 0; } } } function starClass() { } function calcX(tRot, tDepth) { this.temprot = (tRot / 180) * Math.PI; return(320 + (tDepth * Math.sin(this.temprot))); } function calcY(tRot, tDepth) { this.temprot = (tRot / 180) * Math.PI; return(200 + (tDepth * Math.cos(this.temprot))); } function calcScale(tDepth) { return(10 + (90 * (tDepth / 200))); } starClass.prototype = new MovieClip(); starClass.prototype.onLoad = function () { this.rot = random(360); this.depth = 2; this.gotoAndStop(1 + random(3)); }; starClass.prototype.onEnterFrame = function () { this.depth = this.depth * 1.05; if (this.depth > 400) { removeMovieClip(this); } this.x = calcX(this.rot, this.depth); this.y = calcY(this.rot, this.depth); this.scale = calcScale(this.depth); this._x = this.x; this._y = this.y; this._xscale = 1.5 * this.scale; this._yscale = 1.5 * this.scale; }; Object.registerClass("star", starClass);
Instance of Symbol 260 MovieClip "stars" in Symbol 284 MovieClip Frame 1
onClipEvent (enterFrame) { _parent.generatestars(); }
Symbol 284 MovieClip Frame 4
stop();

Library Items

Symbol 1 GraphicUsed by:9
Symbol 2 GraphicUsed by:9
Symbol 3 GraphicUsed by:8
Symbol 4 GraphicUsed by:8
Symbol 5 GraphicUsed by:8 210
Symbol 6 SoundUsed by:8 203 210 217 220 283
Symbol 7 SoundUsed by:8 203 210 217 220 283
Symbol 8 ButtonUses:3 4 5 6 7Used by:9
Symbol 9 MovieClipUses:1 2 8Used by:Timeline
Symbol 10 GraphicUsed by:18
Symbol 11 GraphicUsed by:18
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:18
Symbol 14 FontUsed by:15 148 197 198 199 204 207 208 209 211 213 214 215 218 219 223 224 225 226 243 249 250 251 252 269 270 274 277 278 279 280 281 295 296 297 298 299
Symbol 15 TextUses:14Used by:17 18
Symbol 16 SoundUsed by:18
Symbol 17 MovieClipUses:15Used by:18
Symbol 18 MovieClipUses:10 11 13 15 16 17Used by:Timeline
Symbol 19 GraphicUsed by:33
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:22
Symbol 22 MovieClipUses:21Used by:33
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:25
Symbol 25 MovieClipUses:24Used by:33
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:28
Symbol 28 MovieClipUses:27Used by:33
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:31
Symbol 31 MovieClipUses:30Used by:32
Symbol 32 MovieClipUses:31Used by:33
Symbol 33 MovieClip [bonus]Uses:19 22 25 28 32Used by:188
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip [dot]Uses:34Used by:188
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip [dotHigh]Uses:36Used by:188
Symbol 38 GraphicUsed by:42
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClipUses:40Used by:42 67 75
Symbol 42 MovieClip [enemy_1_explosion]Uses:38 41Used by:188
Symbol 43 GraphicUsed by:47
Symbol 44 GraphicUsed by:47
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:43 44 45 46Used by:67 73
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:48 49Used by:67 73
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:67 73
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:53 54 55Used by:67
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:59
Symbol 59 MovieClipUses:58Used by:67 74
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClipUses:61Used by:67 76
Symbol 63 BitmapUsed by:64 77
Symbol 64 GraphicUses:63Used by:65
Symbol 65 MovieClipUses:64Used by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClip [enemy_explosion]Uses:47 50 52 56 59 41 62 66Used by:188
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:70
Symbol 70 MovieClip [enemyStartClip]Uses:69Used by:188
Symbol 71 GraphicUsed by:72 165
Symbol 72 MovieClip [laserClip]Uses:71Used by:188
Symbol 73 MovieClip [level1Enemy]Uses:47 50 52Used by:188
Symbol 74 MovieClip [level2Enemy]Uses:59Used by:188
Symbol 75 MovieClip [level3Enemy]Uses:41Used by:188
Symbol 76 MovieClip [level4Enemy]Uses:62Used by:188
Symbol 77 GraphicUses:63Used by:78
Symbol 78 MovieClip [level5Enemy]Uses:77Used by:188
Symbol 79 GraphicUsed by:80 120 130 140  Timeline
Symbol 80 MovieClipUses:79Used by:102
Symbol 81 GraphicUsed by:85
Symbol 82 GraphicUsed by:85
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:81 82 83 84Used by:102
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:101 102
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:102
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:92
Symbol 92 MovieClipUses:91Used by:99 100
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:95
Symbol 95 MovieClipUses:94Used by:99 100
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:98
Symbol 98 MovieClipUses:97Used by:99 100
Symbol 99 MovieClipUses:92 95 98Used by:102
Symbol 100 MovieClipUses:92 95 98Used by:102
Symbol 101 MovieClipUses:87Used by:102
Symbol 102 MovieClip [player]Uses:80 85 87 89 99 100 101Used by:188
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:144
Symbol 105 BitmapUsed by:106 113
Symbol 106 GraphicUses:105Used by:120 144
Symbol 107 BitmapUsed by:108 112 113
Symbol 108 GraphicUses:107Used by:144
Symbol 109 GraphicUsed by:120 130
Symbol 110 BitmapUsed by:111 112 113
Symbol 111 GraphicUses:110Used by:120
Symbol 112 GraphicUses:107 110Used by:120
Symbol 113 GraphicUses:107 105 110Used by:114
Symbol 114 MovieClipUses:113Used by:115 120
Symbol 115 MovieClipUses:114Used by:120
Symbol 116 GraphicUsed by:119
Symbol 117 GraphicUsed by:119
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:116 117 118Used by:120 130 140
Symbol 120 MovieClipUses:109 111 112 106 79 114 115 119Used by:144
Symbol 121 BitmapUsed by:122 127
Symbol 122 GraphicUses:121Used by:130 144
Symbol 123 BitmapUsed by:124 127
Symbol 124 GraphicUses:123Used by:130 144
Symbol 125 BitmapUsed by:126 127
Symbol 126 GraphicUses:125Used by:130
Symbol 127 GraphicUses:121 123 125Used by:128
Symbol 128 MovieClipUses:127Used by:129 130
Symbol 129 MovieClipUses:128Used by:130
Symbol 130 MovieClipUses:109 126 124 122 79 128 129 119Used by:144
Symbol 131 BitmapUsed by:132 137
Symbol 132 GraphicUses:131Used by:140 144
Symbol 133 BitmapUsed by:134 137
Symbol 134 GraphicUses:133Used by:140 144
Symbol 135 BitmapUsed by:136 137
Symbol 136 GraphicUses:135Used by:140
Symbol 137 GraphicUses:133 131 135Used by:138
Symbol 138 MovieClipUses:137Used by:139 140
Symbol 139 MovieClipUses:138Used by:140
Symbol 140 MovieClipUses:136 134 132 79 138 139 119Used by:144
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:143
Symbol 143 MovieClipUses:142Used by:144
Symbol 144 MovieClip [ship]Uses:104 106 108 120 122 124 130 132 134 140 143Used by:188
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClip [tink]Uses:145Used by:188
Symbol 147 GraphicUsed by:164
Symbol 148 TextUses:14Used by:164
Symbol 149 FontUsed by:150 151 163
Symbol 150 EditableTextUses:149Used by:164
Symbol 151 TextUses:149Used by:164
Symbol 152 FontUsed by:153 154 211 249 250 252
Symbol 153 TextUses:152Used by:156
Symbol 154 TextUses:152Used by:156
Symbol 155 GraphicUsed by:156
Symbol 156 ButtonUses:153 154 155Used by:164
Symbol 157 FontUsed by:158 159 161 162 163
Symbol 158 TextUses:157Used by:160
Symbol 159 TextUses:157Used by:160
Symbol 160 MovieClipUses:158 159Used by:164
Symbol 161 TextUses:157Used by:164
Symbol 162 EditableTextUses:157Used by:164
Symbol 163 TextUses:149 157Used by:164
Symbol 164 MovieClip [highscore_entry]Uses:147 148 150 151 156 160 161 162 163Used by:188
Symbol 165 MovieClipUses:71Used by:166
Symbol 166 MovieClipUses:165Used by:167
Symbol 167 MovieClip [jetPuff]Uses:166Used by:188
Symbol 168 GraphicUsed by:171
Symbol 169 GraphicUsed by:171
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:168 169 170Used by:172 176
Symbol 172 MovieClip [shipLandDust]Uses:171Used by:188
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClipUses:173Used by:175
Symbol 175 MovieClip [spawn]Uses:174Used by:188
Symbol 176 MovieClip [shipLaunchDust]Uses:171Used by:188
Symbol 177 Sound [bonusCollectSound]Used by:188
Symbol 178 SoundUsed by:188
Symbol 179 Sound [explosionSound1]Used by:188
Symbol 180 Sound [explosionSound3]Used by:188
Symbol 181 Sound [fireLaserSound]Used by:188
Symbol 182 Sound [fuelDeliverSound]Used by:188
Symbol 183 Sound [hurtSound]Used by:188
Symbol 184 Sound [landSound]Used by:188
Symbol 185 Sound [launchSound]Used by:188
Symbol 186 Sound [tinkSound]Used by:188
Symbol 187 Sound [intromusicSnd]Used by:188
Symbol 188 MovieClipUses:33 35 37 42 67 70 72 73 74 75 76 78 102 144 146 164 167 172 175 176 177 178 179 180 181 182 183 184 185 186 187 SS1Used by:Timeline
Symbol 189 GraphicUsed by:192
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClipUses:189 190 191Used by:Timeline
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:Timeline
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:195Used by:Timeline
Symbol 197 TextUses:14Used by:Timeline
Symbol 198 TextUses:14Used by:203
Symbol 199 TextUses:14Used by:203
Symbol 200 GraphicUsed by:201 203 217 220
Symbol 201 MovieClipUses:200Used by:203 217 220
Symbol 202 GraphicUsed by:203
Symbol 203 ButtonUses:198 199 201 200 202 6 7Used by:Timeline
Symbol 204 EditableTextUses:14Used by:Timeline
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClipUses:205Used by:212
Symbol 207 TextUses:14Used by:212
Symbol 208 TextUses:14Used by:210
Symbol 209 TextUses:14Used by:210
Symbol 210 ButtonUses:208 209 5 6 7Used by:212
Symbol 211 EditableTextUses:14 152Used by:212
Symbol 212 MovieClipUses:206 207 210 211Used by:Timeline
Symbol 213 TextUses:14Used by:222
Symbol 214 TextUses:14Used by:221
Symbol 215 TextUses:14Used by:221
Symbol 216 GraphicUsed by:217 220
Symbol 217 ButtonUses:201 216 200 6 7Used by:221
Symbol 218 TextUses:14Used by:221
Symbol 219 TextUses:14Used by:221
Symbol 220 ButtonUses:201 216 200 6 7Used by:221
Symbol 221 MovieClipUses:214 215 217 218 219 220Used by:222
Symbol 222 MovieClipUses:213 221Used by:Timeline
Symbol 223 TextUses:14Used by:Timeline
Symbol 224 TextUses:14Used by:Timeline
Symbol 225 TextUses:14Used by:Timeline
Symbol 226 TextUses:14Used by:227
Symbol 227 MovieClipUses:226Used by:Timeline
Symbol 228 GraphicUsed by:Timeline
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:231
Symbol 231 MovieClipUses:230Used by:Timeline
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:Timeline
Symbol 234 GraphicUsed by:242
Symbol 235 GraphicUsed by:242
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:236Used by:242
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:242
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:242
Symbol 242 MovieClipUses:234 235 237 239 241Used by:Timeline
Symbol 243 TextUses:14Used by:Timeline
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:Timeline
Symbol 246 FontUsed by:247 253
Symbol 247 EditableTextUses:246Used by:248
Symbol 248 MovieClipUses:247Used by:Timeline
Symbol 249 EditableTextUses:14 152Used by:Timeline
Symbol 250 EditableTextUses:14 152Used by:Timeline
Symbol 251 TextUses:14Used by:Timeline
Symbol 252 EditableTextUses:14 152Used by:Timeline
Symbol 253 EditableTextUses:246Used by:254
Symbol 254 MovieClipUses:253Used by:Timeline
Symbol 255 FontUsed by:256
Symbol 256 TextUses:255Used by:257
Symbol 257 MovieClipUses:256Used by:Timeline
Symbol 258 FontUsed by:259
Symbol 259 EditableTextUses:258Used by:260
Symbol 260 MovieClipUses:259Used by:268 284
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:267
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:267
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:267
Symbol 267 MovieClip [star]Uses:262 264 266Used by:268 284
Symbol 268 MovieClipUses:260 267Used by:Timeline
Symbol 269 TextUses:14Used by:Timeline
Symbol 270 EditableTextUses:14Used by:Timeline
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:276 285
Symbol 273 GraphicUsed by:275
Symbol 274 TextUses:14Used by:275
Symbol 275 MovieClipUses:273 274Used by:276
Symbol 276 MovieClipUses:272 275Used by:Timeline
Symbol 277 EditableTextUses:14Used by:Timeline
Symbol 278 TextUses:14Used by:Timeline
Symbol 279 TextUses:14Used by:Timeline
Symbol 280 TextUses:14Used by:283
Symbol 281 TextUses:14Used by:283
Symbol 282 GraphicUsed by:283
Symbol 283 ButtonUses:280 281 282 6 7Used by:Timeline
Symbol 284 MovieClipUses:260 267Used by:Timeline
Symbol 285 MovieClipUses:272Used by:Timeline
Symbol 286 BitmapUsed by:287
Symbol 287 GraphicUses:286Used by:288
Symbol 288 MovieClipUses:287Used by:Timeline
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:291
Symbol 291 MovieClipUses:290Used by:Timeline
Symbol 292 BitmapUsed by:293
Symbol 293 GraphicUses:292Used by:294
Symbol 294 MovieClipUses:293Used by:Timeline
Symbol 295 TextUses:14Used by:Timeline
Symbol 296 EditableTextUses:14Used by:Timeline
Symbol 297 EditableTextUses:14Used by:Timeline
Symbol 298 TextUses:14Used by:Timeline
Symbol 299 TextUses:14Used by:300
Symbol 300 MovieClipUses:299Used by:Timeline
Symbol 301 Sound [explosionSound2]Used by:Timeline
Streaming Sound 1Used by:Symbol 188 MovieClip

Instance Names

"backGround"Frame 6Symbol 192 MovieClip
"playBtn"Frame 6Symbol 203 Button
"resetclip"Frame 6Symbol 212 MovieClip
"options"Frame 6Symbol 222 MovieClip
"backGround"Frame 11Symbol 192 MovieClip
"energyBar"Frame 11Symbol 242 MovieClip
"platForms"Frame 11Symbol 231 MovieClip
"general"Frame 11Symbol 254 MovieClip
"laserBeamsHolder"Frame 11Symbol 257 MovieClip
"enemies"Frame 11Symbol 254 MovieClip
"stars"Frame 17Symbol 268 MovieClip
"okBtn"Frame 17Symbol 283 Button
"stars"Frame 23Symbol 284 MovieClip
"okBtn"Frame 23Symbol 283 Button
"clip"Symbol 74 MovieClip [level2Enemy] Frame 1Symbol 59 MovieClip
"clip"Symbol 76 MovieClip [level4Enemy] Frame 1Symbol 62 MovieClip
"hitBox"Symbol 102 MovieClip [player] Frame 1Symbol 80 MovieClip
"thrustFlame"Symbol 102 MovieClip [player] Frame 1Symbol 85 MovieClip
"thrust"Symbol 120 MovieClip Frame 11Symbol 119 MovieClip
"thrust"Symbol 130 MovieClip Frame 11Symbol 119 MovieClip
"thrust"Symbol 140 MovieClip Frame 11Symbol 119 MovieClip
"hitSpot"Symbol 144 MovieClip [ship] Frame 1Symbol 104 MovieClip
"clip"Symbol 144 MovieClip [ship] Frame 3Symbol 120 MovieClip
"clip"Symbol 144 MovieClip [ship] Frame 6Symbol 130 MovieClip
"clip"Symbol 144 MovieClip [ship] Frame 9Symbol 140 MovieClip
"hitSpot"Symbol 144 MovieClip [ship] Frame 30Symbol 104 MovieClip
"nameEntry"Symbol 164 MovieClip [highscore_entry] Frame 1Symbol 150 EditableText
"nameEntry"Symbol 164 MovieClip [highscore_entry] Frame 11Symbol 162 EditableText
"resetclip"Symbol 212 MovieClip Frame 1Symbol 206 MovieClip
"reset_btn"Symbol 212 MovieClip Frame 1Symbol 210 Button
"on_off"Symbol 222 MovieClip Frame 1Symbol 221 MovieClip
"hitSpots"Symbol 231 MovieClip Frame 1Symbol 230 MovieClip
"energyBar_Bar"Symbol 242 MovieClip Frame 1Symbol 237 MovieClip
"cap"Symbol 242 MovieClip Frame 1Symbol 239 MovieClip
"energyLoss"Symbol 242 MovieClip Frame 1Symbol 241 MovieClip
"stars"Symbol 268 MovieClip Frame 1Symbol 260 MovieClip
"stars"Symbol 284 MovieClip Frame 1Symbol 260 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 4Symbol 33 as "bonus"
ExportAssets (56)Timeline Frame 4Symbol 35 as "dot"
ExportAssets (56)Timeline Frame 4Symbol 37 as "dotHigh"
ExportAssets (56)Timeline Frame 4Symbol 42 as "enemy_1_explosion"
ExportAssets (56)Timeline Frame 4Symbol 67 as "enemy_explosion"
ExportAssets (56)Timeline Frame 4Symbol 70 as "enemyStartClip"
ExportAssets (56)Timeline Frame 4Symbol 72 as "laserClip"
ExportAssets (56)Timeline Frame 4Symbol 73 as "level1Enemy"
ExportAssets (56)Timeline Frame 4Symbol 74 as "level2Enemy"
ExportAssets (56)Timeline Frame 4Symbol 75 as "level3Enemy"
ExportAssets (56)Timeline Frame 4Symbol 76 as "level4Enemy"
ExportAssets (56)Timeline Frame 4Symbol 78 as "level5Enemy"
ExportAssets (56)Timeline Frame 4Symbol 102 as "player"
ExportAssets (56)Timeline Frame 4Symbol 144 as "ship"
ExportAssets (56)Timeline Frame 4Symbol 146 as "tink"
ExportAssets (56)Timeline Frame 4Symbol 164 as "highscore_entry"
ExportAssets (56)Timeline Frame 4Symbol 167 as "jetPuff"
ExportAssets (56)Timeline Frame 4Symbol 172 as "shipLandDust"
ExportAssets (56)Timeline Frame 4Symbol 175 as "spawn"
ExportAssets (56)Timeline Frame 4Symbol 176 as "shipLaunchDust"
ExportAssets (56)Timeline Frame 4Symbol 177 as "bonusCollectSound"
ExportAssets (56)Timeline Frame 4Symbol 179 as "explosionSound1"
ExportAssets (56)Timeline Frame 4Symbol 180 as "explosionSound3"
ExportAssets (56)Timeline Frame 4Symbol 181 as "fireLaserSound"
ExportAssets (56)Timeline Frame 4Symbol 182 as "fuelDeliverSound"
ExportAssets (56)Timeline Frame 4Symbol 183 as "hurtSound"
ExportAssets (56)Timeline Frame 4Symbol 184 as "landSound"
ExportAssets (56)Timeline Frame 4Symbol 185 as "launchSound"
ExportAssets (56)Timeline Frame 4Symbol 186 as "tinkSound"
ExportAssets (56)Timeline Frame 4Symbol 187 as "intromusicSnd"
ExportAssets (56)Timeline Frame 17Symbol 267 as "star"
ExportAssets (56)Timeline Frame 38Symbol 301 as "explosionSound2"
Tag 0x0FF (255)Timeline Frame 11 bytes "."

Labels

"loadingResult"Symbol 164 MovieClip [highscore_entry] Frame 6
"showHighscoreResult"Symbol 164 MovieClip [highscore_entry] Frame 11
"noResult"Symbol 164 MovieClip [highscore_entry] Frame 16

Dynamic Text Variables

typeYourNameSymbol 150 EditableText"type your name"
_root.yourPosSymbol 162 EditableText"99"
_root.vNumSymbol 204 EditableText"2.01"
_root.yourhighSymbol 211 EditableText"<p align="center"><font face="Standard" size="53" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>"
scoreSymbol 249 EditableText"<p align="right"><font face="Standard" size="50" color="#0099ff" letterSpacing="0.000000" kerning="1">0</font></p>"
levelSymbol 250 EditableText"<p align="left"><font face="Standard" size="20" color="#0066ff" letterSpacing="0.000000" kerning="1">9</font></p>"
livesSymbol 252 EditableText"<p align="right"><font face="Standard" size="40" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>"
_root.scoreSymbol 270 EditableText"00000000"
_root.scoreSymbol 296 EditableText"00000000"
_root.levelSymbol 297 EditableText"000"




http://swfchan.com/15/74914/info.shtml
Created: 6/4 -2019 15:44:28 Last modified: 6/4 -2019 15:44:28 Server time: 18/05 -2024 11:59:34