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

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

Asstroys.swf

This is the info page for
Flash #18107

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


Text
loading..0%

Flash Player 7

onlinegames

presents

API
1.1

Play

WARNING:

THIS GAME CONTAINS PICTURES OF
NAKED ASSES.
IF YOU'RE NOT OLD ENOUGH DUE TO
THE LAWS OF YOUR COUNTRY OR IF
YOU DON'T WANT TO SEE PICTURES OF
NAKED ASSES THEN DON'T PRESS THE
"PLAY" BUTTON !

ASSTROYS

(c) neodelight.com 2006
You are free to redistribute the game as long
as you don't make any changes to the game
files and don't restrict the access to the game to
paying users.
Visit neodelight.com for details...

<p align="center"><font face="Arial" size="13" color="#cc6600"><a href="http://www.neodelight.com?ref_loc=menu&ref=asstroys" target = "_top">(c)neodelight.com 2006</a></font></p>

Highscores

More Games

The universe is full of asses!
Time to act!

Accelerate

Turn Right

Turn Left

Start

SHIFT

Hyperspace

SPACE

Shoot

0

QUIT GAME?  Y/N

THERE'S TOO MANY ASSES!
THE UNIVERSE IS DOOMED
IF YOU DON'T CONTINUE YOUR MISSION!

SUBMIT SCORE ?

YES

NO

ActionScript [AS1/AS2]

