Frame 1
Stage.scaleMode = "noScale";
Stage.showMenu = false;
fscommand ("trapallkeys", "true");
String.prototype.addCommas = function () {
var _local3 = this.length;
var _local2 = "";
var _local1 = 0;
while (_local1 <= _local3) {
_local2 = this.charAt(_local3 - _local1) + _local2;
if ((((_local1 % 3) == 0) && (_local1 > 0)) && (_local1 < _local3)) {
_local2 = "." + _local2;
}
_local1++;
}
return(_local2);
};
Instance of Symbol 207 MovieClip in Frame 1
//component parameters
onClipEvent (initialize) {
xin_motion_val = "None";
xin_alphatype_val = "Yes";
xout_motion_val = "None";
xout_alphatype_val = "Yes";
perc_req_val = 100;
show_perc_val = "Yes";
slow_factor_val = 0.59;
init_action_val = "_root.stop();";
play_action_val = "_root.play();";
}
Frame 2
function effet(qui, RR, VV, BB) {
myColor = new Color(qui);
myColor.setTransform({ra:"100", ga:"100", ba:"100", rb:RR, gb:VV, bb:BB, aa:"100", ab:0});
}
function clean() {
var _local1 = _root;
for (i in _local1) {
_local1[i].removeMovieClip();
}
}
function Main() {
gotoAndStop (2);
}
function Start() {
gotoAndStop (3);
}
function level2() {
gotoAndStop (2);
}
function Gameover() {
gotoAndStop (3342);
}
function Highscores() {
highsc.play();
}
function Visitme() {
getURL ("http://jeuxflashs.be/evaproject/");
}
function clean() {
var _local1 = _root;
for (i in _local1) {
_local1[i].removeMovieClip();
}
}
stop();
game_so = SharedObject.getLocal("evaproject");
if (game_so.data.sauvegarde == 1) {
Set("/:player1Up", game_so.data.player1Up);
Set("/:player1Left", game_so.data.player1Left);
Set("/:player1Down", game_so.data.player1Down);
Set("/:player1Right", game_so.data.player1Right);
Set("/:player1Fire", game_so.data.player1Fire);
Set("/:player1Tesla", game_so.data.player1Tesla);
Set("/:player1Choose", game_so.data.player1Choose);
} else {
Set("/:player1Up", 38);
Set("/:player1Left", 37);
Set("/:player1Down", 40);
Set("/:player1Right", 39);
Set("/:player1Fire", 32);
Set("/:player1Tesla", 17);
Set("/:player1Choose", 16);
}
String.prototype.addCommas = function () {
var _local3 = this.length;
var _local2 = "";
var _local1 = 0;
while (_local1 <= _local3) {
_local2 = this.charAt(_local3 - _local1) + _local2;
if ((((_local1 % 3) == 0) && (_local1 > 0)) && (_local1 < _local3)) {
_local2 = "." + _local2;
}
_local1++;
}
return(_local2);
};
_root.score = 0;
_root.musicactive = true;
_root.qualite = 3;
if (_root.musicactive == true) {
_root.zik.gotoAndStop(2);
} else {
_root.zik.gotoAndStop(1);
}
level = 1;
_root.clean();
Mouse.show();
stop();
Frame 3
_root.clean();
stopAllSounds();
play();
_root.scroll_up = false;
Frame 7
_root.scroll_up = true;
if (_root.musicactive == true) {
_root.zik2.play();
}
Frame 8
function transweap() {
var _local1 = _root;
_local1.sl1 = _local1.tableau_arme.sl1;
_local1.sl2 = _local1.tableau_arme.sl2;
_local1.sl3 = _local1.tableau_arme.sl3;
_local1.sl4 = _local1.tableau_arme.sl4;
_local1.sl5 = _local1.tableau_arme.sl5;
_local1.sl6 = _local1.tableau_arme.sl6;
}
function enemyspawn() {
if (!_root.boss) {
i = 0;
while (i < (enemyNumber - 2)) {
duplicateMovieClip ("enemy", "new" + i, 7000 + i);
i++;
}
}
}
function colonespawn() {
duplicateMovieClip ("colone", "colone1", 99999);
}
_root.effet(_root.level_fond, 0, 0, 0);
_root.dir = 2;
var enemyNumber = 5;
_root.weaponlvl = 0;
_root.firespeed = 12;
_root.droneactive = false;
_root.select = 0;
_root.wp = 1;
_root.levelo = 16000;
_root.boss = false;
_root.shotCount = 0;
_root.missiledamage = 3;
_root.missileactive = false;
_root.teslaactive = false;
_root.tesladamage = 10;
_root.teslajauge._visible = false;
shield = 7;
_root.score = 0;
level = 1;
weapon = "laser";
_root.nbrdetir = 0;
_root.nbrdehit = 0;
_root.kill = 0;
Instance of Symbol 380 MovieClip "equalizer" in Frame 8
onClipEvent (load) {
if (_root.musicactive == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 397 MovieClip "tableau_arme" in Frame 8
onClipEvent (load) {
speedup = new Sound();
speedup.attachSound("speedup");
firerate = new Sound();
firerate.attachSound("firerate");
beam = new Sound();
beam.attachSound("beam");
homing = new Sound();
homing.attachSound("homing");
drone = new Sound();
drone.attachSound("drone");
tesla = new Sound();
tesla.attachSound("tesla");
}
on (press) {
_root.droneactive = true;
_root.drone1.play();
}
onClipEvent (load) {
function reset() {
var _local1 = _root;
_local1.select = 0;
_local1.arme = Number(_local1.wp) + Number(_local1.weaponlvl);
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (Key.isDown(/:player1Choose)) {
if (_root.select > 0) {
if (_root.select == 1) {
if (_root.ship.speed < 11) {
_root.ship.speed++;
this.sl1++;
if (this.sl1 > 4) {
this.sl1 = "MAX";
}
}
reset();
speedup.start();
_root.infor.gotoAndPlay("speedup");
} else if (_root.select == 2) {
if (_root.firespeed < 17) {
_root.firespeed++;
this.sl2++;
}
reset();
firerate.start();
_root.infor.gotoAndPlay("firerate");
} else if (_root.select == 3) {
_root.wp = 2;
_root.weaponlvl = this.sl3;
if (this.sl3 < 3) {
this.sl3++;
if (this.sl3 > 3) {
this.sl3 = "MAX";
}
}
reset();
beam.start();
_root.infort.gotoAndPlay("beam");
} else if (_root.select == 4) {
_root.missileactive = true;
if (this.sl4 < 4) {
_root.missiledamage = this.sl4 + 3;
this.sl4++;
if (this.sl4 > 3) {
this.sl4 = "MAX";
}
reset();
homing.start();
_root.infor.gotoAndPlay("homing");
}
} else if (_root.select == 5) {
_root.droneactive = true;
_root.drone1.play();
if (this.sl5 < 3) {
_root.dronedamage = this.sl5 + 1;
this.sl5++;
if (this.sl5 > 3) {
this.sl5 = "MAX";
}
reset();
drone.start();
_root.infor.gotoAndPlay("drone");
}
} else if (_root.select == 6) {
_root.teslaactive = true;
_root.teslajauge._visible = true;
if (this.sl6 < 3) {
_root.tesladamage = this.sl6 + 10;
this.sl6++;
if (this.sl6 > 3) {
this.sl6 = "MAX";
}
}
reset();
tesla.start();
_root.infor.gotoAndPlay("tesla");
}
}
}
}
Instance of Symbol 405 MovieClip "aimer" in Frame 8
onClipEvent (load) {
oldx = _x;
speed = 1;
go = true;
}
Instance of Symbol 411 MovieClip "orb" in Frame 8
onClipEvent (load) {
function difference() {
var _local1 = _root;
dx = _local1.ship._x - _x;
dy = _local1.ship._y - _y;
speed = 80;
a = _local1.aimer.speed;
}
function hitCheck() {
var _local1 = _root;
if (this.hitTest(_local1.ship.hit)) {
if (flag) {
if (_local1.shield > 1) {
_local1.ship.shield.gotoAndPlay(1);
_local1.shield--;
_local1.interf.up.gotoAndStop(_local1.shield);
} else {
_local1.ship.gotoAndStop(4);
_local1.shipDead = true;
_local1.shotenable = false;
}
electro.play();
removeMovieClip(this);
flag = false;
}
}
}
flag = true;
difference();
}
onClipEvent (enterFrame) {
if (_name != "orb") {
_rotation = (_rotation + 5);
_x = (_x + ((dx / speed) * a));
_y = (_y + ((dy / speed) * a));
if ((_x > 640) or (_x < -10)) {
removeMovieClip(this);
}
if ((_y > 290) or (_y < -30)) {
removeMovieClip(this);
}
hitCheck();
}
}
Instance of Symbol 415 MovieClip "oval" in Frame 8
onClipEvent (load) {
function difference() {
var _local1 = _root;
dx = _local1.ship._x - _x;
dy = _local1.ship._y - _y;
speed = 80;
a = _local1.aimer.speed;
}
function hitCheck() {
var _local1 = _root;
if (this.hitTest(_local1.ship.hit)) {
if (flag) {
if (_local1.shield > 1) {
_local1.ship.shield.gotoAndPlay(1);
_local1.shield--;
_local1.interf.up.gotoAndStop(_local1.shield);
} else {
_local1.ship.gotoAndStop(4);
_local1.shipDead = true;
_local1.shotenable = false;
}
electro.play();
removeMovieClip(this);
flag = false;
}
}
}
flag = true;
difference();
}
onClipEvent (enterFrame) {
if (_name != "oval") {
_rotation = (_rotation + 5);
_x = (_x + ((dx / speed) * a));
_y = (_y + ((dy / speed) * a));
if ((_x > 640) or (_x < -10)) {
removeMovieClip(this);
}
if ((_y > 290) or (_y < -30)) {
removeMovieClip(this);
}
hitCheck();
}
}
Instance of Symbol 419 MovieClip "orbbleu" in Frame 8
onClipEvent (load) {
function difference() {
var _local1 = _root;
dx = _local1.ship._x - _x;
dy = _local1.ship._y - _y;
speed = 90;
a = _local1.aimer.speed;
}
function hitCheck() {
var _local1 = _root;
if (this.hitTest(_local1.ship.hit)) {
if (flag) {
if (_local1.shield > 1) {
_local1.ship.shield.gotoAndPlay(1);
_local1.shield--;
_local1.interf.up.gotoAndStop(_local1.shield);
} else {
_local1.ship.gotoAndStop(4);
_local1.shipDead = true;
_local1.shotenable = false;
}
electro.play();
removeMovieClip(this);
flag = false;
}
}
}
flag = true;
difference();
}
onClipEvent (enterFrame) {
if (_name != "orbbleu") {
_rotation = (_rotation + 5);
_x = (_x + ((dx / speed) * a));
_y = (_y + ((dy / speed) * a));
if ((_x > 640) or (_x < -10)) {
removeMovieClip(this);
}
if ((_y > 290) or (_y < -30)) {
removeMovieClip(this);
}
hitCheck();
}
}
Instance of Symbol 423 MovieClip "oval2" in Frame 8
onClipEvent (load) {
function difference() {
var _local1 = _root;
dx = _local1.ship._x - _x;
dy = _local1.ship._y - _y;
speed = 100;
a = _local1.aimer.speed;
}
function hitCheck() {
var _local1 = _root;
if (this.hitTest(_local1.ship.hit)) {
if (flag) {
if (_local1.shield > 1) {
_local1.ship.shield.gotoAndPlay(1);
_local1.shield--;
_local1.interf.up.gotoAndStop(_local1.shield);
} else {
_local1.ship.gotoAndStop(4);
_local1.shipDead = true;
_local1.shotenable = false;
}
electro.play();
removeMovieClip(this);
flag = false;
}
}
}
flag = true;
difference();
}
onClipEvent (enterFrame) {
if (_name != "oval2") {
_rotation = (_rotation + 5);
_x = (_x + ((dx / speed) * a));
_y = (_y + ((dy / speed) * a));
if ((_x > 640) or (_x < -10)) {
removeMovieClip(this);
}
if ((_y > 290) or (_y < -30)) {
removeMovieClip(this);
}
hitCheck();
}
}
Instance of Symbol 425 MovieClip "mdet" in Frame 8
onClipEvent (load) {
active = false;
unregistered = true;
inum = 0;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop(_currentframe + 1 +2);
}
}
Instance of Symbol 428 MovieClip "line" in Frame 8
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (active) {
_alpha = (_alpha - 5);
if (_alpha < 0) {
this.removeMovieClip();
}
}
}
Instance of Symbol 432 MovieClip "missile" in Frame 8
onClipEvent (load) {
function moveForward(speed) {
var _local1 = this;
rot = _local1._rotation;
if (rot < 0) {
nrot = 0 + (360 - Math.abs(rot));
} else {
nrot = rot;
}
nrot = nrot * 0.017453;
if (speed > 15) {
var _local2 = 15;
}
if (_local2 < 1) {
var _local2 = 1;
}
rot = _local1._rotation;
xmove = Math.sin(nrot) * _local2;
ymove = Math.cos(nrot) * _local2;
_local1._x = _local1._x + xmove;
_local1._y = _local1._y - ymove;
_local1.currentPos[0] = _local1._x;
_local1.currentPos[1] = _local1._y;
lightTrail(1, 2, 20);
_local1.oldPos[0] = _local1._x;
_local1.oldPos[1] = _local1._y;
}
function htest() {
i = 0;
while (i < _root.enemyNumber) {
t = eval ("_root." + _root["new" + i].ship.hit);
hit = this.hitTest(t);
if (hit) {
_root.score = _root.score + 10;
_root.nbrdehit++;
_root["new" + i].ship.vie = _root["new" + i].ship.vie - _root.missiledamage;
if (_root["new" + i].ship.vie > 0) {
_root["new" + i].play();
} else {
_root["new" + i].ship.gotoAndPlay(2);
}
detonate(t);
i = _root.enemyNumber;
}
i++;
}
}
function detonate(target) {
duplicateMovieClip (_root.mdet, "mdet" + _root.levelo, _root.levelo);
det = eval ("_root.mdet" + _root.levelo);
det._rotation = this._rotation;
det._x = _x;
det._y = _y;
det._alpha = 100;
det.active = true;
target.hp = target.hp - 5;
_root.levelo++;
mex.start();
blank = _root.blank;
_root.gob[inum] = blank;
this.removeMovieClip();
}
function rotate(dir, need) {
var _local1 = this;
if (need > 15) {
var _local2 = 15;
}
if (dir == "left") {
_local1._rotation = _local1._rotation - _local2;
} else if (dir == "right") {
_local1._rotation = _local1._rotation + _local2;
}
}
function lightTrail(frame, wid, len) {
drawLine(_root.line, frame, currentPos, oldPos, wid, len);
}
function drawLine(iname, frame, p1, p2, width, len) {
duplicateMovieClip (iname, "line" + _root.levelo, _root.levelo);
nline = eval ("_root.line" + _root.levelo);
nline._x = p1[0];
nline._y = p1[1];
xdif = p2[0] - p1[0];
ydif = p2[1] - p1[1];
dist = Math.sqrt((xdif * xdif) + (ydif * ydif));
nline._xscale = dist;
nline._alpha = len * 5;
if (nline._xscale > 100) {
nline._alpha = 0;
}
nline._height = width;
rad = Math.asin(ydif / dist);
degcon = 57.29578;
nrad = rad * degcon;
if (xdif < 0) {
nrad = 180 - nrad;
}
nline._rotation = nrad;
nline.gotoAndStop(frame);
nline.unregistered = true;
nline.active = true;
_root.levelo++;
}
function seekTarget() {
istarget = false;
shortest = 1000;
closest = "";
yshort = 1000;
xshort = 1000;
i = 0;
while (i < _root.enemyNumber) {
en = eval ("_root." + _root["new" + i]);
xdif = en._x - this._x;
ydif = en._y - this._y;
dist = Math.sqrt((xdif * xdif) + (ydif * ydif));
if (dist < shortest) {
if (_root["new" + i].ship.alive == true) {
shortest = dist;
closest = en;
yshort = ydif;
xshort = xdif;
istarget = true;
}
}
i++;
}
if (istarget) {
degcon = 57.29578;
rad = Math.asin(yshort / shortest);
rot = (rad * degcon) + 90;
if (xshort < 0) {
rot = 360 - rot;
}
crot = this._rotation;
if (rot < 0) {
nrot = 0 + (360 - Math.abs(rot));
} else {
nrot = rot;
}
if (crot < 0) {
xrot = 0 + (360 - Math.abs(crot));
} else {
xrot = crot;
}
brot = 0;
zrot = xrot - nrot;
if (zrot < 0) {
zrot = zrot + 360;
}
if (zrot <= 180) {
rotate("left", Math.abs(zrot - brot));
} else if (zrot > 180) {
rotate("right", Math.abs(zrot - brot));
}
if (nrot > 180) {
rot = -180 + (nrot - 180);
} else {
rot = nrot;
}
}
moveForward(shortest);
}
etimer = 80 + random(20);
currentPos = new Array();
oldPos = new Array(_x, _y);
mex = new Sound();
mex.attachSound("_misexplode");
inum = 0;
_alpha = 100;
}
onClipEvent (enterFrame) {
if (active) {
if (unregistered) {
inum = _root.gob.length;
_root.gob[_root.gob.length] = this;
unregistered = false;
}
htest();
seekTarget();
etimer--;
if (etimer < 0) {
detonate(0);
}
if (this._y < -21) {
detonate(0);
} else if (this._y > 320) {
detonate(0);
}
if (this._x < -21) {
detonate(0);
} else if (this._x > 661) {
detonate(0);
}
}
}
Instance of Symbol 445 MovieClip "ship" in Frame 8
onClipEvent (load) {
function homis() {
if (_root.missileactive == true) {
_root.homingmissile--;
duplicateMovieClip (_root.missile, "missile" + _root.levelo, _root.levelo);
las = eval ("_root.missile" + _root.levelo);
las._rotation = 90;
las._x = _root.ship._x;
las._y = _root.ship._y;
las.active = true;
las.ltype = "n";
las.unregistered = true;
las.active = true;
_root.levelo++;
mtimer = 10;
missile = missile - 2;
mis.start();
missilesound.start();
}
}
this.gotoAndPlay("debut");
_root.a = false;
soundLaser1 = new Sound();
soundLaser1.attachSound("sound1");
soundLaser2 = new Sound();
soundLaser2.attachSound("sound2");
soundLaser3 = new Sound();
soundLaser3.attachSound("sound3");
soundLaser4 = new Sound();
soundLaser4.attachSound("sound4");
missilesound = new Sound();
missilesound.attachSound("missile");
speed = 6;
_root.shipDead = false;
sy = _y;
ang = 0;
Redge = 350 - (_width / 2);
Ledge = 30;
Uedge = 280;
Dedge = 65;
}
onClipEvent (enterFrame) {
_y = (sy + (4 * Math.cos((ang = ang + 0.092))));
if (_root.shield <= 0) {
_root.shipDead = true;
_root.ship.gotoAndStop(4);
}
if (_root.shotenable == true) {
if (Key.isDown(/:player1Down)) {
if (_y < Uedge) {
_y = (_y + speed);
sy = sy + speed;
_root.ship.anim.mov.gotoAndStop(2);
}
}
if (Key.isDown(/:player1Up)) {
if (_y > Dedge) {
_y = (_y - speed);
sy = sy - speed;
_root.ship.anim.mov.gotoAndStop(3);
}
}
if (Key.isDown(/:player1Down) == false) {
if (Key.isDown(/:player1Up) == false) {
_root.ship.anim.mov.gotoAndStop(1);
}
}
if (Key.isDown(/:player1Right)) {
if (_x < Redge) {
_x = (_x + speed);
tellTarget ("_root.ship.anim") {
gotoAndStop ("avant");
};
}
}
if (Key.isDown(/:player1Left)) {
if (_x > Ledge) {
_x = (_x - speed);
tellTarget ("_root.ship.anim") {
gotoAndStop ("arriere");
};
}
}
if (Key.isDown(/:player1Left) == false) {
if (Key.isDown(/:player1Right) == false) {
if (_root.shotenable == true) {
tellTarget ("_root.ship.anim") {
gotoAndStop ("normal");
};
}
}
}
if (Key.isDown(/:player1Tesla)) {
if (_root.teslaactive == true) {
if (!_root.ts) {
tellTarget ("_root.teslajauge") {
gotoAndPlay (1);
};
tellTarget ("_root.ship.anim") {
tir.gotoAndPlay(_root.firespeed);
};
depth2 = 100000 + shotCount1;
_root.attachMovie("laser", "sparo" + shotCount1, depth2);
_root["sparo" + shotCount1]._x = this._x + 30;
_root["sparo" + shotCount1]._y = this._y - 5;
_root.nbrdetir++;
_root["sparo" + shotCount1].gotoAndStop(40);
shotCount1++;
_root.ts = true;
}
}
}
if (Key.isDown(/:player1Fire)) {
if (!_root.a) {
tellTarget ("_root.ship.anim") {
tir.gotoAndPlay(_root.firespeed);
shot.play();
};
depth = 100000 + shotCount1;
_root.attachMovie("laser", "sparo" + shotCount1, depth);
_root["sparo" + shotCount1]._x = this._x + 35;
_root["sparo" + shotCount1]._y = this._y - 5;
_root.nbrdetir++;
_root["sparo" + shotCount1].gotoAndStop(_root.arme);
soundLaser1.start();
shotCount1++;
_root.a = true;
if (!_root.missss) {
tellTarget ("_root.missilevit") {
gotoAndPlay (3);
};
shotCount++;
homis();
_root.missss = true;
}
if (_root.droneactive == true) {
depth++;
_root.attachMovie("laser", "sparo" + shotCount1, depth);
_root["sparo" + shotCount1]._x = _root.drone1._x - 5;
_root["sparo" + shotCount1]._y = _root.drone1._y;
_root["sparo" + shotCount1].gotoAndStop(30);
this.drone1.play();
_root.nbrdetir++;
shotCount1++;
}
}
} else if (_root.shotenable == true) {
tellTarget ("_root.ship.anim") {
tir.gotoAndStop(0);
};
}
}
}
Instance of Symbol 460 MovieClip "drone1" in Frame 8
onClipEvent (load) {
function dronefollow() {
m = true;
my_posy = _root.ship._y;
my_posx = _root.ship._x + 60;
myx = my_posx;
my = my_posy;
if (my < _y) {
dy = _y - my;
} else {
dy = my - _y;
}
moveSpeedy = dy / 30;
if (my < _y) {
_y = (_y - moveSpeedy);
} else {
_y = (_y + moveSpeedy);
}
if (myx < _x) {
dx = _x - myx;
} else {
dx = myx - _x;
}
moveSpeedx = dx / 30;
if (myx < _x) {
_x = (_x - moveSpeedx);
} else {
_x = (_x + moveSpeedx);
}
}
}
onClipEvent (enterFrame) {
if (_root.droneactive == true) {
dronefollow();
}
}
Instance of Symbol 462 MovieClip "enemyLaser" in Frame 8
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_name != "enemyLaser") {
if (!_root.shipDead) {
if (this.hit.hitTest(_root.ship.hit)) {
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
removeMovieClip(this);
}
if (this.hit.hitTest(_root.drone1.hit)) {
removeMovieClip(this);
}
}
_x = (_x - speed);
if (_x < -10) {
removeMovieClip(this);
}
}
}
Instance of Symbol 578 MovieClip "bonus" in Frame 8
onClipEvent (enterFrame) {
if (_name != "bonus") {
_x = (_x - 5);
}
if (this.hitTest(_root.ship)) {
if (b1.flag == false) {
b1.gotoAndPlay(2);
b1.flag = true;
if (_root.select < 6) {
_root.select++;
} else {
_root.score = _root.score + 25;
_root.select = 2;
}
_root.tableau_arme.gotoAndPlay(_root.select);
}
if (_x < -10) {
removeMovieClip(this);
}
}
}
Instance of Symbol 607 MovieClip "diamond" in Frame 8
onClipEvent (enterFrame) {
if (_name != "diamond") {
_x = (_x - 3);
}
if (this.hitTest(_root.ship)) {
if (b1.flag == false) {
b1.gotoAndPlay(2);
b1.flag = true;
_root.score = _root.score + b1.d.valeur;
}
if (_x < -10) {
removeMovieClip(this);
}
}
}
Instance of Symbol 629 MovieClip "fade" in Frame 8
onClipEvent (load) {
this.swapDepths(99999999);
}
Frame 96
_root.enemyspawn();
Instance of Symbol 668 MovieClip "enemy" in Frame 96
onClipEvent (load) {
function reset() {
_y = (random(200) + 60);
_x = (640 + _y);
this.gotoAndStop(0);
ship.gotoAndStop(1);
speed = random(6) + 2;
_root.firePower = 600;
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
_x = (_x - speed);
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 675 MovieClip "new3" in Frame 96
onClipEvent (load) {
speed = 1;
}
onClipEvent (enterFrame) {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
_y = (_y + (4 * Math.cos((ang = ang + 0.1))));
_x = (_x - speed);
if (_x < -10) {
_x = 680;
_y = (random(200) + 60);
this.gotoAndStop(0);
ship.gotoAndStop(1);
speed = random(3) + 2;
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 439
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 621
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 721
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 844
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 1025
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 1139
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 1261
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 1398
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 676 MovieClip "new4" in Frame 1551
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
if ((random(_root.firePower) + 1) < 10) {
_root.shotCount++;
depth = (_root.shotCount % 100) + 11000;
duplicateMovieClip (_root.enemyLaser, "enemyBum" + _root.shotCount, depth);
_root["enemyBum" + _root.shotCount]._x = this._x - 40;
_root["enemyBum" + _root.shotCount]._y = this._y + 10;
}
}
if (_x < -10) {
reset();
}
}
}
Instance of Symbol 693 MovieClip "new4" in Frame 1717
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
if (_x < -50) {
reset();
}
}
}
Frame 1812
if (new4.ship._currentframe == 1) {
new4.ship.anim.rob.play();
}
Frame 1928
if (new4.ship._currentframe == 1) {
new4.ship.anim.rob.play();
}
Instance of Symbol 693 MovieClip "new4" in Frame 2012
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
if (_x < -50) {
reset();
}
}
}
Instance of Symbol 693 MovieClip "new4" in Frame 2054
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
if (_x < -50) {
reset();
}
}
}
Frame 2149
if (new4.ship._currentframe == 1) {
new4.ship.anim.rob.play();
}
Instance of Symbol 693 MovieClip "new4" in Frame 2149
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (this.ship._currentframe == 1) {
this.ship.anim.rob.play();
}
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
if (_x < -50) {
reset();
}
}
}
Instance of Symbol 693 MovieClip "new4" in Frame 2185
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
if (_x < -50) {
reset();
}
}
}
Frame 2265
if (new4.ship._currentframe == 1) {
new4.ship.anim.rob.play();
}
Instance of Symbol 693 MovieClip "new4" in Frame 2349
onClipEvent (load) {
function reset() {
removeMovieClip(this);
}
reset();
}
onClipEvent (enterFrame) {
if (_name != "enemy") {
if (_root.boss and (_x < 10)) {
removeMovieClip(this);
}
if (this.ship._currentframe == 1) {
if (this.hitTest(_root.ship.hit)) {
ship.gotoAndStop(2);
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
if (_x < -50) {
reset();
}
}
}
Frame 3338
_root.boss = true;
Frame 3339
stop();
rouge.play();
_root.averto.play();
Instance of Symbol 726 MovieClip "new4" in Frame 3339
onClipEvent (load) {
function followShip() {
_x = (_x-1);
if ((_x-1) < 300) {
_x = 300;
}
m = true;
my_pos = _root.ship._y - 10;
my = my_pos;
if (my < _y) {
dy = _y - my;
} else {
dy = my - _y;
}
moveSpeedy = dy / 30;
if (my < _y) {
_y = (_y - moveSpeedy);
} else {
_y = (_y + moveSpeedy);
}
}
killed = 0;
xdir = random(3) + 1;
x_speed = 3;
speed = random(3) + 1;
y = 0;
count = 0;
sl = _root.ship.shotCount;
}
onClipEvent (enterFrame) {
followShip();
if (this.ship.laser.hitTest(_root.ship.hit)) {
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
}
}
Frame 3340
Mouse.show();
_root.clean();
_root.pourcentage = Math.round((_root.nbrdehit / _root.nbrdetir) * 100);
_root.transweap();
stop();
Frame 3342
function clean() {
var _local1 = _root;
for (i in _local1) {
_local1[i].removeMovieClip();
}
}
_root.clean();
stopAllSounds();
_root.boss = true;
if (_root.musicactive == true) {
_root.zik3.gotoAndStop(2);
}
Mouse.show();
_root.pourcentage = Math.round((_root.nbrdehit / _root.nbrdetir) * 100);
stop();
Instance of Symbol 462 MovieClip "enemyLaser" in Frame 3342
onClipEvent (load) {
speed = 8;
}
onClipEvent (enterFrame) {
if (_name != "enemyLaser") {
if (!_root.shipDead) {
if (this.hit.hitTest(_root.ship.hit)) {
if (_root.shield > 1) {
_root.ship.shield.gotoAndPlay(1);
_root.shield--;
_root.interf.up.gotoAndStop(_root.shield);
} else {
_root.ship.gotoAndStop(4);
_root.shipDead = true;
_root.shotenable = false;
}
removeMovieClip(this);
}
if (this.hit.hitTest(_root.drone1.hit)) {
removeMovieClip(this);
}
}
_x = (_x - speed);
if (_x < -10) {
removeMovieClip(this);
}
}
}
Symbol 21 MovieClip [Defaults] Frame 1
#initclip 1
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 22 MovieClip [UIObjectExtensions] Frame 1
#initclip 2
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 23 MovieClip [UIObject] Frame 1
#initclip 3
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 26 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 27 MovieClip Frame 1
#initclip 4
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
#endinitclip
Symbol 28 MovieClip [FocusRect] Frame 1
#initclip 5
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 29 MovieClip [FocusManager] Frame 1
#initclip 6
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 30 MovieClip [UIComponentExtensions] Frame 1
#initclip 7
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 31 MovieClip [UIComponent] Frame 1
#initclip 8
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 34 MovieClip [FrameRate] Frame 1
#initclip 9
Object.registerClass("FrameRate", flextnet.components.FrameRate);
#endinitclip
stop();
Symbol 85 MovieClip [explosion] Frame 32
stop();
Symbol 88 MovieClip [spark] Frame 1
var xvel = (int(Math.random() * 20) - 22);
var yvel = (int(Math.random() * 2) - 8);
var gravity = 1.4;
var alphaAmount = 100;
var xposition = this._x;
var yposition = this._y;
Symbol 88 MovieClip [spark] Frame 2
yposition = yposition + yvel;
yvel = yvel + gravity;
xposition = xposition + xvel;
alphaAmount = alphaAmount - 5;
_y = yposition;
_x = xposition;
_xscale = alphaAmount;
_yscale = alphaAmount;
if (alphaAmount <= 0) {
this.removeMovieClip();
}
Symbol 88 MovieClip [spark] Frame 3
gotoAndPlay (2);
Symbol 109 MovieClip Frame 9
stop();
Symbol 111 MovieClip Frame 10
stop();
removeMovieClip(this._parent);
Symbol 112 MovieClip [laser] Frame 1
function resoudhit() {
var _local1 = _root;
var _local2 = this;
var _local3 = _local1.enemyNumber;
speedbul = 10;
i = 0;
while (i < _local3) {
if (_local2.hitTest(_local1["new" + i].ship.hit)) {
_local1.score = _local1.score + 10;
_local1.nbrdehit++;
_local1["new" + i].ship.vie = _local1["new" + i].ship.vie - fire.damage;
if (_local1["new" + i].ship.vie > 0) {
_local1["new" + i].play();
hit.start();
} else {
_local1["new" + i].ship.gotoAndPlay(2);
boum.start();
}
removeMovieClip(_local2);
}
i++;
}
if (_x <= 640) {
_local2._x = _local2._x + speedbul;
} else {
removeMovieClip(_local2);
}
}
function resoudhittesla() {
var _local1 = _root;
var _local3 = this;
var _local2 = _local1.enemyNumber;
speedbul = 10;
i = 0;
while (i < _local2) {
if (_local3.hitTest(_local1["new" + i].ship.hit)) {
_local1.score = _local1.score + 10;
_local1.nbrdehit++;
_local1["new" + i].ship.vie = _local1["new" + i].ship.vie - _local1.tesladamage;
if (_local1["new" + i].ship.vie > 0) {
_local1["new" + i].play();
hit.start();
} else {
_local1["new" + i].ship.gotoAndPlay(2);
boum.start();
}
}
i++;
}
}
boum = new Sound();
boum.attachSound("fx_explosion03");
hit = new Sound();
hit.attachSound("hit");
stop();
fire.damage = 1;
stop();
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 1
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 2
stop();
fire.damage = 1;
Instance of Symbol 93 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 2
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 3
stop();
fire.damage = 1;
Instance of Symbol 94 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 3
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 4
stop();
fire.damage = 2;
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 4
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y + 3);
}
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 4
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y - 3);
}
Symbol 112 MovieClip [laser] Frame 5
stop();
fire.damage = 2;
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 5
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y + 4);
}
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 5
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y - 4);
}
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 5
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y + 5);
}
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 5
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y - 5);
}
Symbol 112 MovieClip [laser] Frame 6
stop();
fire.damage = 3;
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 6
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y + 3);
}
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 6
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y - 3);
}
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 6
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y + 3);
}
Instance of Symbol 92 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 6
onClipEvent (enterFrame) {
_parent.resoudhit();
_y = (_y - 3);
}
Symbol 112 MovieClip [laser] Frame 8
stop();
fire.damage = 8;
Instance of Symbol 96 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 8
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 9
stop();
fire.damage = 9;
Symbol 112 MovieClip [laser] Frame 11
stop();
fire.damage = 7;
stop();
Instance of Symbol 99 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 11
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 12
stop();
fire.damage = 8;
Symbol 112 MovieClip [laser] Frame 13
stop();
fire.damage = 9;
Symbol 112 MovieClip [laser] Frame 14
stop();
fire.damage = 10;
Symbol 112 MovieClip [laser] Frame 16
stop();
fire.damage = 8;
stop();
Instance of Symbol 102 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 16
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 17
stop();
fire.damage = 9;
Symbol 112 MovieClip [laser] Frame 18
stop();
fire.damage = 10;
Symbol 112 MovieClip [laser] Frame 19
stop();
fire.damage = 11;
Symbol 112 MovieClip [laser] Frame 21
stop();
fire.damage = 12;
stop();
Instance of Symbol 104 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 21
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 22
stop();
fire.damage = 13;
Symbol 112 MovieClip [laser] Frame 23
stop();
fire.damage = 14;
Symbol 112 MovieClip [laser] Frame 24
stop();
fire.damage = 15;
Symbol 112 MovieClip [laser] Frame 30
stop();
fire.damage = 1;
Instance of Symbol 106 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 30
onClipEvent (enterFrame) {
_parent.resoudhit();
}
Symbol 112 MovieClip [laser] Frame 40
stop();
fire.damage = 20;
stop();
Instance of Symbol 111 MovieClip "fire" in Symbol 112 MovieClip [laser] Frame 40
onClipEvent (enterFrame) {
_parent.resoudhittesla();
}
Symbol 117 MovieClip Frame 11
stop();
_root.kill++;
Symbol 118 MovieClip [ship2] Frame 1
stop();
Symbol 118 MovieClip [ship2] Frame 2
stop();
Symbol 151 MovieClip [explosion] Frame 32
stop();
Symbol 184 MovieClip [explosion] Frame 32
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 11
stop();
Symbol 207 MovieClip Frame 1
stop();
Instance of Symbol 206 MovieClip "swfloader" in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
function strip_spaces(str) {
var _local2 = str;
var _local3 = new String("");
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local2.charAt(_local1) != " ") && (_local2.charAt(_local1) != ";")) {
_local3 = _local3 + _local2.charAt(_local1);
}
_local1++;
}
return(_local3);
}
function simple_script(action, timeline) {
action = strip_spaces(action);
if ((action.length > 0) && ((action.indexOf(")") != -1) && (action.indexOf("(") != -1))) {
var _local3 = action.split(".");
var timeline_action = _local3.pop();
var first_paren = timeline_action.indexOf("(");
var second_paren = timeline_action.indexOf(")");
var timeline_function = timeline_action.substr(0, first_paren);
var function_parameter = timeline_action.substr(first_paren + 1, second_paren - (first_paren + 1));
var _local2 = timeline;
var _local1 = 0;
while (_local1 < _local3.length) {
_local2 = _local2[_local3[_local1]];
_local1++;
}
if (function_parameter.indexOf("\"") != -1) {
function_parameter = function_parameter.substr(1, function_parameter.length - 2);
}
_local2[timeline_function](function_parameter);
}
}
function execute_action() {
var _local1 = _parent;
unloaded = true;
_local1._visible = false;
simple_script(_local1.play_action_val, _local1);
}
_parent.anim.gotoAndStop(1);
simple_script(_parent.init_action_val, _parent);
var done = false;
var unloaded = false;
var orig_x = _parent._x;
var orig_y = _parent._y;
var dist_x = (_parent._x + ((_parent._width * 2) / 3));
var dist_y = (_parent._y + ((_parent._height * 2) / 3));
var orig_a = _parent._alpha;
var accel_jump = 0.75;
var slow_factor = _parent.slow_factor_val;
var speed_factor = (1 + (slow_factor / (1 - slow_factor)));
var ready = false;
var perc_fadeout = 0;
if (slow_factor < 1) {
switch (_parent.xin_motion_val) {
case "Up" :
_parent._y = orig_y + (dist_y * 2);
break;
case "Down" :
_parent._y = orig_y - (dist_y * 2);
break;
case "Left" :
_parent._x = orig_x + (dist_x * 2);
break;
case "Right" :
_parent._x = orig_x - (dist_x * 2);
break;
case "Toward" :
_parent._xscale = (_parent._yscale = 1);
break;
case "None" :
_parent._alpha = 0;
}
} else {
ready = true;
}
}
onClipEvent (enterFrame) {
if (unloaded) {
return(undefined);
}
if (!ready) {
switch (_parent.xin_motion_val) {
case "Toward" :
_parent._xscale = _parent._xscale + ((100 - _parent._xscale) * slow_factor);
_parent._yscale = _parent._xscale;
if (_parent.xin_alphatype_val == "Yes") {
_parent._alpha = Math.round((orig_a / 100) * Math.max(0, Math.min(_parent._xscale, 100)));
}
if (Math.abs(100 - _parent._xscale) < 0.5) {
_parent._xscale = (_parent._yscale = 100);
_parent._alpha = orig_a;
ready = true;
}
break;
default :
_parent._x = _parent._x + ((orig_x - _parent._x) * slow_factor);
_parent._y = _parent._y + ((orig_y - _parent._y) * slow_factor);
if (_parent.xin_alphatype_val == "Yes") {
if (_parent.xin_motion_val == "None") {
_parent._alpha = _parent._alpha + ((orig_a - _parent._alpha) * slow_factor);
} else if (Math.abs(orig_x - _parent._x) > Math.abs(orig_y - _parent._y)) {
_parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x)) * 100);
} else {
_parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y)) * 100);
}
}
if (!(((_parent.xin_motion_val == "None") && (Math.abs(_parent._alpha - orig_a) <= 1)) || (((_parent.xin_motion_val != "None") && (Math.abs(_parent._y - orig_y) < 0.5)) && (Math.abs(_parent._x - orig_x) < 0.5)))) {
break;
}
_parent._x = orig_x;
_parent._y = orig_y;
_parent._alpha = orig_a;
ready = true;
}
} else if (!done) {
var rl = _root.getBytesLoaded();
var rt = (_root.getBytesTotal() * (_parent.perc_req_val / 100));
if ((rl > 10) && (rt > 10)) {
rl = Math.min(rl, rt);
var new_frame = (_parent.anim._currentframe + Math.ceil(((_parent.anim._totalframes * (rl / rt)) - _parent.anim._currentframe) / 4));
new_frame = Math.max(1, new_frame);
if (_parent.show_perc_val == "Yes") {
_parent.perc.text = Math.round(((new_frame - 1) / (_parent.anim._totalframes - 1)) * 100) + " %";
}
if (new_frame != _parent.anim._currentframe) {
_parent.anim.gotoAndStop(new_frame);
}
if ((_parent.anim._totalframes == _parent.anim._currentframe) && (rl >= rt)) {
done = true;
}
}
} else if (slow_factor < 1) {
switch (_parent.xout_motion_val) {
case "Down" :
if (_parent._y <= orig_y) {
_parent._y = orig_y + accel_jump;
}
_parent._y = orig_y + (Math.abs(_parent._y - orig_y) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y) * 100);
if (_parent._y > (orig_y + (dist_y * 2))) {
execute_action();
}
break;
case "Up" :
if (_parent._y >= orig_y) {
_parent._y = orig_y - accel_jump;
}
_parent._y = orig_y - (Math.abs(_parent._y - orig_y) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y) * 100);
if (_parent._y < (orig_y - (dist_y * 2))) {
execute_action();
}
break;
case "Right" :
if (_parent._x <= orig_x) {
_parent._x = orig_x + accel_jump;
}
_parent._x = orig_x + (Math.abs(_parent._x - orig_x) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100);
if (_parent._x > (orig_x + (dist_x * 2))) {
execute_action();
}
break;
case "Left" :
if (_parent._x >= orig_x) {
_parent._x = orig_x - accel_jump;
}
_parent._x = orig_x - (Math.abs(_parent._x - orig_x) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100);
if (_parent._x < (orig_x - (dist_x * 2))) {
execute_action();
}
break;
case "Away" :
if ((_parent._xscale >= 100) || (_parent._yscale >= 100)) {
_parent._xscale = (_parent._yscale = 100 - accel_jump);
}
_parent._xscale = (_parent._yscale = Math.max(0.5, 100 - ((100 - _parent._yscale) * speed_factor)));
perc_fadeout = 100 - Math.round(Math.max(0, Math.min(_parent._xscale, 100)));
if (_parent._xscale < 1) {
execute_action();
}
break;
default :
perc_fadeout = perc_fadeout + ((100 - perc_fadeout) * slow_factor);
if (Math.abs(perc_fadeout - 100) > 1) {
break;
}
execute_action();
}
if (!(_parent.xout_alphatype_val === "Yes")) {
} else {
_parent._alpha = (orig_a / 100) * (100 - perc_fadeout);
}
} else {
execute_action();
}
}
Symbol 210 MovieClip Frame 50
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 20
_root.a = false;
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 6
stop();
Symbol 226 MovieClip Frame 11
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 10
stop();
Symbol 254 Button
on (rollOver) {
instructions.btn.gotoAndPlay("on");
}
on (rollOut) {
instructions.btn.gotoAndPlay("off");
}
on (press) {
gotoAndPlay ("instruction");
}
Symbol 255 Button
on (rollOver) {
options.btn.gotoAndPlay("on");
}
on (rollOut) {
options.btn.gotoAndPlay("off");
}
on (press) {
gotoAndPlay ("option");
}
Symbol 256 Button
on (rollOver) {
highscores.btn.gotoAndPlay("on");
}
on (rollOut) {
highscores.btn.gotoAndPlay("off");
}
on (press) {
_root.Highscores();
}
Symbol 257 Button
on (rollOver) {
visit.btn.gotoAndPlay("on");
}
on (rollOut) {
visit.btn.gotoAndPlay("off");
}
on (press) {
_root.Visitme();
}
Symbol 258 Button
on (rollOver) {
starte.btn.gotoAndPlay("on");
}
on (rollOut) {
starte.btn.gotoAndPlay("off");
}
on (press) {
_root.Start();
}
Symbol 260 Button
on (rollOver) {
options.btn.gotoAndPlay("on");
}
on (rollOut) {
options.btn.gotoAndPlay("off");
}
on (press) {
play();
}
Symbol 261 Button
on (rollOver) {
instructions.btn.gotoAndPlay("on");
}
on (rollOut) {
instructions.btn.gotoAndPlay("off");
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 49
stop();
_root.instru.play();
Symbol 262 MovieClip Frame 50
_root.instru.gotoAndStop(1);
Symbol 262 MovieClip Frame 75
gotoAndStop (1);
Symbol 262 MovieClip Frame 100
stop();
_root.opt.play();
Symbol 262 MovieClip Frame 101
_root.opt.gotoAndStop(1);
Symbol 262 MovieClip Frame 125
gotoAndStop (1);
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 49
gotoAndStop (1);
Symbol 277 MovieClip Frame 1
stop();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (keyDown) {
Set("/:player1Up", Key.getCode());
tellTarget (_parent) {
nextFrame();
};
}
Symbol 277 MovieClip Frame 2
stop();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 2
onClipEvent (keyDown) {
if (/:player1Up != Key.getCode()) {
Set("/:player1Left", Key.getCode());
tellTarget (_parent) {
nextFrame();
};
} else {
_parent.msg.gotoAndPlay("error");
}
}
Symbol 277 MovieClip Frame 3
stop();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 3
onClipEvent (keyDown) {
if ((/:player1Up != Key.getCode()) && (/:player1Left != Key.getCode())) {
Set("/:player1Right", Key.getCode());
tellTarget (_parent) {
nextFrame();
};
} else {
_parent.msg.gotoAndPlay("error");
}
}
Symbol 277 MovieClip Frame 4
stop();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 4
onClipEvent (keyDown) {
if (((/:player1Up != Key.getCode()) && (/:player1Left != Key.getCode())) && (/:player1Right != Key.getCode())) {
Set("/:player1Down", Key.getCode());
tellTarget (_parent) {
nextFrame();
};
} else {
_parent.msg.gotoAndPlay("error");
}
}
Symbol 277 MovieClip Frame 5
stop();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 5
onClipEvent (keyDown) {
if ((((/:player1Up != Key.getCode()) && (/:player1Left != Key.getCode())) && (/:player1Right != Key.getCode())) && (/:player1Down != Key.getCode())) {
Set("/:player1Fire", Key.getCode());
tellTarget (_parent) {
nextFrame();
};
} else {
_parent.msg.gotoAndPlay("error");
}
}
Symbol 277 MovieClip Frame 6
stop();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 6
onClipEvent (keyDown) {
if (((((/:player1Up != Key.getCode()) && (/:player1Left != Key.getCode())) && (/:player1Right != Key.getCode())) && (/:player1Down != Key.getCode())) && (/:player1Fire != Key.getCode())) {
Set("/:player1Choose", Key.getCode());
tellTarget (_parent) {
nextFrame();
};
} else {
_parent.msg.gotoAndPlay("error");
}
}
Symbol 277 MovieClip Frame 7
stop();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 7
onClipEvent (keyDown) {
if (((((/:player1Up != Key.getCode()) && (/:player1Left != Key.getCode())) && (/:player1Right != Key.getCode())) && (/:player1Down != Key.getCode())) && (/:player1Fire != Key.getCode())) {
Set("/:player1Tesla", Key.getCode());
tellTarget (_parent) {
nextFrame();
};
} else {
_parent.msg.gotoAndPlay("error");
}
}
Symbol 277 MovieClip Frame 8
_root.game_so.data.player1Up = /:player1Up;
_root.game_so.data.player1Left = /:player1Left;
_root.game_so.data.player1Right = /:player1Right;
_root.game_so.data.player1Down = /:player1Down;
_root.game_so.data.player1Fire = /:player1Fire;
_root.game_so.data.player1Tesla = /:player1Tesla;
_root.game_so.data.player1Choose = /:player1Choose;
_root.game_so.data.sauvegarde = 1;
play();
Instance of Symbol 269 MovieClip in Symbol 277 MovieClip Frame 8
onClipEvent (keyDown) {
_parent._parent._parent.gotoAndStop(1);
}
Symbol 277 MovieClip Frame 111
stop();
_parent._parent.gotoAndstop(1);
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 2
stop();
Symbol 288 MovieClip Frame 3
stop();
Symbol 291 Button
on (press) {
if (_root.musicactive == true) {
_root.musicactive = false;
stopAllSounds();
_root.zik.gotoAndStop(1);
} else {
_root.musicactive = true;
_root.zik.gotoAndStop(2);
}
}
Symbol 292 Button
on (press) {
change_qualite();
}
Symbol 293 Button
on (press) {
configkey.gotoAndStop(2);
}
Symbol 294 MovieClip Frame 1
function change_qualite() {
var _local1 = _root;
_local1.qualite++;
if (_local1.qualite == 4) {
_local1.qualite = 1;
}
_quality = tab_qualite[_local1.qualite];
}
tab_qualite = new Array("LOW", "MEDIUM", "HIGH");
_quality = tab_qualite[_root.qualite];
stop();
Instance of Symbol 282 MovieClip "fx" in Symbol 294 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.musicactive == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 288 MovieClip "fx2" in Symbol 294 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.qualite);
}
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 10
function change_qualite() {
var _local1 = _root;
_local1.qualite++;
if (_local1.qualite == 4) {
_local1.qualite = 1;
}
_quality = tab_qualite[_local1.qualite];
}
tab_qualite = new Array("LOW", "MEDIUM", "HIGH");
_quality = tab_qualite[_root.qualite];
stop();
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Symbol 301 Button
on (release) {
getURL ("javascript:window.external.AddFavorite('http://www.jeuxflashs.be','The best free games of the web')");
}
Symbol 306 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 90
stop();
Symbol 313 MovieClip Frame 1
function pixel(x, y, z) {
var _local1 = this;
_local1.x = x;
_local1.y = y;
_local1.z = z;
}
MAXSTARS = 10;
LAYERS = 3;
field = new Array(MAXSTARS);
i = 0;
while (i < MAXSTARS) {
field[i] = new pixel(random(260), random(260), random(LAYERS) + 1);
duplicateMovieClip ("pixel", "pixel_" add i, i + 10);
i++;
}
Symbol 313 MovieClip Frame 2
i = 0;
while (i < MAXSTARS) {
field[i].x = field[i].x + field[i].z;
if (field[i].x > 640) {
field[i].x = 0;
}
i++;
}
i = 0;
while (i < MAXSTARS) {
setProperty("pixel_" add i, _x , field[i].x);
setProperty("pixel_" add i, _y , field[i].y);
i++;
}
Symbol 313 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 314 MovieClip Frame 1
_root.play();
stop();
Symbol 321 MovieClip Frame 1
_root.play();
stop();
Symbol 327 MovieClip Frame 23
stop();
Symbol 331 MovieClip Frame 25
stop();
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 25
onClipEvent (keyDown) {
_root.play();
}
Symbol 331 MovieClip Frame 45
stop();
_root.play();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 1
stop();
i = 1;
Symbol 336 MovieClip Frame 2
_root.effet(_root.level_fond, i, 0, 0);
_root.effet(_root.colone, i, 0, 0);
i++;
Symbol 336 MovieClip Frame 3
if (i < 100) {
gotoAndPlay (2);
} else {
play();
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 7
stop();
Symbol 348 MovieClip Frame 50
stop();
Symbol 350 MovieClip Frame 390
_root.ts = false;
stop();
Symbol 377 MovieClip Frame 12
l1.gotoAndPlay(10);
l2.gotoAndPlay(15);
l3.gotoAndPlay(20);
l4.gotoAndPlay(21);
l5.gotoAndPlay(25);
stop();
Symbol 379 MovieClip Frame 11
stop();
Symbol 380 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 2
stop();
Symbol 381 Button
on (press) {
if (_root.musicactive == true) {
_root.musicactive = false;
stopAllSounds();
_root.zik2.gotoAndStop(1);
equalizer.gotoAndStop(2);
} else {
_root.musicactive = true;
equalizer.gotoAndStop(1);
_root.zik2.gotoAndStop(2);
}
}
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
stop();
_root.select = 1;
Symbol 397 MovieClip Frame 3
stop();
_root.select = 2;
Symbol 397 MovieClip Frame 4
stop();
_root.select = 3;
Symbol 397 MovieClip Frame 5
stop();
Symbol 397 MovieClip Frame 6
stop();
Symbol 397 MovieClip Frame 7
stop();
Symbol 397 MovieClip Frame 8
stop();
Symbol 404 MovieClip Frame 49
count = 1000 + (_root.count++);
_root.orb.duplicateMovieClip("orb" + count, count++);
_root["orb" + count]._x = this._parent._x;
_root["orb" + count]._y = this._parent._y;
go = true;
Symbol 404 MovieClip Frame 50
Symbol 405 MovieClip Frame 1
_rotation = (_rotation + 2);
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 16
_parent.flag = false;
removeMovieClip(_parent);
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 10
_parent.flag = false;
removeMovieClip(_parent);
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 10
_parent.flag = false;
removeMovieClip(_parent);
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 5
_parent.flag = false;
removeMovieClip(_parent);
Symbol 424 MovieClip Frame 32
stop();
Instance of Symbol 424 MovieClip in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 425 MovieClip Frame 11
this.removeMovieClip();
Symbol 428 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 435 MovieClip Frame 15
stop();
Symbol 436 MovieClip Frame 1
i = 0;
while (i < 5) {
duplicateMovieClip ("isk1", "isk" add i, i);
isk1._rotation = random(360);
isk1._xscale = scalefactor;
isk1._yscale = scalefactor;
tellTarget ("isk" add i) {
gotoAndPlay(random(5));
};
i++;
}
Symbol 438 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 32
stop();
_root.fade.gotoAndPlay(2);
Symbol 442 MovieClip Frame 56
_parent.gotoAndStop(1);
Symbol 443 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
_root.shotenable = false;
Symbol 444 MovieClip Frame 91
stop();
if (_root.droneactive == false) {
_root.play();
} else {
tellTarget ("_root.drone1.drone") {
play();
};
play();
}
Symbol 444 MovieClip Frame 195
stop();
_root.play();
Symbol 445 MovieClip Frame 1
stop();
_root.shotenable = true;
Symbol 445 MovieClip Frame 3
gotoAndStop (1);
Symbol 445 MovieClip Frame 4
_root.shotenable = false;
stop();
Instance of Symbol 439 MovieClip in Symbol 445 MovieClip Frame 4
onClipEvent (load) {
}
Symbol 445 MovieClip Frame 5
_root.shotenable = false;
Symbol 445 MovieClip Frame 6
_root.shotenable = false;
Symbol 458 MovieClip Frame 32
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 577 MovieClip Frame 1
flag = false;
stop();
Symbol 577 MovieClip Frame 10
stop();
Symbol 578 MovieClip Frame 1
stop();
Symbol 599 MovieClip Frame 1
stop();
valeur = 100;
Symbol 599 MovieClip Frame 2
stop();
valeur = 200;
Symbol 599 MovieClip Frame 3
stop();
valeur = 300;
Symbol 599 MovieClip Frame 4
stop();
valeur = 400;
Symbol 599 MovieClip Frame 5
valeur = 500;
Symbol 606 MovieClip Frame 1
flag = false;
stop();
Symbol 606 MovieClip Frame 3
num = d.valeur;
Symbol 606 MovieClip Frame 50
stop();
Symbol 607 MovieClip Frame 1
stop();
Symbol 623 Button
on (press) {
if (_root.weaponlvl < 3) {
_root.weaponlvl++;
}
_root.pourcentage = (_root.nbrdehit / _root.nbrdetir) * 100;
}
Symbol 628 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 30
_root.missss = false;
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 51
_root.Gameover();
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 40
gotoAndStop (1);
Symbol 636 MovieClip Frame 81
gotoAndStop (1);
Symbol 636 MovieClip Frame 120
gotoAndStop (1);
Symbol 636 MovieClip Frame 161
gotoAndStop (1);
Symbol 636 MovieClip Frame 201
gotoAndStop (1);
Symbol 636 MovieClip Frame 240
gotoAndStop (1);
Symbol 666 MovieClip Frame 11
var x = random(50);
if (x > 40) {
count = 10000 + (_root.count++);
_root.diamond.duplicateMovieClip("diamond" + count, count++);
_root["diamond" + count]._x = this._parent._parent._x - 10;
_root["diamond" + count]._y = this._parent._parent._y;
_root["diamond" + count].b1.d.gotoAndStop(random(5));
}
Symbol 666 MovieClip Frame 32
stop();
Symbol 667 MovieClip Frame 1
stop();
vie = 3;
alive = true;
Symbol 667 MovieClip Frame 2
stop();
alive = false;
Instance of Symbol 666 MovieClip in Symbol 667 MovieClip Frame 2
onClipEvent (load) {
}
Symbol 668 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 10
count = 10000 + (_root.count++);
_root.bonus.duplicateMovieClip("bonus" + count, count++);
_root["bonus" + count]._x = this._parent._parent._x - 10;
_root["bonus" + count]._y = this._parent._parent._y;
Symbol 673 MovieClip Frame 32
stop();
Symbol 674 MovieClip Frame 1
stop();
vie = 1;
alive = true;
Symbol 674 MovieClip Frame 2
stop();
alive = false;
Instance of Symbol 673 MovieClip in Symbol 674 MovieClip Frame 2
onClipEvent (load) {
}
Symbol 675 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 6
Symbol 690 MovieClip Frame 7
count = 10000 + (_root.count++);
plasma.start();
_root.orbbleu.duplicateMovieClip("orb" + count, count++);
_root["orb" + count]._x = this._parent._parent._parent._x - 25;
_root["orb" + count]._y = this._parent._parent._parent._y + 8;
Symbol 690 MovieClip Frame 10
count = 10000 + (_root.count++);
plasma.start();
_root.orbbleu.duplicateMovieClip("orb" + count, count++);
_root["orb" + count]._x = this._parent._parent._parent._x - 25;
_root["orb" + count]._y = this._parent._parent._parent._y + 8;
Symbol 690 MovieClip Frame 13
count = 10000 + (_root.count++);
plasma.start();
_root.orbbleu.duplicateMovieClip("orb" + count, count++);
_root["orb" + count]._x = this._parent._parent._parent._x - 25;
_root["orb" + count]._y = this._parent._parent._parent._y + 8;
Symbol 690 MovieClip Frame 16
count = 10000 + (_root.count++);
plasma.start();
_root.orbbleu.duplicateMovieClip("orb" + count, count++);
_root["orb" + count]._x = this._parent._parent._parent._x - 25;
_root["orb" + count]._y = this._parent._parent._parent._y + 8;
Symbol 690 MovieClip Frame 19
count = 10000 + (_root.count++);
plasma.start();
_root.orbbleu.duplicateMovieClip("orb" + count, count++);
_root["orb" + count]._x = this._parent._parent._parent._x - 25;
_root["orb" + count]._y = this._parent._parent._parent._y + 8;
Symbol 692 MovieClip Frame 1
stop();
vie = 30;
alive = true;
Symbol 692 MovieClip Frame 2
stop();
alive = false;
Instance of Symbol 184 MovieClip [explosion] in Symbol 692 MovieClip Frame 2
onClipEvent (load) {
}
Symbol 693 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 1
_root.effet(_root.level_fond, 70, 70, 0);
Instance of Symbol 151 MovieClip [explosion] in Symbol 724 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 724 MovieClip Frame 3
_root.effet(_root.level_fond, 0, 0, 0);
Symbol 724 MovieClip Frame 9
_root.effet(_root.level_fond, 70, 70, 0);
Instance of Symbol 151 MovieClip [explosion] in Symbol 724 MovieClip Frame 9
onClipEvent (load) {
}
Symbol 724 MovieClip Frame 11
_root.effet(_root.level_fond, 0, 0, 0);
Symbol 724 MovieClip Frame 15
_root.effet(_root.level_fond, 70, 70, 0);
Instance of Symbol 151 MovieClip [explosion] in Symbol 724 MovieClip Frame 15
onClipEvent (load) {
}
Symbol 724 MovieClip Frame 17
_root.effet(_root.level_fond, 0, 0, 0);
Symbol 724 MovieClip Frame 85
stop();
_root.ship.gotoAndStop("end");
Symbol 725 MovieClip Frame 1
stop();
vie = 100;
alive = true;
Instance of Symbol 722 MovieClip "laser" in Symbol 725 MovieClip Frame 1
onClipEvent (load) {
plasma = new Sound();
plasma.attachSound("plasma");
}
onClipEvent (enterFrame) {
if (this._parent._parent._x < 640) {
tirtempo = random(120);
if (tirtempo == 1) {
this.play();
} else if (tirtempo < 7) {
count = 10000 + (_root.count++);
_parent.flare.play();
plasma.start();
_root.orb.duplicateMovieClip("orb" + count, count++);
_root["orb" + count]._x = this._parent._parent._x - 65;
_root["orb" + count]._y = this._parent._parent._y - 14;
}
}
}
Symbol 725 MovieClip Frame 2
_root.shotenable = false;
_root.ship.hit.play();
stop();
alive = false;
Symbol 726 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 30
stop();
Instance of Symbol 330 MovieClip in Symbol 729 MovieClip Frame 30
onClipEvent (keyDown) {
_root.play();
}
Symbol 741 MovieClip Frame 90
stop();
Symbol 748 Button
on (press) {
getURL ("http://jeuxflashs.be/evaproject");
}
Symbol 752 Button
on (press) {
_root.Main();
}
Symbol 763 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 2
stop();