home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 136 / MOBICLIC136.ISO / pc / DATA / ENG136 / ENG136_00 / ENG136_00.swf / scripts / frame_10 / DoAction.as
Text File  |  2011-07-20  |  1KB  |  55 lines

  1. function stopAll()
  2. {
  3.    gST = gOrigST;
  4. }
  5. function ModulePause()
  6. {
  7.    onPause = 1;
  8.    if(onDialog == 1)
  9.    {
  10.       _root.gNextLabel = undefined;
  11.       if(gCommentOn !== undefined)
  12.       {
  13.          stopSon();
  14.       }
  15.       var _loc0_ = null;
  16.       if((_loc0_ = _root.etatPlay) === 1)
  17.       {
  18.          etatPlay = 0;
  19.          DIALOG.BT_PLAY_PAUSE.gotoAndStop("E1");
  20.          DIALOG.gotoAndStop(_root.dialogEcran);
  21.       }
  22.    }
  23. }
  24. function ModuleResume()
  25. {
  26.    onPause = undefined;
  27. }
  28. function whirl()
  29. {
  30.    trace("WHIRL");
  31.    DIALOG.ANIM_21.gotoAndPlay("WHIRL");
  32. }
  33. function suiteWhirl()
  34. {
  35.    DIALOG.gotoAndPlay(_root.gNextLabel);
  36. }
  37. if(_global.HOTE == undefined)
  38. {
  39. }
  40. gLangue = "AN";
  41. sonVocab = 0;
  42. expression = 0;
  43. dialogue = 0;
  44. vocabJeu = 1;
  45. blockRolls = 1;
  46. gereTextes.afficheLM({codeLM:"LM00"});
  47. gCommentName = "S_" + gLangue + "_" + gModuleName + "_";
  48. gOrigST = gST;
  49. gST = 1;
  50. if(_global.HOTE == undefined)
  51. {
  52. }
  53. joueBruitage({nomSon:"B_DIA_INTRO"});
  54. play();
  55.