# How to access a textfield in a duplicated mc?

**URL:** <https://forum.kirupa.com/t/how-to-access-a-textfield-in-a-duplicated-mc/164596>\
**Category:** Uncategorized\
**Created:** [October 3, 2005, 9:51am UTC](https://forum.kirupa.com/t/how-to-access-a-textfield-in-a-duplicated-mc/164596 "2005-10-03T09:51:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bokke](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@Bokke](https://forum.kirupa.com/u/Bokke)\
**Post date:** [October 3, 2005, 9:51am UTC](https://forum.kirupa.com/t/how-to-access-a-textfield-in-a-duplicated-mc/164596/1 "2005-10-03T09:51:25Z")

</div>

Hi all, im trying to build something but im cant… :puzzle:

## This is the part that works:

Everytime I press a button, my function duplicate’s my MC and give’s it a new name (artikel1, artikel2, arikel3…)

* * *

This MC contains a dynamic textfield called “tekst”.  
Now I want my function to change that textfield for every new duplicated mc  
something like this (mc1, mc2, mc3…)  
And thats the problem! I cant access the tekstfield from outside the mc ! ☹

i tryed something like this and manny more but nothing happend :

* * *

artikel1.tekst = “mc” + i;

* * *

can someone please help me with this ? 🙂
