home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 136 / MOBICLIC136.ISO / pc / DATA / ENG136 / ENG136_00 / ENG136_00.swf / scripts / frame_235 / DoAction.as
Text File  |  2011-07-20  |  573b  |  32 lines

  1. trace("GOT HERE");
  2. _root.gMot += 1;
  3. _root.gListMots.splice(0,1);
  4. if(_root.gMot > 5)
  5. {
  6.    switch(_root.gScore)
  7.    {
  8.       case 0:
  9.          _root.resultat = "A";
  10.          break;
  11.       case 1:
  12.          _root.resultat = "A";
  13.          break;
  14.       case 2:
  15.          _root.resultat = "A";
  16.          break;
  17.       case 3:
  18.          _root.resultat = "B";
  19.          break;
  20.       case 4:
  21.          _root.resultat = "B";
  22.          break;
  23.       case 5:
  24.          _root.resultat = "C";
  25.    }
  26. }
  27. else
  28. {
  29.    trace("GO ATTENTE 2");
  30.    _root.gotoAndPlay("ATTENTE_2");
  31. }
  32.