home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / FrogIT.swf / scripts / DefineSprite_131 / frame_2 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  494 b   |  28 lines

  1. if(getProperty("/frosch", _X) < "7")
  2. {
  3.    fscommand("startEffect","dead");
  4.    tellTarget("/frosch")
  5.    {
  6.       gotoAndStop("dead");
  7.       play();
  8.    }
  9. }
  10. if("320" < getProperty("/frosch", _X))
  11. {
  12.    fscommand("startEffect","dead");
  13.    tellTarget("/frosch")
  14.    {
  15.       gotoAndStop("dead");
  16.       play();
  17.    }
  18. }
  19. if("230" < getProperty("/frosch", _Y))
  20. {
  21.    tellTarget("/frosch")
  22.    {
  23.       gotoAndStop("vor1");
  24.    }
  25.    setProperty("/frosch", _Y, "225");
  26. }
  27. gotoAndPlay(1);
  28.