Frame 1
gameName = "asstroys"; if (introDone) { gotoAndStop (2); } else { introDone = true; } Stage.showMenu = false; version = 20031601 /* 0x131A871 */;
Frame 4
stop();
Frame 5
_global.snd = new com.neodelight.std.XSound(); _global.snd.playLoop("sndMusic", 1, "music");
Frame 6
stop(); clearInterval(beatTimeout); Key.removeListener(keyListener); MovieClip.prototype.wrapPos = function () { if (this._x > (xMax + (this._width * 0.5))) { if (this._name == "saucer_mc") { this.hideSaucer(); } else { this._x = this._x - (xMax + this._width); } } if (this._y > (yMax + (this._height * 0.5))) { this._y = this._y - (yMax + this._height); } if (this._x < ((-this._width) * 0.5)) { if (this._name == "saucer_mc") { this.hideSaucer(); } else { this._x = this._x + (xMax + this._width); } } if (this._y < ((-this._height) * 0.5)) { this._y = this._y + (yMax + this._height); } }; introMover = function () { this._x = this._x + this.vx; this._y = this._y + this.vy; this._rotation = this._rotation + this.vr; this.wrapPos(); }; introAsteroids = function () { var _local1 = 10; while (_local1--) { var _local3 = Math.random() * (Math.PI*2); var _local2 = [100, 50, 25][_local1 % 3]; intro_mc.attachMovie("asteroid", _local1, _local1, {vx:Math.sin(_local3) * 1.5, vy:Math.cos(_local3) * 1.5, vr:(Math.random() - 0.5) * 10, _x:Math.random() * xMax, _y:Math.random() * yMax, _xscale:_local2, _yscale:_local2, onEnterFrame:introMover}).gotoAndStop((_local1 % 4) + 1); } }; game_so = SharedObject.getLocal("neaveAsteroids"); score = 0; xMax = 500; yMax = 375; introAsteroids(); playGame_btn.onRelease = function () { play(); }; highScores_btn.onRelease = function () { getURL ("http://www.neodelight.com/highscores?ref=asteroids&ref_loc=highscores&ref_ver=" + _root.version, "_blank"); }; moreGames_btn.onRelease = function () { getURL ("http://www.neodelight.com?ref=asteroids&ref_loc=moregames&ref_ver=" + _root.version, "_blank"); }; neave_btn.onRelease = function () { getURL ("http://www.neave.com/games/", "_blank"); };
Frame 7
stop();
Frame 9
stop(); asteroidCount = 0; asteroidsVisible = 0; spaceship_mc.gotoAndStop(1); spaceship_mc._visible = (spaceship_mc.hit_mc._visible = (safeArea_mc._visible = (gameOver_mc._visible = (quitGame_mc._visible = (missile0_mc._visible = (missile1_mc._visible = (missile2_mc._visible = (missile3_mc._visible = (missile4_mc._visible = (saucer_mc._visible = false)))))))))); spaceship_mc.gunLoad = 0; spaceship_mc.gunLoadMax = 15; dx = (dy = (explodeNum = (asteroidNum = (scoreMod = (score = 0))))); level = 1; lives = 0; friction = 1; rads = (Math.PI/180); leftKey = (rightKey = (upKey = (spaceship_mc.fireKey = (paused = (exploded = (beatToggle = false)))))); asteroids_mc.createEmptyMovieClip("explode_mc", 0); beat1_sound = new Sound(this); beat1_sound.attachSound("beat1"); beat2_sound = new Sound(this); beat2_sound.attachSound("beat2"); thrust_sound = new Sound(spaceship_mc); thrust_sound.attachSound("thrust"); saucerBig_sound = new Sound(saucer_mc); saucerBig_sound.attachSound("saucerBig"); saucerSmall_sound = new Sound(saucer_mc); saucerSmall_sound.attachSound("saucerSmall"); setLives = function () { lives_mc[lives].removeMovieClip(); var _local1 = 0; while (_local1 < lives) { var _local2 = lives_mc.attachMovie("spaceship", _local1, _local1, {_x:_local1 * 15, _xscale:60, _yscale:60}); _local2.gotoAndStop(1); _local2.hit_mc._visible = false; _local1++; } }; setLives(); keyListener = new Object(); keyListener.onKeyDown = function () { switch (Key.getCode()) { case 37 : leftKey = true; return; case 39 : rightKey = true; return; case 38 : if (paused) { return(undefined); } if (!upKey) { thrust_sound.start(0, 1000); } upKey = true; spaceship_mc.play(); return; case 80 : if (!quitGame_mc._visible) { paused = !paused; pauseSaucer(); } return; case 81 : paused = (quitGame_mc._visible = true); return; case 78 : if (quitGame_mc._visible) { paused = (quitGame_mc._visible = false); pauseSaucer(); } return; case 89 : clearInterval(hyperTimeout); clearInterval(newShipTimeout); clearInterval(newGameTimeout); gotoAndStop (2); return; case 16 : if (!(spaceship_mc._visible && (!paused))) { break; } spaceship_mc._visible = false; spaceship_mc.gotoAndStop(1); leftKey = (rightKey = (upKey = (fireKey = false))); dx = (dy = 0); thrust_sound.stop(); hyperTimeout = setInterval(hyperspace, 500); } }; keyListener.onKeyUp = function () { switch (Key.getCode()) { case 37 : leftKey = false; return; case 39 : rightKey = false; return; case 38 : upKey = false; thrust_sound.stop(); spaceship_mc.gotoAndStop(1); return; case 32 : fireKey = false; } }; spaceship_mc.onEnterFrame = function () { if (paused || (!this._visible)) { return(undefined); } if (leftKey) { this._rotation = this._rotation - 10; } if (rightKey) { this._rotation = this._rotation + 10; } var _local8 = Math.sin(this._rotation * rads); var _local7 = -Math.cos(this._rotation * rads); if (upKey) { dx = dx + (_local8 / 4); dy = dy + (_local7 / 4); } dx = dx * friction; dy = dy * friction; this._x = this._x + dx; this._y = this._y + dy; this.wrapPos(); var _local9 = Key.isDown(32) && (!Key.isDown(16)); if ((this.gunLoad--) > 0) { _local9 = false; } else if (_local9) { _local9 = false; this.gunLoad = this.gunLoadMax; var _local4 = 4; var _local5 = -1; while (_local4--) { if (!_root[("missile" + _local4) + "_mc"]._visible) { _local5 = _local4; break; } } if (_local5 != -1) { var _local6 = _root[("missile" + _local5) + "_mc"]; _local6.fuse = 24; _local6.vx = (_local8 * 10) + dx; _local6.vy = (_local7 * 10) + dy; _local6._x = this._x + (_local8 * 10); _local6._y = this._y + (_local7 * 10); _local6._visible = true; _local6.onEnterFrame = missileMover; _global.snd.playEvent("sndFire", 1, "fx"); } } var _local10 = int(score / 10000); if (scoreMod != _local10) { scoreMod = _local10; lives++; setLives(); _global.snd.playEvent("sndExtra", 1, "fx"); } if (((missile4_mc.hitTest(this.hit_mc) && (!exploded)) && (this._visible)) && (missile4_mc._visible)) { missile4_mc._visible = false; exploded = true; explodeSpaceship(); } }; saucer_mc.hideSaucer = function () { saucerBig_sound.stop(); saucerSmall_sound.stop(); this._visible = false; delete this.onEnterFrame; }; pauseSaucer = function () { if (saucer_mc._visible) { if (paused) { saucerBig_sound.stop(); saucerSmall_sound.stop(); } else if (saucer_mc.small) { saucerSmall_sound.start(0, 80); } else { saucerBig_sound.start(0, 80); } } }; explodeSaucer = function () { saucer_mc.hideSaucer(); var _local9 = 12; while (_local9--) { var _local2 = Math.random() * (Math.PI*2); var _local4 = Math.sin(_local2) * 2; var _local3 = Math.cos(_local2) * 2; asteroids_mc.explode_mc.attachMovie("explosion", explodeNum, explodeNum, {vx:_local4, vy:_local3, fuse:Math.ceil(Math.random() * 40), _x:((_local4 * Math.random()) * 4) + saucer_mc._x, _y:((_local3 * Math.random()) * 4) + saucer_mc._y, onEnterFrame:explodeMover}); explodeNum++; } _global.snd.playEvent("sndUfoDie", 1, "fx"); }; explodeSpaceship = function () { spaceship_mc._visible = false; explode_mc._x = spaceship_mc._x; explode_mc._y = spaceship_mc._y; lives--; setLives(); var _local8 = 40; while (_local8--) { var _local3 = explode_mc.createEmptyMovieClip(_local8, _local8); _local3.vx = (Math.sin(Math.random() * (Math.PI*2)) * Math.random()) * 5; _local3.vy = (Math.cos(Math.random() * (Math.PI*2)) * Math.random()) * 5; _local3.fuse = Math.ceil(Math.random() * 30) + 10; _local3._x = (Math.random() * 12) - 6; _local3._y = (Math.random() * 12) - 6; _local3._rotation = Math.random() * 360; var _local5 = random(255); _local5 = (_local5 * 256) + (_local5 * 65536); _local3.lineStyle(Math.random() * 2, _local5); var _local6 = Math.random() * 4; _local3.moveTo(0, _local6 * -1); _local3.lineTo(0, _local6); _local3.onEnterFrame = explodeMover; } _local8 = 3; while (_local8--) { var _local7 = asteroids_mc.getNextHighestDepth(); var _local4 = asteroids_mc.attachMovie("cloud", "mc" + _local7, _local7); _local4._x = (spaceship_mc._x + (Math.random() * 10)) - 5; _local4._y = (spaceship_mc._y + (Math.random() * 10)) - 5; _local4._xscale = (_local4._yscale = 20 + (Math.random() * 30)); _local4.vx = (Math.random() * 2) + (this.dx * 0.3); _local4.vy = (Math.random() * 2) + (this.dy * 0.3); _local4._rotation = Math.random() * 360; _local4.onEnterFrame = function () { this._x = this._x + this.vx; this._y = this._y + this.vy; this.vx = this.vx * 0.98; this.vy = this.vy * 0.98; this._alpha--; if (this._alpha <= 0) { this.removeMovieClip(); } }; } if (lives > 0) { newShipTimeout = setInterval(newSpaceship, 1500); } else { gameOver_mc.gotoAndPlay(2); gameOver_mc._visible = true; quitGame_mc._visible = false; Key.removeListener(keyListener); clearInterval(hyperTimeout); clearInterval(newShipTimeout); clearInterval(newGameTimeout); thrust_sound.stop(); saucerBig_sound.stop(); saucerSmall_sound.stop(); } _global.snd.playEvent("sndFartMedium0", 1, "fx"); }; explodeMover = function () { if (paused) { return(undefined); } this._x = this._x + this.vx; this._y = this._y + this.vy; this.fuse--; if (this.fuse < 0) { this.removeMovieClip(); } }; missileMover = function () { if (paused) { return(undefined); } this._x = this._x + this.vx; this._y = this._y + this.vy; this.wrapPos(); this.fuse--; if (this.fuse == 0) { this._visible = false; delete this.onEnterFrame; } }; saucerMover = function () { if (paused) { return(undefined); } this._x = this._x + this.vx; if (Math.random() < 0.02) { this.vy = (int(Math.random() * 3) - 1) * 2; } if (this.vy != 0) { this._y = this._y + this.vy; } this.wrapPos(); var _local4 = 4; while (_local4--) { var _local5 = _root[("missile" + _local4) + "_mc"]; if (_local5._visible) { if (_local5.hitTest(this)) { _local5._visible = false; explodeSaucer(); if (this.small) { score = score + 1000; } else { score = score + 200; } } } } var _local5 = missile4_mc; if ((!_local5._visible) && (Math.random() < 0.1)) { var _local6 = ((this.small && (spaceship_mc._visible)) ? (Math.atan2(((spaceship_mc._x - this._x) + (Math.random() * 64)) - 32, ((this._y - spaceship_mc._y) + (Math.random() * 64)) - 32)) : (Math.random() * (Math.PI*2))); _local5.fuse = 24; _local5.vx = Math.sin(_local6) * 8; _local5.vy = Math.cos(_local6) * -8; _local5._x = this._x + _local5.vx; _local5._y = this._y + (_local5.vy * 2); _local5._visible = true; _local5.onEnterFrame = missileMover; _global.snd.playEvent("sndFire", 1, "fx"); } if ((spaceship_mc.hit_mc.hitTest(this) && (!exploded)) && (spaceship_mc._visible)) { exploded = true; explodeSpaceship(); } }; asteroidMover = function () { if (paused) { return(undefined); } this._x = this._x + this.vx; this._y = this._y + this.vy; this._rotation = this._rotation + this.vr; this.wrapPos(); if (_root.asteroidsVisible == 1) { _root.marker._visible = true; _root.marker._x = this._x; _root.marker._y = this._y; } else { _root.marker._visible = false; } var _local15 = false; var _local19 = false; if (saucer_mc._visible && (saucer_mc.hitTest(this))) { _local15 = true; explodeSaucer(); } d = Math.sqrt(Math.pow(_root.spaceship_mc._x - this._x, 2) + Math.pow(_root.spaceship_mc._y - this._y, 2)); if (((d < (this._xscale * 0.65)) && (_root.spaceship_mc._visible)) && (!this.exploded)) { _local15 = (this.spaceshipShot = true); this.exploded = _local15; explodeSpaceship(); } var _local6 = 5; while (_local6--) { var _local5 = _root[("missile" + _local6) + "_mc"]; if (_local5._visible && (_local5.hitTest(this))) { _local5._visible = false; _local15 = true; if (_local6 < 4) { this.spaceshipShot = true; } break; } } if (_local15) { var _local10 = (this._xscale = (this._yscale = this._yscale / 2)); var _local18 = Math.random() * (Math.PI*2); this.vx = this.vx + Math.sin(_local18); this.vy = this.vy + Math.cos(_local18); var _local16 = Math.random() < 0.1; _root.asteroidCount--; var _local17 = int(_local10 / 25) + 4; while (_local17--) { _local18 = Math.random() * (Math.PI*2); var _local9 = Math.sin(_local18) * 2; var _local8 = Math.cos(_local18) * 2; asteroids_mc.explode_mc.attachMovie("explosion", explodeNum, asteroids_mc.getNextHighestDepth(), {vx:_local9, vy:_local8, fuse:Math.ceil(Math.random() * _local10), _x:((_local9 * Math.random()) * 4) + this._x, _y:((_local8 * Math.random()) * 4) + this._y, onEnterFrame:explodeMover}); explodeNum++; } _local6 = 3; while (_local6--) { var _local7 = asteroids_mc.getNextHighestDepth(); var _local4 = asteroids_mc.attachMovie("cloud2", "mc" + _local7, _local7); _local4._x = (this._x + (Math.random() * 10)) - 5; _local4._y = (this._y + (Math.random() * 10)) - 5; if (_local16 && (_local10 < 25)) { scale = 50 * (0.3 + (Math.random() * 0.3)); } else { scale = this._xscale * (0.3 + (Math.random() * 0.3)); } _local4._xscale = (_local4._yscale = scale); _local4.vx = (Math.random() * 2) + (this.vx * 0.3); _local4.vy = (Math.random() * 2) + (this.vy * 0.3); _local4._rotation = Math.random() * 360; _local4.onEnterFrame = function () { this._x = this._x + this.vx; this._y = this._y + this.vy; this.vx = this.vx * 0.98; this.vy = this.vy * 0.98; this._alpha = this._alpha - 3; if (this._alpha <= 0) { this.removeMovieClip(); } }; } if (_local10 < 25) { _root.asteroidsVisible--; if (_local16) { this._xscale = (this._yscale = this._yscale * 2); this.vr = 6; this.onEnterFrame = _root.asteroidMoverDie; _global.snd.playEvent("sndFartExtra" + Math.floor(Math.random() * 2), 1, "fx"); } else { this.removeMovieClip(); _global.snd.playEvent("sndFartShort" + Math.floor(Math.random() * 5), 1, "fx"); } if (this.spaceshipShot) { score = score + 100; } } else { _root.asteroidsVisible++; if (_local10 == 50) { _global.snd.playEvent("sndFartLong" + Math.floor(Math.random() * 5), 1, "fx"); if (this.spaceshipShot) { score = score + 20; } } else { _global.snd.playEvent("sndFartMedium" + Math.floor(Math.random() * 5), 1, "fx"); if (this.spaceshipShot) { score = score + 50; } } this.gotoAndStop((_local6 % this._totalframes) + 1); _local18 = Math.random() * (Math.PI*2); _root.makeAsteroid(this._x, this._y, this.vx + Math.sin(_local18), this.vy + Math.cos(_local18), _local10, this._currentframe); } } }; asteroidMoverDie = function () { this.vx = this.vx * 0.95; this.vy = this.vy * 0.95; this.vx = this.vx + (Math.sin(this._rotation * _root.rads) * 0.3); this.vy = this.vy - (Math.cos(this._rotation * _root.rads) * 0.3); this._x = this._x + this.vx; this._y = this._y + this.vy; this.wrapPos(); this._rotation = this._rotation + this.vr; this.vr = this.vr * 1.05; this._xscale = (this._yscale = this._xscale * 0.95); if (this._xscale < 5) { this.removeMovieClip(); } }; makeAsteroid = function (x, y, vx, vy, s, skin) { _root.asteroidNum++; vx = vx * 0.7; vy = vy * 0.7; var _local3 = asteroids_mc.attachMovie("asteroid", _root.asteroidNum, _root.asteroidNum, {vx:vx, vy:vy, vr:(Math.random() * 3) - 1.5, _x:x, _y:y, _xscale:s, _yscale:s, _rotation:Math.random() * 360, onEnterFrame:asteroidMover}); if (!skin) { skin = (_root.asteroidNum % Math.min(this._totalframes, level + 3)) + 1; } _local3.gotoAndStop(skin); return(_local3); }; hyperspace = function () { if (paused) { return(undefined); } with (spaceship_mc) { _visible = true; _x = (Math.random() * (xMax - (_width * 2))) + _width; _y = (Math.random() * (yMax - (_height * 2))) + _height; } clearInterval(hyperTimeout); }; beatSound = function () { if (paused) { return(undefined); } beatToggle = !beatToggle; if (beatToggle) { beat1_sound.start(); } else { beat2_sound.start(); } if (gameOver_mc._visible) { return(undefined); } if (beatCount > 300) { beatCount = beatCount - 10; clearInterval(beatTimeout); beatTimeout = setInterval(beatSound, beatCount); } if (((beatCount < 700) && (!saucer_mc._visible)) && (Math.random() < 0.05)) { if ((beatCount < 400) && (Math.random() < 0.4)) { saucer_mc._xscale = (saucer_mc._yscale = 50); saucer_mc.small = true; saucerSmall_sound.start(0, 100); } else { saucer_mc._xscale = (saucer_mc._yscale = 100); saucer_mc.small = false; saucerBig_sound.start(0, 100); } if (Math.random() < 0.5) { saucer_mc.vx = -2; saucer_mc._x = (saucer_mc._width / 2) + xMax; } else { saucer_mc.vx = 2; saucer_mc._x = saucer_mc._width / -2; } saucer_mc.vy = 0; saucer_mc._y = Math.random() * yMax; saucer_mc._visible = true; saucer_mc.onEnterFrame = saucerMover; } if ((_root.asteroidCount == 0) && (!saucer_mc._visible)) { clearInterval(beatTimeout); level++; newGameTimeout = setInterval(newGame, 1000); } }; newSpaceship = function () { spaceship_mc._x = 250; spaceship_mc._y = 190; spaceship_mc._rotation = 0; var _local1 = false; for (var _local2 in asteroids_mc) { if (spaceship_mc.hitTest(asteroids_mc[_local2])) { _local1 = true; break; } } if (!_local1) { spaceship_mc._visible = true; exploded = false; dx = (dy = 0); clearInterval(newShipTimeout); } }; newGame = function () { var _local4 = Math.min(10, level + 1); _root.asteroidCount = _local4 * 7; _root.asteroidsVisible = _local4; while (_local4--) { var _local3 = Math.random() * (Math.PI*2); var _local2 = makeAsteroid(Math.random() * xMax, Math.random() * yMax, Math.sin(_local3) * 1.5, Math.cos(_local3) * 1.5, 100); if (_local2.hitTest(spaceship_mc) || (_local2.hitTest(safeArea_mc))) { _local4++; _root.asteroidNum--; } } beatCount = ((level < 7) ? (1100 - (level * 100)) : 400); beatSound(); Key.addListener(keyListener); clearInterval(newGameTimeout); }; newGameTimeout = setInterval(newGame, 1000); newShipTimeout = setInterval(newSpaceship, 1100);
Symbol 5 MovieClip [explosion] Frame 1
gotoAndStop(Math.floor(Math.random() * 3));
Symbol 10 MovieClip Frame 1
var flashVersion = int(System.capabilities.version.split(" ").pop().split(",").shift()); if (flashVersion < 7) { this.msg = "Please upgrade to Flash Player 7"; _root.percentageDisplay = ""; _root.onEnterFrame = function () { this.gotoAndStop(1); }; } else { this.msg = ""; stop(); _root.onEnterFrame = function () { var _local3 = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; this.percentageDisplay = ("loading.." + Math.min(100, Math.floor(_local3))) + "%"; _root.bike._x = (_local3 * 5.5) * ((550 - _root.bike._width) / 550); if (_local3 == 100) { this.onEnterFrame = undefined; _root.gotoAndPlay(3); } else { _root.gotoAndStop(1); } }; }
Symbol 150 MovieClip [__Packages.com.neodelight.std.XSound] Frame 0
class com.neodelight.std.XSound extends Sound { var channels, channelsById, groups, master; function XSound () { super(); channels = new Array(channelsAmount); channelsById = new Array(); groups = {fx:1, music:1}; var _local4 = 0; while (_local4 < channelsAmount) { channels[_local4] = new com.neodelight.std.XSoundChannel(_local4, _root.createEmptyMovieClip(com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth()), groups); _local4++; } master = new Sound(); master.setVolume(100); } function addGroup(id) { groups[id] = 1; } function setVolume(volume) { master.setVolume(volume * 100); } function getVolume() { return(master.getVolume() * 0.01); } function setGroupVolume(volume, id) { groups[id] = volume; var _local2 = channels.length; while (_local2--) { channels[_local2].setVolume(); } } function getGroupVolume(id) { return(groups[id]); } function status() { var _local3 = ""; var _local2 = 0; while (_local2 < channelsAmount) { _local3 = _local3 + (((_local2 + ": ") + channels[_local2]) + newline); _local2++; } return(_local3); } function playSequence(sequence, locked, group, channelId) { var _local2 = getChannel(); delete channelsById[_local2.channelId]; _local2.channelId = channelId; if (channelId) { channelsById[channelId] = _local2; } _local2.playSequence(sequence, locked, group); } function playLoop(libId, volume, group, channelId) { var _local2 = getChannel(); delete channelsById[_local2.channelId]; _local2.channelId = channelId; if (channelId) { channelsById[channelId] = _local2; } _local2.attachSound(libId); _local2.start(0, 99999); _local2.group = (group ? (group) : "music"); _local2.setVolume(volume); _local2.libId = libId; _local2.locked = true; _local2.playing = true; return(_local2); } function playEvent(libId, volume, group, channelId) { var _local2 = getChannel(); delete channelsById[_local2.channelId]; _local2.channelId = channelId; if (channelId) { channelsById[channelId] = _local2; } _local2.attachSound(libId); _local2.start(0, 0); _local2.group = (group ? (group) : "fx"); _local2.setVolume(volume); _local2.libId = libId; _local2.playing = true; return(_local2); } function getChannel() { var _local4 = -1; var _local5 = -1; var _local3 = 0; while (_local3 < channels.length) { var _local2 = channels[_local3]; if (!_local2.locked) { if (_local2.playing) { if (_local2.position > _local4) { _local4 = _local2.position; _local5 = _local2.id; } } else { return(channels[_local3]); } } _local3++; } if (_local5 != -1) { return(channels[_local5]); } } function fadeChannel(id, fadeTo, frames) { channelsById[id].fade(fadeTo, frames); } function stop(libId) { var _local2 = 0; while (_local2 < channels.length) { if ((channels[_local2].libId == libId) || (!libId)) { channels[_local2].stop(); } _local2++; } } var channelsAmount = 8; }
Symbol 151 MovieClip [__Packages.com.neodelight.std.XSoundChannel] Frame 0
class com.neodelight.std.XSoundChannel extends Sound { var id, playing, locked, groups, mc, volume, group, fadeOutFlag, fading, fadeTo, fadeSpeed, sequence, sequencePointer, libId, sequenceStep, attachSound, start, channelId; function XSoundChannel (id, mc, groups) { super(mc); this.id = id; playing = false; locked = false; this.groups = groups; this.mc = mc; this.mc.channel = this; this.mc.onEnterFrame = function () { if (!this.channel.fading) { return(undefined); } var _local2 = this.channel.getVolume() + this.channel.fadeSpeed; _local2 = ((this.channel.fadeSpeed > 0) ? (Math.min(this.channel.fadeTo, _local2)) : (Math.max(this.channel.fadeTo, _local2))); if (_local2 == this.channel.fadeTo) { this.channel.fading = false; if (this.channel.fadeOutFlag) { this.channel.stop(); } } this.channel.setVolume(_local2); }; } function setVolume(volume) { if (volume != undefined) { this.volume = volume; } super.setVolume(Math.max(0, Math.min(100, (this.volume * 100) * groups[group]))); } function getVolume() { return(volume); } function fade(fadeTo, frames) { if (fadeTo == -1) { fadeOutFlag = true; fadeTo = 0; } else { fadeOutFlag = false; } if (frames <= 0) { setVolume(fadeTo); fading = false; } else { fading = true; this.fadeTo = Math.min(1, fadeTo); fadeSpeed = (fadeTo - getVolume()) / frames; } } function playSequence(sequence, locked, group) { this.sequence = sequence; sequencePointer = 0; this.locked = locked; fading = false; this.group = (group ? (group) : "fx"); playing = true; stepSequence(); onSoundComplete = stepSequence; libId = "__SEQUENCE__"; } function stepSequence() { if (sequenceStep.goto != undefined) { sequencePointer = sequenceStep.goto; } var _local2 = sequence[sequencePointer++]; sequenceStep = _local2; if (!_local2) { stop(); } if (_local2.times == 0) { _local2.times = 9999; _local2.goto = sequencePointer - 1; } else if (_local2.times == undefined) { _local2.times = 1; } attachSound(_local2.id); setVolume(_local2.vol); start((_local2.offset ? (_local2.offset) : 0), _local2.times); if (_local2.fadeFrames) { fade(_local2.fadeTo, _local2.fadeFrames); } } function stop() { onSoundComplete = undefined; sequenceStep = undefined; locked = false; playing = false; fading = false; if (channelId) { delete _global.snd.channelsById[channelId]; } super.stop(); } function onSoundComplete() { playing = false; locked = false; fading = false; } function toString() { return((((((((("v:" + getVolume()) + " p:") + playing) + " l:") + locked) + " f:") + fading) + " lib:") + libId); } }
Symbol 152 MovieClip [__Packages.com.neodelight.std.Unique] Frame 0
class com.neodelight.std.Unique { function Unique () { } static function getId() { return(id++); } static function getKey() { return("k" + (key++)); } static var key = 1; static var id = 1; }
Symbol 12 Button
on (release) { getURL (("http://www.neodelight.com?ref=" + _root.game) + "&ref_loc=intro", "_BLANK"); }
Symbol 23 MovieClip Frame 1
startFrame = _parent._currentframe;
Symbol 23 MovieClip Frame 2
vol = (1 - ((_parent._currentFrame - startFrame) / (_parent._totalFrames - startFrame))) * 100; if (vol < 0) { vol = 0; } _parent.snd.setVolume(vol);
Symbol 23 MovieClip Frame 3
gotoAndPlay ("loop");
Symbol 24 MovieClip Frame 1
snd = new Sound(this); snd.setVolume(100); _parent.stop();
Symbol 24 MovieClip Frame 123
stop(); _parent.play();
Symbol 27 MovieClip Frame 1
_global.api = new Object(); _global.api.debug = new Object(); _global.api.highscore = new Object(); _global.api.debug.describe = function (o) { var _local2 = ("[DESCRIBE: " + o.toString()) + "]"; _local2 = _local2 + "\n---------------------------DESC-START"; for (var _local3 in o) { _local2 = _local2 + (((newline + _local3) + ": ") + o[_local3]); } _local2 = _local2 + "\n---------------------------DESC-STOP"; return(_local2); }; _global.api.snd = new Object(); _global.api.snd.lib = new Object(); _global.api.snd.load = function (name, url) { var _local2 = new Sound(); if (url eq "") { _local2.attachSound(name); } else { _local2.loadSound(url); } _global.api.snd.lib[name] = _local2; }; _global.api.snd.play = function (name) { _root.snd[name].gotoAndPlay(1); }; _global.api.highscore.initSession = function () { this.session = ""; while (this.session.length < 20) { this.session = this.session + this.charTable.charAt(Math.round(Math.random() * (this.charTable.length - 4))); } this.charTableIndex = new Array(); var _local2 = 0; while (_local2 < this.charTable.length) { this.charTableIndex[this.charTable.charCodeAt(_local2)] = _local2; _local2++; } }; _global.api.highscore.submit = function (pGame, pDisciple, pScore0, pScore1) { trace("score: " + pScore0); var _local2 = ("g=" + pGame) + "&"; _local2 = _local2 + (("d=" + pDisciple) + "&"); _local2 = _local2 + (("s0=" + pScore0) + "&"); _local2 = _local2 + (("s1=" + pScore1) + "&"); _local2 = _local2 + ("se=" + escape(session)); _local2 = _local2 + "&c=42"; var _local3 = (((this.urlSubmit + "?g=") + pGame) + "&s=") + escape(this.encrypt(this.encrypt(_local2, this.keystring), this.keystring2)).split("%").join("_"); trace(_local3); getURL (_local3, "_top"); }; _global.api.highscore.encrypt = function (text, pKey) { var _local8 = ""; var _local4 = 0; var _local5; var _local3; var _local2 = 0; while (_local2 < text.length) { char = this.charTableIndex[text.charCodeAt(_local2)]; _local5 = this.charTableIndex[pKey.charCodeAt(_local2 % pKey.length)]; _local3 = (char + _local5) + _local4; _local3 = _local3 % this.charTable.length; _local8 = _local8 + this.charTable.charAt(_local3); _local4 = _local4 + _local3; _local2++; } _local4 = _local4 % this.charTable.length; return((_local8 + "") + this.charTable.charAt(_local4)); }; _global.api.highscore.charTable = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&=."; _global.api.highscore.keystring = "1c37cadbd74acf517cee1765207ea0a4"; _global.api.highscore.keystring2 = "a67a17d7df947c3d98967b8569f695c1"; _global.api.highscore.urlSubmit = "http://www.neodelight.com/v4/high_enter.php"; _global.api.highscore.initSession(); _visible = false;
Symbol 77 MovieClip Frame 1
stop();
Symbol 80 Button
on (release) { _root.play(); }
Symbol 102 Button
on (release) { getURL ("http://www.neodelight.com/highscores/" + _root.gameName); }
Symbol 104 Button
on (release) { getURL ("http://www.neodelight.com/?ref_loc=moregames&ref=" + _root.gameName); }
Symbol 113 Button
on (release) { play(); }
Symbol 125 MovieClip Frame 20
this._visible = false;
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 3
stop();
Symbol 138 MovieClip Frame 5
stop();
Symbol 138 MovieClip Frame 7
stop();
Symbol 138 MovieClip Frame 9
stop();
Symbol 138 MovieClip Frame 11
stop();
Symbol 145 Button
on (release, keyPress "y") { _global.api.highscore.submit(_root.gameName, "", _level0.score, 0); }
Symbol 147 Button
on (release, keyPress "n") { _root.gotoAndStop("menu"); }
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 33
Symbol 149 MovieClip Frame 34
stop(); name_txt.restrict = "A-Z 0-9.\\-"; if (_root.game_so.data.playerName.length > 0) { name_txt.text = _root.game_so.data.playerName; } Selection.setFocus(name_txt); Selection.setSelection(name_txt.length, name_txt.length);

