home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 159 / MOBICLIC159.ISO / mac / DATA / INV159 / INV159_00 / INV159_00.swf / scripts / frame_12 / DoAction.as
Text File  |  2013-11-19  |  2KB  |  93 lines

  1. function initBT_QUIT()
  2. {
  3.    var _loc2_ = BT_QUIT;
  4.    _loc2_.pIB = "IB_Q";
  5.    _loc2_.pBruit = "B_BT_QUIT";
  6.    _loc2_.onRollOver = function()
  7.    {
  8.       gereCursor(2);
  9.       this.gotoAndPlay("E2");
  10.       joueBruitage({nomSon:this.pBruit});
  11.       gereTextes.afficheIB({codeIB:this.pIB,X:this._x + 60,Y:this._y + this._height});
  12.    };
  13.    _loc2_.onRollOut = function()
  14.    {
  15.       gereCursor(1);
  16.       this.gotoAndPlay("E1");
  17.       stopBruitage({nomSon:this.pBruit});
  18.       gereTextes.masqueIB({codeIB:this.pIB});
  19.    };
  20.    _loc2_.onPress = function()
  21.    {
  22.       gereCursor(1);
  23.       this.gotoAndPlay("E1");
  24.       stopBruitage({nomSon:this.pBruit});
  25.       gereTextes.masqueIB({codeIB:this.pIB});
  26.       ChangeModule({codeRub:"MOB",numMod:0,FromModule:true,A_GoLabel:"START"});
  27.    };
  28. }
  29. function initBT_ONLINE()
  30. {
  31.    var _loc3_ = BT_ONLINE;
  32.    _loc3_.onRollOver = function()
  33.    {
  34.       gereCursor(2);
  35.       this.gotoAndPlay("E2");
  36.    };
  37.    _loc3_.onRollOut = function()
  38.    {
  39.       gereCursor(1);
  40.       this.gotoAndPlay("E1");
  41.    };
  42.    _loc3_.onPress = function()
  43.    {
  44.       gereCursor(1);
  45.       this.gotoAndPlay("E1");
  46.       _global.HOTE.openURL("http://www.bayam.fr/mobiclic","_blank");
  47.    };
  48. }
  49. function initBT_MOBI()
  50. {
  51.    var _loc3_ = BT_MOBI;
  52.    _loc3_.onRollOver = function()
  53.    {
  54.       gereCursor(2);
  55.       this.gotoAndPlay("E2");
  56.    };
  57.    _loc3_.onRollOut = function()
  58.    {
  59.       gereCursor(1);
  60.       this.gotoAndPlay("E1");
  61.    };
  62.    _loc3_.onPress = function()
  63.    {
  64.       gereCursor(1);
  65.       this.gotoAndPlay("E1");
  66.       _global.HOTE.openURL("http://www.mobiclic.com","_blank");
  67.    };
  68. }
  69. function initBT_PARTICIPE()
  70. {
  71.    var _loc3_ = BT_PARTICIPE;
  72.    _loc3_.onRollOver = function()
  73.    {
  74.       gereCursor(2);
  75.       this.gotoAndPlay("E2");
  76.    };
  77.    _loc3_.onRollOut = function()
  78.    {
  79.       gereCursor(1);
  80.       this.gotoAndPlay("E1");
  81.    };
  82.    _loc3_.onPress = function()
  83.    {
  84.       gereCursor(1);
  85.       this.gotoAndPlay("E1");
  86.       _global.HOTE.openURL("http://www.mobiclic.com/concours","_blank");
  87.    };
  88. }
  89. initBT_QUIT();
  90. initBT_ONLINE();
  91. initBT_MOBI();
  92. initBT_PARTICIPE();
  93.