Frame 1
i = 1;
while (i <= 5) {
_root.face.duplicateMovieClip("face" + i, i + 1000, face);
score = 0;
i++;
}
stop();
stop();
Instance of Symbol 13 MovieClip "SBOB" in Frame 1
onClipEvent (load) {
function reset() {
if (this._name == "face") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(4) + 3;
this._x = 600;
this._y = random(400);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (this._x < -40) {
this.reset();
}
}
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (load) {
startDrag (this, true);
Mouse.hide();
this.swapDepths(9998);
}
onClipEvent (mouseDown) {
playsounds = new Sound(this);
playsounds.attachSound("shot");
playsounds.start(0, 1);
playsounds.start(0, 1);
i = 1;
while (i <= 5) {
if (this.hitTest(_root["face" + i]) && (_root["face" + i].dead == 0)) {
_root["face" + i].gotoAndPlay(2);
_root.score = 10;
}
i++;
}
}
Instance of Symbol 13 MovieClip "SBOB" in Frame 1
onClipEvent (load) {
function reset() {
if (this._name == "face") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(4) + 3;
this._x = 600;
this._y = random(400);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (this._x < -40) {
this.reset();
}
}
Instance of Symbol 13 MovieClip "SBOB" in Frame 1
onClipEvent (load) {
function reset() {
if (this._name == "face") {
this._visible = false;
} else {
this._visible = true;
}
this.dead = 0;
this.speed = random(4) + 3;
this._x = 600;
this._y = random(400);
}
this.reset();
}
onClipEvent (enterFrame) {
this._x = this._x - this.speed;
if (this._x < -40) {
this.reset();
}
}
Symbol 3 Button
on (release) {
gotoAndPlay (2);
}
Symbol 5 MovieClip Frame 1
stop();
Symbol 7 Button
on (release) {
gotoAndPlay (2);
}
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
this.dead = 1;
_root.score = (_root.score = _root.score + 10);
Symbol 13 MovieClip Frame 6
this.reset();