Frame 1
fscommand ("showmenu", "false");
play();
Frame 2
nbimg = 95;
img = int((_framesloaded / nbimg) * 100);
TxtLoader = img add " %";
if (_framesloaded >= nbimg) {
gotoAndPlay (4);
} else {
JaugeLoader.gotoAndStop(img);
}
play();
Frame 3
prevFrame();
Frame 4
LoadOKIntro = 0;
Frame 5
ifFrameLoaded (216) {
LoadOKIntro = 1;
gotoAndStop (7);
}
if (LoadOKIntro == 0) {
intromovie.CutIntro.loadskip.gotoAndStop(1);
}
play();
Frame 6
prevFrame();
Frame 7
intromovie.CutIntro.loadskip.gotoAndStop(2);
stop();
Frame 8
MAJScore = "http://www.loooping.com/jeux/toon8/majscore.php";
ParaFlash = "http://www.loooping.com/jeux/roller/paraflash.php";
score = 0;
FinAnimChoixJoueur = 0;
stopAllSounds();
stop();
Frame 17
stop();
Frame 26
stop();
Frame 31
gotoAndStop (8);
Frame 32
ChoixJoueur = 0;
play();
Frame 46
if (FinAnimChoixJoueur == 1) {
if (ChoixJoueur == 1) {
gotoAndPlay (61);
} else if (ChoixJoueur == 2) {
gotoAndPlay (124);
}
}
play();
Frame 47
prevFrame();
Frame 48
Score = ScoreGame;
id_jeuFlash = 3;
play();
Frame 49
if (((31 >= d1) or (12 >= d2)) or (2001 >= d3)) {
if ((((((Nom ne "") && (Prenom ne "")) && (Email ne "")) && (d1 ne "")) && (d2 ne "")) && (d3 ne "")) {
var chaine = new String(Email);
var index;
index = chaine.indexOf("@");
if (index != -1) {
index = chaine.indexOf(".", index);
indexTxt = index;
if (index != -1) {
if (chaine.length >= 5) {
pfinrec.gotoAndStop(2);
} else {
pfinrec.gotoAndStop(1);
}
} else {
pfinrec.gotoAndStop(1);
}
} else {
pfinrec.gotoAndStop(1);
}
} else {
pfinrec.gotoAndStop(1);
}
} else {
pfinrec.gotoAndStop(1);
}
play();
Frame 50
prevFrame();
Frame 51
PPerdu.gotoAndStop(ChoixJoueur);
stopAllSounds();
id_user = "";
id_tournoi = "";
fin = "";
_root.loadVariables(ParaFlash, GET);
Frame 53
if ((fin != 1) && (fin != "1")) {
prevFrame();
play();
}
Frame 54
Set("/:score", /:ScoreGame);
_root.loadVariables((((((MAJScore + "?id_user=") + _root.id_user) + "&id_tournoi=") + _root.id_tournoi) + "&score=") + _root.score, GET);
Frame 59
if (Key.isDown(Key.ENTER)) {
gotoAndPlay (32);
}
play();
Frame 60
prevFrame();
Frame 61
function InitGame() {
NbVie--;
JaugeVie.gotoAndStop(5);
aTerre = 0;
position = 0;
NiveauVie = 5;
SautEnCours = 0;
TombeEnCours = 0;
SautEnCours1 = 0;
TombeEnCours1 = 0;
SautEnCours2 = 0;
TombeEnCours2 = 0;
SautEnCoursSlide = 0;
TombeEnCoursSlide = 0;
position = 0;
SlideOK = 0;
surfer._visible = 1;
surfer._x = xPosStart;
surfer2.gotoAndStop(1);
Slide.gotoAndStop(1);
surfer.gotoAndStop("normal");
if (NbVie == 0) {
gotoAndPlay (51);
} else {
gotoAndPlay (62);
}
}
function RandomObjet(ClipName, FreqRand) {
if ((ClipName._currentFrame == 1) && (FinNivo1 == 0)) {
RandomFonction = random(FreqRand) + 1;
if (RandomFonction == 1) {
ClipName.play();
}
}
}
function TestCollisionObjet(ClipName1, ClipName2, ClipNameAction, Action) {
if (Action eq "NF") {
if (ClipName1.hitTest(ClipName2)) {
ClipNameAction.nextFrame();
ResultCollision = 1;
} else {
ResultCollision = 0;
}
} else if (Action eq "PL") {
if (ClipName1.hitTest(ClipName2)) {
if (ClipNameAction != 0) {
ClipNameAction.play();
}
ResultCollision = 1;
} else {
ResultCollision = 0;
}
}
return(ResultCollision);
}
JaugeVie.gotoAndStop(5);
NbVie = 3;
ScoreGame = 0;
NbPointParCanette = 10;
xPosStart = 103;
aTerre = 0;
PositionTotale = 2;
ImgLimite = 14;
SlideEnCours = 0;
LimiteLevel = 5;
LimiteLevelNivo1 = 60;
xLimiteMaxi = 400;
xLimiteMini = 70;
VitessePerso = 12;
VitessePersoArret = -4;
NbVoitureTotale = 3;
FinNivo1 = 0;
ScoreDuSlide = 20;
NiveauVie = 5;
FinJaugeVie = NiveauVie + 1;
stop();
Frame 88
if (((Slide._currentFrame == 1) && (surfer2._currentFrame == 1)) && (surfer._visible == 0)) {
position = 1;
surfer._visible = 1;
surfer.gotoAndStop("normal1");
}
if (Key.isDown(Key.RIGHT)) {
if (position == 0) {
surfer.Normal.gotoAndStop(1);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(1);
}
surfer2.Normal.gotoAndStop(1);
if ((surfer._x < xLimiteMaxi) && (aTerre == 0)) {
surfer._x = surfer._x + VitessePerso;
}
} else {
if (position == 0) {
surfer.Normal.gotoAndStop(2);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(2);
}
surfer2.Normal.gotoAndStop(2);
}
if (Key.isDown(Key.LEFT)) {
if ((xLimiteMini < surfer._x) && (aTerre == 0)) {
surfer._x = surfer._x - VitessePerso;
}
}
if (FinNivo1 == 1) {
if (((((((((((Voiture1._currentFrame == 1) && (Voiture2._currentFrame == 1)) && (Cone._currentFrame == 1)) && (Cone1._currentFrame == 1)) && (Poubelle._currentFrame == 1)) && (Travaux._currentFrame == 1)) && (pt1._currentFrame == 1)) && (pt2._currentFrame == 1)) && (pt3._currentFrame == 1)) && (pt4._currentFrame == 1)) && (Bus._currentFrame == 1)) {
gotoAndPlay (90);
}
}
if (aTerre == 0) {
if ((xLimiteMini < surfer._x) && (SlideEnCours == 0)) {
surfer._x = surfer._x + VitessePersoArret;
} else if ((surfer._x < xLimiteMaxi) && (SlideEnCours == 1)) {
surfer._x = surfer._x - VitessePersoArret;
}
} else {
surfer._x = surfer._x + (VitessePersoArret * 10);
if (-100 >= surfer._x) {
InitGame();
}
}
Slide._x = surfer._x;
surfer2._x = surfer._x;
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Voiture1, 25);
}
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Voiture2, 25);
}
RandomObjet(Cone, 40);
RandomObjet(Cone1, 40);
RandomObjet(Poubelle, 45);
RandomObjet(Travaux, 60);
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Pt1, 40);
}
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Pt2, 40);
}
RandomObjet(Pt3, 40);
if ((Travaux._currentFrame == 1) or (Travaux._currentFrame >= ImgLimite)) {
RandomObjet(Pt4, 40);
}
RandomObjet(Bus, 60);
if ((Position == 0) && (Cone._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone, Cone.ClipCone, "NF");
}
if ((Position == 1) && (Cone1._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone1, Cone1.ClipCone, "NF");
}
if ((Position == 2) && (Poubelle._currentFrame != 1)) {
TestCollisionObjet(surfer2, Poubelle, Poubelle.ClipPoubelle, "PL");
}
if (((Position == 2) && (TombeEnCours2 == 0)) && (Travaux._currentFrame != 1)) {
TestCollisionObjet(surfer2, Travaux.ClipTravaux.TestTravaux, Travaux.ClipTravaux, "NF");
if (ResultCollision == 1) {
surfer2.gotoAndPlay("tombe2");
}
}
if (((Position == 0) && (TombeEnCours == 0)) && (Voiture1._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture1.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe");
}
TestCollisionObjet(Voiture1.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond");
}
}
if (((Position == 1) && (TombeEnCours1 == 0)) && (Voiture2._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture2.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe1");
}
TestCollisionObjet(Voiture2.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond1");
}
}
if ((Position == 0) && (pt1._currentFrame != 1)) {
TestCollisionObjet(surfer, pt1, pt1.Canette, "PL");
}
if ((Position == 1) && (pt2._currentFrame != 1)) {
TestCollisionObjet(surfer, pt2, pt2.Canette, "PL");
}
if ((SlideEnCours == 1) && (pt3._currentFrame != 1)) {
TestCollisionObjet(Slide, pt3, pt3.Canette, "PL");
}
if ((Position == 2) && (pt4._currentFrame != 1)) {
TestCollisionObjet(surfer2, pt4, pt4.Canette, "PL");
}
if ((VersRampe == 1) && (Bus._currentFrame != 1)) {
TestCollisionObjet(Slide, Bus.TestBus.Test, Bus.TestBus, "NF");
}
play();
Frame 89
prevFrame();
Frame 90
PositionFinNivo1 = 225;
surfer._x = Math.floor(surfer._x);
if (position == 0) {
if ((PositionFinNivo1 + 5) < surfer._x) {
surfer._x = surfer._x - 5;
} else if (surfer._x < (PositionFinNivo1 - 5)) {
surfer._x = surfer._x + 5;
} else {
gotoAndStop (92);
}
} else if (position == 1) {
surfer.gotoAndPlay("avance");
} else if (position == 2) {
surfer2.gotoAndPlay("partir");
} else if (SlideEnCours == 1) {
Slide.gotoAndPlay("PlusBas");
}
play();
Frame 91
prevFrame();
Frame 92
BonusFinNivo1 = 100;
Frame 115
BonusFinNivo1 = BonusFinNivo1 - 5;
ScoreGame = ScoreGame + 5;
if (0 >= BonusFinNivo1) {
gotoAndPlay (117);
}
play();
Frame 116
prevFrame();
Frame 117
NbVie++;
Frame 123
gotoAndPlay (187);
Frame 124
function InitGamebis() {
NbVie--;
JaugeVie.gotoAndStop(5);
aTerre = 0;
position = 0;
NiveauVie = 5;
SautEnCours = 0;
TombeEnCours = 0;
SautEnCours1 = 0;
TombeEnCours1 = 0;
SautEnCours2 = 0;
TombeEnCours2 = 0;
SautEnCoursSlide = 0;
TombeEnCoursSlide = 0;
position = 0;
SlideOK = 0;
surfer._visible = 1;
surfer._x = xPosStart;
surfer2.gotoAndStop(1);
Slide.gotoAndStop(1);
surfer.gotoAndStop("normal");
if (NbVie == 0) {
gotoAndPlay (51);
} else {
gotoAndPlay (125);
}
}
function RandomObjet(ClipName, FreqRand) {
if ((ClipName._currentFrame == 1) && (FinNivo1 == 0)) {
RandomFonction = random(FreqRand) + 1;
if (RandomFonction == 1) {
ClipName.play();
}
}
}
function TestCollisionObjet(ClipName1, ClipName2, ClipNameAction, Action) {
if (Action eq "NF") {
if (ClipName1.hitTest(ClipName2)) {
ClipNameAction.nextFrame();
ResultCollision = 1;
} else {
ResultCollision = 0;
}
} else if (Action eq "PL") {
if (ClipName1.hitTest(ClipName2)) {
if (ClipNameAction != 0) {
ClipNameAction.play();
}
ResultCollision = 1;
} else {
ResultCollision = 0;
}
}
return(ResultCollision);
}
JaugeVie.gotoAndStop(5);
NbVie = 3;
ScoreGame = 0;
NbPointParCanette = 10;
xPosStart = 103;
aTerre = 0;
PositionTotale = 2;
ImgLimite = 14;
SlideEnCours = 0;
LimiteLevel = 5;
LimiteLevelNivo1 = 60;
xLimiteMaxi = 400;
xLimiteMini = 70;
VitessePerso = 12;
VitessePersoArret = -4;
NbVoitureTotale = 3;
FinNivo1 = 0;
ScoreDuSlide = 20;
NiveauVie = 5;
FinJaugeVie = NiveauVie + 1;
stop();
Frame 151
if (((Slide._currentFrame == 1) && (surfer2._currentFrame == 1)) && (surfer._visible == 0)) {
position = 1;
surfer._visible = 1;
surfer.gotoAndStop("normal1");
}
if (Key.isDown(Key.RIGHT)) {
if (position == 0) {
surfer.Normal.gotoAndStop(1);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(1);
}
surfer2.Normal.gotoAndStop(1);
if ((surfer._x < xLimiteMaxi) && (aTerre == 0)) {
surfer._x = surfer._x + VitessePerso;
}
} else {
if (position == 0) {
surfer.Normal.gotoAndStop(2);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(2);
}
surfer2.Normal.gotoAndStop(2);
}
if (Key.isDown(Key.LEFT)) {
if ((xLimiteMini < surfer._x) && (aTerre == 0)) {
surfer._x = surfer._x - VitessePerso;
}
}
if (FinNivo1 == 1) {
if (((((((((((Voiture1._currentFrame == 1) && (Voiture2._currentFrame == 1)) && (Cone._currentFrame == 1)) && (Cone1._currentFrame == 1)) && (Poubelle._currentFrame == 1)) && (Travaux._currentFrame == 1)) && (pt1._currentFrame == 1)) && (pt2._currentFrame == 1)) && (pt3._currentFrame == 1)) && (pt4._currentFrame == 1)) && (Bus._currentFrame == 1)) {
gotoAndPlay (153);
}
}
if (aTerre == 0) {
if ((xLimiteMini < surfer._x) && (SlideEnCours == 0)) {
surfer._x = surfer._x + VitessePersoArret;
} else if ((surfer._x < xLimiteMaxi) && (SlideEnCours == 1)) {
surfer._x = surfer._x - VitessePersoArret;
}
} else {
surfer._x = surfer._x + (VitessePersoArret * 10);
if (-100 >= surfer._x) {
InitGamebis();
}
}
Slide._x = surfer._x;
surfer2._x = surfer._x;
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Voiture1, 25);
}
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Voiture2, 25);
}
RandomObjet(Cone, 40);
RandomObjet(Cone1, 40);
RandomObjet(Poubelle, 45);
RandomObjet(Travaux, 60);
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Pt1, 40);
}
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Pt2, 40);
}
RandomObjet(Pt3, 40);
if ((Travaux._currentFrame == 1) or (Travaux._currentFrame >= ImgLimite)) {
RandomObjet(Pt4, 40);
}
RandomObjet(Bus, 60);
if ((Position == 0) && (Cone._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone, Cone.ClipCone, "NF");
}
if ((Position == 1) && (Cone1._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone1, Cone1.ClipCone, "NF");
}
if ((Position == 2) && (Poubelle._currentFrame != 1)) {
TestCollisionObjet(surfer2, Poubelle, Poubelle.ClipPoubelle, "PL");
}
if (((Position == 2) && (TombeEnCours2 == 0)) && (Travaux._currentFrame != 1)) {
TestCollisionObjet(surfer2, Travaux.ClipTravaux.TestTravaux, Travaux.ClipTravaux, "NF");
if (ResultCollision == 1) {
surfer2.gotoAndPlay("tombe2");
}
}
if (((Position == 0) && (TombeEnCours == 0)) && (Voiture1._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture1.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe");
}
TestCollisionObjet(Voiture1.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond");
}
}
if (((Position == 1) && (TombeEnCours1 == 0)) && (Voiture2._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture2.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe1");
}
TestCollisionObjet(Voiture2.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond1");
}
}
if ((Position == 0) && (pt1._currentFrame != 1)) {
TestCollisionObjet(surfer, pt1, pt1.Canette, "PL");
}
if ((Position == 1) && (pt2._currentFrame != 1)) {
TestCollisionObjet(surfer, pt2, pt2.Canette, "PL");
}
if ((SlideEnCours == 1) && (pt3._currentFrame != 1)) {
TestCollisionObjet(Slide, pt3, pt3.Canette, "PL");
}
if ((Position == 2) && (pt4._currentFrame != 1)) {
TestCollisionObjet(surfer2, pt4, pt4.Canette, "PL");
}
if ((VersRampe == 1) && (Bus._currentFrame != 1)) {
TestCollisionObjet(Slide, Bus.TestBus.Test, Bus.TestBus, "NF");
}
play();
Frame 152
prevFrame();
Frame 153
PositionFinNivo1 = 225;
surfer._x = Math.floor(surfer._x);
if (position == 0) {
if ((PositionFinNivo1 + 5) < surfer._x) {
surfer._x = surfer._x - 5;
} else if (surfer._x < (PositionFinNivo1 - 5)) {
surfer._x = surfer._x + 5;
} else {
gotoAndStop (155);
}
} else if (position == 1) {
surfer.gotoAndPlay("avance");
} else if (position == 2) {
surfer2.gotoAndPlay("partir");
} else if (SlideEnCours == 1) {
Slide.gotoAndPlay("PlusBas");
}
play();
Frame 154
prevFrame();
Frame 155
BonusFinNivo1 = 100;
Frame 178
BonusFinNivo1 = BonusFinNivo1 - 5;
ScoreGame = ScoreGame + 5;
if (0 >= BonusFinNivo1) {
gotoAndPlay (180);
}
play();
Frame 179
prevFrame();
Frame 180
NbVie++;
Frame 186
gotoAndPlay (216);
Frame 187
stopAllSounds();
Frame 215
gotoAndPlay (245);
Frame 216
stopAllSounds();
Frame 244
gotoAndPlay (378);
Frame 245
LimiteLevel = 10;
Elapsed1 = LimiteLevel;
finTape = 0;
Force = 0;
Score = 0;
ImgRetour = 0;
timer = LimiteLevel;
stop();
if (NbVie == 0) {
gotoAndPlay (51);
}
stop();
Frame 253
JaugeSpeed.gotoAndStop(1);
stop();
Frame 254
if ((JaugeSpeed._currentFrame != 1) && (timer != 0)) {
JaugeSpeed.prevFrame();
}
if (timer != 0) {
Elapsed1 = _root.LimiteLevel - int((getTimer() - StartTime) / 1000);
timer = Elapsed1;
if ((timer == 1) && (tambour._currentFrame == 1)) {
tambour.play();
}
if (timer == 0) {
ScoreVitesse = JaugeSpeed._currentFrame;
Force = int(JaugeSpeed._currentFrame / 10);
if (Force == 0) {
Force = 1;
} else if (JaugeSpeed._currentFrame >= 98) {
Force = 10;
ScoreVitesse = 100;
}
JaugeSpeed.stop();
gotoAndPlay (256);
}
}
play();
Frame 255
prevFrame();
Frame 256
play();
Frame 271
if ((ScoreVitesse >= 25) && (ScoreVitesse < 50)) {
gotoAndPlay (272);
} else if ((ScoreVitesse >= 50) && (ScoreVitesse < 75)) {
gotoAndPlay (290);
} else if (ScoreVitesse >= 75) {
gotoAndPlay (314);
} else if (ScoreVitesse < 25) {
gotoAndPlay (363);
}
Frame 289
NbVie--;
ScoreGame = ScoreGame + 10;
stop();
Frame 313
NbVie--;
ScoreGame = ScoreGame + 20;
stop();
Frame 362
ScoreGame = ScoreGame + 50;
gotoAndPlay (510);
Frame 377
NbVie--;
stop();
Frame 378
LimiteLevel = 10;
Elapsed1 = LimiteLevel;
finTape = 0;
Force = 0;
Score = 0;
ImgRetour = 0;
timer = LimiteLevel;
stop();
if (NbVie == 0) {
gotoAndPlay (51);
}
stop();
Frame 386
JaugeSpeed.gotoAndStop(1);
stop();
Frame 387
if ((JaugeSpeed._currentFrame != 1) && (timer != 0)) {
JaugeSpeed.prevFrame();
}
if (timer != 0) {
Elapsed1 = _root.LimiteLevel - int((getTimer() - StartTime) / 1000);
timer = Elapsed1;
if ((timer == 1) && (tambour._currentFrame == 1)) {
tambour.play();
}
if (timer == 0) {
ScoreVitesse = JaugeSpeed._currentFrame;
Force = int(JaugeSpeed._currentFrame / 10);
if (Force == 0) {
Force = 1;
} else if (JaugeSpeed._currentFrame >= 98) {
Force = 10;
ScoreVitesse = 100;
}
JaugeSpeed.stop();
gotoAndPlay (389);
}
}
play();
Frame 388
prevFrame();
Frame 389
play();
Frame 404
if ((ScoreVitesse >= 25) && (ScoreVitesse < 50)) {
gotoAndPlay (405);
} else if ((ScoreVitesse >= 50) && (ScoreVitesse < 75)) {
gotoAndPlay (423);
} else if (ScoreVitesse >= 75) {
gotoAndPlay (447);
} else if (ScoreVitesse < 25) {
gotoAndPlay (495);
}
Frame 422
NbVie--;
ScoreGame = ScoreGame + 10;
stop();
Frame 446
NbVie--;
ScoreGame = ScoreGame + 20;
stop();
Frame 494
ScoreGame = ScoreGame + 50;
gotoAndPlay (539);
Frame 509
NbVie--;
stop();
Frame 510
stopAllSounds();
Frame 538
gotoAndPlay (568);
Frame 539
stopAllSounds();
Frame 567
gotoAndPlay (631);
Frame 568
function InitGame3() {
NbVie--;
JaugeVie.gotoAndStop(5);
aTerre = 0;
position = 0;
NiveauVie = 5;
SautEnCours = 0;
TombeEnCours = 0;
SautEnCours1 = 0;
TombeEnCours1 = 0;
SautEnCours2 = 0;
TombeEnCours2 = 0;
SautEnCoursSlide = 0;
TombeEnCoursSlide = 0;
position = 0;
SlideOK = 0;
surfer._visible = 1;
surfer._x = xPosStart;
surfer2.gotoAndStop(1);
Slide.gotoAndStop(1);
surfer.gotoAndStop("normal");
if (NbVie == 0) {
gotoAndPlay (51);
} else {
gotoAndPlay (569);
}
}
function RandomObjet(ClipName, FreqRand) {
if ((ClipName._currentFrame == 1) && (FinNivo1 == 0)) {
RandomFonction = random(FreqRand) + 1;
if (RandomFonction == 1) {
ClipName.play();
}
}
}
function TestCollisionObjet(ClipName1, ClipName2, ClipNameAction, Action) {
if (Action eq "NF") {
if (ClipName1.hitTest(ClipName2)) {
ClipNameAction.nextFrame();
ResultCollision = 1;
} else {
ResultCollision = 0;
}
} else if (Action eq "PL") {
if (ClipName1.hitTest(ClipName2)) {
if (ClipNameAction != 0) {
ClipNameAction.play();
}
ResultCollision = 1;
} else {
ResultCollision = 0;
}
}
return(ResultCollision);
}
JaugeVie.gotoAndStop(5);
NbPointParCanette = 10;
xPosStart = 103;
aTerre = 0;
PositionTotale = 2;
ImgLimite = 14;
SlideEnCours = 0;
LimiteLevel = 5;
LimiteLevelNivo1 = 120;
xLimiteMaxi = 400;
xLimiteMini = 70;
VitessePerso = 12;
VitessePersoArret = -4;
NbVoitureTotale = 3;
FinNivo1 = 0;
ScoreDuSlide = 20;
NiveauVie = 5;
FinJaugeVie = NiveauVie + 1;
stop();
Frame 595
if (((Slide._currentFrame == 1) && (surfer2._currentFrame == 1)) && (surfer._visible == 0)) {
position = 1;
surfer._visible = 1;
surfer.gotoAndStop("normal1");
}
if (Key.isDown(Key.RIGHT)) {
if (position == 0) {
surfer.Normal.gotoAndStop(1);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(1);
}
surfer2.Normal.gotoAndStop(1);
if ((surfer._x < xLimiteMaxi) && (aTerre == 0)) {
surfer._x = surfer._x + VitessePerso;
}
} else {
if (position == 0) {
surfer.Normal.gotoAndStop(2);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(2);
}
surfer2.Normal.gotoAndStop(2);
}
if (Key.isDown(Key.LEFT)) {
if ((xLimiteMini < surfer._x) && (aTerre == 0)) {
surfer._x = surfer._x - VitessePerso;
}
}
if (FinNivo1 == 1) {
if ((((((((((Voiture1._currentFrame == 1) && (Voiture2._currentFrame == 1)) && (Cone._currentFrame == 1)) && (Cone1._currentFrame == 1)) && (Poubelle._currentFrame == 1)) && (Travaux._currentFrame == 1)) && (pt1._currentFrame == 1)) && (pt2._currentFrame == 1)) && (pt3._currentFrame == 1)) && (pt4._currentFrame == 1)) {
gotoAndPlay (597);
}
}
if (aTerre == 0) {
if ((xLimiteMini < surfer._x) && (SlideEnCours == 0)) {
surfer._x = surfer._x + VitessePersoArret;
} else if ((surfer._x < xLimiteMaxi) && (SlideEnCours == 1)) {
surfer._x = surfer._x - VitessePersoArret;
}
} else {
surfer._x = surfer._x + (VitessePersoArret * 10);
if (-100 >= surfer._x) {
InitGame3();
}
}
Slide._x = surfer._x;
surfer2._x = surfer._x;
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Voiture1, 25);
}
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Voiture2, 25);
}
RandomObjet(Cone, 40);
RandomObjet(Cone1, 40);
RandomObjet(Trou, 30);
RandomObjet(Travaux, 60);
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Pt1, 35);
}
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Pt2, 35);
}
RandomObjet(Pt3, 35);
if ((Travaux._currentFrame == 1) or (Travaux._currentFrame >= ImgLimite)) {
RandomObjet(Pt4, 35);
}
if ((Position == 0) && (Cone._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone, Cone.ClipCone, "NF");
}
if ((Position == 1) && (Cone1._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone1, Cone1.ClipCone, "NF");
}
if (((Position == 2) && (TombeEnCours2 == 0)) && (Travaux._currentFrame != 1)) {
TestCollisionObjet(surfer2, Travaux.ClipTravaux.TestTravaux, Travaux.ClipTravaux, "NF");
if (ResultCollision == 1) {
surfer2.gotoAndPlay("tombe2");
}
}
if (((Position == 0) && (TombeEnCours == 0)) && (Voiture1._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture1.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe");
}
TestCollisionObjet(Voiture1.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond");
}
}
if (((Position == 1) && (TombeEnCours1 == 0)) && (Voiture2._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture2.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe1");
}
TestCollisionObjet(Voiture2.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond1");
}
}
if (((Position == 0) && (TombeEnCours == 0)) && (Trou._currentFrame != 1)) {
TestCollisionObjet(surfer, Trou, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe");
}
}
if (((Position == 1) && (TombeEnCours1 == 0)) && (Trou._currentFrame != 1)) {
TestCollisionObjet(surfer, Trou, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe1");
}
}
if ((Position == 0) && (pt1._currentFrame != 1)) {
TestCollisionObjet(surfer, pt1, pt1.Canette, "PL");
}
if ((Position == 1) && (pt2._currentFrame != 1)) {
TestCollisionObjet(surfer, pt2, pt2.Canette, "PL");
}
if ((SlideEnCours == 1) && (pt3._currentFrame != 1)) {
TestCollisionObjet(Slide, pt3, pt3.Canette, "PL");
}
if ((Position == 2) && (pt4._currentFrame != 1)) {
TestCollisionObjet(surfer2, pt4, pt4.Canette, "PL");
}
play();
Frame 596
prevFrame();
Frame 597
PositionFinNivo1 = 225;
surfer._x = Math.floor(surfer._x);
if (position == 0) {
if ((PositionFinNivo1 + 5) < surfer._x) {
surfer._x = surfer._x - 5;
} else if (surfer._x < (PositionFinNivo1 - 5)) {
surfer._x = surfer._x + 5;
} else {
gotoAndStop (599);
}
} else if (position == 1) {
surfer.gotoAndPlay("avance");
} else if (position == 2) {
surfer2.gotoAndPlay("partir");
} else if (SlideEnCours == 1) {
Slide.gotoAndPlay("PlusBas");
}
play();
Frame 598
prevFrame();
Frame 599
BonusFinNivo1 = 100;
Frame 622
BonusFinNivo1 = BonusFinNivo1 - 5;
ScoreGame = ScoreGame + 5;
if (0 >= BonusFinNivo1) {
gotoAndPlay (624);
}
play();
Frame 623
prevFrame();
Frame 624
NbVie++;
Frame 630
gotoAndPlay (694);
Frame 631
function InitGame3bis() {
NbVie--;
JaugeVie.gotoAndStop(5);
aTerre = 0;
position = 0;
NiveauVie = 5;
SautEnCours = 0;
TombeEnCours = 0;
SautEnCours1 = 0;
TombeEnCours1 = 0;
SautEnCours2 = 0;
TombeEnCours2 = 0;
SautEnCoursSlide = 0;
TombeEnCoursSlide = 0;
position = 0;
SlideOK = 0;
surfer._visible = 1;
surfer._x = xPosStart;
surfer2.gotoAndStop(1);
Slide.gotoAndStop(1);
surfer.gotoAndStop("normal");
if (NbVie == 0) {
gotoAndPlay (51);
} else {
gotoAndPlay (632);
}
}
function RandomObjet(ClipName, FreqRand) {
if ((ClipName._currentFrame == 1) && (FinNivo1 == 0)) {
RandomFonction = random(FreqRand) + 1;
if (RandomFonction == 1) {
ClipName.play();
}
}
}
function TestCollisionObjet(ClipName1, ClipName2, ClipNameAction, Action) {
if (Action eq "NF") {
if (ClipName1.hitTest(ClipName2)) {
ClipNameAction.nextFrame();
ResultCollision = 1;
} else {
ResultCollision = 0;
}
} else if (Action eq "PL") {
if (ClipName1.hitTest(ClipName2)) {
if (ClipNameAction != 0) {
ClipNameAction.play();
}
ResultCollision = 1;
} else {
ResultCollision = 0;
}
}
return(ResultCollision);
}
JaugeVie.gotoAndStop(5);
NbPointParCanette = 10;
xPosStart = 103;
aTerre = 0;
PositionTotale = 2;
ImgLimite = 14;
SlideEnCours = 0;
LimiteLevel = 5;
LimiteLevelNivo1 = 120;
xLimiteMaxi = 400;
xLimiteMini = 70;
VitessePerso = 12;
VitessePersoArret = -4;
NbVoitureTotale = 3;
FinNivo1 = 0;
ScoreDuSlide = 20;
NiveauVie = 5;
FinJaugeVie = NiveauVie + 1;
stop();
Frame 658
if (((Slide._currentFrame == 1) && (surfer2._currentFrame == 1)) && (surfer._visible == 0)) {
position = 1;
surfer._visible = 1;
surfer.gotoAndStop("normal1");
}
if (Key.isDown(Key.RIGHT)) {
if (position == 0) {
surfer.Normal.gotoAndStop(1);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(1);
}
surfer2.Normal.gotoAndStop(1);
if ((surfer._x < xLimiteMaxi) && (aTerre == 0)) {
surfer._x = surfer._x + VitessePerso;
}
} else {
if (position == 0) {
surfer.Normal.gotoAndStop(2);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(2);
}
surfer2.Normal.gotoAndStop(2);
}
if (Key.isDown(Key.LEFT)) {
if ((xLimiteMini < surfer._x) && (aTerre == 0)) {
surfer._x = surfer._x - VitessePerso;
}
}
if (FinNivo1 == 1) {
if ((((((((((Voiture1._currentFrame == 1) && (Voiture2._currentFrame == 1)) && (Cone._currentFrame == 1)) && (Cone1._currentFrame == 1)) && (Poubelle._currentFrame == 1)) && (Travaux._currentFrame == 1)) && (pt1._currentFrame == 1)) && (pt2._currentFrame == 1)) && (pt3._currentFrame == 1)) && (pt4._currentFrame == 1)) {
gotoAndPlay (660);
}
}
if (aTerre == 0) {
if ((xLimiteMini < surfer._x) && (SlideEnCours == 0)) {
surfer._x = surfer._x + VitessePersoArret;
} else if ((surfer._x < xLimiteMaxi) && (SlideEnCours == 1)) {
surfer._x = surfer._x - VitessePersoArret;
}
} else {
surfer._x = surfer._x + (VitessePersoArret * 10);
if (-100 >= surfer._x) {
InitGame3bis();
}
}
Slide._x = surfer._x;
surfer2._x = surfer._x;
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Voiture1, 25);
}
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Voiture2, 25);
}
RandomObjet(Cone, 40);
RandomObjet(Cone1, 40);
RandomObjet(Trou, 30);
RandomObjet(Travaux, 60);
if ((Voiture1._currentFrame == 1) or (Voiture1._currentFrame >= ImgLimite)) {
RandomObjet(Pt1, 35);
}
if ((Voiture2._currentFrame == 1) or (Voiture2._currentFrame >= ImgLimite)) {
RandomObjet(Pt2, 35);
}
RandomObjet(Pt3, 35);
if ((Travaux._currentFrame == 1) or (Travaux._currentFrame >= ImgLimite)) {
RandomObjet(Pt4, 35);
}
if ((Position == 0) && (Cone._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone, Cone.ClipCone, "NF");
}
if ((Position == 1) && (Cone1._currentFrame != 1)) {
TestCollisionObjet(surfer, Cone1, Cone1.ClipCone, "NF");
}
if (((Position == 2) && (TombeEnCours2 == 0)) && (Travaux._currentFrame != 1)) {
TestCollisionObjet(surfer2, Travaux.ClipTravaux.TestTravaux, Travaux.ClipTravaux, "NF");
if (ResultCollision == 1) {
surfer2.gotoAndPlay("tombe2");
}
}
if (((Position == 0) && (TombeEnCours == 0)) && (Voiture1._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture1.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe");
}
TestCollisionObjet(Voiture1.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond");
}
}
if (((Position == 1) && (TombeEnCours1 == 0)) && (Voiture2._currentFrame != 1)) {
TestCollisionObjet(surfer, Voiture2.TestVoiture.AvantVoiture, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe1");
}
TestCollisionObjet(Voiture2.TestVoiture.DessusVoiture, surfer.Saut.PointTestSaut, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("rebond1");
}
}
if (((Position == 0) && (TombeEnCours == 0)) && (Trou._currentFrame != 1)) {
TestCollisionObjet(surfer, Trou, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe");
}
}
if (((Position == 1) && (TombeEnCours1 == 0)) && (Trou._currentFrame != 1)) {
TestCollisionObjet(surfer, Trou, 0, "PL");
if (ResultCollision == 1) {
surfer.gotoAndPlay("tombe1");
}
}
if ((Position == 0) && (pt1._currentFrame != 1)) {
TestCollisionObjet(surfer, pt1, pt1.Canette, "PL");
}
if ((Position == 1) && (pt2._currentFrame != 1)) {
TestCollisionObjet(surfer, pt2, pt2.Canette, "PL");
}
if ((SlideEnCours == 1) && (pt3._currentFrame != 1)) {
TestCollisionObjet(Slide, pt3, pt3.Canette, "PL");
}
if ((Position == 2) && (pt4._currentFrame != 1)) {
TestCollisionObjet(surfer2, pt4, pt4.Canette, "PL");
}
play();
Frame 659
prevFrame();
Frame 660
PositionFinNivo1 = 225;
surfer._x = Math.floor(surfer._x);
if (position == 0) {
if ((PositionFinNivo1 + 5) < surfer._x) {
surfer._x = surfer._x - 5;
} else if (surfer._x < (PositionFinNivo1 - 5)) {
surfer._x = surfer._x + 5;
} else {
gotoAndStop (662);
}
} else if (position == 1) {
surfer.gotoAndPlay("avance");
} else if (position == 2) {
surfer2.gotoAndPlay("partir");
} else if (SlideEnCours == 1) {
Slide.gotoAndPlay("PlusBas");
}
play();
Frame 661
prevFrame();
Frame 662
BonusFinNivo1 = 100;
Frame 685
BonusFinNivo1 = BonusFinNivo1 - 5;
ScoreGame = ScoreGame + 5;
if (0 >= BonusFinNivo1) {
gotoAndPlay (687);
}
play();
Frame 686
prevFrame();
Frame 687
NbVie++;
Frame 693
gotoAndPlay (735);
Frame 694
stopAllSounds();
stop();
Frame 708
xPosStart = 103;
aTerre = 0;
SlideEnCours = 0;
xLimiteMaxi = 400;
xLimiteMini = 70;
VitessePerso = 12;
VitessePersoArret = -4;
NbBoucleTransi3 = 10;
index = 0;
VitCone = 20;
Frame 709
if (index != NbBoucleTransi3) {
i = 1;
while (4 >= i) {
ObjCone = eval ("c" + i);
ObjCone._x = ObjCone._x - VitCone;
if (ObjCone._x < -200) {
if (i == 1) {
index++;
}
if (ObjCone._currentFrame == 1) {
ScoreGame = ScoreGame + 10;
}
ObjCone._x = 500;
ObjCone.gotoAndStop(1);
}
i++;
}
} else {
if ((((-20 >= c1._x) && (-20 >= c2._x)) && (-20 >= c3._x)) && (-20 >= c4._x)) {
gotoAndPlay (711);
}
c1._x = c1._x - VitCone;
c2._x = c2._x - VitCone;
c3._x = c3._x - VitCone;
c4._x = c4._x - VitCone;
}
i = 1;
while (4 >= i) {
ObjCone = eval ("c" + i);
if ((position == 0) && ((i == 2) or (i == 4))) {
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
}
if ((position == 1) && ((i == 1) or (i == 3))) {
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
}
i++;
}
if (Key.isDown(Key.RIGHT)) {
if (position == 0) {
surfer.Normal.gotoAndStop(1);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(1);
}
if ((surfer._x < xLimiteMaxi) && (aTerre == 0)) {
surfer._x = surfer._x + VitessePerso;
}
} else if (position == 0) {
surfer.Normal.gotoAndStop(2);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(2);
}
if (Key.isDown(Key.LEFT)) {
if ((xLimiteMini < surfer._x) && (aTerre == 0)) {
surfer._x = surfer._x - VitessePerso;
}
}
if (aTerre == 0) {
if ((xLimiteMini < surfer._x) && (SlideEnCours == 0)) {
surfer._x = surfer._x + VitessePersoArret;
} else if ((surfer._x < xLimiteMaxi) && (SlideEnCours == 1)) {
surfer._x = surfer._x - VitessePersoArret;
}
}
play();
Frame 710
prevFrame();
Frame 711
PositionFinNivo1 = 225;
surfer._x = Math.floor(surfer._x);
if (position == 0) {
if ((PositionFinNivo1 + 5) < surfer._x) {
surfer._x = surfer._x - 5;
} else if (surfer._x < (PositionFinNivo1 - 5)) {
surfer._x = surfer._x + 5;
} else {
gotoAndPlay (713);
}
} else if (position == 1) {
surfer.gotoAndPlay("avance");
}
play();
Frame 712
prevFrame();
Frame 713
BonusFinNivo1 = 100;
ttt3.stop();
play();
Frame 714
BonusFinNivo1 = BonusFinNivo1 - 5;
ScoreGame = ScoreGame + 5;
if (0 >= BonusFinNivo1) {
gotoAndPlay (716);
}
play();
Frame 715
prevFrame();
Frame 716
play();
Frame 730
id_user = "";
id_tournoi = "";
fin = "";
_root.loadVariables(ParaFlash, GET);
Frame 732
if ((fin != 1) && (fin != "1")) {
prevFrame();
play();
}
Frame 733
Set("/:score", /:ScoreGame);
_root.loadVariables((((((MAJScore + "?id_user=") + _root.id_user) + "&id_tournoi=") + _root.id_tournoi) + "&score=") + _root.score, GET);
Frame 734
stop();
Frame 735
stopAllSounds();
stop();
Frame 749
xPosStart = 103;
aTerre = 0;
SlideEnCours = 0;
xLimiteMaxi = 400;
xLimiteMini = 70;
VitessePerso = 12;
VitessePersoArret = -4;
NbBoucleTransi3 = 10;
index = 0;
VitCone = 20;
Frame 750
if (index != NbBoucleTransi3) {
i = 1;
while (4 >= i) {
ObjCone = eval ("c" + i);
ObjCone._x = ObjCone._x - VitCone;
if (ObjCone._x < -200) {
if (i == 1) {
index++;
}
if (ObjCone._currentFrame == 1) {
ScoreGame = ScoreGame + 10;
}
ObjCone._x = 500;
ObjCone.gotoAndStop(1);
}
i++;
}
} else {
if ((((-20 >= c1._x) && (-20 >= c2._x)) && (-20 >= c3._x)) && (-20 >= c4._x)) {
gotoAndPlay (752);
}
c1._x = c1._x - VitCone;
c2._x = c2._x - VitCone;
c3._x = c3._x - VitCone;
c4._x = c4._x - VitCone;
}
i = 1;
while (4 >= i) {
ObjCone = eval ("c" + i);
if ((position == 0) && ((i == 2) or (i == 4))) {
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
}
if ((position == 1) && ((i == 1) or (i == 3))) {
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
if (surfer.hitTest(ObjCone)) {
ObjCone.nextFrame();
}
}
i++;
}
if (Key.isDown(Key.RIGHT)) {
if (position == 0) {
surfer.Normal.gotoAndStop(1);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(1);
}
if ((surfer._x < xLimiteMaxi) && (aTerre == 0)) {
surfer._x = surfer._x + VitessePerso;
}
} else if (position == 0) {
surfer.Normal.gotoAndStop(2);
} else if (position == 1) {
surfer.Normal1.gotoAndStop(2);
}
if (Key.isDown(Key.LEFT)) {
if ((xLimiteMini < surfer._x) && (aTerre == 0)) {
surfer._x = surfer._x - VitessePerso;
}
}
if (aTerre == 0) {
if ((xLimiteMini < surfer._x) && (SlideEnCours == 0)) {
surfer._x = surfer._x + VitessePersoArret;
} else if ((surfer._x < xLimiteMaxi) && (SlideEnCours == 1)) {
surfer._x = surfer._x - VitessePersoArret;
}
}
play();
Frame 751
prevFrame();
Frame 752
PositionFinNivo1 = 225;
surfer._x = Math.floor(surfer._x);
if (position == 0) {
if ((PositionFinNivo1 + 5) < surfer._x) {
surfer._x = surfer._x - 5;
} else if (surfer._x < (PositionFinNivo1 - 5)) {
surfer._x = surfer._x + 5;
} else {
gotoAndPlay (754);
}
} else if (position == 1) {
surfer.gotoAndPlay("avance");
}
play();
Frame 753
prevFrame();
Frame 754
BonusFinNivo1 = 100;
ttt3.stop();
play();
Frame 755
BonusFinNivo1 = BonusFinNivo1 - 5;
ScoreGame = ScoreGame + 5;
if (0 >= BonusFinNivo1) {
gotoAndPlay (757);
}
play();
Frame 756
prevFrame();
Frame 757
play();
Frame 771
id_user = "";
id_tournoi = "";
fin = "";
_root.loadVariables(ParaFlash, GET);
Frame 773
if ((fin != 1) && (fin != "1")) {
prevFrame();
play();
}
Frame 774
Set("/:score", /:ScoreGame);
_root.loadVariables((((((MAJScore + "?id_user=") + _root.id_user) + "&id_tournoi=") + _root.id_tournoi) + "&score=") + _root.score, GET);
Frame 775
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 12
_root.aTerre = 1;
stop();
Symbol 112 MovieClip Frame 153
CutIntro.play();
Symbol 115 Button
on (release) {
stopAllSounds();
play();
}
Symbol 121 Button
on (release) {
gotoAndPlay (9);
}
Symbol 122 Button
on (release) {
gotoAndPlay (18);
}
Symbol 123 Button
on (release) {
gotoAndPlay (32);
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
stop();
Symbol 144 Button
on (release) {
gotoAndPlay (27);
}
Symbol 172 MovieClip Frame 1
_root.VersRampe = 0;
_root.SlideEnCours = 0;
_root.SautEnCoursSlidePetit = 0;
stop();
Symbol 172 MovieClip Frame 2
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
_root.SautEnCoursSlidePetit = 1;
Symbol 172 MovieClip Frame 5
_root.VersRampe = 1;
Symbol 172 MovieClip Frame 7
_root.VersRampe = 0;
Symbol 172 MovieClip Frame 8
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.SautEnCoursSlidePetit = 0;
StartTime = getTimer();
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
_root.SlideEnCours = 1;
_root.aTerre = 0;
gotoAndPlay (9);
Symbol 172 MovieClip Frame 10
Elapsed1 = _root.LimiteLevel - int((getTimer() - StartTime) / 1000);
timer = (_root.LimiteLevel * 1000) - (getTimer() - StartTime);
ImgTimer = int(timer / 10);
AnimTimer.gotoAndStop(ImgTimer);
if (Elapsed1 == 0) {
gotoAndPlay (26);
} else {
gotoAndPlay (9);
}
Symbol 172 MovieClip Frame 11
_root.SautEnCoursSlide = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
if (0 < _root.ScoreDuSlide) {
_root.ScoreDuSlide--;
}
Symbol 172 MovieClip Frame 13
_root.ScoreGame = _root.ScoreGame + _root.ScoreDuSlide;
Symbol 172 MovieClip Frame 25
gotoAndPlay (8);
Symbol 172 MovieClip Frame 26
_root.TombeEnCoursSlide = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
Symbol 172 MovieClip Frame 39
_root.VersRampe = 1;
Symbol 172 MovieClip Frame 41
_root.VersRampe = 0;
stop();
Symbol 172 MovieClip Frame 42
_root.SautEnCoursSlide = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
Symbol 172 MovieClip Frame 52
gotoAndPlay (8);
Symbol 172 MovieClip Frame 53
_root.SlideEnCours = 0;
_root.SautEnCoursSlidePetit = 1;
_root.VersRampe = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
Symbol 172 MovieClip Frame 55
_root.VersRampe = 0;
Symbol 172 MovieClip Frame 59
_root.VersRampe = 0;
_root.surfer.gotoAndStop("normal1");
_root.surfer._visible = 1;
_root.position = 1;
gotoAndStop (1);
Symbol 173 MovieClip Frame 1
_root.FinAnimChoixJoueur = 0;
stop();
Symbol 173 MovieClip Frame 5
_root.pp2.gotoAndStop(1);
stop();
Symbol 173 MovieClip Frame 8
gotoAndStop (1);
Symbol 173 MovieClip Frame 9
play();
Symbol 173 MovieClip Frame 22
_root.FinAnimChoixJoueur = 1;
stop();
Symbol 178 MovieClip Frame 1
_root.FinAnimChoixJoueur = 0;
stop();
Symbol 178 MovieClip Frame 5
_root.pp1.gotoAndStop(1);
stop();
Symbol 178 MovieClip Frame 8
gotoAndStop (1);
Symbol 178 MovieClip Frame 9
play();
Symbol 178 MovieClip Frame 33
_root.FinAnimChoixJoueur = 1;
stop();
Symbol 185 Button
on (rollOver) {
if ((pp1._currentFrame < 9) && (ChoixJoueur == 0)) {
pp1.gotoAndPlay(2);
}
}
on (rollOut) {
if ((pp1._currentFrame < 9) && (ChoixJoueur == 0)) {
pp1.gotoAndPlay(6);
}
}
on (release) {
pp1.gotoAndStop(5);
ChoixJoueur = 1;
ClipGo.nextFrame();
}
Symbol 189 Button
on (rollOver) {
if ((pp2._currentFrame < 9) && (ChoixJoueur == 0)) {
pp2.gotoAndPlay(2);
}
}
on (rollOut) {
if ((pp2._currentFrame < 9) && (ChoixJoueur == 0)) {
pp2.gotoAndPlay(6);
}
}
on (release) {
pp2.gotoAndStop(5);
ChoixJoueur = 2;
ClipGo.nextFrame();
}
Symbol 192 MovieClip Frame 1
stop();
Symbol 196 Button
on (release) {
if (_root.ChoixJoueur == 1) {
_root.pp1.gotoAndPlay(9);
} else if (_root.ChoixJoueur == 2) {
_root.pp2.gotoAndPlay(9);
} else {
_root.SelectP.play();
}
}
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 209 Button
on (release) {
if (_currentframe == 1) {
nextFrame();
} else {
prevFrame();
}
}
Symbol 210 MovieClip Frame 1
Set("/:DroitDiffusion", 1);
stop();
Symbol 210 MovieClip Frame 2
Set("/:DroitDiffusion", 0);
stop();
Symbol 213 Button
on (release) {
nextFrame();
}
Symbol 214 Button
on (release) {
prevFrame();
}
Symbol 215 MovieClip Frame 1
Set("/:Sexe", "M");
stop();
Symbol 215 MovieClip Frame 2
Set("/:Sexe", "F");
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
play();
Symbol 219 MovieClip Frame 20
gotoAndStop (1);
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
play();
Symbol 221 MovieClip Frame 20
gotoAndStop (1);
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
play();
Symbol 230 MovieClip Frame 20
gotoAndStop (1);
Symbol 233 Button
on (release) {
if (((31 < d1) or (12 < d2)) or (2001 < d3)) {
ErreurDate.play();
} else if ((((((Nom ne "") && (Prenom ne "")) && (Email ne "")) && (d1 ne "")) && (d2 ne "")) && (d3 ne "")) {
var chaine = new String(Email);
var index;
index = chaine.indexOf("@");
if (index == -1) {
completerEmail.play();
} else {
index = chaine.indexOf(".", index);
indexTxt = index;
if (index == -1) {
completerEmail.play();
} else if (chaine.length >= 5) {
DateNaissance = (((d1 add "/") add d2) add "/") add d3;
loadVariablesNum ("addplayer.asp", 0, "POST");
gotoAndStop (8);
} else {
completerEmail.play();
}
}
} else {
completer.play();
}
delete chaine;
}
Symbol 234 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 2
stop();
Symbol 246 Button
on (release) {
gotoAndPlay (32);
}
Symbol 249 MovieClip Frame 1
if (_root.FinNivo1 == 0) {
play();
} else {
stop();
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
play();
Symbol 251 MovieClip Frame 12
stop();
Symbol 252 MovieClip Frame 1
ClipPoubelle.gotoAndStop(1);
stop();
Symbol 262 MovieClip Frame 6
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 2
stop();
Symbol 264 MovieClip Frame 1
ClipTravaux.gotoAndStop(1);
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 2
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 2
_root.position = 3;
_root.surfer._visible = 0;
_root.Slide.gotoAndStop(1);
play();
Symbol 276 MovieClip Frame 8
gotoAndStop (9);
Symbol 276 MovieClip Frame 9
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.position = 2;
_root.SlideOK = 0;
stop();
Symbol 276 MovieClip Frame 15
_root.SautEnCours2 = 1;
Symbol 276 MovieClip Frame 36
gotoAndStop (9);
Symbol 276 MovieClip Frame 37
_root.NiveauVie--;
ImgJaugeVie = _root.NiveauVie;
if (0 < _root.NiveauVie) {
_root.JaugeVie.gotoAndStop(_root.NiveauVie);
} else {
ImgJaugeVie = _root.FinJaugeVie;
_root.JaugeVie.gotoAndStop(ImgJaugeVie);
ClipTombe2.gotoAndStop(2);
stop();
}
_root.TombeEnCours2 = 1;
Symbol 276 MovieClip Frame 45
gotoAndStop (9);
Symbol 276 MovieClip Frame 46
_root.SautEnCours2 = 1;
Symbol 276 MovieClip Frame 56
gotoAndStop (9);
Symbol 276 MovieClip Frame 57
play();
_root.position = 3;
Symbol 276 MovieClip Frame 63
_root.Slide.gotoAndPlay("Up");
gotoAndStop (1);
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
_root.ScoreGame = _root.ScoreGame + _root.NbPointParCanette;
Symbol 283 MovieClip Frame 11
stop();
Symbol 284 MovieClip Frame 1
Canette.gotoAndStop(1);
stop();
Symbol 284 MovieClip Frame 20
gotoAndStop (1);
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 2
_root.ScoreGame = _root.ScoreGame + _root.NbPointParCanette;
Symbol 286 MovieClip Frame 11
stop();
Symbol 287 MovieClip Frame 1
Canette.gotoAndStop(1);
stop();
Symbol 287 MovieClip Frame 30
gotoAndStop (1);
Symbol 288 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 1
TestBus.gotoAndStop(1);
stop();
Symbol 290 MovieClip Frame 1
Canette.gotoAndStop(1);
stop();
Symbol 290 MovieClip Frame 35
gotoAndStop (1);
Symbol 293 MovieClip Frame 9
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 1
ClipCone.gotoAndStop(1);
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
RandType2 = random(_root.NbVoitureTotale) + 1;
TestVoiture.Type.gotoAndStop(RandType2);
Symbol 308 MovieClip Frame 35
gotoAndStop (1);
Symbol 310 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.position = 0;
_root.SlideOK = 0;
stop();
Symbol 324 MovieClip Frame 6
_root.SautEnCours = 1;
Symbol 324 MovieClip Frame 25
gotoAndStop (1);
Symbol 324 MovieClip Frame 26
_root.NiveauVie--;
ImgJaugeVie = _root.NiveauVie;
if (0 < _root.NiveauVie) {
_root.JaugeVie.gotoAndStop(_root.NiveauVie);
} else {
ImgJaugeVie = _root.FinJaugeVie;
_root.JaugeVie.gotoAndStop(ImgJaugeVie);
ClipTombe.gotoAndStop(2);
stop();
}
_root.TombeEnCours = 1;
Symbol 324 MovieClip Frame 34
gotoAndStop (1);
Symbol 324 MovieClip Frame 35
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.position = 1;
_root.SlideOK = 0;
stop();
Symbol 324 MovieClip Frame 41
_root.SautEnCours1 = 1;
Symbol 324 MovieClip Frame 60
gotoAndStop (35);
Symbol 324 MovieClip Frame 61
_root.NiveauVie--;
ImgJaugeVie = _root.NiveauVie;
if (0 < _root.NiveauVie) {
_root.JaugeVie.gotoAndStop(_root.NiveauVie);
} else {
ImgJaugeVie = _root.FinJaugeVie;
_root.JaugeVie.gotoAndStop(ImgJaugeVie);
ClipTombe1.gotoAndStop(2);
stop();
}
_root.TombeEnCours1 = 1;
Symbol 324 MovieClip Frame 69
gotoAndStop (35);
Symbol 324 MovieClip Frame 70
_root.position = 3;
play();
Symbol 324 MovieClip Frame 74
gotoAndStop (35);
Symbol 324 MovieClip Frame 75
_root.position = 3;
play();
Symbol 324 MovieClip Frame 79
gotoAndStop (1);
Symbol 324 MovieClip Frame 80
_root.SautEnCours = 1;
Symbol 324 MovieClip Frame 84
_root.ScoreGame = _root.ScoreGame + 20;
Symbol 324 MovieClip Frame 96
gotoAndStop (1);
Symbol 324 MovieClip Frame 97
_root.SautEnCours1 = 1;
Symbol 324 MovieClip Frame 101
_root.ScoreGame = _root.ScoreGame + 20;
Symbol 324 MovieClip Frame 113
gotoAndStop (35);
Symbol 325 MovieClip Frame 1
ClipCone.gotoAndStop(1);
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
RandType1 = random(_root.NbVoitureTotale) + 1;
TestVoiture.Type.gotoAndStop(RandType1);
Symbol 326 MovieClip Frame 30
gotoAndStop (1);
Symbol 327 MovieClip Frame 1
Canette.gotoAndStop(1);
stop();
Symbol 327 MovieClip Frame 30
gotoAndStop (1);
Symbol 333 MovieClip Frame 1
stop();
Symbol 336 Button
on (release) {
gotoAndPlay (62);
}
Symbol 339 MovieClip Frame 1
play();
Symbol 342 MovieClip Frame 1
play();
Symbol 356 Button
on (keyPress "<Space>") {
if (((((((((SautEnCoursSlidePetit == 0) && (SautEnCoursSlide == 0)) && (TombeEnCoursSlide == 0)) && (SautEnCours == 0)) && (TombeEnCours == 0)) && (SautEnCours1 == 0)) && (TombeEnCours1 == 0)) && (SautEnCours2 == 0)) && (TombeEnCours2 == 0)) {
if (position == 0) {
surfer.gotoAndPlay("saut");
} else if (position == 1) {
surfer.gotoAndPlay("saut1");
} else if (position == 2) {
surfer2.gotoAndPlay("saut2");
} else if (SlideEnCours == 1) {
Slide.gotoAndPlay("sautSlide");
}
}
}
on (keyPress "<Up>") {
if ((((((((SautEnCoursSlide == 0) && (TombeEnCoursSlide == 0)) && (TombeEnCours == 0)) && (SautEnCours == 0)) && (TombeEnCours1 == 0)) && (SautEnCours1 == 0)) && (TombeEnCours2 == 0)) && (SautEnCours2 == 0)) {
if (position == 0) {
position = 1;
surfer.gotoAndPlay("recule");
} else if (position == 1) {
SlideEnCours = 1;
position = 3;
Slide.play();
} else if (SlideEnCours == 1) {
surfer2.play();
}
}
}
on (keyPress "<Down>") {
if ((((((((SautEnCoursSlide == 0) && (TombeEnCoursSlide == 0)) && (TombeEnCours == 0)) && (SautEnCours == 0)) && (TombeEnCours1 == 0)) && (SautEnCours1 == 0)) && (TombeEnCours2 == 0)) && (SautEnCours2 == 0)) {
if (position == 2) {
surfer2.gotoAndPlay("Partir");
} else if (SlideEnCours == 1) {
Slide.gotoAndPlay("PlusBas");
} else if (position == 1) {
position = 0;
surfer.gotoAndPlay("avance");
}
}
}
Symbol 359 MovieClip Frame 1
StartTimeNivo1 = getTimer();
DernierElapsed1Nivo1 = Elapsed1Nivo1;
MoveMiniMap._x = 15;
gotoAndPlay (2);
Symbol 359 MovieClip Frame 3
Elapsed1Nivo1 = _root.LimiteLevelNivo1 - int((getTimer() - StartTimeNivo1) / 1000);
PasTimerNivo1 = 200 / _root.LimiteLevelNivo1;
TmpElapsed1Nivo1 = Elapsed1Nivo1;
if ((TmpElapsed1Nivo1 != DernierElapsed1Nivo1) && (_root.FinNivo1 == 0)) {
DernierElapsed1Nivo1 = Elapsed1Nivo1;
MoveMiniMap._x = MoveMiniMap._x + PasTimerNivo1;
}
if (_root.FinNivo1 == 1) {
MoveMiniMap._x = 200;
}
if (Elapsed1Nivo1 == 0) {
_root.FinNivo1 = 1;
} else {
gotoAndPlay (2);
}
Symbol 368 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 12
_root.aTerre = 1;
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 2
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 2
_root.position = 3;
_root.surfer._visible = 0;
_root.Slide.gotoAndStop(1);
play();
Symbol 372 MovieClip Frame 8
gotoAndStop (9);
Symbol 372 MovieClip Frame 9
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.position = 2;
_root.SlideOK = 0;
stop();
Symbol 372 MovieClip Frame 15
_root.SautEnCours2 = 1;
Symbol 372 MovieClip Frame 35
gotoAndStop (9);
Symbol 372 MovieClip Frame 36
_root.NiveauVie--;
ImgJaugeVie = _root.NiveauVie;
if (0 < _root.NiveauVie) {
_root.JaugeVie.gotoAndStop(_root.NiveauVie);
} else {
ImgJaugeVie = _root.FinJaugeVie;
_root.JaugeVie.gotoAndStop(ImgJaugeVie);
ClipTombe2.gotoAndStop(2);
stop();
}
_root.TombeEnCours2 = 1;
Symbol 372 MovieClip Frame 44
gotoAndStop (9);
Symbol 372 MovieClip Frame 45
_root.SautEnCours2 = 1;
Symbol 372 MovieClip Frame 55
gotoAndStop (9);
Symbol 372 MovieClip Frame 56
play();
_root.position = 3;
Symbol 372 MovieClip Frame 62
_root.Slide.gotoAndPlay("Up");
gotoAndStop (1);
Symbol 380 MovieClip Frame 1
_root.VersRampe = 0;
_root.SlideEnCours = 0;
_root.SautEnCoursSlidePetit = 0;
stop();
Symbol 380 MovieClip Frame 2
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
_root.SautEnCoursSlidePetit = 1;
Symbol 380 MovieClip Frame 5
_root.VersRampe = 1;
Symbol 380 MovieClip Frame 7
_root.VersRampe = 0;
Symbol 380 MovieClip Frame 8
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.SautEnCoursSlidePetit = 0;
_root.SlideEnCours = 1;
_root.aTerre = 0;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
StartTime = getTimer();
gotoAndPlay (9);
Symbol 380 MovieClip Frame 10
Elapsed1 = _root.LimiteLevel - int((getTimer() - StartTime) / 1000);
timer = (_root.LimiteLevel * 1000) - (getTimer() - StartTime);
ImgTimer = int(timer / 10);
AnimTimer.gotoAndStop(ImgTimer);
if (Elapsed1 == 0) {
gotoAndPlay (26);
} else {
gotoAndPlay (9);
}
Symbol 380 MovieClip Frame 11
_root.SautEnCoursSlide = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
if (0 < _root.ScoreDuSlide) {
_root.ScoreDuSlide--;
}
Symbol 380 MovieClip Frame 14
_root.ScoreGame = _root.ScoreGame + _root.ScoreDuSlide;
Symbol 380 MovieClip Frame 25
gotoAndPlay (8);
Symbol 380 MovieClip Frame 26
_root.TombeEnCoursSlide = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
Symbol 380 MovieClip Frame 39
_root.VersRampe = 1;
Symbol 380 MovieClip Frame 41
_root.VersRampe = 0;
stop();
Symbol 380 MovieClip Frame 42
_root.SautEnCoursSlide = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
Symbol 380 MovieClip Frame 52
gotoAndPlay (8);
Symbol 380 MovieClip Frame 53
_root.SlideEnCours = 0;
_root.VersRampe = 1;
_root.SautEnCoursSlidePetit = 1;
_root.surfer._visible = 0;
_root.surfer2.gotoAndStop(1);
Symbol 380 MovieClip Frame 55
_root.VersRampe = 0;
Symbol 380 MovieClip Frame 59
_root.VersRampe = 0;
_root.surfer.gotoAndStop("normal1");
_root.surfer._visible = 1;
_root.position = 1;
gotoAndStop (1);
Symbol 390 MovieClip Frame 1
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.position = 0;
_root.SlideOK = 0;
stop();
Symbol 390 MovieClip Frame 6
_root.SautEnCours = 1;
Symbol 390 MovieClip Frame 25
gotoAndStop (1);
Symbol 390 MovieClip Frame 26
_root.NiveauVie--;
ImgJaugeVie = _root.NiveauVie;
if (0 < _root.NiveauVie) {
_root.JaugeVie.gotoAndStop(_root.NiveauVie);
} else {
ImgJaugeVie = _root.FinJaugeVie;
_root.JaugeVie.gotoAndStop(ImgJaugeVie);
ClipTombe.gotoAndStop(2);
stop();
}
_root.TombeEnCours = 1;
Symbol 390 MovieClip Frame 34
gotoAndStop (1);
Symbol 390 MovieClip Frame 35
_root.SautEnCours = 0;
_root.TombeEnCours = 0;
_root.SautEnCours1 = 0;
_root.TombeEnCours1 = 0;
_root.SautEnCours2 = 0;
_root.TombeEnCours2 = 0;
_root.SautEnCoursSlide = 0;
_root.TombeEnCoursSlide = 0;
_root.position = 1;
_root.SlideOK = 0;
stop();
Symbol 390 MovieClip Frame 41
_root.SautEnCours1 = 1;
Symbol 390 MovieClip Frame 60
gotoAndStop (35);
Symbol 390 MovieClip Frame 61
_root.NiveauVie--;
ImgJaugeVie = _root.NiveauVie;
if (0 < _root.NiveauVie) {
_root.JaugeVie.gotoAndStop(_root.NiveauVie);
} else {
ImgJaugeVie = _root.FinJaugeVie;
_root.JaugeVie.gotoAndStop(ImgJaugeVie);
ClipTombe1.gotoAndStop(2);
stop();
}
_root.TombeEnCours1 = 1;
Symbol 390 MovieClip Frame 69
gotoAndStop (35);
Symbol 390 MovieClip Frame 70
play();
_root.position = 3;
Symbol 390 MovieClip Frame 74
gotoAndStop (35);
Symbol 390 MovieClip Frame 75
play();
_root.position = 3;
Symbol 390 MovieClip Frame 79
gotoAndStop (1);
Symbol 390 MovieClip Frame 80
_root.SautEnCours = 1;
Symbol 390 MovieClip Frame 84
_root.ScoreGame = _root.ScoreGame + 20;
Symbol 390 MovieClip Frame 96
gotoAndStop (1);
Symbol 390 MovieClip Frame 97
_root.SautEnCours1 = 1;
Symbol 390 MovieClip Frame 101
_root.ScoreGame = _root.ScoreGame + 20;
Symbol 390 MovieClip Frame 113
gotoAndStop (35);
Symbol 394 Button
on (release) {
gotoAndPlay (125);
}
Symbol 411 Button
on (release) {
play();
}
Symbol 415 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 2
stop();
Symbol 423 Button
on (release) {
StartTime = getTimer();
play();
}
Symbol 424 Button
on (release) {
Img = JaugeSpeed._currentFrame;
if (JaugeSpeed._totalFrames >= (JaugeSpeed._currentFrame + 3)) {
JaugeSpeed.gotoAndStop(Img + 3);
}
}
Symbol 469 Button
on (release) {
gotoAndPlay (245);
}
Symbol 549 Button
on (release) {
gotoAndPlay (378);
}
Symbol 606 MovieClip Frame 1
stop();
Symbol 614 Button
on (release) {
gotoAndPlay (569);
}
Symbol 620 Button
on (release) {
gotoAndPlay (632);
}
Symbol 628 Button
on (release) {
play();
}
Symbol 629 Button
on (keyPress "<Space>") {
if ((((((((SautEnCoursSlide == 0) && (TombeEnCoursSlide == 0)) && (SautEnCours == 0)) && (TombeEnCours == 0)) && (SautEnCours1 == 0)) && (TombeEnCours1 == 0)) && (SautEnCours2 == 0)) && (TombeEnCours2 == 0)) {
if (position == 0) {
surfer.gotoAndPlay("saut");
} else if (position == 1) {
surfer.gotoAndPlay("saut1");
}
}
}
on (keyPress "<Up>") {
if ((((((((SautEnCoursSlide == 0) && (TombeEnCoursSlide == 0)) && (TombeEnCours == 0)) && (SautEnCours == 0)) && (TombeEnCours1 == 0)) && (SautEnCours1 == 0)) && (TombeEnCours2 == 0)) && (SautEnCours2 == 0)) {
if (position == 0) {
position = 1;
surfer.gotoAndPlay("recule");
}
}
}
on (keyPress "<Down>") {
if ((((((((SautEnCoursSlide == 0) && (TombeEnCoursSlide == 0)) && (TombeEnCours == 0)) && (SautEnCours == 0)) && (TombeEnCours1 == 0)) && (SautEnCours1 == 0)) && (TombeEnCours2 == 0)) && (SautEnCours2 == 0)) {
if (position == 1) {
position = 0;
surfer.gotoAndPlay("avance");
}
}
}
Symbol 636 Button
on (release) {
gotoAndPlay (8);
}
Symbol 642 Button
on (release) {
gotoAndPlay (8);
}