home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 149 / MOBICLIC149.ISO / pc / DATA / EPP149 / EPP149_00 / EPP149_00.swf / scripts / frame_28 / DoAction.as
Text File  |  2012-11-21  |  2KB  |  83 lines

  1. function initBT_CROIX()
  2. {
  3.    var _loc2_ = BT_CROIX;
  4.    _loc2_.pIB = "IB_R";
  5.    _loc2_.pBruit = "B_BT_CROIX";
  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 + 0,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.       gotoAndStop("ATTENTE");
  27.       play();
  28.    };
  29. }
  30. function initBT_PRINT()
  31. {
  32.    var _loc2_ = BT_PRINT;
  33.    _loc2_.pIB = "IB_P";
  34.    _loc2_.pBruit = "B_BT_PRINT";
  35.    _loc2_.onRollOver = function()
  36.    {
  37.       gereCursor(2);
  38.       this.gotoAndPlay("E2");
  39.       joueBruitage({nomSon:this.pBruit});
  40.       gereTextes.afficheIB({codeIB:this.pIB,X:this._x + 180,Y:this._y + this._height});
  41.    };
  42.    _loc2_.onRollOut = function()
  43.    {
  44.       gereCursor(1);
  45.       this.gotoAndPlay("E1");
  46.       stopBruitage({nomSon:this.pBruit});
  47.       gereTextes.masqueIB({codeIB:this.pIB});
  48.    };
  49.    _loc2_.onPress = function()
  50.    {
  51.       gereCursor(1);
  52.       this.gotoAndPlay("E1");
  53.       stopBruitage({nomSon:this.pBruit});
  54.       gereTextes.masqueIB({codeIB:this.pIB});
  55.       gotoAndStop("PRINT");
  56.       play();
  57.    };
  58. }
  59. function initBT_ONLINE()
  60. {
  61.    var _loc2_ = BT_ONLINE;
  62.    _loc2_.onRollOver = function()
  63.    {
  64.       gereCursor(2);
  65.       this.gotoAndPlay("E2");
  66.    };
  67.    _loc2_.onRollOut = function()
  68.    {
  69.       gereCursor(1);
  70.       this.gotoAndPlay("E1");
  71.    };
  72.    _loc2_.onPress = function()
  73.    {
  74.       gereCursor(1);
  75.       this.gotoAndPlay("E1");
  76.       getUrl("http://logi118.xiti.com/go.url?xts=450204&xtor=AD-3-[CDROM_MOB]&url=http://milan.bayardweb.com/product/MOBHS/MOB1?lblorig=MJ_PU_CDROM_MOB", "_blank");
  77.    };
  78. }
  79. initBT_ONLINE();
  80. initBT_PRINT();
  81. initBT_CROIX();
  82. stop();
  83.