# Put text into dynamic textfields

**URL:** <https://forum.kirupa.com/t/put-text-into-dynamic-textfields/10960>\
**Category:** flash\
**Created:** [January 9, 2003, 8:53pm UTC](https://forum.kirupa.com/t/put-text-into-dynamic-textfields/10960 "2003-01-09T20:53:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thorseye](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thorseye/32/66_2.png) [@thorseye](https://forum.kirupa.com/u/thorseye)\
**Post date:** [January 9, 2003, 8:53pm UTC](https://forum.kirupa.com/t/put-text-into-dynamic-textfields/10960/1 "2003-01-09T20:53:20Z")

</div>

How should I do this?  
I’ve got a movieclip that is duplicated x times. In that movieclip I’ve got a dynamic textfield that I want to change the contain to a unique name for each duplicated mc. How should this be done?  
The mc’s are named meny1, meny2 and so on (“meny”+i blablabla… I think you get it…)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 9, 2003, 9:14pm UTC](https://forum.kirupa.com/t/put-text-into-dynamic-textfields/10960/2 "2003-01-09T21:14:08Z")

</div>

this.textFieldInstanceName.text = this.\_name

you can put that in the first frame of the actual clip, or after duplication or … well lots of places but you get the picture

alternatively, if you are generating the name dynamically in a loop (as would be used to create them) then you know the name of the clip and can assign it then

// loop with i:  
clip = meny.duplicateMovieClip(“meny”+i, i)  
clip.textFieldInstanceName.text = “meny”+i  
//end loop