Library Items

Symbol 1 Sound [sndUfoDie]Used by:77
Symbol 2 GraphicUsed by:5
Symbol 3 GraphicUsed by:5
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [explosion]Uses:2 3 4
Symbol 6 FontUsed by:7 94
Symbol 7 EditableTextUses:6Used by:10
Symbol 8 FontUsed by:9 26
Symbol 9 EditableTextUses:8Used by:10
Symbol 10 MovieClipUses:7 9Used by:Timeline
Symbol 150 MovieClip [__Packages.com.neodelight.std.XSound]
Symbol 151 MovieClip [__Packages.com.neodelight.std.XSoundChannel]
Symbol 152 MovieClip [__Packages.com.neodelight.std.Unique]
Symbol 11 GraphicUsed by:12
Symbol 12 ButtonUses:11Used by:24
Symbol 13 BitmapUsed by:15
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:13 14Used by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClipUses:15 16 18Used by:24
Symbol 20 FontUsed by:21 22
Symbol 21 TextUses:20Used by:24
Symbol 22 TextUses:20Used by:24
Symbol 23 MovieClipUsed by:24
Symbol 24 MovieClipUses:12 19 21 22 23 SS1Used by:Timeline
Symbol 25 GraphicUsed by:27
Symbol 26 EditableTextUses:8Used by:27
Symbol 27 MovieClipUses:25 26Used by:Timeline
Symbol 28 GraphicUsed by:77
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:43
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:43
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:43
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:43
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:43
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:43
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:43
Symbol 43 MovieClip [asteroid]Uses:30 32 34 36 38 40 42Used by:77
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:46
Symbol 46 MovieClipUses:45Used by:47
Symbol 47 MovieClip [cloud]Uses:46Used by:77
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClipUses:49Used by:51
Symbol 51 MovieClip [cloud2]Uses:50Used by:77
Symbol 52 Sound [beat1]Used by:77
Symbol 53 Sound [beat2]Used by:77
Symbol 54 Sound [sndExtra]Used by:77 138
Symbol 55 Sound [sndFire]Used by:77 138
Symbol 56 Sound [sndMusic]Used by:77
Symbol 57 Sound [saucerBig]Used by:77
Symbol 58 Sound [saucerSmall]Used by:77
Symbol 59 Sound [sndFartExtra0]Used by:77
Symbol 60 Sound [sndFartExtra1]Used by:77
Symbol 61 Sound [sndFartLong0]Used by:77 138
Symbol 62 Sound [sndFartLong1]Used by:77
Symbol 63 Sound [sndFartLong2]Used by:77
Symbol 64 Sound [sndFartLong3]Used by:77
Symbol 65 Sound [sndFartLong4]Used by:77
Symbol 66 Sound [sndFartMedium0]Used by:77 138
Symbol 67 Sound [sndFartMedium1]Used by:77
Symbol 68 Sound [sndFartMedium2]Used by:77
Symbol 69 Sound [sndFartMedium3]Used by:77
Symbol 70 Sound [sndFartMedium4]Used by:77
Symbol 71 Sound [sndFartShort0]Used by:77 138
Symbol 72 Sound [sndFartShort1]Used by:77
Symbol 73 Sound [sndFartShort2]Used by:77
Symbol 74 Sound [sndFartShort3]Used by:77
Symbol 75 Sound [sndFartShort4]Used by:77
Symbol 76 Sound [thrust]Used by:77
Symbol 77 MovieClipUses:28 43 47 51 1 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76Used by:Timeline
Symbol 78 GraphicUsed by:Timeline
Symbol 79 GraphicUsed by:80 101 102 104 113
Symbol 80 ButtonUses:79Used by:Timeline
Symbol 81 FontUsed by:82 103 105 106 114 139 140 142 143 146 148
Symbol 82 TextUses:81Used by:Timeline
Symbol 83 FontUsed by:84 85
Symbol 84 TextUses:83Used by:Timeline
Symbol 85 TextUses:83Used by:Timeline
Symbol 86 GraphicUsed by:92
Symbol 87 GraphicUsed by:92
Symbol 88 FontUsed by:89
Symbol 89 TextUses:88Used by:92
Symbol 90 FontUsed by:91
Symbol 91 TextUses:90Used by:92
Symbol 92 ButtonUses:86 87 89 91Used by:Timeline
Symbol 93 MovieClipUsed by:Timeline
Symbol 94 EditableTextUses:6Used by:Timeline
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClipUses:96Used by:Timeline
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:100
Symbol 100 MovieClipUses:99Used by:Timeline
Symbol 101 ButtonUses:79Used by:Timeline
Symbol 102 ButtonUses:79Used by:Timeline
Symbol 103 TextUses:81Used by:Timeline
Symbol 104 ButtonUses:79Used by:149  Timeline
Symbol 105 TextUses:81Used by:149  Timeline
Symbol 106 TextUses:81Used by:Timeline
Symbol 107 GraphicUsed by:Timeline
Symbol 108 GraphicUsed by:Timeline
Symbol 109 FontUsed by:110 111 112 118 121
Symbol 110 TextUses:109Used by:Timeline
Symbol 111 TextUses:109Used by:Timeline
Symbol 112 TextUses:109Used by:Timeline
Symbol 113 ButtonUses:79Used by:Timeline
Symbol 114 TextUses:81Used by:Timeline
Symbol 115 GraphicUsed by:Timeline
Symbol 116 FontUsed by:117 120
Symbol 117 TextUses:116Used by:Timeline
Symbol 118 TextUses:109Used by:Timeline
Symbol 119 GraphicUsed by:Timeline
Symbol 120 TextUses:116Used by:Timeline
Symbol 121 TextUses:109Used by:Timeline
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:132  Timeline
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:Timeline
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:Timeline
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:Timeline
Symbol 130 GraphicUsed by:132
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClip [spaceship]Uses:123 130 131Used by:Timeline
Symbol 133 BitmapUsed by:134 135
Symbol 134 GraphicUses:133Used by:136
Symbol 135 GraphicUses:133Used by:136
Symbol 136 MovieClipUses:134 135Used by:137
Symbol 137 MovieClipUses:136Used by:Timeline
Symbol 138 MovieClipUses:55 61 66 71 54Used by:Timeline
Symbol 139 EditableTextUses:81Used by:Timeline
Symbol 140 TextUses:81Used by:141
Symbol 141 MovieClipUses:140Used by:Timeline
Symbol 142 TextUses:81Used by:149
Symbol 143 TextUses:81Used by:149
Symbol 144 GraphicUsed by:145 147
Symbol 145 ButtonUses:144Used by:149
Symbol 146 TextUses:81Used by:149
Symbol 147 ButtonUses:144Used by:149
Symbol 148 TextUses:81Used by:149
Symbol 149 MovieClipUses:142 143 145 146 147 148 104 105Used by:Timeline
Streaming Sound 1Used by:Symbol 24 MovieClip

