Frame 1
fscommand ("showmenu", false);
_root.sunet = 1;
stop();
logo.onEnterFrame = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.logo.play();
} else {
tgFrame = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.progress.gotoAndStop(tgFrame);
}
};
Frame 2
stop();
score = 0;
tabla._visible = 1;
tabla.onEnterFrame = function () {
this.scor.text = score;
};
frame.duplicateMovieClip("frame1", 102);
Frame 3
son = new Sound();
son.attachSound("muzica");
son.setVolume(40);
son1 = new Sound();
son1.attachSound("shot");
if (_root.kx == null) {
son.start(1, 9999);
_root.kx = 1;
}
stop();
tabla._visible = 0;
delete this.onEnterFrame;
but.onRelease = function () {
_root.gotoAndStop(2);
};
scorB1 = tabla.scor.text;
scorBx.text = tabla.scor.text;
if (scorB1 > _root.best) {
_root.best = scorB1;
tabla.scorB.text = scorB1;
}
Symbol 9 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 63
stop();
Symbol 13 MovieClip Frame 272
_root.gotoAndStop(3);
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 2
stop();
Symbol 39 MovieClip Frame 3
stop();
Symbol 39 MovieClip Frame 20
_root.gotoAndStop(3);
Symbol 50 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest(_root.p1.p1.targetZone)) {
_root.p1.p1.play();
_root.p1.b1 = false;
_root.score++;
gotoAndPlay (2);
}
if (this.hittest(_root.p2.p1.targetZone)) {
_root.p2.p1.play();
_root.p2.b1 = false;
_root.score++;
gotoAndPlay (2);
}
if (this.hittest(_root.p2.p2.targetZone)) {
_root.p2.p2.play();
_root.p2.b2 = false;
_root.score++;
gotoAndPlay (2);
}
if (this.hittest(_root.p3.p1.targetZone)) {
_root.p3.p1.play();
_root.p3.b1 = false;
_root.score++;
gotoAndPlay (2);
}
if (this.hittest(_root.p3.p2.targetZone)) {
_root.p3.p2.play();
_root.p3.b2 = false;
_root.score++;
gotoAndPlay (2);
}
if (this.hittest(_root.p3.p3.targetZone)) {
_root.p3.p3.play();
_root.p3.b3 = false;
_root.score++;
gotoAndPlay (2);
}
if (this.hittest(_root.p4.p1.targetZone)) {
_root.p4.p1.play();
_root.p4.b1 = false;
_root.score++;
gotoAndPlay (2);
}
};
Symbol 50 MovieClip Frame 3
stop();
delete this.onEnterFrame;
Symbol 51 MovieClip Frame 32
stop();
removeMovieClip(this);
Symbol 62 MovieClip Frame 1
stop();
speed = 0;
cont = 0;
this.onEnterFrame = function () {
cont2++;
if ((cont2 % 3) == 0) {
if (Key.isDown(32)) {
if (_root.sunet == 1) {
_root.son1.start();
}
_root.gl.duplicateMovieClip("gl" + cont, cont);
_root["gl" + cont].gotoAndPlay(1);
_root["gl" + cont]._rotation = _root.plane._rotation;
_root["gl" + cont]._x = _root.plane._x + 10;
_root["gl" + cont]._y = _root.plane._y;
cont++;
}
}
if (cont > 100) {
cont = 0;
}
if ((_y + speed) > 20) {
_y = (_y + speed);
} else {
speed = Math.abs(speed);
}
if ((_y + speed) < 340) {
_y = (_y + speed);
} else {
speed = -Math.abs(speed);
}
if ((_x + speeX) > 80) {
_x = (_x + speedX);
} else {
speedX = Math.abs(speedX);
}
if ((_x + speed) < 530) {
_x = (_x + speedX);
} else {
speedX = -Math.abs(speedX);
}
_x = (_x + speedX);
if (Key.isDown(38)) {
speed = -3;
if (_rotation > -60) {
_rotation = (_rotation - 4);
}
} else if (Key.isDown(40)) {
speed = 3;
if (_rotation < 60) {
_rotation = (_rotation + 4);
}
} else if (speed > 0) {
speed = speed - 0.5;
} else if (speed < 0) {
speed = speed + 0.5;
}
if (Key.isDown(37)) {
speedX = -3;
} else if (Key.isDown(39)) {
speedX = 3;
} else if (speedX > 0) {
speedX = speedX - 0.25;
} else if (speedX < 0) {
speedX = speedX + 0.25;
}
if ((!Key.isDown(38)) && (!Key.isDown(40))) {
if (_rotation > 0) {
_rotation = (_rotation - 4);
} else if (_rotation < 0) {
_rotation = (_rotation + 4);
}
}
};
Symbol 62 MovieClip Frame 2
stop();
speed = 0;
cont = 0;
this.onEnterFrame = function () {
cont2++;
if ((cont2 % 3) == 0) {
if (Key.isDown(32)) {
_root.gl.duplicateMovieClip("gl" + cont, cont);
_root["gl" + cont].gotoAndPlay(1);
_root["gl" + cont]._rotation = _root.plane._rotation;
_root["gl" + cont]._x = _root.plane._x + 10;
_root["gl" + cont]._y = _root.plane._y;
cont++;
}
}
if (cont > 100) {
cont = 0;
}
if ((_y + speed) > 20) {
_y = (_y + speed);
} else {
speed = Math.abs(speed);
}
if ((_y + speed) < 340) {
_y = (_y + speed);
} else {
speed = -Math.abs(speed);
}
if ((_x + speeX) > 80) {
_x = (_x + speedX);
} else {
speedX = Math.abs(speedX);
}
if ((_x + speed) < 530) {
_x = (_x + speedX);
} else {
speedX = -Math.abs(speedX);
}
_x = (_x + speedX);
if (Key.isDown(38)) {
speed = -3;
if (_rotation > -60) {
_rotation = (_rotation - 4);
}
} else if (Key.isDown(40)) {
speed = 3;
if (_rotation < 60) {
_rotation = (_rotation + 4);
}
} else if (speed > 0) {
speed = speed - 0.5;
} else if (speed < 0) {
speed = speed + 0.5;
}
if (Key.isDown(37)) {
speedX = -3;
} else if (Key.isDown(39)) {
speedX = 3;
} else if (speedX > 0) {
speedX = speedX - 0.25;
} else if (speedX < 0) {
speedX = speedX + 0.25;
}
if ((!Key.isDown(38)) && (!Key.isDown(40))) {
if (_rotation > 0) {
_rotation = (_rotation - 4);
} else if (_rotation < 0) {
_rotation = (_rotation + 4);
}
}
};
Symbol 62 MovieClip Frame 3
this.onEnterFrame = function () {
_y = (_y + speed);
speed = speed + 1;
};
Symbol 72 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest(_root.plane.target)) {
if ((getTimer() - oldTime) > 1000) {
_root.plane.play();
oldTime = getTimer();
}
}
};
Symbol 72 MovieClip Frame 85
stop();
Symbol 76 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest(_root.plane.target)) {
if ((getTimer() - oldTime) > 1000) {
_root.plane.play();
oldTime = getTimer();
}
}
};
Symbol 76 MovieClip Frame 2
delete this.onEnterFrame;
Symbol 82 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest(_root.ship.targetZone)) {
this.play();
}
};
Symbol 82 MovieClip Frame 17
_root.ship.targ.play();
Symbol 82 MovieClip Frame 44
gotoAndStop (1);
Symbol 82 MovieClip Frame 45
delete this.onEnterFrame;
Symbol 83 MovieClip Frame 1
b1 = false;
p1.gotoAndStop(1);
Instance of Symbol 74 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.b1 == false) {
_parent.bb1.gotoAndStop(45);
_parent.gg1.gotoAndStop(2);
_parent.gg2.gotoAndStop(2);
}
}
Symbol 83 MovieClip Frame 2
b1 = true;
Symbol 83 MovieClip Frame 111
k++;
if (k == 2) {
_root.p2.play();
}
Symbol 83 MovieClip Frame 229
b1 = true;
Symbol 84 MovieClip Frame 1
stop();
Instance of Symbol 74 MovieClip in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.b1 == false) {
_parent.bb1.gotoAndStop(45);
_parent.gg1.gotoAndStop(2);
_parent.gg2.gotoAndStop(2);
}
if (_parent.b2 == false) {
_parent.bb2.gotoAndStop(45);
_parent.gg3.gotoAndStop(2);
}
}
Symbol 84 MovieClip Frame 2
b1 = true;
b2 = true;
p1.gotoAndStop(1);
p2.gotoAndStop(1);
Symbol 84 MovieClip Frame 48
k++;
if (k == 3) {
_root.p3.play();
}
Symbol 84 MovieClip Frame 131
b1 = false;
b2 = false;
p1.gotoAndStop(1);
p2.gotoAndStop(1);
gotoAndPlay (2);
Symbol 86 MovieClip Frame 1
stop();
Instance of Symbol 74 MovieClip in Symbol 86 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.b1 == false) {
_parent.bb1.gotoAndStop(45);
_parent.gg1.gotoAndStop(2);
}
if (_parent.b2 == false) {
_parent.bb2.gotoAndStop(45);
_parent.gg2.gotoAndStop(2);
}
if (_parent.b3 == false) {
_parent.bb3.gotoAndStop(45);
_parent.gg3.gotoAndStop(2);
}
}
Symbol 86 MovieClip Frame 2
b1 = true;
b2 = true;
b3 = true;
p1.gotoAndStop(1);
p2.gotoAndStop(1);
p3.gotoAndStop(1);
Symbol 86 MovieClip Frame 58
k++;
if (k == 3) {
_root.p4.play();
}
Symbol 86 MovieClip Frame 157
b1 = false;
b2 = false;
b3 = false;
p1.gotoAndStop(1);
p2.gotoAndStop(1);
p3.gotoAndStop(1);
gotoAndPlay (2);
Symbol 87 MovieClip Frame 1
stop();
Instance of Symbol 74 MovieClip in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.b1 == false) {
_parent.bb1.gotoAndStop(45);
}
if (_parent.b1 == false) {
_parent.gg1.gotoAndStop(2);
}
}
Symbol 87 MovieClip Frame 2
b1 = true;
Symbol 87 MovieClip Frame 117
b1 = false;
p1.gotoAndStop(1);
gotoAndPlay (2);
Symbol 103 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 106 Button
on (release) {
if (_root.sunet == 0) {
_root.sunet = 1;
_root.son.start(0, 100);
} else {
_root.sunet = 0;
_root.son.stop();
}
}
Symbol 110 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hittest(_root.plane.target)) {
_root.plane.gotoAndStop(2);
}
};
Symbol 110 MovieClip Frame 40
stop();