home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Esportes / HookLine.swf / scripts / DefineSprite_261 / frame_8 / DoAction.as
Encoding:
Text File  |  2005-08-04  |  282 b   |  18 lines

  1. count += 1;
  2. if(_parent._x - 5 < xSpot and xSpot < _parent._x + 5)
  3. {
  4.    gotoAndPlay(6);
  5. }
  6. else if(_parent._y - 5 < ySpot and ySpot < _parent._y + 5)
  7. {
  8.    gotoAndPlay(6);
  9. }
  10. else if(count < countStop)
  11. {
  12.    gotoAndPlay(_currentframe - 1);
  13. }
  14. else
  15. {
  16.    gotoAndPlay(6);
  17. }
  18.