Instance Names

"playGame_btn"Frame 4Symbol 80 Button
"intro_mc"Frame 6Symbol 93 MovieClip
"playGame_btn"Frame 6Symbol 101 Button
"playGame_btn"Frame 7Symbol 113 Button
"safeArea_mc"Frame 9Symbol 123 MovieClip
"marker"Frame 9Symbol 125 MovieClip
"explode_mc"Frame 9Symbol 93 MovieClip
"missile0_mc"Frame 9Symbol 127 MovieClip
"missile1_mc"Frame 9Symbol 127 MovieClip
"missile2_mc"Frame 9Symbol 127 MovieClip
"missile3_mc"Frame 9Symbol 127 MovieClip
"missile4_mc"Frame 9Symbol 129 MovieClip
"spaceship_mc"Frame 9Symbol 132 MovieClip [spaceship]
"saucer_mc"Frame 9Symbol 137 MovieClip
"asteroids_mc"Frame 9Symbol 93 MovieClip
"sound_mc"Frame 9Symbol 138 MovieClip
"score_txt"Frame 9Symbol 139 EditableText
"quitGame_mc"Frame 9Symbol 141 MovieClip
"gameOver_mc"Frame 9Symbol 149 MovieClip
"lives_mc"Frame 9Symbol 93 MovieClip
"hit_mc"Symbol 132 MovieClip [spaceship] Frame 1Symbol 123 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "sndUfoDie"
ExportAssets (56)Timeline Frame 1Symbol 5 as "explosion"
ExportAssets (56)Timeline Frame 1Symbol 150 as "__Packages.com.neodelight.std.XSound"
ExportAssets (56)Timeline Frame 1Symbol 151 as "__Packages.com.neodelight.std.XSoundChannel"
ExportAssets (56)Timeline Frame 1Symbol 152 as "__Packages.com.neodelight.std.Unique"
ExportAssets (56)Timeline Frame 3Symbol 43 as "asteroid"
ExportAssets (56)Timeline Frame 3Symbol 47 as "cloud"
ExportAssets (56)Timeline Frame 3Symbol 51 as "cloud2"
ExportAssets (56)Timeline Frame 3Symbol 1 as "sndUfoDie"
ExportAssets (56)Timeline Frame 3Symbol 52 as "beat1"
ExportAssets (56)Timeline Frame 3Symbol 53 as "beat2"
ExportAssets (56)Timeline Frame 3Symbol 54 as "sndExtra"
ExportAssets (56)Timeline Frame 3Symbol 55 as "sndFire"
ExportAssets (56)Timeline Frame 3Symbol 56 as "sndMusic"
ExportAssets (56)Timeline Frame 3Symbol 57 as "saucerBig"
ExportAssets (56)Timeline Frame 3Symbol 58 as "saucerSmall"
ExportAssets (56)Timeline Frame 3Symbol 59 as "sndFartExtra0"
ExportAssets (56)Timeline Frame 3Symbol 60 as "sndFartExtra1"
ExportAssets (56)Timeline Frame 3Symbol 61 as "sndFartLong0"
ExportAssets (56)Timeline Frame 3Symbol 62 as "sndFartLong1"
ExportAssets (56)Timeline Frame 3Symbol 63 as "sndFartLong2"
ExportAssets (56)Timeline Frame 3Symbol 64 as "sndFartLong3"
ExportAssets (56)Timeline Frame 3Symbol 65 as "sndFartLong4"
ExportAssets (56)Timeline Frame 3Symbol 66 as "sndFartMedium0"
ExportAssets (56)Timeline Frame 3Symbol 67 as "sndFartMedium1"
ExportAssets (56)Timeline Frame 3Symbol 68 as "sndFartMedium2"
ExportAssets (56)Timeline Frame 3Symbol 69 as "sndFartMedium3"
ExportAssets (56)Timeline Frame 3Symbol 70 as "sndFartMedium4"
ExportAssets (56)Timeline Frame 3Symbol 71 as "sndFartShort0"
ExportAssets (56)Timeline Frame 3Symbol 72 as "sndFartShort1"
ExportAssets (56)Timeline Frame 3Symbol 73 as "sndFartShort2"
ExportAssets (56)Timeline Frame 3Symbol 74 as "sndFartShort3"
ExportAssets (56)Timeline Frame 3Symbol 75 as "sndFartShort4"
ExportAssets (56)Timeline Frame 3Symbol 76 as "thrust"
ExportAssets (56)Timeline Frame 9Symbol 132 as "spaceship"
ExportAssets (56)Timeline Frame 9Symbol 55 as "sndFire"
ExportAssets (56)Timeline Frame 9Symbol 61 as "sndFartLong0"
ExportAssets (56)Timeline Frame 9Symbol 66 as "sndFartMedium0"
ExportAssets (56)Timeline Frame 9Symbol 71 as "sndFartShort0"
ExportAssets (56)Timeline Frame 9Symbol 54 as "sndExtra"

Labels

"menu"Frame 6
"loop"Symbol 23 MovieClip Frame 2
"fire"Symbol 138 MovieClip Frame 2
"bangLarge"Symbol 138 MovieClip Frame 4
"bangMedium"Symbol 138 MovieClip Frame 6
"bangSmall"Symbol 138 MovieClip Frame 8
"extra"Symbol 138 MovieClip Frame 10

Dynamic Text Variables

_root.percentageDisplaySymbol 7 EditableText"loading..0%"
msgSymbol 9 EditableText"Flash Player 7"
scoreSymbol 139 EditableText"0"




http://swfchan.com/4/18107/info.shtml
Created: 31/5 -2019 07:06:49 Last modified: 31/5 -2019 07:06:49 Server time: 22/12 -2024 10:53:40