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

  1. w1_x = getProperty("/baum8", _X) + "32";
  2. w2_x = getProperty("/baum8", _X) - "32";
  3. frog_x = getProperty("/frosch", _X);
  4. frog_y = getProperty("/frosch", _Y);
  5. if(frog_y < "62" and "48" < frog_y and frog_x < w1_x and w2_x < frog_x)
  6. {
  7.    fscommand("startEffect","log");
  8.    setProperty("/frosch", _X, getProperty("/frosch", _X) + "3.5");
  9. }
  10.