home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / FrogIT.swf / scripts / DefineSprite_310 / frame_20 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  343 b   |  10 lines

  1. w1_x = getProperty("/baum6", _X) + "60";
  2. w2_x = getProperty("/baum6", _X) - "60";
  3. frog_x = getProperty("/frosch", _X);
  4. frog_y = getProperty("/frosch", _Y);
  5. if(frog_y < "97" and "82" < frog_y and frog_x < w1_x and w2_x < frog_x)
  6. {
  7.    fscommand("startEffect","log");
  8.    setProperty("/frosch", _X, getProperty("/frosch", _X) + "1.5");
  9. }
  10.