home *** CD-ROM | disk | FTP | other *** search
/ One Click 5 / ONCE005.iso / Jogos / 1516.swf / scripts / DefineSprite_143 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-05-02  |  250 b   |  9 lines

  1. if(getProperty("/m1", _Y) >= _Y - "45" and _X + "60" >= getProperty("/m1", _X) and getProperty("/m1", _X) >= _X - "60")
  2. {
  3.    setProperty("/m1", _Y, getProperty("/m1", _Y) - "8");
  4.    tellTarget("/m1")
  5.    {
  6.       gotoAndStop("stopped");
  7.    }
  8. }
  9.