Instance of Symbol 130 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
_root.pourcent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
}
Frame 2
if (getBytesLoaded() < getBytesTotal()) {
gotoAndPlay (1);
} else {
gotoAndStop (3);
}
Frame 3
fscommand ("showmenu", "false");
fscommand ("allowscale", "false");
fscommand ("trapallkeys", "false");
vies = 4;
vitesse = 2;
fond = 1;
perdu_img = 21;
gravite = 2;
g = gravite;
augmentation_saut = 7;
valeur_pesanteur = 0.1;
avancement_monde = 200;
saut1 = new Sound();
saut1.attachSound("saut1");
saut2 = new Sound();
saut2.attachSound("saut2");
Instance of Symbol 127 MovieClip [FComboBoxSymbol] "qualité" in Frame 7
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "Sup\u00E9rieure";
labels[1] = "Moyenne";
labels[2] = "Inf\u00E9rieure";
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 127 MovieClip [FComboBoxSymbol] "lifes" in Frame 7
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = 1;
labels[1] = 2;
labels[2] = 3;
labels[3] = 4;
labels[4] = 5;
labels[5] = 6;
labels[6] = 7;
labels[7] = 8;
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 127 MovieClip [FComboBoxSymbol] "speed" in Frame 7
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "Normale";
labels[1] = "Rapide";
labels[2] = "Tr\u00E8s rapide";
labels[3] = "Lente";
labels[4] = "Tr\u00E8s lente";
rowCount = 8;
changeHandler = "";
}
Instance of Symbol 127 MovieClip [FComboBoxSymbol] "moment" in Frame 7
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "Matin";
labels[1] = "Midi";
labels[2] = "Nuit";
rowCount = 8;
changeHandler = "";
}
Frame 8
pass1 = "";
pass2 = "";
Frame 10
stop();
Mouse.hide();
gravite = 2;
g = gravite;
augmentation_saut = 7;
valeur_pesanteur = 0.1;
avancement_monde = 200;
saut1 = new Sound();
saut1.attachSound("saut1");
saut2 = new Sound();
saut2.attachSound("saut2");
son_saut = 1;
vitesse_balle = 12;
vies_boss = 3;
numero_boss = 1;
initialisation = 1;
mort = 0;
pistolet = 0;
jetpack_dispo = 1;
jetpack = 0;
augmentation_saut = 7;
level = 1;
Instance of Symbol 249 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop(_root.fond);
}
Instance of Symbol 253 MovieClip "tube_2" in Frame 10
onClipEvent (enterFrame) {
_x = (_root.monde._x + 1100);
if (this.hitTest(_root.player)) {
_root.son_saut = 0;
}
}
Instance of Symbol 270 MovieClip "player" in Frame 10
onClipEvent (enterFrame) {
this._y = this._y + _root.g;
_root.g = _root.g + _root.valeur_pesanteur;
}
onClipEvent (enterFrame) {
if (_root.monde.murs.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - _root.vitesse);
}
if (_root.monde.murs.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + _root.vitesse);
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - _root.gravite);
_root.g = _root.gravite;
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + _root.vitesse);
_root.g = _root.gravite;
} else if ((Key.isDown(38) and (_root.g == _root.gravite)) and (_root.son_saut == 1)) {
_root.g = _root.g - _root.augmentation_saut;
choix_son = random(2);
if (choix_son == 1) {
_root.saut1.start();
} else {
_root.saut2.start();
}
}
}
onClipEvent (enterFrame) {
if (_root.pistolet == 1) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
if (Key.isDown(37) and (_root.mort == 0)) {
if (_root.pistolet == 1) {
gotoAndStop (6);
} else {
gotoAndStop (3);
}
if (_x > 150) {
_x = (_x - _root.vitesse);
} else if (_root.monde._x < 0) {
_root.monde._x = _root.monde._x + _root.avancement_monde;
_x = (_x + _root.avancement_monde);
} else {
_x = (_x - _root.vitesse);
}
}
if (Key.isDown(39) and (_root.mort == 0)) {
if (_root.pistolet == 1) {
gotoAndStop (5);
} else {
gotoAndStop (2);
}
if (_x < 450) {
_x = (_x + _root.vitesse);
} else if (_root.monde._x > "-600") {
_root.monde._x = _root.monde._x - _root.avancement_monde;
_x = (_x - _root.avancement_monde);
} else {
_x = (_x + _root.vitesse);
}
}
}
Instance of Symbol 273 MovieClip in Frame 10
onClipEvent (load) {
clip_mort = 0;
}
onClipEvent (enterFrame) {
if ((_root.mort == 0) and (clip_mort == 0)) {
this._x = _root.player._x;
this._y = _root.player._y;
} else if ((_root.mort == 1) and (clip_mort == 0)) {
gotoAndPlay (2);
clip_mort = 1;
_root.mort = 0;
}
}
Instance of Symbol 285 MovieClip "balle" in Frame 10
onClipEvent (enterFrame) {
if (_currentframe <= 2) {
this._x = _root.player._x;
this._y = _root.player._y;
if ((Key.isDown(32) and (_currentframe == 1)) and (_root.pistolet == 1)) {
gotoAndStop (2);
}
}
}
Instance of Symbol 300 MovieClip "tube_1" in Frame 10
onClipEvent (enterFrame) {
_x = (_root.monde._x + 1100);
}
Instance of Symbol 423 MovieClip "monde_exterieur" in Frame 10
onClipEvent (enterFrame) {
this._x = _root.monde._x;
this._y = _root.monde._y;
}
Instance of Symbol 505 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.perdu == 1) {
_root.gotoAndStop(_root.perdu_img);
}
if (_root.initialisation == 1) {
gotoAndStop(_root.vies + 1);
level = "Niveau " + _root.level;
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
_root.tube_1.gotoAndStop(_root.level);
_root.tube_2.gotoAndStop(_root.level);
_root.initialisation = 0;
}
}
Instance of Symbol 551 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
if (Key.isDown(18)) {
if (Key.isDown(16)) {
if (Key.isDown(67)) {
gotoAndStop (2);
}
}
}
}
}
Frame 11
initialisation = 1;
Instance of Symbol 270 MovieClip "player" in Frame 11
onClipEvent (enterFrame) {
this._y = this._y + _root.g;
_root.g = _root.g + _root.valeur_pesanteur;
}
onClipEvent (enterFrame) {
if (_root.monde.murs.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - _root.vitesse);
}
if (_root.monde.murs.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + _root.vitesse);
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - _root.gravite);
_root.g = _root.gravite;
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + _root.vitesse);
_root.g = _root.gravite;
} else if ((Key.isDown(38) and (_root.g == _root.gravite)) and (_root.son_saut == 1)) {
_root.g = _root.g - _root.augmentation_saut;
choix_son = random(2);
if (choix_son == 1) {
_root.saut1.start();
} else {
_root.saut2.start();
}
}
}
onClipEvent (enterFrame) {
if (_root.pistolet == 1) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
if (Key.isDown(37) and (_root.mort == 0)) {
_x = (_x - _root.vitesse);
if (_root.pistolet == 1) {
gotoAndStop (6);
} else {
gotoAndStop (3);
}
}
if (Key.isDown(39) and (_root.mort == 0)) {
_x = (_x + _root.vitesse);
if (_root.pistolet == 1) {
gotoAndStop (5);
} else {
gotoAndStop (2);
}
}
}
Frame 12
Mouse.show();
Frame 13
initialisation = 1;
jetpack = 0;
Instance of Symbol 249 MovieClip in Frame 13
onClipEvent (load) {
gotoAndStop(_root.fond);
}
Instance of Symbol 253 MovieClip "tube_2" in Frame 13
onClipEvent (enterFrame) {
_x = (_root.monde._x + 1100);
_y = (_root.monde._y + 362.4);
}
Instance of Symbol 270 MovieClip "player" in Frame 13
onClipEvent (enterFrame) {
this._y = this._y + _root.g;
_root.g = _root.g + _root.valeur_pesanteur;
}
onClipEvent (enterFrame) {
if (_root.monde.murs.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - _root.vitesse);
}
if (_root.monde.murs.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + _root.vitesse);
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - _root.gravite);
_root.g = _root.gravite;
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + _root.vitesse);
_root.g = _root.gravite;
} else if (((Key.isDown(38) and (_root.g == _root.gravite)) and (_root.son_saut == 1)) and (_root.jetpack != 1)) {
_root.g = _root.g - _root.augmentation_saut;
choix_son = random(2);
if (choix_son == 1) {
_root.saut1.start();
} else {
_root.saut2.start();
}
}
}
onClipEvent (enterFrame) {
if (_root.jetpack == 1) {
flamme = 0;
if (Key.isDown(38)) {
flamme = 1;
_root.g = _root.g - (_root.vitesse / 3);
if (_root.g <= (-_root.vitesse)) {
_root.g = -_root.vitesse;
}
}
gotoAndStop (7);
_root.vitesse = 3;
} else {
_root.vitesse = 2;
gotoAndStop (1);
}
if (Key.isDown(37) and (_root.mort == 0)) {
if (_root.jetpack == 1) {
gotoAndStop (9);
} else {
gotoAndStop (3);
}
if (_x > 150) {
_x = (_x - _root.vitesse);
} else if (_root.monde._x < 0) {
_root.monde._x = _root.monde._x + _root.avancement_monde;
_x = (_x + _root.avancement_monde);
} else {
_x = (_x - _root.vitesse);
}
}
if (Key.isDown(39) and (_root.mort == 0)) {
if (_root.jetpack == 1) {
gotoAndStop (8);
} else {
gotoAndStop (2);
}
if (_x < 450) {
_x = (_x + _root.vitesse);
} else if (_root.monde._x > "-600") {
_root.monde._x = _root.monde._x - _root.avancement_monde;
_x = (_x - _root.avancement_monde);
} else {
_x = (_x + _root.vitesse);
}
}
}
Instance of Symbol 273 MovieClip in Frame 13
onClipEvent (load) {
clip_mort = 0;
}
onClipEvent (enterFrame) {
if ((_root.mort == 0) and (clip_mort == 0)) {
this._x = _root.player._x;
this._y = _root.player._y;
} else if ((_root.mort == 1) and (clip_mort == 0)) {
gotoAndPlay (2);
clip_mort = 1;
_root.mort = 0;
}
}
Instance of Symbol 564 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.jetpack_dispo == 1) {
if (Key.isDown(32)) {
if ((_currentframe == 1) and (_root.jetpack == 1)) {
_root.jetpack = 0;
gotoAndPlay (2);
}
if ((_currentframe == 1) and (_root.jetpack == 0)) {
_root.jetpack = 1;
gotoAndPlay (2);
}
}
}
}
Instance of Symbol 300 MovieClip "tube_1" in Frame 13
onClipEvent (enterFrame) {
_x = (_root.monde._x + 1100);
_y = (_root.monde._y + 362.4);
}
Instance of Symbol 423 MovieClip "monde_exterieur" in Frame 13
onClipEvent (enterFrame) {
this._x = _root.monde._x;
this._y = _root.monde._y;
}
Instance of Symbol 501 MovieClip "monde" in Frame 13
onClipEvent (enterFrame) {
if ((_root.player._y <= 30) and (_y < 100)) {
_root.player._y = _root.player._y + 200;
_y = (_y + 200);
_root.monde_exterieur._y = _root.monde_exterieur._y + 200;
}
if ((_root.player._y >= 340) and (_y > 100)) {
_root.player._y = _root.player._y - 200;
_y = (_y - 200);
_root.monde_exterieur._y = _root.monde_exterieur._y - 200;
}
}
Instance of Symbol 505 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.perdu == 1) {
_root.gotoAndStop(_root.perdu_img);
}
if (_root.initialisation == 1) {
gotoAndStop(_root.vies + 1);
level = "Niveau " + _root.level;
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
_root.tube_1.gotoAndStop(_root.level);
_root.tube_2.gotoAndStop(_root.level);
_root.initialisation = 0;
}
}
Instance of Symbol 551 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
if (Key.isDown(18)) {
if (Key.isDown(16)) {
if (Key.isDown(67)) {
gotoAndStop (2);
}
}
}
}
}
Frame 14
initialisation = 1;
jetpack = 0;
Instance of Symbol 270 MovieClip "player" in Frame 14
onClipEvent (enterFrame) {
this._y = this._y + _root.g;
_root.g = _root.g + _root.valeur_pesanteur;
}
onClipEvent (enterFrame) {
if (_root.monde.murs.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - _root.vitesse);
}
if (_root.monde.murs.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + _root.vitesse);
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - _root.gravite);
_root.g = _root.gravite;
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + _root.vitesse);
_root.g = _root.gravite;
} else if (((Key.isDown(38) and (_root.g == _root.gravite)) and (_root.son_saut == 1)) and (_root.jetpack != 1)) {
_root.g = _root.g - _root.augmentation_saut;
choix_son = random(2);
if (choix_son == 1) {
_root.saut1.start();
} else {
_root.saut2.start();
}
}
}
onClipEvent (enterFrame) {
if (_root.jetpack == 1) {
flamme = 0;
if (Key.isDown(38)) {
flamme = 1;
_root.g = _root.g - (_root.vitesse / 3);
if (_root.g <= (-_root.vitesse)) {
_root.g = -_root.vitesse;
}
}
gotoAndStop (7);
_root.vitesse = 3;
} else {
_root.vitesse = 2;
gotoAndStop (1);
}
if (Key.isDown(37) and (_root.mort == 0)) {
_x = (_x - _root.vitesse);
if (_root.jetpack == 1) {
gotoAndStop (9);
} else {
gotoAndStop (3);
}
}
if (Key.isDown(39) and (_root.mort == 0)) {
_x = (_x + _root.vitesse);
if (_root.jetpack == 1) {
gotoAndStop (8);
} else {
gotoAndStop (2);
}
}
}
Frame 15
Mouse.show();
Frame 16
stop();
Mouse.hide();
gravite = 2;
g = gravite;
augmentation_saut = 7;
valeur_pesanteur = 0.1;
avancement_monde = 200;
saut1 = new Sound();
saut1.attachSound("saut1");
saut2 = new Sound();
saut2.attachSound("saut2");
son_saut = 1;
initialisation = 1;
mort = 0;
augmentation_saut = 7;
Instance of Symbol 249 MovieClip in Frame 16
onClipEvent (load) {
gotoAndStop(_root.fond);
}
Instance of Symbol 270 MovieClip "player" in Frame 16
onClipEvent (enterFrame) {
this._y = this._y + _root.g;
_root.g = _root.g + _root.valeur_pesanteur;
}
onClipEvent (enterFrame) {
if (_root.monde.murs.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - _root.vitesse);
}
if (_root.monde.murs.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + _root.vitesse);
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - _root.gravite);
_root.g = _root.gravite;
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + _root.vitesse);
_root.g = _root.gravite;
} else if ((Key.isDown(38) and (_root.g == _root.gravite)) and (_root.son_saut == 1)) {
_root.g = _root.g - _root.augmentation_saut;
choix_son = random(2);
if (choix_son == 1) {
_root.saut1.start();
} else {
_root.saut2.start();
}
}
}
onClipEvent (enterFrame) {
gotoAndStop (1);
if (_y >= 500) {
_root.gotoAndStop(17);
}
if (Key.isDown(37) and (_root.mort == 0)) {
_x = (_x - _root.vitesse);
gotoAndStop (3);
}
if (Key.isDown(39) and (_root.mort == 0)) {
_x = (_x + _root.vitesse);
gotoAndStop (2);
}
}
Instance of Symbol 273 MovieClip in Frame 16
onClipEvent (load) {
clip_mort = 0;
}
onClipEvent (enterFrame) {
if ((_root.mort == 0) and (clip_mort == 0)) {
this._x = _root.player._x;
this._y = _root.player._y;
} else if ((_root.mort == 1) and (clip_mort == 0)) {
gotoAndPlay (2);
clip_mort = 1;
_root.mort = 0;
}
}
Instance of Symbol 423 MovieClip "monde_exterieur" in Frame 16
onClipEvent (enterFrame) {
this._x = _root.monde._x;
this._y = _root.monde._y;
}
Instance of Symbol 505 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (_root.perdu == 1) {
_root.gotoAndStop(_root.perdu_img);
}
if (_root.initialisation == 1) {
gotoAndStop(_root.vies + 1);
level = "Niveau " + _root.level;
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
_root.tube_1.gotoAndStop(_root.level);
_root.tube_2.gotoAndStop(_root.level);
_root.initialisation = 0;
}
}
Instance of Symbol 551 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
if (Key.isDown(18)) {
if (Key.isDown(16)) {
if (Key.isDown(67)) {
gotoAndStop (2);
}
}
}
}
}
Frame 18
initialisation = 1;
porte = 0;
g = gravite;
g2 = gravite;
Instance of Symbol 270 MovieClip "player" in Frame 18
onClipEvent (enterFrame) {
this._y = this._y + _root.g;
_root.g = _root.g + _root.valeur_pesanteur;
}
onClipEvent (enterFrame) {
if (_root.monde.murs.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - _root.vitesse);
}
if (_root.monde.murs.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + _root.vitesse);
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - _root.gravite);
_root.g = _root.gravite;
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + _root.vitesse);
_root.g = _root.gravite;
} else if ((Key.isDown(38) and (_root.g == _root.gravite)) and (_root.son_saut == 1)) {
_root.g = _root.g - _root.augmentation_saut;
choix_son = random(2);
if (choix_son == 1) {
_root.saut1.start();
} else {
_root.saut2.start();
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and (_root.mort == 0)) {
_x = (_x - _root.vitesse);
gotoAndStop (3);
}
if (Key.isDown(39) and (_root.mort == 0)) {
_x = (_x + _root.vitesse);
gotoAndStop (2);
}
}
Instance of Symbol 273 MovieClip in Frame 18
onClipEvent (load) {
clip_mort = 0;
}
onClipEvent (enterFrame) {
if ((_root.mort == 0) and (clip_mort == 0)) {
this._x = _root.player._x;
this._y = _root.player._y;
} else if ((_root.mort == 1) and (clip_mort == 0)) {
gotoAndPlay (2);
clip_mort = 1;
_root.mort = 0;
}
}
Instance of Symbol 423 MovieClip "monde_exterieur" in Frame 18
onClipEvent (enterFrame) {
this._x = _root.monde._x;
this._y = _root.monde._y;
}
Instance of Symbol 505 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.perdu == 1) {
_root.gotoAndStop(_root.perdu_img);
}
if (_root.initialisation == 1) {
gotoAndStop(_root.vies + 1);
level = "Niveau 13";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
_root.tube_1.gotoAndStop(_root.level);
_root.tube_2.gotoAndStop(_root.level);
_root.initialisation = 0;
}
}
Instance of Symbol 551 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
if (Key.isDown(18)) {
if (Key.isDown(16)) {
if (Key.isDown(67)) {
gotoAndStop (2);
}
}
}
}
}
Frame 19
Mouse.show();
Instance of Symbol 406 MovieClip in Frame 19
onClipEvent (load) {
gotoAndStop (5);
}
Frame 20
gravite = 2;
g = gravite;
augmentation_saut = 7;
valeur_pesanteur = 0.1;
avancement_monde = 200;
Frame 21
Mouse.show();
Instance of Symbol 406 MovieClip in Frame 21
onClipEvent (load) {
gotoAndStop (5);
}
Symbol 13 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 16 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 19 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 21 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 24 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "foregroundDisabled");
Symbol 27 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "check");
Symbol 28 MovieClip [fcb_states] Frame 1
stop();
Symbol 28 MovieClip [fcb_states] Frame 2
stop();
Symbol 28 MovieClip [fcb_states] Frame 3
stop();
Symbol 28 MovieClip [fcb_states] Frame 4
stop();
Symbol 28 MovieClip [fcb_states] Frame 5
stop();
Symbol 28 MovieClip [fcb_states] Frame 6
stop();
Symbol 31 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 31 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 34 MovieClip [FCheckBoxSymbol] Frame 1
#initclip 6
function FCheckBoxClass() {
this.init();
}
FCheckBoxClass.prototype = new FUIComponentClass();
Object.registerClass("FCheckBoxSymbol", FCheckBoxClass);
FCheckBoxClass.prototype.init = function () {
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.attachMovie("fcb_hitArea", "fcb_hitArea_mc", 1);
this.attachMovie("fcb_states", "fcb_states_mc", 2);
this.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
this.setChangeHandler(this.changeHandler);
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
if (this.initialValue == undefined) {
this.setCheckState(false);
} else {
this.setCheckState(this.initialValue);
}
if (this.label != undefined) {
this.setLabel(this.label);
}
this.ROLE_SYSTEM_CHECKBUTTON = 44;
this.STATE_SYSTEM_CHECKED = 16;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FCheckBoxClass.prototype.setLabelPlacement = function (pos) {
this.setLabel(this.getLabel());
this.txtFormat(pos);
var halfLabelH = (this.fLabel_mc._height / 2);
var halfFrameH = (this.fcb_states_mc._height / 2);
var vertCenter = (halfFrameH - halfLabelH);
var checkWidth = this.fcb_states_mc._width;
var frame = this.fcb_states_mc;
var label = this.fLabel_mc;
var w = 0;
if (frame._width > this.width) {
w = 0;
} else {
w = this.width - frame._width;
}
this.fLabel_mc.setSize(w);
if ((pos == "right") || (pos == undefined)) {
this.labelPlacement = "right";
this.fcb_states_mc._x = 0;
this.fLabel_mc._x = checkWidth;
this.txtFormat("left");
} else if (pos == "left") {
this.labelPlacement = "left";
this.fLabel_mc._x = 0;
this.fcb_states_mc._x = this.width - checkWidth;
this.txtFormat("right");
}
this.fLabel_mc._y = vertCenter;
this.fcb_hitArea_mc._y = vertCenter;
};
FCheckBoxClass.prototype.txtFormat = function (pos) {
var txtS = this.textStyle;
var sTbl = this.styleTable;
txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = pos)) : undefined);
txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 0)) : undefined);
txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 0)) : undefined);
if (this.flabel_mc._height > this.height) {
super.setSize(this.width, this.flabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.fLabel_mc.labelField.setTextFormat(this.textStyle);
this.setEnabled(this.enable);
};
FCheckBoxClass.prototype.setHitArea = function (w, h) {
var hit = this.fcb_hitArea_mc;
this.hitArea = hit;
if (this.fcb_states_mc._width > w) {
hit._width = this.fcb_states_mc._width;
} else {
hit._width = w;
}
hit._visible = false;
if (arguments.length > 1) {
hit._height = h;
}
};
FCheckBoxClass.prototype.setSize = function (w) {
this.setLabel(this.getLabel());
this.setLabelPlacement(this.labelPlacement);
if (this.fcb_states_mc._height < this.flabel_mc.labelField._height) {
super.setSize(w, this.flabel_mc.labelField._height);
}
this.setHitArea(this.width, this.height);
this.setLabelPlacement(this.labelPlacement);
};
FCheckBoxClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this._width + 6, this._height - 1);
};
FCheckBoxClass.prototype.onPress = function () {
this.pressFocus();
_root.focusRect.removeMovieClip();
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedPress");
} else {
states.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.onRelease = function () {
this.fcb_states_mc.gotoAndStop("up");
this.setValue(!this.checked);
};
FCheckBoxClass.prototype.onReleaseOutside = function () {
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedEnabled");
} else {
states.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOut = function () {
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedEnabled");
} else {
states.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOver = function () {
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedPress");
} else {
states.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.setValue = function (checkedValue) {
if (checkedValue || (checkedValue == undefined)) {
this.setCheckState(checkedValue);
} else if (checkedValue == false) {
this.setCheckState(checkedValue);
}
this.executeCallBack();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FCheckBoxClass.prototype.setCheckState = function (checkedValue) {
var states = this.fcb_states_mc;
if (this.enable) {
this.flabel_mc.setEnabled(true);
if (checkedValue || (checkedValue == undefined)) {
states.gotoAndStop("checkedEnabled");
this.enabled = true;
this.checked = true;
} else {
states.gotoAndStop("up");
this.enabled = true;
this.checked = false;
}
} else {
this.flabel_mc.setEnabled(false);
if (checkedValue || (checkedValue == undefined)) {
states.gotoAndStop("checkedDisabled");
this.enabled = false;
this.checked = true;
} else {
states.gotoAndStop("uncheckedDisabled");
this.enabled = false;
this.checked = false;
this.focusRect.removeMovieClip();
}
}
};
FCheckBoxClass.prototype.getValue = function () {
return(this.checked);
};
FCheckBoxClass.prototype.setEnabled = function (enable) {
if ((enable == true) || (enable == undefined)) {
this.enable = true;
Super.setEnabled(true);
} else {
this.enable = false;
Super.setEnabled(false);
}
this.setCheckState(this.checked);
};
FCheckBoxClass.prototype.getEnabled = function () {
return(this.enable);
};
FCheckBoxClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FCheckBoxClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FCheckBoxClass.prototype.setTextColor = function (color) {
this.fLabel_mc.labelField.textColor = color;
};
FCheckBoxClass.prototype.myOnKeyDown = function () {
if (((Key.getCode() == 32) && (this.pressOnce == undefined)) && (this.enabled == true)) {
this.setValue(!this.getValue());
this.pressOnce = true;
}
};
FCheckBoxClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.pressOnce = undefined;
}
};
FCheckBoxClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_CHECKBUTTON);
};
FCheckBoxClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FCheckBoxClass.prototype.get_accState = function (childId) {
if (this.master.getValue()) {
return(this.master.STATE_SYSTEM_CHECKED);
}
return(0);
};
FCheckBoxClass.prototype.get_accDefaultAction = function (childId) {
if (this.master.getValue()) {
return("UnCheck");
}
return("Check");
};
FCheckBoxClass.prototype.accDoDefaultAction = function (childId) {
this.master.setValue(!this.master.getValue());
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 37 MovieClip [FLabelSymbol] Frame 1
#initclip 1
_global.FLabelClass = function () {
if (this.hostComponent == undefined) {
this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller));
}
if (this.customTextStyle == undefined) {
if (this.hostComponent.textStyle == undefined) {
this.hostComponent.textStyle = new TextFormat();
}
this.textStyle = this.hostComponent.textStyle;
this.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var val = this.hostComponent.styleTable.embedFonts.value;
if (val != undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
this.enable = enable;
var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (tmpColor == undefined) {
tmpColor = (enable ? 0 : 8947848);
}
this.setColor(tmpColor);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 40 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 40 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 40 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 41 MovieClip [FUIComponentSymbol] Frame 1
#initclip 2
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 52 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 62 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 71 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 72 MovieClip [UpArrow] Frame 1
stop();
Symbol 72 MovieClip [UpArrow] Frame 2
stop();
Symbol 72 MovieClip [UpArrow] Frame 3
stop();
Symbol 78 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 85 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 90 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 91 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 99 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 107 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 115 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 116 MovieClip [DownArrow] Frame 1
stop();
Symbol 116 MovieClip [DownArrow] Frame 2
stop();
Symbol 116 MovieClip [DownArrow] Frame 3
stop();
Symbol 118 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 119 MovieClip [FScrollBarSymbol] Frame 1
#initclip 4
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var tmp = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
tmp = Math.min(tmp, this.maxPos);
this.setScrollPosition(Math.max(tmp, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var wasEnabled = this.enable;
if (enabledFlag && (!wasEnabled)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (wasEnabled)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var delt = this.smallScroll;
if (inc != "one") {
delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var newPos = (this.getScrollPosition() + (mode * delt));
if (newPos > this.maxPos) {
newPos = this.maxPos;
} else if (newPos < this.minPos) {
newPos = this.minPos;
}
this.setScrollPosition(newPos);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var c = this.controller;
c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var pos = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxhscroll));
} else {
var pos = this.textField.scroll;
var pageSize = (this.textField.bottomScroll - this.textField.scroll);
this.setScrollProperties(pageSize, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 120 MovieClip [DataProviderSymbol] Frame 1
#initclip 3
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
this.items = new Array();
this.uniqueID = 0;
this.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var eventObj = {event:"updateAll"};
viewRef.modelChanged(eventObj);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
if (index < this.getLength()) {
this.items.splice(index, 0, "tmp");
}
this.items[index] = new Object();
if (typeof(value) == "object") {
this.items[index] = value;
} else {
this.items[index].label = value;
}
this.items[index].__ID__ = this.uniqueID++;
var eventObj = {event:"addRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var tmpItm = this.items[index];
this.items.splice(index, 1);
var eventObj = {event:"deleteRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
this.items = new Array();
this.updateViews({event:"deleteRows", firstRow:0, lastRow:this.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
if ((index < 0) || (index >= this.getLength())) {
return(undefined);
}
var tmpID = this.getItemID(index);
if (typeof(itemObj) == "object") {
this.items[index] = itemObj;
} else {
this.items[index].label = itemObj;
}
this.items[index].__ID__ = tmpID;
this.updateViews({event:"updateRows", firstRow:index, lastRow:index});
};
DataProviderClass.prototype.getLength = function () {
return(this.items.length);
};
DataProviderClass.prototype.getItemAt = function (index) {
return(this.items[index]);
};
DataProviderClass.prototype.getItemID = function (index) {
return(this.items[index].__ID__);
};
DataProviderClass.prototype.sortItemsBy = function (fieldName, order) {
this.items.sortOn(fieldName);
if (order == "DESC") {
this.items.reverse();
}
this.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var i = 0;
while (i < this.views.length) {
this.views[i].modelChanged(eventObj);
i++;
}
};
#endinitclip
Symbol 121 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 8
function FSelectableItemClass() {
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.init = function () {
if (this._name != "itemAsset") {
this.highlighted = false;
this.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
this.displayContent(itmObj, selected);
if ((this.highlighted != selected) || ((this.controller.focused != this.oldFocus) && (selected))) {
this.setHighlighted(selected);
}
this.oldFocus = this.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var LOWEST_DEPTH = -16384;
this.width = width;
this.layoutContent(width);
this.attachMovie("FHighlightSymbol", "highlight_mc", LOWEST_DEPTH);
this.highlight_mc._x = 0.5;
this.highlight_mc._width = width - 0.5;
this.highlight_mc._height = height;
this.highlight_mc.controller = this;
this.highlight_mc._alpha = 0;
this.highlight_mc.trackAsMenu = true;
this.highlight_mc.onPress = function () {
if (this.controller.enable) {
this.controller.controller.clickHandler(this.controller.itemNum);
}
};
this.highlight_mc.onDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
this.highlight_mc.useHandCursor = false;
this.highlight_mc.trackAsMenu = true;
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
this.enable = enabledFlag;
this.fLabel_mc.setEnabled(enabledFlag);
this.highlight_mc.gotoAndStop((enabledFlag ? "unfocused" : "disabled"));
};
FSelectableItemClass.prototype.layoutContent = function (width) {
this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller});
this.fLabel_mc._x = 2;
this.fLabel_mc._y = 0;
this.fLabel_mc.setSize(width - 2);
this.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var tmpLabel = "";
if (itmObj.label != undefined) {
tmpLabel = itmObj.label;
} else if (typeof(itmObj) == "object") {
for (var i in itmObj) {
if (i != "__ID__") {
tmpLabel = (itmObj[i] + ", ") + tmpLabel;
}
}
tmpLabel = tmpLabel.substring(0, tmpLabel.length - 2);
} else {
tmpLabel = itmObj;
}
if (this.fLabel_mc.labelField.text != tmpLabel) {
this.fLabel_mc.setLabel(tmpLabel);
}
var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value));
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
}
this.fLabel_mc.setColor(clr);
};
FSelectableItemClass.prototype.getItemIndex = function () {
return(this.controller.getScrollPosition() + this.itemNum);
};
FSelectableItemClass.prototype.getItemModel = function () {
return(this.controller.getItemAt(this.getItemIndex()));
};
FSelectableItemClass.prototype.getHostDataProvider = function () {
return(this.controller.dataProvider);
};
FSelectableItemClass.prototype.setHighlighted = function (flag) {
fade = this.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!flag)) {
this.highlight_mc._alpha = (flag ? 100 : 0);
delete this.onEnterFrame;
} else {
this.fadeN = fade;
this.fadeX = 1;
this.highLight_mc._alpha = 20;
this.onEnterFrame = function () {
this.highLight_mc._alpha = (60 * Math.sqrt((this.fadeX++) / this.fadeN)) + 40;
if (this.fadeX > this.fadeN) {
delete this.onEnterFrame;
}
};
}
this.highlighted = flag;
};
#endinitclip
Symbol 122 MovieClip [FSelectableListSymbol] Frame 1
#initclip 5
function FSelectableListClass() {
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.init = function () {
super.init();
this.enable = true;
this.selected = new Array();
this.topDisplayed = (this.numDisplayed = 0);
this.lastSelected = 0;
this.tabChildren = false;
if (this._name != undefined) {
this.dataProvider = new DataProviderClass();
this.dataProvider.addView(this);
}
};
FSelectableListClass.prototype.addItemAt = function (index, label, data) {
if ((index < 0) || (!this.enable)) {
return(undefined);
}
this.dataProvider.addItemAt(index, {label:label, data:data});
};
FSelectableListClass.prototype.addItem = function (label, data) {
if (!this.enable) {
return(undefined);
}
this.dataProvider.addItem({label:label, data:data});
};
FSelectableListClass.prototype.removeItemAt = function (index) {
this.selectHolder = this.getSelectedIndex();
var item = this.getItemAt(index);
this.dataProvider.removeItemAt(index);
return(item);
};
FSelectableListClass.prototype.removeAll = function () {
this.dataProvider.removeAll();
};
FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) {
this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
};
FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) {
this.lastSelID = this.dataProvider.getItemID(this.lastSelected);
this.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
for (var uniqueID in this.selected) {
var tmpInd = this.selected[uniqueID].sIndex;
if (tmpInd != undefined) {
return(tmpInd);
}
}
};
FSelectableListClass.prototype.getSelectedItem = function () {
return(this.getItemAt(this.getSelectedIndex()));
};
FSelectableListClass.prototype.getItemAt = function (index) {
return(this.dataProvider.getItemAt(index));
};
FSelectableListClass.prototype.getEnabled = function () {
return(this.enable);
};
FSelectableListClass.prototype.getValue = function () {
var item = this.getSelectedItem();
return(((item.data == undefined) ? (item.label) : (item.data)));
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
if (((index >= 0) && (index < this.getLength())) && (this.enable)) {
this.clearSelected();
this.selectItem(index, true);
this.lastSelected = index;
this.invalidate("updateControl");
if (flag != false) {
this.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
this.setScrollPosition(0);
this.clearSelected();
if (obj instanceof Array) {
this.dataProvider = new DataProviderClass();
var i = 0;
while (i < obj.length) {
var value = ((typeof(obj[i]) == "string") ? ({label:obj[i]}) : (obj[i]));
this.dataProvider.addItem(value);
i++;
}
} else {
this.dataProvider = obj;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
this.tmpPos = this.getScrollPosition();
this.itemSymbol = linkID;
this.invalidate("setSize");
this.setScrollPosition(this.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
this.cleanUI();
super.setEnabled(enabledFlag);
this.enable = enabledFlag;
this.boundingBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled"));
var limit = Math.min(this.numDisplayed, this.getLength());
var i = 0;
while (i < limit) {
this.container_mc[("fListItem" + i) + "_mc"].setEnabled(this.enable);
i++;
}
if (this.enable) {
this.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + i), this.isSelected(this.topDisplayed + i));
i++;
}
};
FSelectableListClass.prototype.setSize = function (w, h) {
super.setSize(w, h);
this.boundingBox_mc._xscale = (this.boundingBox_mc._yscale = 100);
this.boundingBox_mc._xscale = (this.width * 100) / this.boundingBox_mc._width;
this.boundingBox_mc._yscale = (this.height * 100) / this.boundingBox_mc._height;
var i = 0;
while (i < this.numDisplayed) {
this.container_mc.attachMovie(this.itemSymbol, ("fListItem" + i) + "_mc", 10 + i, {controller:this, itemNum:i});
var item_mc = this.container_mc[("fListItem" + i) + "_mc"];
var offset = ((this.scrollOffset == undefined) ? 0 : (this.scrollOffset));
item_mc.setSize(this.width - offset, this.itmHgt);
item_mc._y = (this.itmHgt - 2) * i;
i++;
}
this.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var i in this.selected) {
if ((this.selected[i].sIndex != undefined) && (this.selected[i].sIndex >= firstRow)) {
this.selected[i].sIndex = this.selected[i].sIndex + ((lastRow - firstRow) + 1);
this.setSelectedIndex(this.selected[i].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (this.selectHolder == index) {
this.selectionDeleted = true;
}
if (((this.topDisplayed + this.numDisplayed) >= this.getLength()) && (this.topDisplayed > 0)) {
this.topDisplayed--;
if (this.selectionDeleted && ((index - 1) >= 0)) {
this.setSelectedIndex(index - 1, false);
}
} else if (this.selectionDeleted) {
var len = this.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
this.setSelectedIndex(index - 1, false);
} else {
this.setSelectedIndex(index, false);
}
}
for (var i in this.selected) {
if (this.selected[i].sIndex > firstRow) {
this.selected[i].sIndex--;
}
}
} else {
this.clearSelected();
this.topDisplayed = 0;
}
} else if (event == "sort") {
var len = this.getLength();
var i = 0;
while (i < len) {
if (this.isSelected(i)) {
var id = this.dataProvider.getItemID(i);
if (id == this.lastSelID) {
this.lastSelected = i;
}
this.selected[String(id)].sIndex = i;
}
i++;
}
}
this.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
this.attachMovie(this.itemSymbol, "tmpItem_mc", 0, {controller:this});
this.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false);
this.itmHgt = this.tmpItem_mc._height;
this.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
if (selectedFlag && (!this.isSelected(index))) {
this.selected[String(this.dataProvider.getItemID(index))] = {sIndex:index};
} else if (!selectedFlag) {
delete this.selected[String(this.dataProvider.getItemID(index))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
for (var uniqueID in this.selected) {
var index = this.selected[uniqueID].sIndex;
if (((index != undefined) && (this.topDisplayed <= index)) && (index < (this.topDisplayed + this.numDisplayed))) {
this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), false);
}
}
delete this.selected;
this.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var tmpInd = (this.topDisplayed + itemNum);
if (this.getItemAt(tmpInd == undefined)) {
this.changeFlag = false;
return(undefined);
}
this.changeFlag = true;
this.clearSelected();
this.selectItem(tmpInd, true);
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(tmpInd), this.isSelected(tmpInd));
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var itmNum = this.getSelectedIndex();
var newItm = (itmNum + incr);
newItm = Math.max(0, newItm);
newItm = Math.min(this.getLength() - 1, newItm);
if (newItm == itmNum) {
return(undefined);
}
if ((itmNum < this.topDisplayed) || (itmNum >= (this.topDisplayed + this.numDisplayed))) {
this.setScrollPosition(itmNum);
}
if ((newItm >= (this.topDisplayed + this.numDisplayed)) || (newItm < this.topDisplayed)) {
this.setScrollPosition(this.topDisplayed + incr);
}
this.selectionHandler(newItm - this.topDisplayed);
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
this.focusRect.removeMovieClip();
if (!this.focused) {
this.pressFocus();
}
this.selectionHandler(itmNum);
this.onMouseUp = this.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
if (this.changeFlag) {
this.executeCallBack();
}
this.changeFlag = false;
this.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("enabled");
i++;
}
};
FSelectableListClass.prototype.myOnKillFocus = function () {
super.myOnKillFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("unfocused");
i++;
}
};
#endinitclip
Instance of Symbol 120 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 122 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 121 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 122 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 123 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 7
function FScrollSelectListClass() {
this.init();
}
FScrollSelectListClass.prototype = new FSelectableListClass();
FScrollSelectListClass.prototype.getScrollPosition = function () {
return(this.topDisplayed);
};
FScrollSelectListClass.prototype.setScrollPosition = function (pos) {
if (this.enable) {
pos = Math.min(pos, this.getLength() - this.numDisplayed);
pos = Math.max(pos, 0);
this.scrollBar_mc.setScrollPosition(pos);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
this.permaScrollBar = !flag;
this.setSize(this.width, this.height);
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var pos = this.getScrollPosition();
super.setSize(w, h);
if (this.scrollBar_mc != undefined) {
this.removed = true;
}
this.scrollBar_mc = undefined;
this.initScrollBar();
this.setScrollPosition(pos);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.initScrollBar = function () {
if ((!this.permaScrollBar) && (this.getLength() <= this.numDisplayed)) {
if (this.removed) {
this.scrollBar_mc.removeMovieClip();
this.scrollBar_mc = undefined;
this.scrollOffset = undefined;
this.invalidate("setSize");
}
} else {
if (this.scrollBar_mc == undefined) {
this.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:this.styleTable});
this.scrollBar_mc = this.container_mc.scrollBar_mc;
this.scrollBar_mc.setChangeHandler("scrollHandler", this);
this.scrollBar_mc.setSize(this.height);
this.scrollBar_mc._x = this.width - this.scrollBar_mc._width;
this.scrollBar_mc._y = 0;
this.scrollBar_mc.setLargeScroll(this.numDisplayed - 1);
this.scrollOffset = this.scrollBar_mc._width;
this.invalidate("setSize");
}
this.scrollBar_mc.setScrollProperties(this.numDisplayed, 0, this.getLength() - this.numDisplayed);
}
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var pos = scrollBar.getScrollPosition();
this.topDisplayed = pos;
if (this.lastPosition != pos) {
this.updateControl();
}
this.lastPosition = pos;
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
super.clickHandler(itmNum);
if ((this.dragScrolling == undefined) && (this.scrollBar_mc != undefined)) {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
clearInterval(this.dragScrolling);
if (this.container_mc._ymouse < 0) {
this.setScrollPosition(this.getScrollPosition() - 1);
this.selectionHandler(0);
this.scrollInterval = Math.max(25, (-23.8 * (-this.container_mc._ymouse)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else if (this.container_mc._ymouse > ((this.itmHgt - 2) * this.numDisplayed)) {
this.setScrollPosition(this.getScrollPosition() + 1);
this.selectionHandler(this.numDisplayed - 1);
this.scrollInterval = Math.max(25, (-23.8 * Math.abs((this.container_mc._ymouse - ((this.itmHgt - 2) * this.numDisplayed)) - 2)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
if (this.focused) {
this.keyCodes = new Array(40, 38, 34, 33, 36, 35);
this.keyIncrs = new Array(1, -1, this.numDisplayed - 1, -(this.numDisplayed - 1), -this.getLength(), this.getLength());
var i = 0;
while (i < this.keyCodes.length) {
if (Key.isDown(this.keyCodes[i])) {
this.moveSelBy(this.keyIncrs[i]);
return(undefined);
}
i++;
}
this.findInputText();
}
};
FScrollSelectListClass.prototype.findInputText = function () {
var tmpCode = Key.getAscii();
if ((tmpCode >= 33) && (tmpCode <= 126)) {
this.findString(String.fromCharCode(tmpCode));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
if (this.getLength() == 0) {
return(undefined);
}
var itemNum = this.getSelectedIndex();
var jump = 0;
var i = (itemNum + 1);
while (i != itemNum) {
var itmStr = this.getItemAt(i).label.substring(0, str.length);
if ((str == itmStr) || (str.toUpperCase() == itmStr.toUpperCase())) {
var jump = (i - itemNum);
break;
}
if (i >= (this.getLength() - 1)) {
i = -1;
}
i++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
};
#endinitclip
Instance of Symbol 119 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 123 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
onClipEvent (load) {
this._width = (this._height = 1);
}
Instance of Symbol 122 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 123 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 124 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 10
function FComboBoxItemClass() {
this.init();
}
FComboBoxItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass);
FComboBoxItemClass.prototype.setSize = function (w, h) {
super.setSize(w, h);
this.highlight_mc.onRollOver = function () {
this.controller.controller.selectionHandler(this.controller.itemNum);
};
};
#endinitclip
Symbol 127 MovieClip [FComboBoxSymbol] Frame 1
#initclip 9
function FComboBoxClass() {
_global._popUpLevel = ((_global._popUpLevel == undefined) ? 20000 : (_global._popUpLevel + 1));
this.superHolder = _root.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
var testContainer = this.superHolder.createEmptyMovieClip("testCont", 20000);
var testBox = testContainer.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
if (testBox._name == undefined) {
this.superHolder.removeMovieClip();
this.superHolder = this._parent.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
} else {
testContainer.removeMovieClip();
}
if (this.rowCount == undefined) {
this.rowCount = 8;
this.editable = false;
}
this.itemSymbol = "FComboBoxItemSymbol";
this.init();
this.permaScrollBar = false;
this.proxyBox_mc.gotoAndStop(1);
this.width = this._width;
this.height = (this.proxyBox_mc._height * this._yscale) / 100;
var i = 0;
while (i < this.labels.length) {
this.addItem(this.labels[i], this.data[i]);
i++;
}
this.lastSelected = 0;
this.selectItem(0);
this._xscale = (this._yscale = 100);
this.opened = false;
this.setSize(this.width);
this.highlightTop(false);
if (this.changeHandler.length > 0) {
this.setChangeHandler(this.changeHandler);
}
this.onUnload = function () {
this.superHolder.removeMovieClip();
};
this.setSelectedIndex(0, false);
this.value = "";
this.focusEnabled = true;
this.changeFlag = false;
}
FComboBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FComboBoxSymbol", FComboBoxClass);
FComboBoxClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
var event = eventObj.event;
if ((event == "addRows") || (event == "deleteRows")) {
var diff = ((eventObj.lastRow - eventObj.firstRow) + 1);
var mode = ((event == "addRows") ? 1 : -1);
var len = this.getLength();
var lenBefore = (len - (mode * diff));
if ((this.rowCount > lenBefore) || (this.rowCount > len)) {
this.invalidate("setSize");
}
if (this.getSelectedIndex() == undefined) {
this.setSelectedIndex(0, false);
}
} else if (event == "updateAll") {
this.invalidate("setSize");
}
};
FComboBoxClass.prototype.removeAll = function () {
if (!this.enable) {
return(undefined);
}
super.removeAll();
if (this.editable) {
this.value = "";
}
this.invalidate("setSize");
};
FComboBoxClass.prototype.setSize = function (w) {
if ((((w == undefined) || (typeof(w) != "number")) || (w <= 0)) || (!this.enable)) {
return(undefined);
}
this.proxyBox_mc._width = w;
this.container_mc.removeMovieClip();
this.measureItmHgt();
this.container_mc = this.superHolder.createEmptyMovieClip("container", 3);
this.container_mc.tabChildren = false;
this.setPopUpLocation(this.container_mc);
this.container_mc.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
this.boundingBox_mc = this.container_mc.boundingBox_mc;
this.boundingBox_mc.component = this;
this.registerSkinElement(this.boundingBox_mc.boundingBox, "background");
this.proxyBox_mc._height = this.itmHgt;
this.numDisplayed = Math.min(this.rowCount, this.getLength());
if (this.numDisplayed < 3) {
this.numDisplayed = Math.min(3, this.getLength());
}
this.height = (this.numDisplayed * (this.itmHgt - 2)) + 2;
super.setSize(w, this.height);
this.attachMovie("DownArrow", "downArrow", 10);
this.downArrow._y = 0;
this.downArrow._width = this.itmHgt;
this.downArrow._height = this.itmHgt;
this.downArrow._x = this.proxyBox_mc._width - this.downArrow._width;
this.setEditable(this.editable);
this.container_mc._visible = this.opened;
this.highlightTop(false);
this.fader = this.superHolder.attachMovie("FBoundingBoxSymbol", "faderX", 4);
this.registerSkinElement(this.fader.boundingBox, "background");
this.fader._width = this.width;
this.fader._height = this.height;
this.fader._visible = false;
};
FComboBoxClass.prototype.setDataProvider = function (dp) {
super.setDataProvider(dp);
this.invalidate("setSize");
this.setSelectedIndex(0);
};
FComboBoxClass.prototype.getValue = function () {
if (this.editable) {
return(this.fLabel_mc.getLabel());
}
return(super.getValue());
};
FComboBoxClass.prototype.getRowCount = function () {
return(this.rowCount);
};
FComboBoxClass.prototype.setRowCount = function (count) {
this.rowCount = ((this.getLength() > count) ? (Math.max(count, 3)) : (count));
this.setSize(this.width);
var len = this.getLength();
if ((len - this.getScrollPosition()) < this.rowCount) {
this.setScrollPosition(len - Math.min(this.rowCount, len));
this.invalidate("updateControl");
}
};
FComboBoxClass.prototype.setEditable = function (editableFlag) {
if (!this.enable) {
return(undefined);
}
this.editable = editableFlag;
if (!this.editable) {
this.onPress = this.pressHandler;
this.useHandCursor = false;
this.trackAsMenu = true;
this.attachMovie("FComboBoxItemSymbol", "fLabel_mc", 5, {controller:this, itemNum:-1});
this.fLabel_mc.onRollOver = undefined;
this.fLabel_mc.setSize((this.width - this.itmHgt) + 1, this.itmHgt);
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, false);
this.highlightTop(false);
} else {
this.attachMovie("FLabelSymbol", "fLabel_mc", 5);
this.fLabel_txt = this.fLabel_mc.labelField;
this.fLabel_txt.type = "input";
this.fLabel_txt._x = 4;
this.fLabel_txt.onSetFocus = this.onLabelFocus;
this.fLabel_mc.setSize((this.width - this.itmHgt) - 3);
delete this.onPress;
this.fLabel_txt.onKillFocus = function () {
this._parent._parent.myOnKillFocus();
};
this.fLabel_mc.setLabel(this.value);
this.fLabel_txt.onChanged = function () {
this._parent._parent.findInputText();
};
this.downArrow.onPress = this.buttonPressHandler;
this.downArrow.useHandCursor = false;
this.downArrow.trackAsMenu = true;
}
};
FComboBoxClass.prototype.setEnabled = function (enabledFlag) {
enabledFlag = (((enabledFlag == undefined) || (typeof(enabledFlag) != "boolean")) ? true : (enabledFlag));
super.setEnabled(enabledFlag);
this.registerSkinElement(this.boundingBox_mc.boundingBox, "background");
this.proxyBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled"));
this.downArrow.gotoAndStop((this.enable ? 1 : 3));
if (this.editable) {
this.fLabel_txt.type = (enabledFlag ? "input" : "dynamic");
this.fLabel_txt.selectable = enabledFlag;
} else if (enabledFlag) {
this.fLabel_mc.drawItem(this.topLabel, false);
this.setSelectedIndex(this.getSelectedIndex(), false);
}
this.fLabel_mc.setEnabled(this.enable);
this.fLabel_txt.onSetFocus = (enabledFlag ? (this.onLabelFocus) : undefined);
};
FComboBoxClass.prototype.setSelectedIndex = function (index, flag) {
super.setSelectedIndex(index, flag);
if (!this.editable) {
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, false);
} else {
this.value = ((flag != undefined) ? "" : (this.getSelectedItem().label));
this.fLabel_mc.setLabel(this.value);
}
this.invalidate("updateControl");
};
FComboBoxClass.prototype.setValue = function (value) {
if (this.editable) {
this.fLabel_mc.setLabel(value);
this.value = value;
}
};
FComboBoxClass.prototype.pressHandler = function () {
this.focusRect.removeMovieClip();
if (this.enable) {
if (!this.opened) {
this.onMouseUp = this.releaseHandler;
} else {
this.onMouseUp = undefined;
}
this.changeFlag = false;
if (!this.focused) {
this.pressFocus();
this.clickFilter = (this.editable ? false : true);
}
if (!this.clickFilter) {
this.openOrClose(!this.opened);
} else {
this.clickFilter = false;
}
}
};
FComboBoxClass.prototype.clickHandler = function (itmNum) {
if (!this.focused) {
if (this.editable) {
this.fLabel_txt.onKillFocus = undefined;
}
this.pressFocus();
}
super.clickHandler(itmNum);
this.selectionHandler(itmNum);
this.onMouseUp = this.releaseHandler;
};
FComboBoxClass.prototype.highlightTop = function (flag) {
if (!this.editable) {
this.fLabel_mc.drawItem(this.topLabel, flag);
}
};
FComboBoxClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
this.fLabel_mc.highlight_mc.gotoAndStop("enabled");
this.highlightTop(true);
};
FComboBoxClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this._height + 4);
};
FComboBoxClass.prototype.myOnKillFocus = function () {
if (Selection.getFocus().indexOf("labelField") != -1) {
return(undefined);
}
super.myOnKillFocus();
delete this.fLabel_txt.onKeyDown;
this.openOrClose(false);
this.highlightTop(false);
};
FComboBoxClass.prototype.setPopUpLocation = function (mcRef) {
mcRef._x = this._x;
var point = {x:this._x, y:this._y + this.proxyBox_mc._height};
this._parent.localToGlobal(point);
mcRef._parent.globalToLocal(point);
mcRef._x = point.x;
mcRef._y = point.y;
if ((this.height + mcRef._y) >= Stage.height) {
this.upward = true;
mcRef._y = (point.y - this.height) - this.proxyBox_mc._height;
} else {
this.upward = false;
}
};
FComboBoxClass.prototype.openOrClose = function (flag) {
if (this.getLength() == 0) {
return(undefined);
}
this.setPopUpLocation(this.container_mc);
if ((this.lastSelected != -1) && ((this.lastSelected < this.topDisplayed) || (this.lastSelected > (this.topDisplayed + this.numDisplayed)))) {
super.moveSelBy(this.lastSelected - this.getSelectedIndex());
}
if (!flag) {
(this.downArrow.gotoAndStop(1));// not popped
} else {
(this.downArrow.gotoAndStop(2));// not popped
}
if (flag == this.opened) {
return(undefined);
}
this.highlightTop(!flag);
this.fadeRate = this.styleTable.popUpFade.value;
if (((!flag) || (this.fadeRate == undefined)) || (this.fadeRate == 0)) {
this.opened = (this.container_mc._visible = flag);
return(undefined);
}
this.setPopUpLocation(this.fader);
this.time = 0;
this.const = 85 / Math.sqrt(this.fadeRate);
this.fader._alpha = 85;
this.container_mc._visible = (this.fader._visible = true);
this.onEnterFrame = function () {
this.fader._alpha = 100 - ((this.const * Math.sqrt(++this.time)) + 15);
if (this.time >= this.fadeRate) {
this.fader._visible = false;
delete this.onEnterFrame;
this.opened = true;
}
};
};
FComboBoxClass.prototype.fireChange = function () {
this.lastSelected = this.getSelectedIndex();
if (!this.editable) {
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, true);
} else {
this.value = this.getSelectedItem().label;
this.fLabel_mc.setLabel(this.value);
}
this.executeCallback();
};
FComboBoxClass.prototype.releaseHandler = function () {
var onCombo = this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse);
if (this.changeFlag) {
if (onCombo) {
this.fireChange();
}
this.openOrClose(!this.opened);
} else if (onCombo) {
this.openOrClose(false);
} else {
this.onMouseDown = function () {
if ((!this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse)) && (!this.hitTest(_root._xmouse, _root._ymouse))) {
this.onMouseDown = undefined;
this.openOrClose(false);
}
};
}
this.changeFlag = false;
this.onMouseUp = undefined;
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
};
FComboBoxClass.prototype.moveSelBy = function (itemNum) {
if (itemNum != 0) {
super.moveSelBy(itemNum);
if (this.editable) {
this.setValue(this.getSelectedItem().label);
}
if (!this.opened) {
if (this.changeFlag && (!this.isSelected(this.lastSelected))) {
this.fireChange();
}
}
}
};
FComboBoxClass.prototype.myOnKeyDown = function () {
if (!this.focused) {
return(undefined);
}
if (this.editable && (Key.isDown(13))) {
this.setValue(this.fLabel_mc.getLabel());
this.executeCallback();
this.openOrClose(false);
} else if ((Key.isDown(13) || (Key.isDown(32) && (!this.editable))) && (this.opened)) {
if (this.getSelectedIndex() != this.lastSelected) {
this.fireChange();
}
this.openOrClose(false);
this.fLabel_txt.hscroll = 0;
}
super.myOnKeyDown();
};
FComboBoxClass.prototype.findInputText = function () {
if (!this.editable) {
super.findInputText();
}
};
FComboBoxClass.prototype.onLabelFocus = function () {
this._parent._parent.tabFocused = false;
this._parent._parent.focused = true;
this.onKeyDown = function () {
this._parent._parent.myOnKeyDown();
};
Key.addListener(this);
};
FComboBoxClass.prototype.buttonPressHandler = function () {
this._parent.pressHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 123 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 127 MovieClip [FComboBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 138 MovieClip Frame 80
gotoAndPlay (1);
Symbol 141 MovieClip Frame 1
play();
Symbol 141 MovieClip Frame 480
stop();
_root.gotoAndStop(_root._currentframe + 1);
Symbol 146 Button
on (release) {
gotoAndStop (20);
}
Symbol 149 Button
on (release) {
gotoAndStop (5);
}
Symbol 151 Button
on (release) {
fscommand ("quit");
}
Symbol 153 Button
on (release) {
gotoAndStop (6);
}
Symbol 158 Button
on (release) {
gotoAndStop (7);
}
Symbol 160 Button
on (release) {
gotoAndStop (8);
}
Symbol 185 MovieClip Frame 1
play();
Symbol 185 MovieClip Frame 94
gotoAndPlay (1);
Symbol 185 MovieClip Frame 95
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 40
gotoAndPlay (1);
Symbol 192 MovieClip Frame 41
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 2
play();
Symbol 210 MovieClip Frame 23
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 221 Button
on (release) {
gotoAndStop (4);
}
Symbol 226 Button
on (release) {
getURL ("http://www.macromedia.com");
}
Symbol 227 Button
on (release) {
getURL ("http://www.mpcorp.fr.st");
}
Symbol 230 Button
on (release) {
if (qualit\u00E9.getValue() == "Sup\u00E9rieure") {
_quality = "HIGHT";
} else if (qualit\u00E9.getValue() == "Moyenne") {
_quality = "MEDIUM";
} else if (qualit\u00E9.getValue() == "Inf\u00E9rieure") {
_quality = "LOW";
}
if (speed.getValue() == "Normale") {
vitesse = 2;
} else if (speed.getValue() == "Rapide") {
vitesse = 3;
} else if (speed.getValue() == "Tr\u00E8s rapide") {
vitesse = 4;
} else if (speed.getValue() == "Lente") {
vitesse = 1;
} else if (speed.getValue() == "Tr\u00E8s Lente") {
vitesse = 0.5;
}
if (moment.getValue() == "Matin") {
fond = 1;
} else if (moment.getValue() == "Midi") {
fond = 2;
} else if (moment.getValue() == "Nuit") {
fond = 3;
}
_root.vies = Number(lifes.getValue());
gotoAndStop (4);
}
Symbol 237 Button
on (release) {
if (((pass1 == "B6BB1") and (pass2 == "B41E9")) or ((pass1 == "BB279") and (pass2 == "C9FE9"))) {
if ((pass1 == "B6BB1") and (pass2 == "B41E9")) {
gotoAndStop (16);
level = 13;
Mouse.hide();
gravite = 2;
g = gravite;
augmentation_saut = 7;
valeur_pesanteur = 0.1;
avancement_monde = 200;
saut1 = new Sound();
saut1.attachSound("saut1");
saut2 = new Sound();
saut2.attachSound("saut2");
son_saut = 1;
vitesse_balle = 12;
vies_boss = 3;
numero_boss = 1;
initialisation = 1;
mort = 0;
pistolet = 0;
jetpack_dispo = 0;
jetpack = 0;
augmentation_saut = 7;
}
if ((pass1 == "BB279") and (pass2 == "C9FE9")) {
gotoAndStop (13);
level = 7;
Mouse.hide();
gravite = 2;
g = gravite;
augmentation_saut = 7;
valeur_pesanteur = 0.1;
avancement_monde = 200;
saut1 = new Sound();
saut1.attachSound("saut1");
saut2 = new Sound();
saut2.attachSound("saut2");
son_saut = 1;
vitesse_balle = 12;
vies_boss = 3;
numero_boss = 1;
initialisation = 1;
mort = 0;
pistolet = 0;
jetpack_dispo = 0;
jetpack = 0;
augmentation_saut = 7;
}
} else {
gotoAndStop (9);
}
}
Symbol 249 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
stop();
Instance of Symbol 264 MovieClip "flammes" in Symbol 270 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((_parent.flamme == 0) and (_currentframe == 2)) {
gotoAndStop (1);
}
if ((_parent.flamme == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
}
Instance of Symbol 264 MovieClip "flammes" in Symbol 270 MovieClip Frame 8
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
play();
_root.player._y = "1500";
Symbol 273 MovieClip Frame 51
clip_mort = 0;
_root.son_saut = 1;
_root.player._x = "50";
_root.player._y = "75";
_root.monde._x = "0";
_root.g = _root.gravite;
_root.monde_exterieur._x = "0";
if (_root.vies >= 1) {
_root.vies = _root.vies - 1;
} else {
_root.perdu = 1;
}
_root.initialisation = 1;
gotoAndStop (1);
Symbol 276 MovieClip Frame 1
stop();
Instance of Symbol 276 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.visee_laser == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((_root.visee_laser == 0) and (_currentframe == 2)) {
gotoAndStop (1);
}
}
Symbol 277 MovieClip Frame 40
stop();
Symbol 280 MovieClip Frame 20
stop();
Instance of Symbol 282 MovieClip "balle3" in Symbol 283 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x + _root.vitesse_balle);
if (_x >= 600) {
_x = 0;
_parent._parent.gotoAndStop(1);
}
if (this.hitTest(_root.monde_exterieur.boule)) {
_root.vies_boss = _root.vies_boss - 1;
_x = 0;
_parent._parent.gotoAndStop(1);
}
}
Symbol 285 MovieClip Frame 1
stop();
Instance of Symbol 277 MovieClip in Symbol 285 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.player._currentframe == 5) {
_rotation = "0";
}
if (_root.player._currentframe == 6) {
_rotation = "180";
}
if (Key.isDown(104)) {
_rotation = (_rotation - 2);
} else if (Key.isDown(98)) {
_rotation = (_rotation + 2);
}
if (Key.isDown(32) and (_currentframe == 40)) {
_parent.rotation_viseur = _rotation;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 283 MovieClip "balle2" in Symbol 285 MovieClip Frame 3
onClipEvent (load) {
_rotation = _parent.rotation_viseur;
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
play();
Symbol 290 MovieClip Frame 60
_root.player._x = "50";
_root.player._y = "75";
_root.g = _root.gravite;
_root.initialisation = 1;
gotoAndStop (1);
Symbol 300 MovieClip Frame 1
stop();
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_root.pistolet == 1)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_root.pistolet == 1)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
_root.gotoAndStop(_root._currentframe + 1);
_root.initialisation = 1;
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_root.pistolet == 1)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.player._x = "-100";
_root.player._y = "800";
_root.gotoAndStop(_root._currentframe + 1);
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) and (_root.jetpack_dispo == 1)) and (_root.piece == 8)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.piece = 0;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_root.jetpack_dispo == 1)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((this.hitTest(_root.player) and (_root.jetpack_dispo == 1)) and (_root.piece >= 8)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.piece = 0;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
gotoAndPlay (2);
}
}
Instance of Symbol 290 MovieClip in Symbol 300 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_root.jetpack_dispo == 1)) {
_root.level = _root.level + 1;
_root.son_saut = 1;
_root.piece = 0;
_root.player._x = "-100";
_root.player._y = "800";
_root.monde._x = "0";
_root.monde.murs.gotoAndStop(_root.level);
_root.monde_exterieur.gotoAndStop(_root.level);
_root.gotoAndStop(_root._currentframe + 1);
gotoAndPlay (2);
}
}
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
play();
Symbol 307 MovieClip Frame 50
gotoAndStop (1);
Symbol 337 MovieClip Frame 29
gotoAndPlay (1);
Symbol 337 MovieClip Frame 61
stop();
Symbol 343 MovieClip Frame 81
_parent.h = _parent.hinit;
_parent.v = _parent.vinit;
stop();
Symbol 349 MovieClip Frame 1
stop();
Instance of Symbol 372 MovieClip "fleche" in Symbol 375 MovieClip Frame 40
onClipEvent (enterFrame) {
_x = (_x + 20);
if (((this.hitTest(_root.monde_exterieur.mur1) or this.hitTest(_root.monde_exterieur.mur2)) or this.hitTest(_root.monde_exterieur.mur3)) or this.hitTest(_root.monde_exterieur.mur4)) {
_parent.gotoAndPlay(47);
}
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
_parent.gotoAndPlay(47);
}
}
Symbol 375 MovieClip Frame 46
stop();
Instance of Symbol 366 MovieClip in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hitTest(_parent._parent.boum1) or this.hitTest(_parent._parent.boum2)) or this.hitTest(_parent._parent.boum3)) or this.hitTest(_parent._parent.boum4)) {
_root.boss_vies = _root.boss_vies - 1;
_root.monde_exterieur.boss._x = "300";
if (_root.boss_vies <= 0) {
_root.gotoAndStop(_root._currentframe + 1);
}
}
}
Instance of Symbol 376 MovieClip "arc" in Symbol 377 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.bras_rotation._currentframe > 47) {
ya_moins_yb = (_root.monde_exterieur.boss._y - 53) - _root.player._y;
xa_moins_xb = _root.monde_exterieur.boss._x - _root.player._x;
radicande = Math.sqrt((xb_moins_xa * xb_moins_xa) + (yb_moins_ya * yb_moins_ya));
tan_alpha = xa_moins_xb / ya_moins_yb;
sin_alpha = ya_moins_yb / radicande;
alpha = Math.atan(tan_alpha);
if (sin_alpha > 0) {
_rotation = (-90 - ((alpha * 180) / Math.PI));
} else {
_rotation = ((-90 - ((alpha * 180) / Math.PI)) - 180);
}
}
}
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 250
stop();
_root.monde.murs.bombe3.gotoAndStop(1);
gotoAndStop (1);
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 250
stop();
_root.monde.murs.bombe4.gotoAndStop(1);
gotoAndStop (1);
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 250
stop();
_root.monde.murs.bombe1.gotoAndStop(1);
gotoAndStop (1);
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 250
stop();
_root.monde.murs.bombe2.gotoAndStop(1);
gotoAndStop (1);
Symbol 393 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 1
stop();
Instance of Symbol 393 MovieClip "flammes" in Symbol 406 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.flamme == 0) and (_currentframe == 2)) {
gotoAndStop (1);
}
if ((_parent.flamme == 1) and (_currentframe == 1)) {
gotoAndStop (2);
}
}
Instance of Symbol 393 MovieClip "flammes" in Symbol 406 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 403 MovieClip in Symbol 406 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Symbol 406 MovieClip Frame 8
play();
Symbol 406 MovieClip Frame 40
vie = vie - 1;
_xscale = (_xscale - 4);
_yscale = (_yscale - 4);
if (vie == 0) {
_root.gotoAndStop(_root._currentframe + 1);
}
gauche = 1;
gotoAndStop (7);
Symbol 411 MovieClip Frame 1
stop();
Instance of Symbol 410 MovieClip "cible" in Symbol 411 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.bas)) {
if (_parent._parent.bombe._currentframe == 20) {
_parent._parent.bombe.gotoAndPlay(21);
}
_parent.gotoAndPlay(2);
}
}
Symbol 411 MovieClip Frame 15
stop();
Instance of Symbol 410 MovieClip "cible" in Symbol 411 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.bas)) {
_parent.gotoAndPlay(16);
}
}
Symbol 411 MovieClip Frame 30
gotoAndStop (1);
Symbol 415 MovieClip Frame 22
_parent._parent.gotoAndStop(1);
stop();
Symbol 416 MovieClip Frame 1
stop();
Instance of Symbol 415 MovieClip "boum" in Symbol 416 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 20
stop();
Symbol 417 MovieClip Frame 116
stop();
Instance of Symbol 416 MovieClip "bombe_2" in Symbol 417 MovieClip Frame 116
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 422 MovieClip Frame 1
_root.porte = 0;
stop();
Instance of Symbol 420 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_parent._currentframe == 1)) {
_root.porte = 1;
_parent.gotoAndStop(2);
}
}
Symbol 422 MovieClip Frame 2
stop();
Instance of Symbol 420 MovieClip in Symbol 422 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_parent.currentframe == 1)) {
_root.porte = 1;
_parent.gotoAndStop(2);
}
}
Symbol 423 MovieClip Frame 1
stop();
Instance of Symbol 302 MovieClip in Symbol 423 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 192 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vies = _root.vies + 1;
_root.initialisation = 1;
gotoAndStop (41);
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 304 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (load) {
droite = 1;
}
onClipEvent (enterFrame) {
if (droite == 1) {
_x = (_x + _root.vitesse);
}
if (droite == 0) {
_x = (_x - _root.vitesse);
}
if ((droite == 1) and (_x > 800)) {
droite = 0;
} else if ((droite == 0) and (_x < 600)) {
droite = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - _root.gravite;
_root.g = _root.gravite;
if (droite == 1) {
_root.player._x = _root.player._x + _root.vitesse;
} else {
_root.player._x = _root.player._x - _root.vitesse;
}
if (Key.isDown(38)) {
_root.saut2.start();
_root.g = _root.g - _root.augmentation_saut;
}
}
}
Instance of Symbol 307 MovieClip in Symbol 423 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_currentframe == 1)) {
_root.g = _root.g - 15;
_root.saut1.start();
gotoAndPlay (2);
}
}
Instance of Symbol 302 MovieClip in Symbol 423 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 304 MovieClip in Symbol 423 MovieClip Frame 3
onClipEvent (load) {
droite = 1;
}
onClipEvent (enterFrame) {
if (_parent.go == 1) {
if (droite == 1) {
_x = (_x + _root.vitesse);
}
if (droite == 0) {
_x = (_x - _root.vitesse);
}
if ((droite == 1) and (_x > 550)) {
droite = 0;
} else if ((droite == 0) and (_x < 350)) {
droite = 1;
}
}
}
onClipEvent (enterFrame) {
if (_parent.go == 1) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - _root.gravite;
_root.g = _root.gravite;
if (droite == 1) {
_root.player._x = _root.player._x + _root.vitesse;
} else {
_root.player._x = _root.player._x - _root.vitesse;
}
if (Key.isDown(38)) {
_root.saut2.start();
_root.g = _root.g - _root.augmentation_saut;
}
}
} else if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y - _root.gravite;
_root.g = _root.gravite;
if (Key.isDown(38)) {
_root.saut2.start();
_root.g = _root.g - _root.augmentation_saut;
}
}
}
Instance of Symbol 185 MovieClip in Symbol 423 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.pistolet = 1;
gotoAndStop (95);
}
}
Symbol 423 MovieClip Frame 6
hinit = 2;
vinit = 2;
vinit = 0;
hinit = 0;
Instance of Symbol 337 MovieClip "boule" in Symbol 423 MovieClip Frame 6
onClipEvent (enterFrame) {
_x = (_x + _parent.h);
_y = (_y + _parent.v);
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if (_root.vies_boss == 3) {
_parent.hinit = 2;
_parent.vinit = 2;
_xscale = "30";
_yscale = "30";
}
if (_root.vies_boss == 2) {
_parent.hinit = 3;
_parent.vinit = 3;
_xscale = "25";
_yscale = "25";
}
if (_root.vies_boss == 1) {
_parent.hinit = 4;
_parent.vinit = 4;
_xscale = "20";
_yscale = "20";
}
if ((_root.vies_boss == 0) and (_currentframe <= 30)) {
_root.boss_vaincu = 1;
_root.tube_1._x = "500";
_root.tube_2._x = "500";
gotoAndPlay (35);
}
}
Instance of Symbol 339 MovieClip in Symbol 423 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_parent.boule)) {
_parent.h = _parent.hinit;
}
}
Instance of Symbol 339 MovieClip in Symbol 423 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_parent.boule)) {
_parent.h = -_parent.hinit;
}
}
Instance of Symbol 339 MovieClip in Symbol 423 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_parent.boule)) {
_parent.v = _parent.vinit;
}
}
Instance of Symbol 339 MovieClip in Symbol 423 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_parent.boule)) {
_parent.v = -_parent.vinit;
}
}
Instance of Symbol 343 MovieClip in Symbol 423 MovieClip Frame 6
onClipEvent (load) {
txt = "Boss N\u00B0 " + _root.numero_boss;
}
Instance of Symbol 302 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 188 MovieClip in Symbol 423 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.jetpack_dispo = 1;
gotoAndStop (2);
}
}
Instance of Symbol 349 MovieClip in Symbol 423 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes) and (_currentframe < 6)) {
i++;
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if (i >= 10) {
gotoAndStop(_currentframe + 1);
i = 0;
}
}
Instance of Symbol 351 MovieClip in Symbol 423 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 351 MovieClip in Symbol 423 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 217 MovieClip in Symbol 423 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes) and (_currentframe < 6)) {
i++;
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if (i >= 10) {
gotoAndStop(_currentframe + 1);
i = 0;
}
}
Instance of Symbol 217 MovieClip in Symbol 423 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes) and (_currentframe < 6)) {
i++;
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if (i >= 10) {
gotoAndStop(_currentframe + 1);
i = 0;
}
}
Instance of Symbol 192 MovieClip in Symbol 423 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vies = _root.vies + 1;
_root.initialisation = 1;
gotoAndStop (41);
}
}
Instance of Symbol 192 MovieClip in Symbol 423 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vies = _root.vies + 1;
_root.initialisation = 1;
gotoAndStop (41);
}
}
Instance of Symbol 353 MovieClip in Symbol 423 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 353 MovieClip in Symbol 423 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 355 MovieClip in Symbol 423 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 212 MovieClip in Symbol 423 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 217 MovieClip in Symbol 423 MovieClip Frame 9
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes) and (_currentframe < 6)) {
i++;
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if (i >= 10) {
gotoAndStop(_currentframe + 1);
i = 0;
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 195 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flamme)) {
} else if (this.hitTest(_root.player)) {
_root.piece = _root.piece + 1;
gotoAndStop (2);
}
}
Instance of Symbol 192 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.vies = _root.vies + 1;
_root.initialisation = 1;
gotoAndStop (41);
}
}
Instance of Symbol 210 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_currentframe == 1)) {
gotoAndPlay (2);
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 210 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_currentframe == 1)) {
gotoAndPlay (2);
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 210 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_currentframe == 1)) {
gotoAndPlay (2);
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 210 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_currentframe == 1)) {
gotoAndPlay (2);
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 210 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) and (_currentframe == 1)) {
gotoAndPlay (2);
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Symbol 423 MovieClip Frame 12
_root.numero_boss = 2;
hinit = 2;
h = hinit;
_root.boss_vies = 3;
Instance of Symbol 377 MovieClip "boss" in Symbol 423 MovieClip Frame 12
onClipEvent (enterFrame) {
_x = (_x + _parent.h);
if (_x > 500) {
_parent.h = -_parent.hinit;
}
if (_x < 100) {
_parent.h = _parent.hinit;
}
}
Instance of Symbol 381 MovieClip "boum3" in Symbol 423 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if ((_currentframe == 1) and (_root.monde.murs.bombe3._currentframe == 107)) {
gotoAndPlay (2);
}
}
Instance of Symbol 384 MovieClip "boum4" in Symbol 423 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if ((_currentframe == 1) and (_root.monde.murs.bombe4._currentframe == 107)) {
gotoAndPlay (2);
}
}
Instance of Symbol 387 MovieClip "boum1" in Symbol 423 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if ((_currentframe == 1) and (_root.monde.murs.bombe1._currentframe == 107)) {
gotoAndPlay (2);
}
}
Instance of Symbol 390 MovieClip "boum2" in Symbol 423 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.mort = 1;
}
if ((_currentframe == 1) and (_root.monde.murs.bombe2._currentframe == 107)) {
gotoAndPlay (2);
}
}
Instance of Symbol 343 MovieClip in Symbol 423 MovieClip Frame 12
onClipEvent (load) {
txt = "Boss N\u00B0 " + _root.numero_boss;
}
Instance of Symbol 406 MovieClip in Symbol 423 MovieClip Frame 14
onClipEvent (load) {
gauche = 1;
imax = 200;
vie = 4;
gotoAndStop (7);
}
onClipEvent (enterFrame) {
this._y = this._y + _root.g2;
_root.g2 = _root.g2 + _root.valeur_pesanteur;
}
onClipEvent (enterFrame) {
if (_root.monde.murs.hitTest(getBounds(_root).xMax, _y, true)) {
_x = (_x - _root.vitesse);
}
if (_root.monde.murs.hitTest(getBounds(_root).xMin, _y, true)) {
_x = (_x + _root.vitesse);
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMax, true)) {
_y = (_y - _root.gravite);
_root.g2 = _root.gravite;
}
if (_root.monde.murs.hitTest(_x, getBounds(_root).yMin, true)) {
_y = (_y + _root.vitesse);
_root.g2 = _root.gravite;
} else if ((saut_boss == 1) and (_root.g2 == _root.gravite)) {
_root.g2 = _root.g2 - _root.augmentation_saut;
saut_boss = 0;
choix_son = random(2);
if (choix_son == 1) {
_root.saut1.start();
} else {
_root.saut2.start();
}
}
}
onClipEvent (enterFrame) {
if ((gauche == 1) and (_x <= 250)) {
gauche = 0;
gotoAndStop (6);
}
if ((gauche == 0) and (_x >= 547)) {
gauche = 1;
gotoAndStop (7);
}
if ((gauche == 1) and (_currentframe < 8)) {
_x = (_x - _root.vitesse);
}
if ((gauche == 0) and (_currentframe < 8)) {
_x = (_x + _root.vitesse);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bombe.bombe_2.boum) and (_currentframe < 8)) {
gotoAndPlay (8);
}
}
onClipEvent (enterFrame) {
if (i >= imax) {
saut_boss = 1;
i = 0;
imax = random(200) + 100;
} else {
i++;
}
}
Instance of Symbol 417 MovieClip "bombe" in Symbol 423 MovieClip Frame 14
onClipEvent (enterFrame) {
if (((_root.porte == 1) and (_parent.bascule._currentframe == 1)) and (_currentframe == 1)) {
gotoAndPlay (2);
}
}
Instance of Symbol 422 MovieClip in Symbol 423 MovieClip Frame 14
onClipEvent (enterFrame) {
if ((_parent.bombe._currentframe > 20) and (_currentframe == 2)) {
gotoAndStop (1);
}
}
Symbol 442 MovieClip Frame 1
stop();
Symbol 442 MovieClip Frame 23
stop();
Symbol 449 MovieClip Frame 1
stop();
Instance of Symbol 447 MovieClip in Symbol 449 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_parent._parent.go = 1;
_root.monde_exterieur.go = 1;
_parent.gotoAndStop(2);
}
}
Symbol 455 MovieClip Frame 1
stop();
Instance of Symbol 453 MovieClip in Symbol 455 MovieClip Frame 1
onClipEvent (load) {
cc = random(999999);
mycolor = new Color(this);
mycolor.setRGB(cc);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.balle.balle2.balle3)) {
_parent["crev\u00E9"] = 1;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 426 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.player._y >= 450) {
_parent["crev\u00E9"] = 0;
_parent.gotoAndStop(1);
}
}
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 23
stop();
Symbol 481 MovieClip Frame 1
stop();
Instance of Symbol 473 MovieClip in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes) and (_currentframe == 1)) {
_parent.gotoAndPlay(2);
}
}
Symbol 481 MovieClip Frame 107
stop();
Symbol 486 MovieClip Frame 150
gotoAndPlay (1);
Instance of Symbol 372 MovieClip "fleche" in Symbol 489 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 372 MovieClip "fleche" in Symbol 490 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 372 MovieClip "fleche" in Symbol 491 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 372 MovieClip "fleche" in Symbol 492 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 489 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
play();
}
Instance of Symbol 490 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 491 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 492 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 490 MovieClip in Symbol 493 MovieClip Frame 30
onClipEvent (load) {
play();
}
Instance of Symbol 491 MovieClip in Symbol 493 MovieClip Frame 50
onClipEvent (load) {
play();
}
Symbol 493 MovieClip Frame 75
stop();
Instance of Symbol 492 MovieClip in Symbol 493 MovieClip Frame 75
onClipEvent (load) {
play();
}
Symbol 500 MovieClip Frame 1
stop();
Instance of Symbol 304 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
montee = 1;
}
onClipEvent (enterFrame) {
if (montee == 1) {
_y = (_y - _root.vitesse);
}
if (montee == 0) {
_y = (_y + _root.vitesse);
}
if ((montee == 1) and (_y <= 160)) {
montee = 0;
} else if ((montee == 0) and (_y >= 360)) {
montee = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.g = 0;
if (Key.isDown(38)) {
_root.g = _root.g - (_root.augmentation_saut - _root.vitesse);
}
}
}
Instance of Symbol 304 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
montee2 = 0;
}
onClipEvent (enterFrame) {
if (montee2 == 1) {
_y = (_y - _root.vitesse);
}
if (montee2 == 0) {
_y = (_y + _root.vitesse);
}
if ((montee2 == 1) and (_y <= 70)) {
montee2 = 0;
} else if ((montee2 == 0) and (_y >= 270)) {
montee2 = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.g = 0;
if (Key.isDown(38)) {
_root.saut1.start();
_root.g = _root.g - (_root.augmentation_saut - _root.vitesse);
}
}
}
Instance of Symbol 426 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.son_saut = 1;
}
}
Instance of Symbol 426 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.son_saut = 1;
}
}
Instance of Symbol 435 MovieClip in Symbol 500 MovieClip Frame 2
onClipEvent (load) {
gauche = 0;
}
onClipEvent (enterFrame) {
if ((gauche == 1) and (this._x <= 250)) {
gauche = 0;
}
if ((gauche == 0) and (this._x >= 500)) {
gauche = 1;
}
if (gauche == 1) {
_x = (_x - 1);
}
if (gauche == 0) {
_x = (_x + 1);
}
}
Instance of Symbol 442 MovieClip in Symbol 500 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.porte == 1) and (_currentframe == 1)) {
_root.porte = 0;
gotoAndPlay (2);
}
}
Instance of Symbol 304 MovieClip in Symbol 500 MovieClip Frame 3
onClipEvent (load) {
montee = 1;
}
onClipEvent (enterFrame) {
if (_parent.go == 1) {
if (montee == 1) {
_y = (_y - _root.vitesse);
}
if (montee == 0) {
_y = (_y + _root.vitesse);
}
if ((montee == 1) and (_y <= 110)) {
montee = 0;
} else if ((montee == 0) and (_y >= 350)) {
montee = 1;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.g = 0;
if (Key.isDown(38)) {
_root.saut1.start();
_root.g = _root.g - (_root.augmentation_saut - _root.vitesse);
}
}
}
Instance of Symbol 426 MovieClip in Symbol 500 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.son_saut = 1;
}
}
Instance of Symbol 426 MovieClip in Symbol 500 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.son_saut = 1;
}
}
Instance of Symbol 426 MovieClip in Symbol 500 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.son_saut = 1;
}
}
Instance of Symbol 426 MovieClip in Symbol 500 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.son_saut = 1;
}
}
Instance of Symbol 426 MovieClip in Symbol 500 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.son_saut = 1;
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 4
onClipEvent (load) {
g = _root["gravit\u00E9"];
}
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - (_root.vitesse / 4));
if (_y <= 0) {
_y = "400";
}
} else if (_y < 400) {
_y = (_y + g);
g = g + _root.valeur_pesanteur;
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 4
onClipEvent (load) {
g = _root["gravit\u00E9"];
}
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - (_root.vitesse / 3));
if (_y <= 0) {
_y = "400";
}
} else if (_y < 400) {
_y = (_y + g);
g = g + _root.valeur_pesanteur;
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 4
onClipEvent (load) {
g = _root["gravit\u00E9"];
}
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - (_root.vitesse / 2));
if (_y <= 0) {
_y = "400";
}
} else if (_y < 400) {
_y = (_y + g);
g = g + _root.valeur_pesanteur;
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 5
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - (_root.vitesse / 4));
if (_y <= 0) {
_y = "400";
}
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 5
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - (_root.vitesse / 1.5));
if (_y <= 0) {
_y = "400";
}
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 5
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - (_root.vitesse / 2));
if (_y <= 0) {
_y = "400";
}
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 5
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - _root.vitesse);
if (_y <= 0) {
_y = "400";
}
}
}
Instance of Symbol 455 MovieClip in Symbol 500 MovieClip Frame 5
onClipEvent (enterFrame) {
if (crev\u00E9 != 1) {
_y = (_y - (_root.vitesse / 3));
if (_y <= 0) {
_y = "400";
}
}
}
Instance of Symbol 469 MovieClip in Symbol 500 MovieClip Frame 8
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (_parent.bombe._currentframe == 107)) {
gotoAndPlay (2);
}
}
Instance of Symbol 486 MovieClip in Symbol 500 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent.sol.hitTest(_root.player.flammes)) {
} else if (this.hitTest(_root.player) and _parent.sol.hitTest(_root.player)) {
_root.mort = 1;
}
}
Instance of Symbol 442 MovieClip in Symbol 500 MovieClip Frame 10
onClipEvent (enterFrame) {
if ((_root.porte == 1) and (_currentframe == 1)) {
_root.porte = 0;
gotoAndPlay (2);
}
}
Instance of Symbol 496 MovieClip "sol1" in Symbol 500 MovieClip Frame 13
onClipEvent (enterFrame) {
if (((_root.player._x >= 200) and (_root.player._x <= 400)) and (_rotation <= 85)) {
_rotation = (_rotation + 5);
_parent.sol2._rotation = _parent.sol2._rotation - 5;
}
}
Symbol 505 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 514 Button
on (release) {
gotoAndStop (1);
}
Symbol 516 Button
on (release) {
gotoAndStop (3);
}
Symbol 518 Button
on (release) {
gotoAndStop (4);
}
Symbol 520 Button
on (release) {
gotoAndStop (5);
}
Symbol 522 Button
on (release) {
if (e01._currentframe == 1) {
gotoAndStop (6);
}
}
Symbol 524 Button
on (release) {
if (e02._currentframe == 1) {
gotoAndStop (7);
}
}
Symbol 526 Button
on (release) {
if (e03._currentframe == 1) {
gotoAndStop (8);
}
}
Symbol 530 Button
on (release) {
if (level <= 5) {
_root.level = Number(level);
_root.gotoAndStop(10);
} else if (level == 6) {
_root.level = Number(level);
_root.gotoAndStop(11);
} else if (level <= 11) {
_root.level = Number(level);
_root.gotoAndStop(13);
} else if (level == 12) {
_root.level = Number(level);
_root.gotoAndStop(14);
} else if (level == 13) {
_root.level = Number(level);
_root.gotoAndStop(16);
}
_root.initialisation = 1;
_root.monde._x = "0";
_root.monde_exterieur._x = "0";
_root.player._x = "50";
_root.player._y = "75";
gotoAndStop (2);
}
Symbol 534 Button
on (release) {
_root.vies = vies;
_root.initialisation = 1;
gotoAndStop (2);
}
Symbol 537 Button
on (release) {
_root.augmentation_saut = saut;
gotoAndStop (2);
}
Symbol 541 Button
on (release) {
_root.pistolet = 1;
gotoAndStop (2);
}
Symbol 543 Button
on (release) {
_root.pistolet = 0;
gotoAndStop (2);
}
Symbol 546 Button
on (release) {
_root.visee_laser = 1;
gotoAndStop (2);
}
Symbol 547 Button
on (release) {
_root.visee_laser = 0;
gotoAndStop (2);
}
Symbol 549 Button
on (release) {
_root.jetpack_dispo = 1;
gotoAndStop (2);
}
Symbol 550 Button
on (release) {
_root.jetpack_dispo = 0;
gotoAndStop (2);
}
Symbol 551 MovieClip Frame 1
Mouse.hide();
Mouse.hide();
stop();
Symbol 551 MovieClip Frame 2
if (_root.level <= 6) {
e03.gotoAndStop(2);
e02.gotoAndStop(1);
e01.gotoAndStop(1);
}
if ((_root.level <= 12) and (_root.level >= 7)) {
e03.gotoAndStop(1);
e02.gotoAndStop(2);
e01.gotoAndStop(2);
}
Mouse.show();
Symbol 551 MovieClip Frame 3
level = "";
Symbol 551 MovieClip Frame 4
vies = "";
Symbol 551 MovieClip Frame 5
saut = "";
Instance of Symbol 270 MovieClip in Symbol 558 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
}
Instance of Symbol 270 MovieClip in Symbol 558 MovieClip Frame 151
onClipEvent (load) {
gotoAndStop (4);
}
Instance of Symbol 270 MovieClip in Symbol 558 MovieClip Frame 200
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 270 MovieClip in Symbol 558 MovieClip Frame 231
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 558 MovieClip Frame 381
stop();
Symbol 562 Button
on (release) {
level = 7;
Mouse.hide();
monde._x = "0";
monde.murs.gotoAndStop(_root.level);
monde_exterieur.gotoAndStop(_root.level);
gotoAndStop (13);
}
Symbol 564 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 40
gotoAndStop (1);
Symbol 567 Button
on (release) {
Mouse.hide();
level = 13;
monde._x = "0";
initialisation = 1;
gotoAndStop (16);
}
Instance of Symbol 264 MovieClip "flammes" in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 270 MovieClip in Symbol 575 MovieClip Frame 210
onClipEvent (load) {
gotoAndStop (1);
}
Symbol 575 MovieClip Frame 500
stop();
Symbol 584 Button
on (release) {
Mouse.hide();
_root.level = _root.level + 1;
_root.gotoAndStop(18);
}
Instance of Symbol 406 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
}
Instance of Symbol 270 MovieClip in Symbol 585 MovieClip Frame 160
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 585 MovieClip Frame 421
Mouse.show();
stop();
Symbol 587 Button
on (release) {
fscommand ("quit");
}
Symbol 589 Button
on (release) {
son_saut = 1;
level = 1;
vies = 4;
perdu = 0;
porte = 0;
gotoAndStop (4);
}
Symbol 605 MovieClip Frame 1
stop();
Symbol 611 Button
on (release) {
_root.gotoAndStop(10);
}
Instance of Symbol 406 MovieClip in Symbol 622 MovieClip Frame 60
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 406 MovieClip in Symbol 622 MovieClip Frame 101
onClipEvent (load) {
flamme = 1;
gotoAndStop (4);
}
Instance of Symbol 605 MovieClip in Symbol 622 MovieClip Frame 111
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 406 MovieClip in Symbol 622 MovieClip Frame 165
onClipEvent (load) {
gotoAndStop (4);
}
Symbol 622 MovieClip Frame 550
_parent.gotoAndStop(4);
Symbol 624 MovieClip Frame 1
play();
Instance of Symbol 270 MovieClip in Symbol 624 MovieClip Frame 120
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 624 MovieClip Frame 220
_root.gotoAndStop(10);
Symbol 626 MovieClip Frame 1
stop();
Instance of Symbol 249 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.fond);
}
Instance of Symbol 610 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (enterFrame) {
i++;
if (i >= 350) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 406 MovieClip in Symbol 626 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop (2);
flamme = 1;
}
onClipEvent (enterFrame) {
_x = (_x + 2);
_y = (_y - 0.2);
if (_x >= 690) {
_parent.gotoAndStop(3);
}
}