Attacking in Actionscript

I’m trying to make a charcter attack an enemy and either destroy or damage it. So for example when the hero attacks it goes to a clip of it disappearing or after it’s lost so much hp it does, but I havent a clue how to do this

Can anyone help?