Adding Text Boxes

Okay i have no idea where to start, aside from appendText, but i have a movie clip that is duplicated when one drags it onto stage, it can change color, and i want to be able to add text to the selected/duplicated movie clip. how can i do this? add a new txt box with each duplicate and set equal to input txt box? i have no clue…