Sword Hittest

Ive just started a game.

Its nothing special. Im new to flash and ive been following a tutorial. I finished the tutorial and it left me with a character that can attack with a sword but no enemies or enemy script. I just want a simple script for an enemy to kill you if you walk into him but if you slash him with your sword he dies.

heres a link to what ive done so far…
www.webninja.me.uk/platformgame.fla

Thanks! :kir: