home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / arcade_animal.swf / scripts / DefineSprite_238 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  152 b   |  6 lines

  1. thisX = getProperty("/spin1", _X);
  2. spX = getProperty("/crab1", _X);
  3. difX = thisX - spX;
  4. xStp = difX / "35";
  5. setProperty("/crab1", _X, spX + xStp);
  6.