ActionScript Question (easy)

Ok, I just started a platformer. Nothing great, this is my first real attempt at a game. Anyway, i’m having a very simple problem related to health.

  1. How do I get my health to decrease when an enemy touches me? The enemy is a seperate movieclip and is animated inside the clip. It’s instance name is enemy. My players instance name is enemy and the health is called ‘health’

  2. When my health reaches 0, I want to go to a certain frame.

All help will be appreciated :slight_smile: