home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 7.11 / 2002-01_-_Disc_7.11.iso / Data / Help.pcg / scripts / DefineSprite_38 / frame_2 / DoAction.as
Text File  |  2001-06-20  |  343b  |  18 lines

  1. if(595 >= _parent._parent._xmouse)
  2. {
  3.    _parent._X = _parent._parent._xmouse + 115;
  4. }
  5. else
  6. {
  7.    _parent._X = _parent._parent._xmouse + 115 - (_parent._parent._xmouse - 595);
  8. }
  9. if(496.95 >= _parent._parent._ymouse)
  10. {
  11.    _parent._y = _parent._parent._ymouse + 25;
  12. }
  13. else
  14. {
  15.    _parent._y = _parent._parent._ymouse - 8;
  16. }
  17. stop();
  18.