Frame 1
stop();
Instance of Symbol 42 MovieClip in Frame 1
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 45 MovieClip "spinball" in Frame 1
onClipEvent (load) {
spin = 0;
spinadjust = 5;
this.gotoAndStop(random(20));
}
onClipEvent (enterFrame) {
_rotation = ((Math.round((Math.atan2(_root._ymouse - _y, _root._xmouse - _x) / Math.PI) * 180) - 90) + spin);
spin = spin + spinadjust;
this.play();
xpos = _root._xmouse;
ypos = _root._ymouse;
if (_root._currentframe != 1) {
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 47 MovieClip in Frame 1
onClipEvent (load) {
i = 0;
while (i < 200) {
_root.spinball.duplicateMovieClip("blur" + i, i, i);
_root["blur" + i]._x = random(1000);
_root["blur" + i]._y = random(1000);
i++;
}
}
Frame 2
stop();
Frame 3
stop();
_root._alpha = 100;
Instance of Symbol 65 MovieClip in Frame 3
onClipEvent (load) {
_root.cloneCount = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (timer == 0) {
timer = 2;
posY = random(400);
posX = random(550);
i = 0;
while (i < 5) {
var b;
b = _root.attachMovie("Title_Explosion", "Clone" + _root.cloneCount, _root.cloneCount++);
b._x = posX;
b._y = posY;
i++;
}
} else {
timer--;
}
}
Instance of Symbol 42 MovieClip in Frame 3
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Instance of Symbol 70 MovieClip in Frame 3
onClipEvent (load) {
textBox = "PLAY";
}
on (release) {
stopAllSounds();
_root.gotoAndStop("game");
}
Instance of Symbol 70 MovieClip in Frame 3
onClipEvent (load) {
textBox = "SCOREBOARD";
}
on (release) {
stopAllSounds();
_root.gotoAndStop("SB");
}
Instance of Symbol 70 MovieClip in Frame 3
onClipEvent (load) {
textBox = "HOMEPAGE";
}
on (release) {
getURL ("http://www.the-exp.com", "blank");
}
Frame 4
stop();
Instance of Symbol 77 MovieClip "ship" in Frame 4
onClipEvent (load) {
_root._alpha = 100;
BulletSpeed = 15;
ShotCount = 0;
ShotSpeed = 10;
ShotAdjust = ShotSpeed;
ShotMaxSpeed = 4;
ShotAccel = 0.01;
ShotTimer = ShotSpeed;
BulletTimer = 50;
ShotShadowFade = 40;
ShotExplosionSize = 20;
SpeedMax = 10;
SpeedAccel = 1;
SpeedX = 0;
SpeedY = 0;
dead = false;
EnemyCloneTimer = 60;
EnemyTimer = 0;
_root.score = 0;
}
onClipEvent (enterFrame) {
_root.shotSpeedOutput = 11 - ShotSpeed;
_root.enemySpeedOutput = Math.round(10 - (EnemyCloneTimer / 10));
if (dead == false) {
_root.score++;
if (_root.enemy.hitTest(_x, _y, true) or (deadSwitch == true)) {
if (dead == false) {
i = 0;
while (i < _root.ship.ShotExplosionSize) {
var b;
b = _root.attachMovie("Shot_Explosion", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
b._x = this._x;
b._y = this._y;
i++;
}
i = 0;
while (i < 200) {
var b;
b = _root.attachMovie("Title_Explosion", "Clone" + _root.cloneCount, _root.cloneCount++);
b._x = this._x;
b._y = this._y;
i++;
}
_root.sound.gotoAndStop("bangbig");
_root.sound.gotoAndStop(1);
_root.sound.gotoAndStop("bangbig");
_root.sound.gotoAndStop(1);
_root.sound.gotoAndStop("bangbig");
_root.sound.gotoAndStop(1);
_visible = false;
dead = true;
}
}
if (EnemyTimer == EnemyCloneTimer) {
EnemyTimer = 0;
if (EnemyCloneTimer > 10) {
EnemyCloneTimer = EnemyCloneTimer - 1;
}
var b;
b = _root.enemy.attachMovie("Enemy_Square", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
} else {
EnemyTimer++;
}
if (Key.isDown(38) or Key.isDown(87)) {
if (SpeedY > (-SpeedMax)) {
SpeedY = SpeedY - SpeedAccel;
} else {
SpeedY = -SpeedMax;
}
}
if (Key.isDown(40) or Key.isDown(83)) {
if (SpeedY < SpeedMax) {
SpeedY = SpeedY + SpeedAccel;
} else {
SpeedY = SpeedMax;
}
}
if (Key.isDown(37) or Key.isDown(65)) {
if (SpeedX > (-SpeedMax)) {
SpeedX = SpeedX - SpeedAccel;
} else {
SpeedX = -SpeedMax;
}
}
if (Key.isDown(39) or Key.isDown(68)) {
if (SpeedX < SpeedMax) {
SpeedX = SpeedX + SpeedAccel;
} else {
SpeedX = SpeedMax;
}
}
SpeedX = SpeedX / 1.1;
SpeedY = SpeedY / 1.1;
this._x = this._x + SpeedX;
this._y = this._y + SpeedY;
if (this._x > 570) {
this._x = -20;
} else if (this._x < -20) {
this._x = 570;
}
if (this._y > 370) {
this._y = -20;
} else if (this._y < -20) {
this._y = 370;
}
if (ShotTimer == ShotSpeed) {
ShotTimer = 0;
if (ShotAdjust > ShotMaxSpeed) {
ShotAdjust = ShotAdjust - ShotAccel;
} else {
ShotAdjust = ShotMaxSpeed;
}
ShotSpeed = Math.ceil(ShotAdjust);
var b;
b = _root.attachMovie("Shot", "Clone" + ShotCount, ShotCount++);
ShotRemove = ShotCount - MaxShots;
_root["Shot" + ShotRemove].removeMovieClip();
b._x = this._x;
b._y = this._y;
} else {
ShotTimer++;
}
_rotation = Math.round((Math.atan2(_parent._ymouse - _y, _parent._xmouse - _x) / Math.PI) * 180);
var b;
b = _root.attachMovie("Ship_Shadow", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
b._x = this._x;
b._y = this._y;
b._alpha = 60;
b._rotation = this._rotation;
this.swapDepths(ShotCount + 5000);
} else {
_root._alpha = _root._alpha - 1;
if (_root._alpha < 1) {
stopAllSounds();
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 80 MovieClip "hit" in Frame 4
onClipEvent (load) {
placeSwitch = false;
_visible = false;
}
onClipEvent (enterFrame) {
if ((this._x != -1000) and (placeSwitch == false)) {
placeSwitch = true;
} else if (this._x != -1000) {
this._x = -1000;
} else if (this._x == -1000) {
placeSwitch = false;
}
}
Instance of Symbol 90 MovieClip "hud" in Frame 4
onClipEvent (enterFrame) {
this.swapDepths(_root.ship.ShotCount + 6000);
}
Frame 5
i = 0;
while (i < (_root.ship.ShotCount * 2)) {
_root["Clone" + i].removeMovieClip();
i++;
}
_root.hud.removeMovieClip();
_root.ship.removeMovieClip();
stop();
Instance of Symbol 70 MovieClip in Frame 5
onClipEvent (load) {
textBox = "BACK";
}
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
onClipEvent (enterFrame) {
_root._alpha = _root._alpha + 2;
}
Instance of Symbol 70 MovieClip in Frame 5
onClipEvent (load) {
textBox = "SCOREBOARD";
}
on (release) {
stopAllSounds();
_root.gotoAndStop("SB");
}
onClipEvent (enterFrame) {
_root._alpha = _root._alpha + 2;
}
Instance of Symbol 70 MovieClip in Frame 5
onClipEvent (load) {
textBox = "SUBMIT";
}
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = _root.username.text;
ab20_09.x = ab20.encodeNum(_root.score);
ab20_09.c = 969;
ab20_09.v = "FHVLXG";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
this._x = this._x + 1000;
}
onClipEvent (enterFrame) {
if (_root._alpha < 100) {
_root._alpha = _root._alpha + 2;
}
}
Instance of Symbol 135 MovieClip "HStable" in Frame 6
onClipEvent (load) {
stop();
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 969;
__top10_send__.kid = "FHVLXG";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
i = 1;
while (i < 11) {
_root.HStable[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root.HStable[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
}
Instance of Symbol 65 MovieClip in Frame 6
onClipEvent (load) {
_root.cloneCount = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (timer == 0) {
timer = 2;
posY = random(400);
posX = random(550);
i = 0;
while (i < 5) {
var b;
b = _root.attachMovie("Title_Explosion", "Clone" + _root.cloneCount, _root.cloneCount++);
b._x = posX;
b._y = posY;
i++;
}
} else {
timer--;
}
}
Instance of Symbol 70 MovieClip in Frame 6
onClipEvent (load) {
textBox = "BACK";
}
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 3 MovieClip [Ship_Shadow] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_alpha = (_alpha - (_root.ship.ShotShadowFade / 5));
} else {
this.removeMovieClip();
}
}
Symbol 8 MovieClip [Title_Explosion] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_y = (_y + (5 * Math.sin(movement * (Math.PI/180))));
_x = (_x + (5 * Math.cos(movement * (Math.PI/180))));
_alpha = (_alpha - 10);
} else {
this.removeMovieClip();
}
}
movement = random(360);
Symbol 11 MovieClip [Shot_Explosion] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_y = (_y + ((_root.ship.BulletSpeed / 4) * Math.sin(movement * (Math.PI/180))));
_x = (_x + ((_root.ship.BulletSpeed / 4) * Math.cos(movement * (Math.PI/180))));
_alpha = (_alpha - (_root.ship.ShotShadowFade / 5));
} else {
this.removeMovieClip();
}
}
movement = random(360);
Symbol 11 MovieClip [Shot_Explosion] Frame 25
stop();
Symbol 12 MovieClip [Shot_Shadow] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_alpha = (_alpha - (_root.ship.ShotShadowFade / 2));
} else {
this.removeMovieClip();
}
}
Symbol 13 MovieClip [Shot] Frame 1
function onEnterFrame() {
_rotation = (_rotation + 10);
_y = (_y + (_root.ship.BulletSpeed * Math.sin(movement * (Math.PI/180))));
_x = (_x + (_root.ship.BulletSpeed * Math.cos(movement * (Math.PI/180))));
var _local3;
_local3 = _root.attachMovie("Shot_Shadow", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
_local3._x = this._x;
_local3._y = this._y;
_local3._alpha = 60;
_local3._rotation = this._rotation;
if (_root.enemy.hitTest(_x, _y, true)) {
_root.hit._x = this._x;
_root.hit._y = this._y;
timer = -1;
}
if (timer < 0) {
i = 0;
while (i < _root.ship.ShotExplosionSize) {
_local3 = _root.attachMovie("Shot_Explosion", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
_local3._x = this._x;
_local3._y = this._y;
i++;
}
this.removeMovieClip();
} else {
timer--;
}
}
movement = Math.round((Math.atan2(_parent._ymouse - _y, _parent._xmouse - _x) / Math.PI) * 180);
_rotation = movement;
timer = _root.ship.BulletTimer;
Symbol 15 MovieClip [Enemy_Square_Shadow] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_alpha = (_alpha - (_root.ship.ShotShadowFade / 5));
} else {
this.removeMovieClip();
}
}
Symbol 16 MovieClip [Enemy_Square] Frame 1
function onEnterFrame() {
if (((shotTimer > 0) and (shootNo < 2)) and this.hitTest(_root.sceneArea)) {
shotTimer--;
} else if (shotTimer == 0) {
shotTimer = 15;
shootNo++;
b = _root.attachMovie("Enemy_Shot", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
b._x = this._x;
b._y = this._y;
b.movement = Math.round((Math.atan2(_root.ship._y - _y, _root.ship._x - _x) / Math.PI) * 180);
b.timer = _root.ship.BulletTimer / 2;
}
_rotation = Math.round((Math.atan2(_root.ship._y - _y, _root.ship._x - _x) / Math.PI) * 180);
_y = (_y + ((_root.ship.BulletSpeed / 3) * Math.sin(movement * (Math.PI/180))));
_x = (_x + ((_root.ship.BulletSpeed / 3) * Math.cos(movement * (Math.PI/180))));
var b;
b = _root.attachMovie("Enemy_Square_Shadow", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
b._x = this._x;
b._y = this._y;
b._alpha = 30;
b._rotation = this._rotation;
if (this.hitTest(_root.hit)) {
_root.sound.gotoAndStop("bangbig");
_root.sound.gotoAndStop(1);
timer = -1;
_root.score = _root.score + 500;
}
if (timer < 0) {
i = 0;
while (i < _root.ship.ShotExplosionSize) {
var b;
b = _root.attachMovie("Shot_Explosion", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
b._x = this._x;
b._y = this._y;
i++;
}
this.removeMovieClip();
} else {
timer--;
}
}
gotoAndStop(random(3) + 1);
_x = random(550);
_y = random(400);
if (random(2) == 0) {
_x = (_x - 500);
} else {
_x = (_x + 500);
}
if (random(2) == 0) {
_y = (_y - 500);
} else {
_y = (_y + 500);
}
shotTimer = random(50) + 10;
shootNo = 0;
timer = 500;
movement = Math.round((Math.atan2((random(200) + 50) - _y, (random(450) + 50) - _x) / Math.PI) * 180);
Symbol 19 MovieClip [Enemy_Shot_Shadow] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_alpha = (_alpha - (_root.ship.ShotShadowFade / 2));
} else {
this.removeMovieClip();
}
}
Symbol 20 MovieClip [Enemy_Shot] Frame 1
function onEnterFrame() {
_y = (_y + ((_root.ship.BulletSpeed / 2) * Math.sin(movement * (Math.PI/180))));
_x = (_x + ((_root.ship.BulletSpeed / 2) * Math.cos(movement * (Math.PI/180))));
if (this.hitTest(_root.ship.hit)) {
_root.ship.deadSwitch = true;
}
var _local3;
_local3 = _root.attachMovie("Enemy_Shot_Shadow", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
_local3._x = this._x;
_local3._y = this._y;
_local3._alpha = 60;
if (timer < 0) {
_root.sound.gotoAndStop("bangsmall");
_root.sound.gotoAndStop(1);
i = 0;
while (i < _root.ship.ShotExplosionSize) {
_local3 = _root.attachMovie("Shot_Explosion", "Clone" + _root.ship.ShotCount, _root.ship.ShotCount++);
_local3._x = this._x;
_local3._y = this._y;
i++;
}
this.removeMovieClip();
} else {
timer--;
}
}
Symbol 22 MovieClip Frame 1
_visible = false;
Symbol 30 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 35 Button
on (release) {
_root.play();
}
Symbol 36 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 36 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 44 MovieClip "ball" in Symbol 45 MovieClip Frame 1
/* no clip actions */
Symbol 47 MovieClip Frame 1
_visible = false;
Symbol 136 MovieClip [__Packages.ab20] Frame 0
class ab20
{
function ab20 () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Symbol 50 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 57 MovieClip Frame 243
_root.play();
Symbol 82 MovieClip Frame 1
stop();
Instance of Symbol 92 MovieClip in Symbol 93 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
_parent.star._visible = false;
ii = 0;
speed = 20;
count = 30;
timer = 3;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer = timer - 1;
} else {
timer = 3;
ii++;
_parent.star.duplicateMovieClip("star" + ii, ii, ii);
_parent["star" + ii].xSpeed = random(speed) + 5;
if (random(2) == 0) {
_parent["star" + ii].xSpeed = _parent["star" + ii].xSpeed * -1;
}
_parent["star" + ii].ySpeed = random(speed) + 5;
if (random(2) == 0) {
_parent["star" + ii].ySpeed = _parent["star" + ii].ySpeed * -1;
}
_parent["star" + ii]._xscale = random(50) + 5;
_parent["star" + ii]._yscale = _parent["star" + ii]._xscale;
_parent["star" + ii]._alpha = 0;
}
}
Instance of Symbol 92 MovieClip "star" in Symbol 93 MovieClip Frame 1
onClipEvent (load) {
timer = 20;
}
onClipEvent (enterFrame) {
if (timer < 0) {
this.removeMovieClip();
}
timer--;
_alpha = (_alpha + 10);
this._x = this._x + xSpeed;
this._y = this._y + ySpeed;
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
stop();