Frame 1
stop();
counter = random(3) + 1;
score = 0;
var con = new ContextMenu();
con.hideBuiltInItems();
_root.menu = con;
Instance of Symbol 7 MovieClip "playbtn" in Frame 1
onClipEvent (enterFrame) {
if (_root.counter == 1) {
this.gotoAndStop(1);
}
if (_root.counter == 2) {
this.gotoAndStop(2);
}
if (_root.counter == 3) {
this.gotoAndStop(3);
}
}
Frame 2
var con = new ContextMenu();
con.hideBuiltInItems();
_root.menu = con;
Instance of Symbol 22 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.score = _root.score + 1;
this._x = random(500);
this._y = random(200);
}
}
Instance of Symbol 24 MovieClip "player" in Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
this._rotation = 0;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
this._rotation = 180;
}
if (Key.isDown(39)) {
this._rotation = 90;
this._x = this._x + 5;
}
if (Key.isDown(37)) {
this._rotation = 270;
this._x = this._x - 5;
}
}
Frame 3
var con = new ContextMenu();
con.hideBuiltInItems();
_root.menu = con;
Instance of Symbol 30 MovieClip in Frame 3
onClipEvent (load) {
speed = random(5) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score - 1;
}
if (this._y > 230) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score + 1;
}
}
Instance of Symbol 30 MovieClip in Frame 3
onClipEvent (load) {
speed = random(5) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score - 1;
}
if (this._y > 230) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score + 1;
}
}
Instance of Symbol 30 MovieClip in Frame 3
onClipEvent (load) {
speed = random(5) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score - 1;
}
if (this._y > 230) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score + 1;
}
}
Instance of Symbol 35 MovieClip "player" in Frame 3
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 4
var con = new ContextMenu();
con.hideBuiltInItems();
_root.menu = con;
Instance of Symbol 41 MovieClip "player" in Frame 4
onClipEvent (enterFrame) {
this._x = _root._xmouse;
}
Instance of Symbol 67 MovieClip in Frame 4
onClipEvent (load) {
speed = random(5) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score + 1;
}
if (this._y > 200) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score - 1;
}
}
Instance of Symbol 67 MovieClip in Frame 4
onClipEvent (load) {
speed = random(5) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score + 1;
}
if (this._y > 200) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score - 1;
}
}
Instance of Symbol 67 MovieClip in Frame 4
onClipEvent (load) {
speed = random(5) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score + 1;
}
if (this._y > 200) {
this._y = -55;
this._x = random(500);
speed = random(5) + 5;
_root.score = _root.score - 1;
}
}
Symbol 4 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 5 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 6 Button
on (release) {
_root.gotoAndStop(4);
}