home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / beach_difference.swf / scripts / DefineSprite_446 / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2008-09-23  |  2.7 KB  |  76 lines

  1. if(true)
  2. {
  3.    if(true)
  4.    {
  5.       ┬º┬ºpush(false);
  6.    }
  7.    if(!┬º┬ºpop())
  8.    {
  9.       if(true)
  10.       {
  11.          if(true)
  12.          {
  13.             addr29:
  14.             ┬º┬ºpush(false);
  15.          }
  16.          if(!┬º┬ºpop())
  17.          {
  18.             oppHandFrm_mc.useHandCursor = false;
  19.             oppHandFrm_mc.onRelease = function()
  20.             {
  21.                if(_parent._parent.lvl301_mc.girlWlkHand_mc.girlWlkHand2_mc._currentframe == 1)
  22.                {
  23.                   if(_currentframe == 2)
  24.                   {
  25.                      var _loc4_ = _root.attachMovie("stars","stars1",_root.getNextHighestDepth());
  26.                      var _loc6_ = _root.attachMovie("stars","stars2",_root.getNextHighestDepth());
  27.                      _loc4_._xscale = _loc6_._xscale = 70;
  28.                      _loc4_._yscale = _loc6_._yscale = 70;
  29.                      var _loc5_ = new Object();
  30.                      _loc5_.x = this._x;
  31.                      _loc5_.y = this._y;
  32.                      localToGlobal(_loc5_);
  33.                      _loc4_._x = _loc5_.x;
  34.                      _loc4_._y = _loc5_.y;
  35.                      _loc6_._x = _loc4_._x;
  36.                      _loc6_._y = _loc4_._y + 300;
  37.                      girlWlkHand2_mc.gotoAndPlay(2);
  38.                   }
  39.                   else
  40.                   {
  41.                      _loc4_ = _root.attachMovie("stars","stars1",_root.getNextHighestDepth());
  42.                      _loc6_ = _root.attachMovie("stars","stars2",_root.getNextHighestDepth());
  43.                      _loc4_._xscale = _loc6_._xscale = 70;
  44.                      _loc4_._yscale = _loc6_._yscale = 70;
  45.                      _loc5_ = new Object();
  46.                      _loc5_.x = this._x;
  47.                      _loc5_.y = this._y;
  48.                      localToGlobal(_loc5_);
  49.                      _loc4_._x = _loc5_.x;
  50.                      _loc4_._y = _loc5_.y;
  51.                      _loc6_._x = _loc4_._x;
  52.                      _loc6_._y = _loc4_._y - 300;
  53.                      _parent._parent.lvl301_mc.girlWlkHand_mc.gotoAndStop(2);
  54.                      _parent._parent.lvl301_mc.girlWlkHand_mc.girlWlkHand2_mc.gotoAndPlay(2);
  55.                   }
  56.                }
  57.                else if(_parent._parent.lvl301_mc.girlWlkHand_mc.girlWlkHand2_mc._currentframe >= 1)
  58.                {
  59.                   if(_root.chances > 1)
  60.                   {
  61.                      _root.chances = _root.chances - 1;
  62.                   }
  63.                   else
  64.                   {
  65.                      _root.myGame.gotoAndStop("gameOver");
  66.                   }
  67.                }
  68.             };
  69.          }
  70.       }
  71.       ┬º┬ºgoto(addr230);
  72.    }
  73.    ┬º┬ºgoto(addr29);
  74. }
  75. addr230:
  76.