Frame 1
clearAll();
stop();
Stage.showMenu = false;
i = 1;
onEnterFrame = function () {
_root.attachMovie("dustLogo", "d" + i, i);
PTR = _root["d" + i];
side = random(4);
switch (side) {
case 0 :
PTR._x = random(500);
PTR._y = 500;
break;
case 1 :
PTR._x = random(500);
PTR._y = 0;
break;
case 2 :
PTR._x = 0;
PTR._y = random(500);
break;
case 3 :
PTR._x = 500;
PTR._y = random(500);
}
dX = _xmouse - PTR._x;
dY = _ymouse - PTR._y;
theta = Math.atan2(dY, dX);
hyp = Math.sqrt((dX * dX) + (dY * dY));
speed = (hyp * 0.05) + (random(99) * 0.1);
PTR.ySpeed = Math.sin(theta) * speed;
PTR.xSpeed = Math.cos(theta) * speed;
i++;
if (i > 100) {
i = 0;
}
};
Instance of Symbol 27 MovieClip in Frame 1
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 33 MovieClip in Frame 1
on (release) {
getURL ("http://www.monkeyinthepants.com", "blank");
}
Frame 2
music = true;
soundfx = true;
SOUND = new Sound();
SoundFX = function (identifier) {
if (!soundfx) {
return(undefined);
}
_root.SOUND.attachSound(identifier);
_root.SOUND.start(0, 1);
};
Music = function (identifier) {
if (!music) {
return(undefined);
}
fadeOut.removeMovieClip();
_root.SOUND.stop();
_root.SOUND.setVolume(100);
_root.SOUND.attachSound(identifier);
_root.SOUND.start(0, 99999);
};
FadeOut = function () {
_root.createEmptyMovieClip("fadeOut", 2);
fadeOut.onEnterFrame = function () {
_root.SOUND.setVolume(_root.SOUND.getVolume() - 4);
if (_root.SOUND.getVolume() <= 0) {
_root.SOUND.stop();
_root.SOUND.setVolume(100);
this.removeMovieClip();
}
};
};
fade = function (BOOL) {
if (_root.FLASH) {
return(undefined);
}
_root.createEmptyMovieClip("FLASH", 10000);
if (BOOL == true) {
_root.FLASH.beginFill(10485760, 100);
} else {
_root.FLASH.beginFill(16777215, 100);
}
_root.FLASH.moveTo(0, 0);
_root.FLASH.lineTo(SIZE, 0);
_root.FLASH.lineTo(SIZE, SIZE);
_root.FLASH.lineTo(0, SIZE);
_root.FLASH.lineTo(0, 0);
_root.FLASH._alpha = 0;
_root.FLASH.IN = true;
FadeOut();
_root.FLASH.onEnterFrame = function () {
this._x = -_x;
this._y = -_y;
if (this.IN) {
this._alpha = this._alpha + 4;
} else {
this._alpha = this._alpha - 4;
}
if (this._alpha >= 100) {
this.IN = false;
goTo();
} else if (this._alpha < 0) {
this.removeMovieClip();
}
};
};
onEnterFrame = null;
i = 0;
while (i < 100) {
_root["d" + i].removeMovieClip();
i++;
}
Frame 3
stop();
Frame 4
stop();
SIZE = 500;
Music("musicTitle");
onEnterFrame = null;
i = 0;
while (i < 100) {
_root["d" + i].removeMovieClip();
i++;
}
Frame 5
stop();
clearAll();
i = 1;
onEnterFrame = null;
onTitle = function () {
_root.attachMovie("dustLogo", "d" + i, i);
PTR = _root["d" + i];
side = random(4);
switch (side) {
case 0 :
PTR._x = random(500);
PTR._y = 500;
break;
case 1 :
PTR._x = random(500);
PTR._y = 0;
break;
case 2 :
PTR._x = 0;
PTR._y = random(500);
break;
case 3 :
PTR._x = 500;
PTR._y = random(500);
}
dX = _xmouse - PTR._x;
dY = _ymouse - PTR._y;
theta = Math.atan2(dY, dX);
hyp = Math.sqrt((dX * dX) + (dY * dY));
speed = (hyp * 0.05) + (random(99) * 0.1);
PTR.ySpeed = Math.sin(theta) * speed;
PTR.xSpeed = Math.cos(theta) * speed;
i++;
if (i > 100) {
i = 0;
}
};
Instance of Symbol 27 MovieClip in Frame 5
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 33 MovieClip in Frame 5
on (release) {
getURL ("http://www.monkeyinthepants.com", "blank");
}
Frame 6
DistB = function (X, Y) {
if (Math.abs(X - Y) < 20) {
return((X + Y) * 0.7);
}
return(Math.sqrt((X * X) + (Y * Y)));
};
DistE = function (X, Y) {
return((X + Y) * 0.7);
};
Dist = function (X, Y) {
return(Math.sqrt((X * X) + (Y * Y)));
};
stop();
_root.key_up = 38;
_root.key_right = 39;
_root.key_down = 40;
_root.key_left = 37;
_root.depth_ground = 500;
_root.depth_goal_reset = 1000;
_root.depth_goal = _root.depth_goal_reset;
_root.depth_goal_max = 1100;
_root.depth_wind_reset = 2000;
_root.depth_wind = _root.depth_wind_reset;
_root.depth_wind_max = 2050;
_root.depth_player = 3000;
_root.depth_ball_reset = 4000;
_root.depth_ball = _root.depth_ball_reset;
_root.depth_ball_max = 4020;
_root.depth_dust_reset = 5000;
_root.depth_dust = _root.depth_dust_reset;
_root.depth_dust_max = 5100;
_root.depth_popup_reset = 6000;
_root.depth_popup = _root.depth_popup_reset;
_root.depth_popup_max = 6500;
_root.depth_bubble = 7000;
_root.Bubble = function (CAP) {
_root.attachMovie("bubble", "bubble", depth_bubble);
_root.bubble._caption = CAP;
};
_root.makePlayer = function (X, Y) {
_root.attachMovie("sphere", "player", depth_player);
_root.player._x = X;
_root.player._y = Y;
_root.player.xSpeed = 0;
_root.player.ySpeed = 0;
_root.player.onEnterFrame = _root.playerOnEnterFrame;
};
_root.playerOnEnterFrame = function () {
this.xSpeed = (_xmouse - this._x) * 0.4;
this.ySpeed = (_ymouse - this._y) * 0.4;
if ((Math.abs(this.xSpeed) + Math.abs(this.ySpeed)) > 2) {
makeWind(this._x, this._y, (-this.xSpeed) / 2, (-this.ySpeed) / 2);
}
this._x = this._x + this.xSpeed;
this._y = this._y + this.ySpeed;
};
_root.makeWind = function (X, Y, XS, YS) {
_root.attachMovie("sphere", "wind" + depth_wind, depth_wind);
windPTR = _root["wind" + depth_wind];
windPTR._x = (X + random(10)) - 5;
windPTR._y = (Y + random(10)) - 5;
windPTR.xSpeed = (XS + (random(30) * 0.1)) - 1;
windPTR.ySpeed = (YS + (random(30) * 0.1)) - 1;
windPTR.onEnterFrame = _root.windOnEnterFrame;
if ((++depth_wind) >= depth_wind_max) {
depth_wind = depth_wind_reset;
}
};
_root.windOnEnterFrame = function () {
this._x = this._x + ((this.xSpeed = this.xSpeed * 0.9));
this._y = this._y + ((this.ySpeed = this.ySpeed * 0.9));
this._alpha = this._alpha * 0.8;
if (this._alpha <= 10) {
this.removeMovieClip();
}
};
_root.makeDust = function (X, Y) {
_root.attachMovie("dust", "dust" + depth_dust, depth_dust);
dustPTR = _root["dust" + depth_dust];
dustPTR._x = X;
dustPTR._y = Y;
dustPTR._alpha = random(20) + 10;
dustPTR.xSpeed = 0;
dustPTR.ySpeed = 0;
dustPTR.count = random(10) * 0.1;
dustPTR.accell = (random(20) * 0.01) - 0.01;
if (dustPTR.accell == 0) {
dustPTR.accell++;
}
dustPTR.onEnterFrame = _root.dustOnEnterFrame;
if ((++depth_dust) >= depth_dust_max) {
depth_dust = depth_dust_reset;
}
};
_root.dustOnEnterFrame = function () {
if (DistE(this._x - player._x, this._y - player._y) < player._width) {
this.xSpeed = this.xSpeed + (2 / ((player._x - this._x) * 0.1));
this.ySpeed = this.ySpeed + (2 / ((player._y - this._y) * 0.1));
}
this.xSpeed = this.xSpeed + ((player.xSpeed * 0.5) / Math.abs(player._x - this._x));
this.ySpeed = this.ySpeed + ((player.ySpeed * 0.5) / Math.abs(this._y - player._y));
if (this.xSpeed > 10) {
this.xSpeed = 10;
}
if (this.xSpeed < -10) {
this.xSpeed = -10;
}
if (this.ySpeed > 10) {
this.ySpeed = 10;
}
if (this.ySpeed < -10) {
this.ySpeed = -10;
}
this._x = this._x + ((this.xSpeed = this.xSpeed * 0.8));
this._y = this._y + ((this.ySpeed = this.ySpeed * 0.8));
this._x = this._x + ((Math.cos(this.count) * this._alpha) * 0.05);
this._y = this._y + ((Math.sin(this.count) * this._alpha) * 0.05);
this.count = this.count + this.accell;
this._alpha = this._alpha - 0.3;
if (((((this._x < 0) || (this._x > SIZE)) || (this._y < 0)) || (this._y > SIZE)) || (this._alpha <= 0)) {
this.removeMovieClip();
}
};
_root.makeBall = function (X, Y, S) {
balls++;
_root.attachMovie("ball", "ball" + depth_ball, depth_ball);
ballPTR = _root["ball" + depth_ball];
ballPTR._x = X;
ballPTR._y = Y;
ballPTR._width = (ballPTR._height = S);
ballPTR._rotation = random(360);
ballPTR.touched = 0;
ballPTR.xSpeed = 0;
ballPTR.ySpeed = 0;
ballPTR.onEnterFrame = _root.ballOnEnterFrame;
if ((++depth_ball) >= depth_ball_max) {
depth_ball = depth_ball_reset;
}
};
_root.ballOnEnterFrame = function () {
if (this.hitTest(_root.player)) {
this.ySpeed = this.ySpeed + (player.ySpeed / 2);
this.xSpeed = this.xSpeed + (player.xSpeed / 2);
this.xSpeed = this.xSpeed + ((player._x - this._x) * 0.1);
this.ySpeed = this.ySpeed + ((player._y - this._y) * 0.1);
this.touched = 10;
} else if (this.touched > 0) {
makeDust((this._x - (this._width / 2)) + random(this._width), (this._y - (this._height / 2)) + random(this._height));
makeWind(this._x, this._y, 0, 0);
this.touched--;
}
this.ySpeed = this.ySpeed + 1;
this.filters = [new flash.filters.BlurFilter(this.xSpeed, this.ySpeed, 1)];
this.xSpeed = this.xSpeed * 0.99;
this.ySpeed = this.ySpeed * 0.95;
if (this.xSpeed > this._width) {
this.xSpeed = this._width;
} else if (this.xSpeed < (-this._width)) {
this.xSpeed = -this._width;
}
if (this.ySpeed > this._height) {
this.ySpeed = this._height;
} else if (this.ySpeed < (-this._height)) {
this.ySpeed = -this._height;
}
if (((this.xSpeed > 0) && (_root.ground.hitTest((this._x + (this._width / 2)) + this.xSpeed, this._y, true))) || ((this.xSpeed < 0) && (_root.ground.hitTest((this._x - (this._width / 2)) + this.xSpeed, this._y, true)))) {
this.xSpeed = this.xSpeed * -0.9;
}
if (((this.ySpeed > 0) && (_root.ground.hitTest(this._x, (this._y + (this._height / 2)) + this.ySpeed, true))) || ((this.ySpeed < 0) && (_root.ground.hitTest(this._x, (this._y - (this._height / 2)) + this.ySpeed, true)))) {
this.ySpeed = this.ySpeed * -0.9;
}
this._x = this._x + this.xSpeed;
this._rotation = this._rotation + (this.xSpeed * 2.5);
this._y = this._y + this.ySpeed;
if ((this._y > SIZE) && (this.ySpeed > 0)) {
this._y = SIZE;
this.ySpeed = this.ySpeed * -0.9;
}
if ((this._x < 0) && (this.xSpeed < 0)) {
this._x = 0;
this.xSpeed = this.xSpeed * -1;
}
if ((this._x > SIZE) && (this.xSpeed > 0)) {
this._x = SIZE;
this.xSpeed = this.xSpeed * -1;
}
};
_root.ballGrab = function (X, Y, BALL) {
SoundFX("catch.mp3");
BALL.wantX = X;
BALL.wantY = Y;
if (BALL.touched <= 0) {
makePopup((BALL._x + (X * 2)) / 3, (BALL._y + (Y * 2)) / 3, "niceShot");
SoundFX("beepE.mp3");
}
BALL.onEnterFrame = function () {
this.xSpeed = this.xSpeed + (((this.wantX - this._x) - this.xSpeed) * 0.1);
this.ySpeed = this.ySpeed + (((this.wantY - this._y) - this.ySpeed) * 0.1);
this._x = this._x + this.xSpeed;
this._y = this._y + this.ySpeed;
this._xscale = (this._yscale = this._yscale * 0.9);
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
this._alpha--;
_root.makeChunk(this._x, this._y, this.xSpeed, this.ySpeed);
makeWind(this._x, this._y, -this.xSpeed, -this.ySpeed);
makeDust((this._x - (this._width / 2)) + random(this._width), (this._y - (this._height / 2)) + random(this._height));
if (this._xscale <= 10) {
this.removeMovieClip();
balls--;
if (balls < goals) {
fade(true);
_root.goTo = function () {
clearAll();
loadLevel();
};
} else if (goals == 0) {
fade();
_root.goTo = finish;
}
}
};
BALL._name = BALL._name + "E";
};
_root.makeChunk = function (X, Y, xSpeed, ySpeed) {
_root.attachMovie("ballChunk", "dust" + depth_dust, depth_dust);
chunkPTR = _root["dust" + depth_dust];
chunkPTR.gotoAndStop(random(10) + 1);
chunkPTR._x = (X + random(20)) - 10;
chunkPTR._y = (Y + random(20)) - 10;
chunkPTR._xscale = (chunkPTR._yscale = random(300));
chunkPTR.xSpeed = (random(10) - 5) + xSpeed;
chunkPTR.ySpeed = (random(10) - 5) + ySpeed;
chunkPTR.onEnterFrame = _root.chunkOnEnterFrame;
if ((++depth_dust) >= depth_dust_max) {
depth_dust = depth_dust_reset;
}
};
_root.chunkOnEnterFrame = function () {
this._x = this._x + ((this.xSpeed = this.xSpeed * 0.8));
this._y = this._y + ((this.ySpeed = this.ySpeed * 0.8));
this._alpha = this._alpha - (this._xscale * 0.05);
if (this._alpha <= 10) {
this.removeMovieClip();
}
};
makeGoal = function (X, Y) {
goals++;
_root.attachMovie("goal", "goal" + depth_goal, depth_goal);
goalPTR = _root["goal" + depth_goal];
goalPTR._x = X;
goalPTR._y = Y;
if ((++depth_goal) >= depth_goal_max) {
depth_goal = depth_goal_reset;
}
};
makeTrap = function (X, Y) {
_root.attachMovie("trap", "goal" + depth_goal, depth_goal);
goalPTR = _root["goal" + depth_goal];
goalPTR._x = X;
goalPTR._y = Y;
if ((++depth_goal) >= depth_goal_max) {
depth_goal = depth_goal_reset;
}
};
makePopup = function (X, Y, ID) {
_root.attachMovie(ID, "popup" + depth_popup, depth_popup);
popupPTR = _root["popup" + depth_popup];
popupPTR._x = X;
popupPTR._y = Y;
popupPTR.speed = -10;
popupPTR.onEnterFrame = function () {
this._y = this._y + ((this.speed = this.speed * 0.8));
if (this.speed > -1) {
this._alpha = this._alpha - 2;
}
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
if ((++depth_popup) >= depth_popup_max) {
depth_popup = depth_popup_reset;
}
};
makePopupStill = function (X, Y, ID) {
_root.attachMovie(ID, "popup" + depth_popup, depth_popup);
popupPTR = _root["popup" + depth_popup];
popupPTR._x = X;
popupPTR._y = Y;
if ((++depth_popup) >= depth_popup_max) {
depth_popup = depth_popup_reset;
}
};
level = 1;
loadLevel = function () {
Music("music" + random(4));
_root.attachMovie("levels", "ground", depth_ground);
ground.gotoAndPlay((level * 2) - 1);
if (ground._currentframe == ground._totalframes) {
clearAll();
_root.gotoAndStop("end");
}
ground.onEnterFrame = function () {
this.stop();
this.onEnterFrame = null;
};
makePopupStill(SIZE / 2, SIZE / 2, "level Intro");
makePlayer(_xmouse, _ymouse);
balls = 0;
goals = 0;
alternate = 0;
onMouseMove = function () {
if ((++alternate) > 2) {
makeDust(_xmouse, _ymouse);
alternate = 0;
}
};
Mouse.hide();
};
finish = function () {
clearAll();
level++;
loadLevel();
};
clearAll = function () {
i = depth_goal_reset;
while (i < depth_goal_max) {
_root["goal" + i].removeMovieClip();
i++;
}
i = depth_wind_reset;
while (i < depth_wind_max) {
_root["wind" + i].removeMovieClip();
i++;
}
i = depth_ball_reset;
while (i < depth_ball_max) {
_root["ball" + i].removeMovieClip();
_root[("ball" + i) + "E"].removeMovieClip();
i++;
}
i = depth_dust_reset;
while (i < depth_dust_max) {
_root["dust" + i].removeMovieClip();
i++;
}
i = depth_popup_reset;
while (i < depth_popup_max) {
_root["popup" + i].removeMovieClip();
i++;
}
_root.player.removeMovieClip();
_root.ground.removeMovieClip();
_root.bubble.removeMovieClip();
depth_goal = depth_goal_reset;
depth_wind = depth_wind_reset;
depth_ball = depth_ball_reset;
depth_dust = depth_dust_reset;
depth_popup = depth_popup_reset;
onMouseMove = null;
onMouseDown = null;
Mouse.show();
};
loadLevel();
onEnterFrame = function () {
if (Key.isDown(82)) {
fade(true);
_root.goTo = function () {
clearAll();
loadLevel();
};
}
};
Frame 7
clearAll();
onTitle = null;
Music("musicTitle");
_quality = "High";
Instance of Symbol 27 MovieClip in Frame 7
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 33 MovieClip in Frame 7
on (release) {
getURL ("http://www.monkeyinthepants.com", "blank");
}
Symbol 18 Button
on (release) {
_root.play();
}
Symbol 19 MovieClip Frame 21
stop();
Symbol 21 MovieClip Frame 1
stop();
_root.stop();
onEnterFrame = function () {
percent = Math.round((50 * _root.getBytesLoaded()) / _root.getBytesTotal());
if (percent > _currentframe) {
nextFrame();
}
if ((percent == 50) && (_currentframe == 50)) {
onEnterFrame = null;
}
};
Symbol 21 MovieClip Frame 50
stop();
Symbol 34 MovieClip [dustLogo] Frame 1
this.filters = [new flash.filters.BlurFilter(Math.abs(this.xSpeed) * 1.5, Math.abs(this.ySpeed) * 1.5, 1)];
this._alpha = (Math.abs(this.xSpeed) * 10) + (Math.abs(this.ySpeed) * 5);
this.onEnterFrame = function () {
this._x = this._x + this.xSpeed;
this._y = this._y + this.ySpeed;
this.filters = [new flash.filters.BlurFilter(Math.abs(this.xSpeed) * 1.5, Math.abs(this.ySpeed) * 1.5, 1)];
this.ySpeed = this.ySpeed * 0.9;
this.xSpeed = this.xSpeed * 0.9;
this._alpha = (Math.abs(this.xSpeed) * 10) + (Math.abs(this.ySpeed) * 10);
if (this._alpha <= 2) {
this.removeMovieClip();
}
};
Symbol 41 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (-_parent._rotation);
};
_rotation = (-_parent._rotation);
Symbol 44 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + 10);
};
Symbol 45 MovieClip [goal] Frame 1
_toggle = random(3);
onEnterFrame = function () {
if ((++_toggle) >= 3) {
i = _root.depth_ball_reset;
while (i < _root.depth_ball) {
ballPTR = _root["ball" + i];
if (ballPTR && (_root.Dist(_x - ballPTR._x, _y - ballPTR._y) < ((ballPTR._width * 0.7) + (this._width * 0.7)))) {
_root.ballGrab(_x, _y, ballPTR);
_root.goals--;
this.onEnterFrame = done;
break;
}
i++;
}
_toggle = 0;
}
};
done = function () {
_root.makeWind(this._x, this._y, random(20) - 10, random(20) - 10);
_alpha = (_alpha * 0.9);
_yscale = (_alpha * 0.9);
_xscale = (_alpha * 0.9);
if (this._alpha <= 10) {
this.removeMovieClip();
}
};
Symbol 162 MovieClip [trap] Frame 1
i = 1;
alpha = "0.3";
setProperty("li0", _visible , "0");
while (Number(i) <= 9) {
duplicateMovieClip ("li0", "li" + i, 900 - i);
setProperty("li" + i, _xscale , getProperty("li" + i, _xscale) + (i * 2));
setProperty("li" + i, _yscale , getProperty("li" + i, _yscale) + (i * 2));
setProperty("li" + i, _alpha , 10 - (i * 0.4));
i = Number(i) + 1;
}
_toggle = random(3);
onEnterFrame = function () {
if ((++_toggle) >= 3) {
i = _root.depth_ball_reset;
while (i < _root.depth_ball) {
ballPTR = _root["ball" + i];
if (ballPTR && (_root.Dist(_x - ballPTR._x, _y - ballPTR._y) < (((ballPTR._width * 0.85) / 2) + ((this._width * 0.85) / 2)))) {
_root.SoundFX("die");
_root.ballGrab(ballPTR._x, ballPTR._y, ballPTR);
_root.ballPTR.xSpeed = _root.ballPTR.xSpeed * 0.5;
_root.ballPTR.ySpeed = _root.ballPTR.ySpeed * 0.5;
this.onEnterFrame = done;
break;
}
i++;
}
_toggle = 0;
}
};
done = function () {
_root.makeWind(this._x, this._y, random(20) - 10, random(20) - 10);
_alpha = (_alpha * 0.9);
_yscale = (_alpha * 0.9);
_xscale = (_alpha * 0.9);
if (this._alpha <= 10) {
this.removeMovieClip();
}
};
Symbol 167 MovieClip Frame 1
_visible = false;
_root.makeGoal(_x, _y);
Symbol 167 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
_visible = false;
_root.makeBall(_x, _y, Math.round((_width + _height) / 2));
Symbol 169 MovieClip Frame 2
stop();
Symbol 174 MovieClip Frame 1
_visible = false;
_root.makeTrap(_x, _y);
Symbol 174 MovieClip Frame 2
stop();
Symbol 195 MovieClip [levels] Frame 1
_quality = "Low";
Symbol 195 MovieClip [levels] Frame 2
_root.Bubble("Use the mouse to push around the ball. Toss it in the vortex to complete the level");
Symbol 195 MovieClip [levels] Frame 4
_root.Bubble("Move slowly to drag the ball.\nMove quickly to push it.");
Symbol 195 MovieClip [levels] Frame 6
_root.Bubble("Close all of the vortexes to complete the level.");
Symbol 195 MovieClip [levels] Frame 8
_root.Bubble("Obs destroy balls, avoid orbs.");
Symbol 195 MovieClip [levels] Frame 10
_root.Bubble("Sometimes, you must sacrifice a ball to close a vortex.");
Symbol 195 MovieClip [levels] Frame 12
_root.Bubble("You may not need to use all of your balls to close the vortexes.");
Symbol 195 MovieClip [levels] Frame 14
_root.Bubble("If you ever get stuck, press the R key to restart.\nNow let's get started.");
Symbol 200 MovieClip [level Intro] Frame 55
this.removeMovieClip();
Symbol 206 MovieClip [bubble] Frame 1
_x = (_root.SIZE / 2);
_alpha = 0;
onEnterFrame = function () {
_alpha = (_alpha + ((100 - _alpha) * 0.4));
this._alpha++;
if (this._alpha >= 0) {
this._alpha = 100;
this.onEnterframe = null;
}
};
onMouseDown = function () {
onMouseDown = null;
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip();
}
};
};
this.onUnload = function () {
onMouseDown = null;
};
Symbol 264 MovieClip [quitButton] Frame 1
onEnterFrame = function () {
if (this.hitTest(_parent._xmouse, _parent._ymouse)) {
nextFrame();
nextFrame();
} else {
prevFrame();
}
if (this._currentframe == this._totalframes) {
_root.fade();
_root.goTo = function () {
_root.gotoAndStop("title");
_root.Music("musicTitle");
};
this.onEnterFrame = null;
}
};
stop();
Symbol 270 MovieClip Frame 1
stop();
_visible = false;
Symbol 275 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 282 MovieClip Frame 1
_root.stop();
Symbol 282 MovieClip Frame 82
_root.play();
Symbol 284 MovieClip Frame 1
count = random(100) * 0.01;
X = _x;
Y = _y;
this.onEnterFrame = function () {
count = count + 0.1;
this._x = (Math.sin(count) * 4) + X;
this._y = (Math.cos(count) * 1) + Y;
};
Symbol 286 MovieClip Frame 1
count = random(100) * 0.01;
X = _x;
Y = _y;
this.onEnterFrame = function () {
count = count + 0.1;
this._x = (Math.sin(count) * 2) + X;
this._y = (Math.cos(count) * 2) + Y;
};
Symbol 288 MovieClip Frame 1
count = random(100) * 0.01;
X = _x;
Y = _y;
this.onEnterFrame = function () {
count = count + 0.1;
this._x = (Math.sin(count) * 2) + X;
this._y = (Math.cos(count) * 3) + Y;
};
Symbol 290 MovieClip Frame 1
count = random(100) * 0.01;
X = _x;
Y = _y;
this.onEnterFrame = function () {
count = count + 0.1;
this._x = (Math.sin(count) * 2) + X;
this._y = (Math.cos(count) * 2) + Y;
};
Symbol 293 MovieClip Frame 1
this._alpha = 0;
onEnterFrame = function () {
_alpha = (_alpha + ((100 - this._alpha) * 0.05));
if (_alpha > 90) {
this._alpha = 100;
this.onEnterFrame = time;
timer = 50;
}
};
time = function () {
onMouseDown = null;
if ((--timer) <= 0) {
this._alpha = this._alpha * 0.8;
if (this._alpha <= 10) {
_root.play();
}
}
};
onMouseDown = function () {
onEnterFrame = time;
timer = 0;
};
Symbol 296 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_parent._xmouse, _parent._ymouse)) {
nextFrame();
nextFrame();
} else {
prevFrame();
}
if (this._currentframe == this._totalframes) {
_root.fade();
_root.goTo = function () {
i = 0;
while (i < 100) {
_root["d" + i].removeMovieClip();
i++;
}
_root.gotoAndStop("game");
};
this.onEnterFrame = null;
}
};
stop();
Symbol 327 MovieClip Frame 31
stop();
Symbol 328 MovieClip Frame 4
i = 0;
onEnterFrame = function () {
j = 0;
while (j < 2) {
attachMovie("dustLogo", "d" + i, i);
PTR = this["d" + i];
PTR._x = spawner._x + random(100);
PTR._y = (spawner._y + random(40)) - 20;
PTR.xSpeed = random(10);
PTR.ySpeed = random(6) - 3;
i++;
j++;
}
};
Symbol 328 MovieClip Frame 42
onEnterFrame = null;
Symbol 328 MovieClip Frame 54
_root.onEnterFrame = _root.onTitle;
Symbol 328 MovieClip Frame 69
stop();