Frame 1
stop();
Frame 2
if (this.ling == "eng") {
this.pub.gotoAndPlay(2);
}
if (this.ling == "port") {
this.pub.gotoAndPlay(1);
}
if (this.ling == "fran") {
this.pub.gotoAndPlay(3);
}
stop();
Frame 3
stop();
explo = 0;
explo2 = 0;
explo3 = 0;
_root.pont = 0;
level = 1;
_root.onEnterFrame = function () {
if (_root.pont > 100) {
_root.level = 2;
}
if (_root.pont > 200) {
_root.level = 4;
}
if (_root.pont > 400) {
_root.level = 8;
}
if (_root.pont > 800) {
_root.level = 16;
}
if (_root.pont > 1600) {
_root.level = 32;
}
if (_root.pont > 3200) {
_root.level = 64;
}
};
Instance of Symbol 52 MovieClip "aviao" in Frame 3
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if (this._parent.fuelbar.fuelmask._xscale == 1) {
_root.aviao.gotoAndPlay("caboom");
}
if (Key.isDown(39) & (this._x < 550)) {
this._x = this._x + 5;
}
if (Key.isDown(37) & (this._x > 50)) {
this._x = this._x - 5;
}
if (Key.isDown(38) & (this._y > 10)) {
this._y = this._y - 5;
}
if (Key.isDown(40) & (this._y < 300)) {
this._y = this._y + 5;
}
if (Key.isDown(32)) {
if (!a) {
d++;
bulletDepth = d % 100;
_parent.bullets = bulletDepth;
_root.gunner.duplicateMovieClip("newb" + d, bulletDepth);
_root["newb" + d].speed = 10;
_root["newb" + d].stepx = 20;
var tirosom = new Sound();
tirosom.attachSound("tiro");
tirosom.start();
a = true;
}
} else {
a = false;
}
}
Instance of Symbol 56 MovieClip "inimigo1" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.aviao)) {
this._parent.fuelbar.fuelmask._xscale = this._parent.fuelbar.fuelmask._xscale - 1;
}
}
Instance of Symbol 58 MovieClip "gunner" in Frame 3
onClipEvent (load) {
if (_name != "bullet") {
numEnemy = 4;
this._x = _root.aviao._x + stepx;
this._y = _root.aviao._y;
zapsound = new Sound();
zapsound.attachSound("zap");
}
}
onClipEvent (enterFrame) {
if (_name != "bullet") {
_x = (_x + speed);
if (this.hitTest(_root.inimigo1) & (_root.explo == 0)) {
_root.inimigo1.ini.gotoAndPlay("boom");
zapsound.start();
removeMovieClip(this);
}
if (this.hitTest(_root.inimigo2) & (_root.explo2 == 0)) {
_root.inimigo2.ini2.gotoAndPlay("boom2");
zapsound.start();
removeMovieClip(this);
}
if (this.hitTest(_root.inimigo3) & (_root.explo3 == 0)) {
_root.inimigo3.ini3.gotoAndPlay("boom3");
zapsound.start();
removeMovieClip(this);
}
if (_x > 600) {
removeMovieClip(this);
} else if (_x < -10) {
removeMovieClip(this);
}
}
}
Instance of Symbol 61 MovieClip "inimigo2" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.aviao)) {
this._parent.fuelbar.fuelmask._xscale = this._parent.fuelbar.fuelmask._xscale - 1;
}
}
Instance of Symbol 64 MovieClip "inimigo3" in Frame 3
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.aviao)) {
this._parent.fuelbar.fuelmask._xscale = this._parent.fuelbar.fuelmask._xscale - 1;
}
tiroc = random("40");
if ((tiroc == 1) & (_root.explo3 == 0)) {
if (!a) {
d++;
bulletDepth = d % 100;
_parent.bullets = bulletDepth;
_root.gunnerb.duplicateMovieClip("newb" + d, bulletDepth);
_root["newb" + d].speed = 10;
_root["newb" + d].stepx = 20;
a = true;
}
} else {
a = false;
}
}
Instance of Symbol 66 MovieClip "gunnerb" in Frame 3
onClipEvent (load) {
if (_name != "bullet") {
numEnemy = 4;
this._x = _root.inimigo3._x + stepx;
this._y = _root.inimigo3._y;
}
}
onClipEvent (enterFrame) {
if (_name != "bullet") {
_x = (_x - 6);
_y = (_y - 2);
if (this.hitTest(_root.aviao)) {
this._parent.fuelbar.fuelmask._xscale = this._parent.fuelbar.fuelmask._xscale - 1;
}
if (_x < -10) {
removeMovieClip(this);
}
}
}
Symbol 16 Button
on (release) {
this._parent.ling = "port";
this._parent.jogar = "JOGAR";
this._parent.perde = "PERDEU";
_root.gotoAndPlay(2);
}
Symbol 18 Button
on (release) {
this._parent.ling = "eng";
this._parent.jogar = "PLAY";
this._parent.perde = "YOU LOSE";
_root.gotoAndPlay(2);
}
Symbol 20 Button
on (release) {
this._parent.ling = "fran";
this._parent.jogar = "JOUER";
this._parent.perde = "PERDU";
_root.gotoAndPlay(2);
}
Symbol 22 MovieClip Frame 60
stop();
_root.onEnterFrame = function () {
percentb = Math.round((_root.getBytesLoaded() * 100) / _root.getBytesTotal());
percent = percentb + " %";
barra._xscale = percentb * 24;
if (percentb == 100) {
_root.intro.nextFrame();
}
};
Symbol 22 MovieClip Frame 101
stop();
Symbol 26 Button
on (release) {
getURL ("http://www.meiuga.com", "_blank");
}
Symbol 30 Button
on (release) {
getURL ("http://meiuga.ringtone-logo-game.com", "_blank");
}
Symbol 34 Button
on (release) {
getURL ("http://meiuga.sonnerie.net", "_blank");
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 3
stop();
Symbol 37 Button
on (release) {
_root.gotoAndPlay(3);
}
Symbol 40 Button
on (release) {
getURL ("http://www.meiuga.com", "_blank");
}
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 22
_root.gotoAndStop(4);
Symbol 55 MovieClip Frame 1
stop();
_root.explo = 0;
Symbol 55 MovieClip Frame 2
_root.explo = 1;
Symbol 55 MovieClip Frame 11
stop();
_root.pont = _root.pont + 10;
Symbol 56 MovieClip Frame 1
_y = (150 + random("100"));
_x = (600 + random("200"));
movement = random("10") + _root.level;
Symbol 56 MovieClip Frame 2
_x = (_x - movement);
Symbol 56 MovieClip Frame 3
gotoAndPlay (2);
if (_x < 0) {
gotoAndPlay (1);
this.ini.gotoAndStop(1);
}
Symbol 60 MovieClip Frame 1
stop();
_root.explo2 = 0;
Symbol 60 MovieClip Frame 2
_root.explo2 = 1;
Symbol 60 MovieClip Frame 11
stop();
_root.pont = _root.pont + 10;
Symbol 61 MovieClip Frame 1
_y = (10 + random("150"));
_x = (600 + random("200"));
movement = random("10") + _root.level;
Symbol 61 MovieClip Frame 2
_x = (_x - movement);
Symbol 61 MovieClip Frame 3
gotoAndPlay (2);
if (_x < 0) {
gotoAndPlay (1);
this.ini2.gotoAndStop(1);
}
Symbol 63 MovieClip Frame 1
stop();
_root.explo3 = 0;
Symbol 63 MovieClip Frame 2
_root.explo3 = 1;
Symbol 63 MovieClip Frame 11
stop();
_root.pont = _root.pont + 10;
Symbol 64 MovieClip Frame 1
_y = (250 + random("50"));
_x = (600 + random("200"));
movement = random("3") + _root.level;
Symbol 64 MovieClip Frame 2
_x = (_x - movement);
Symbol 64 MovieClip Frame 3
gotoAndPlay (2);
if (_x < 0) {
gotoAndPlay (1);
this.ini3.gotoAndStop(1);
}
Symbol 73 MovieClip Frame 1
_y = random("40");
_x = (600 + random("200"));
movement = random("7") + 1;
Symbol 73 MovieClip Frame 2
_x = (_x - movement);
Symbol 73 MovieClip Frame 3
gotoAndPlay (2);
if (_x < 0) {
gotoAndPlay (1);
}
Symbol 75 MovieClip Frame 1
_y = random("40");
_x = (600 + random("200"));
movement = random("7") + 1;
Symbol 75 MovieClip Frame 2
_x = (_x - movement);
Symbol 75 MovieClip Frame 3
gotoAndPlay (2);
if (_x < 0) {
gotoAndPlay (1);
}
Symbol 80 Button
on (release) {
_root.gotoAndPlay(2);
}