home *** CD-ROM | disk | FTP | other *** search
/ The Great Adventure of Natural Gas / start / start.swf / scripts / DefineSprite_228 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-01-01  |  380 b   |  23 lines

  1. this.onEnterFrame = function()
  2. {
  3.    var _loc1_ = random(50);
  4.    if(_loc1_ == 5)
  5.    {
  6.       camel.corpcamel.oeil.play();
  7.       mouton0.gotoAndPlay(2);
  8.    }
  9.    if(_loc1_ == 20)
  10.    {
  11.       camel.play();
  12.       mouton1.gotoAndPlay(2);
  13.    }
  14.    if(_loc1_ == 30)
  15.    {
  16.       mouton2.gotoAndPlay(2);
  17.    }
  18.    if(_loc1_ == 40)
  19.    {
  20.       mouton3.gotoAndPlay(2);
  21.    }
  22. };
  23.