home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / croc.swf / scripts / DefineSprite_128 / frame_1 / DoAction.as
Encoding:
Text File  |  2003-11-08  |  136 b   |  8 lines

  1. function checkHeroTouching()
  2. {
  3.    if(this.hitTest(_parent.hero.hitArea))
  4.    {
  5.       _parent._parent.functions.killHero();
  6.    }
  7. }
  8.