-Make a movie clip with a dynamic text box inside. Call the textboxes instance name 'hp_txt'.
-Make the movie clip do a motion tween from 1 to 15 frames and make the text box rise as it does in most RPG's.
-On the last frame add this code:
-In the library give the movie clip a linkage name of 'hp_display'. Make sure there are no instances of the movie clip on stage.
-Use this function. Then whenever you take HP off, call this code (were assuming 'playerNum' is the number of the character receiving damage and that the movie clips for each character are called player1, player2 etc...):