home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 136 / MOBICLIC136.ISO / pc / DATA / DCV136 / DCV136_00 / DCV136_00.swf / scripts / frame_396 / DoAction.as
Text File  |  2011-07-20  |  1KB  |  51 lines

  1. function localTest()
  2. {
  3.    BT_QUIZ._visible = 1;
  4.    teste_quiz(3);
  5. }
  6. var nom_du_son = "FIN_05";
  7. BT_QUIZ._visible = 0;
  8. stopSinge();
  9. joueSon({nomSon:nom_du_son,actionFin:"localTest"});
  10. stop();
  11. SINGE.onRollOver = function()
  12. {
  13.    gereCursor(2);
  14.    this.gotoAndStop("E5");
  15.    joueBruitage({nomSon:"B_SINGE"});
  16.    gereTextes.afficheIB({codeIB:"IB_SINGE",X:_root._xmouse,Y:_root._ymouse});
  17. };
  18. SINGE.onRollOut = function()
  19. {
  20.    gereCursor(1);
  21.    this.gotoAndStop("E2");
  22.    stopBruitage({nomSon:"B_SINGE"});
  23.    gereTextes.masqueIB();
  24. };
  25. SINGE.onPress = function()
  26. {
  27.    gereCursor(1);
  28.    this.gotoAndStop("E2");
  29.    stopBruitage({nomSon:"B_SINGE"});
  30.    gereTextes.masqueIB();
  31.    _root.gotoAndStop("INTRO");
  32. };
  33. var myMcBUG = BT_QUIZ.BUG_QUIZ;
  34. myMcBUG._visible = false;
  35. myMc = BT_QUIZ;
  36. myMc.onRollOver = function()
  37. {
  38.    gereCursor(2);
  39.    this._parent.gotoAndPlay("E2");
  40. };
  41. myMc.onRollOut = function()
  42. {
  43.    gereCursor(1);
  44.    this._parent.gotoAndPlay("E1");
  45. };
  46. myMc.onPress = function()
  47. {
  48.    gereCursor(1);
  49.    ChangeModule({codeRub:"DCV",numMod:1});
  50. };
  51.