home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 166 / MOBICLIC166.ISO / mac / DATA / ANI166 / ANI166_00 / ANI166_00.swf / scripts / frame_879 / DoAction.as
Text File  |  2014-08-01  |  1KB  |  58 lines

  1. ZONE_G.onRollOver = function()
  2. {
  3.    gereCursor("doigtG");
  4.    this.onEnterFrame = function()
  5.    {
  6.       if(GLOBE._currentframe == 1)
  7.       {
  8.          GLOBE.gotoAndStop(GLOBE._totalframes);
  9.       }
  10.       else
  11.       {
  12.          GLOBE.gotoAndStop(GLOBE._currentframe - 1);
  13.       }
  14.    };
  15. };
  16. ZONE_G.onRollOut = function()
  17. {
  18.    gereCursor(1);
  19.    delete this.onEnterFrame;
  20. };
  21. ZONE_D.onRollOver = function()
  22. {
  23.    gereCursor("doigtD");
  24.    this.onEnterFrame = function()
  25.    {
  26.       if(GLOBE._currentframe == GLOBE._totalframes)
  27.       {
  28.          GLOBE.gotoAndStop(1);
  29.       }
  30.       else
  31.       {
  32.          GLOBE.gotoAndStop(GLOBE._currentframe + 1);
  33.       }
  34.    };
  35. };
  36. ZONE_D.onRollOut = function()
  37. {
  38.    gereCursor(1);
  39.    delete this.onEnterFrame;
  40. };
  41. BT_CROIX.onRollOver = function()
  42. {
  43.    this.gotoAndPlay("E2");
  44.    gereCursor(2);
  45. };
  46. BT_CROIX.onRollOut = function()
  47. {
  48.    this.gotoAndPlay("E1");
  49.    gereCursor(1);
  50. };
  51. BT_CROIX.onPress = function()
  52. {
  53.    gereCursor(1);
  54.    gotoAndStop("09_02_FIN");
  55.    play();
  56. };
  57. stop();
  58.