Frame 1
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
if (_root._framesloaded >= _root._totalframes) {
gotoAndPlay (3);
}
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = _root.percentDone;
}
Frame 2
gotoAndPlay (1);
Frame 64
gotoAndStop (66);
Frame 66
stop();
_root.helpwindow._visible = false;
Frame 67
stop();
Instance of Symbol 45 MovieClip "e" in Frame 67
onClipEvent (load) {
function reset() {
_x = (random(426) + 14);
_y = (random(300) + 80);
}
reset();
_root.energia = false;
}
onClipEvent (enterFrame) {
if (_root.para.hitTest(this)) {
if (_root.falling) {
} else {
_root.para.gotoAndStop(1);
_root.energia = true;
_x = -100;
inizio = Math.round(getTimer() / 1000);
}
}
if (_root.energia) {
if ((inizio + 10) < Math.round(getTimer() / 1000)) {
_root.energia = false;
_root.para.reattore._visible = false;
_root.para.gotoAndPlay(2);
}
}
}
Instance of Symbol 47 MovieClip "aereo" in Frame 67
onClipEvent (load) {
function reset() {
s = new Sound();
s.attachSound("aereo");
s.start();
this._x = -40;
speed = 3;
_root.aspetta = true;
_root.para._y = -80;
_root.para._x = 250;
}
_root.inaereo = true;
reset();
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if ((_x > 250) && (_x < 255)) {
_root.inaereo = false;
_root.aspetta = false;
_root.para._y = 30;
}
if (this._x > 570) {
speed = 0;
}
}
Instance of Symbol 55 MovieClip "para" in Frame 67
onClipEvent (load) {
_root.vai = false;
n = new Sound();
n.attachSound("nave");
v = new Sound();
v.attachSound("vento");
v.setVolume(50);
v.start(0, 1000);
}
onClipEvent (enterFrame) {
if (_root.aspetta) {
} else {
_y = (_y+1);
}
if (Key.isDown(37)) {
if (this._x < 25) {
} else if (_root.energia) {
_x = (_x - 14);
this.reattore.gotoAndStop(3);
_rotation = 20;
} else {
_x = (_x - 2);
}
} else {
this.reattore.gotoAndStop(1);
_rotation = 0;
}
if (Key.isDown(39)) {
if (this._x > 470) {
} else if (_root.energia) {
_x = (_x + 14);
this.reattore.gotoAndStop(2);
_rotation = -20;
} else {
_x = (_x + 2);
}
}
if (_y >= 430) {
_y = -20;
_root.uccello.reset();
_root.uccello2.reset();
_root.uccello3.reset();
_root.uccello4.reset();
_root.nuvola.reset();
_root.nuvola2.reset();
_root.e.reset();
i++;
if (i == 1) {
v.stop();
n.start();
_root.vai = true;
_root.nuvola._visible = false;
_root.nuvola2._visible = false;
_root.mare._y = 390;
_root.mare._x = 245;
}
}
}
Instance of Symbol 58 MovieClip "nuvola2" in Frame 67
onClipEvent (load) {
function reset() {
this._x = -40;
this._y = random(380) + 10;
nuvolaspeed = random(1) + 1;
_alpha = (random(100) + 1);
}
reset();
}
onClipEvent (enterFrame) {
_x = (_x + nuvolaspeed);
if (this._x > 500) {
reset();
}
}
Instance of Symbol 58 MovieClip "nuvola" in Frame 67
onClipEvent (load) {
function reset() {
this._x = 500;
this._y = random(380) + 10;
nuvolaspeed = random(2) + 1;
_alpha = (random(100) + 1);
}
reset();
}
onClipEvent (enterFrame) {
_x = (_x - nuvolaspeed);
if (this._x < -40) {
reset();
}
}
Instance of Symbol 64 MovieClip "uccello" in Frame 67
onClipEvent (load) {
function reset() {
_width = (random(12) + 25);
_height = (random(7) + 10);
this._x = 500;
this._y = random(300) + 80;
switch (_root.level) {
case 2 :
enemyspeed = random(6) + 1;
break;
case 3 :
enemyspeed = random(6) + 3;
break;
case 4 :
enemyspeed = random(6) + 3;
break;
case 5 :
enemyspeed = random(6) + 5;
break;
case 6 :
enemyspeed = random(6) + 1;
break;
case 7 :
enemyspeed = random(6) + 1;
break;
case 8 :
enemyspeed = random(6) + 3;
break;
case 9 :
enemyspeed = random(6) + 3;
break;
case 10 :
enemyspeed = random(6) + 5;
break;
default :
enemyspeed = random(6) + 1;
}
enemyspeed2 = random(3) + 1;
b.start();
updown = random(3);
}
u = new Sound();
u.attachSound("urlo");
b = new Sound();
b.attachSound("bird");
reset();
}
onClipEvent (enterFrame) {
switch (_root.level) {
case 2 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 4 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 7 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 9 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 10 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
default :
_x = (_x - enemyspeed);
}
if (this._x < -40) {
reset();
}
if (_root.para.hitTest(this)) {
if (_root.falling || (_root.inaereo)) {
} else {
_root.para._y = _root.para._y + 30;
u.start();
_root.para.gotoAndPlay(46);
}
}
}
Instance of Symbol 65 MovieClip "uccello2" in Frame 67
onClipEvent (load) {
function reset() {
_width = (random(12) + 25);
_height = (random(7) + 10);
this._x = -40;
this._y = random(300) + 80;
switch (_root.level) {
case 2 :
enemyspeed = random(6) + 1;
break;
case 3 :
enemyspeed = random(6) + 3;
break;
case 4 :
enemyspeed = random(6) + 3;
break;
case 5 :
enemyspeed = random(6) + 5;
break;
case 6 :
enemyspeed = random(6) + 1;
break;
case 7 :
enemyspeed = random(6) + 1;
break;
case 8 :
enemyspeed = random(6) + 3;
break;
case 9 :
enemyspeed = random(6) + 3;
break;
case 10 :
enemyspeed = random(6) + 5;
break;
default :
enemyspeed = random(6) + 1;
}
enemyspeed2 = random(3) + 1;
c.start();
updown = random(3);
}
u = new Sound();
u.attachSound("urlo");
c = new Sound();
c.attachSound("bird");
reset();
}
onClipEvent (enterFrame) {
switch (_root.level) {
case 2 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 4 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 7 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 9 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 10 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
default :
_x = (_x + enemyspeed);
}
if (this._x > 510) {
reset();
}
if (_root.para.hitTest(this)) {
if (_root.falling || (_root.inaereo)) {
} else {
_root.para._y = _root.para._y + 30;
u.start();
_root.para.gotoAndPlay(46);
}
}
}
Instance of Symbol 65 MovieClip "uccello3" in Frame 67
onClipEvent (load) {
function reset() {
_width = (random(12) + 25);
_height = (random(7) + 10);
this._x = -40;
this._y = random(300) + 80;
switch (_root.level) {
case 6 :
enemyspeed = random(6) + 1;
break;
case 7 :
enemyspeed = random(6) + 1;
break;
case 8 :
enemyspeed = random(6) + 3;
break;
case 9 :
enemyspeed = random(6) + 3;
break;
case 10 :
enemyspeed = random(6) + 5;
}
enemyspeed2 = random(3) + 1;
c.start();
updown = random(3);
}
u = new Sound();
u.attachSound("urlo");
c = new Sound();
c.attachSound("bird");
reset();
}
onClipEvent (enterFrame) {
switch (_root.level) {
case 7 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 9 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 10 :
_x = (_x + enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
default :
_x = (_x + enemyspeed);
}
if (this._x > 510) {
reset();
}
if (_root.para.hitTest(this)) {
if (_root.falling || (_root.inaereo)) {
} else {
_root.para._y = _root.para._y + 30;
u.start();
_root.para.gotoAndPlay(46);
}
}
}
Instance of Symbol 64 MovieClip "uccello4" in Frame 67
onClipEvent (load) {
function reset() {
_width = (random(12) + 25);
_height = (random(7) + 10);
this._x = 530;
this._y = random(300) + 80;
switch (_root.level) {
case 6 :
enemyspeed = random(6) + 1;
break;
case 7 :
enemyspeed = random(6) + 1;
break;
case 8 :
enemyspeed = random(6) + 3;
break;
case 9 :
enemyspeed = random(6) + 3;
break;
case 10 :
enemyspeed = random(6) + 5;
}
enemyspeed2 = random(3) + 1;
b.start();
updown = random(3);
}
u = new Sound();
u.attachSound("urlo");
b = new Sound();
b.attachSound("bird");
reset();
}
onClipEvent (enterFrame) {
switch (_root.level) {
case 7 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 9 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
case 10 :
_x = (_x - enemyspeed);
if (updown == 0) {
if (_y >= 360) {
updown = 2;
} else {
_y = (_y + enemyspeed2);
}
}
if (updown == 1) {
}
if (updown == 2) {
if (_y <= 30) {
updown = 0;
} else {
_y = (_y - enemyspeed2);
}
}
break;
default :
_x = (_x - enemyspeed);
}
if (this._x < -40) {
reset();
}
if (_root.para.hitTest(this)) {
if (_root.falling || (_root.inaereo)) {
} else {
_root.para._y = _root.para._y + 30;
u.start();
_root.para.gotoAndPlay(46);
}
}
}
Instance of Symbol 67 MovieClip in Frame 67
onClipEvent (load) {
_visible = false;
switch (_root.level) {
case 2 :
_width = (_width / 1.1);
_height = (_height / 1.1);
break;
case 3 :
_width = (_width / 1.2);
_height = (_height / 1.2);
_y = (_y + 2);
break;
case 4 :
_width = (_width / 1.3);
_height = (_height / 1.3);
_y = (_y + 5);
break;
case 5 :
_width = (_width / 1.4);
_height = (_height / 1.4);
_y = (_y + 8);
break;
case 6 :
_width = (_width / 1.5);
_height = (_height / 1.5);
_y = (_y + 10);
break;
case 7 :
_width = (_width / 1.6);
_height = (_height / 1.6);
_y = (_y + 10);
break;
case 8 :
_width = (_width / 1.7);
_height = (_height / 1.7);
_y = (_y + 10);
break;
case 9 :
_width = (_width / 1.8);
_height = (_height / 1.8);
_y = (_y + 10);
break;
case 10 :
_width = (_width / 2);
_height = (_height / 2);
_y = (_y + 10);
}
}
onClipEvent (enterFrame) {
if (!_root.vai) {
} else {
_x = (_x + speed);
_visible = true;
_root.mare._visible = true;
}
if (this._x > 450) {
switch (_root.level) {
case 2 :
speed = -5;
break;
case 3 :
speed = -4;
break;
case 4 :
speed = -4;
break;
case 5 :
speed = -3;
break;
case 6 :
speed = -3;
break;
case 7 :
speed = -2;
break;
case 8 :
speed = -2;
break;
case 9 :
speed = -1.2;
break;
case 10 :
speed = -0.8;
break;
default :
speed = -3;
}
}
if (this._x < 50) {
switch (_root.level) {
case 2 :
speed = 5;
break;
case 3 :
speed = 4;
break;
case 4 :
speed = 4;
break;
case 5 :
speed = 3;
break;
case 6 :
speed = 3;
break;
case 7 :
speed = 2;
break;
case 8 :
speed = 2;
break;
case 9 :
speed = 1.2;
break;
case 10 :
speed = 0.8;
break;
default :
speed = 3;
}
}
if (_root.para.hitTest(this)) {
if (_root.falling) {
} else {
switch (_root.level) {
case 2 :
_root.gotoAndPlay("nextlevel");
break;
case 3 :
_root.gotoAndPlay("nextlevel");
break;
case 4 :
_root.gotoAndPlay("nextlevel");
break;
case 5 :
_root.gotoAndPlay("nextlevel");
break;
case 6 :
_root.gotoAndPlay("nextlevel");
break;
case 7 :
_root.gotoAndPlay("nextlevel");
break;
case 8 :
_root.gotoAndPlay("nextlevel");
break;
case 9 :
_root.gotoAndPlay("nextlevel");
break;
case 10 :
_root.gotoAndPlay("playagain");
break;
default :
_root.gotoAndPlay("nextlevel");
}
}
}
}
Instance of Symbol 69 MovieClip "mare" in Frame 67
onClipEvent (load) {
_visible = false;
t = new Sound();
t.attachSound("tuffo");
}
onClipEvent (enterFrame) {
if (_root.para.hitTest(this)) {
t.start();
_root.para.gotoAndPlay(61);
}
}
Frame 68
stop();
Frame 70
stop();
Frame 72
_root.level = 1;
stop();
Symbol 25 Button
on (release) {
gotoAndStop (67);
}
Symbol 28 Button
on (release) {
_root.helpwindow._visible = true;
}
Symbol 31 Button
on (release) {
getURL ("http://www.smashingames.com", "_top");
}
Instance of Symbol 38 MovieClip in Symbol 42 MovieClip Frame 1
on (release) {
_parent._visible = false;
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 40
gotoAndPlay (2);
Symbol 55 MovieClip Frame 46
_root.falling = true;
Symbol 55 MovieClip Frame 61
_root.falling = false;
x++;
if (x == 1) {
_root.score.score3._visible = false;
}
if (x == 2) {
_root.score.score2._visible = false;
}
if (x == 3) {
_root.gotoAndPlay("youlost");
}
_root.energia = false;
_root.aereo.reset();
Symbol 77 Button
on (release) {
getURL ("http://www.smashingames.com", "_top");
}
Symbol 80 Button
on (release) {
_root.level++;
gotoAndPlay (67);
}
Symbol 84 Button
on (release) {
_root.level = 1;
gotoAndPlay (67);
}