home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 155 / MOBICLIC155.ISO / mac / DATA / BAY155 / BAY155_00 / BAY155_00.swf / scripts / frame_11 / DoAction.as
Text File  |  2013-07-08  |  1KB  |  51 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");
  47.    };
  48. }
  49. initBT_QUIT();
  50. initBT_ONLINE();
  51.