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

  1. if(getProperty("/frosch", _X) < "0")
  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, "230");
  26. }
  27. if(getProperty("/frosch", _Y) < "160")
  28. {
  29.    tellTarget("/frosch")
  30.    {
  31.       gotoAndStop("vor1");
  32.    }
  33.    setProperty("/frosch", _Y, "160");
  34. }
  35. gotoAndPlay(1);
  36.