can you elaborate please? I understand I have to make a dynamic text box and insert the variable name into the text box for numbers, but I don't know how to do that with bars....
Ok, just draw a rectangular bar and convert it to MovieClip, give it the instance name "hpBar". Then where you set the "hp" value to dynamic text box, just add the above code.