# Access textfields in a loop

**URL:** <https://forum.kirupa.com/t/access-textfields-in-a-loop/276381>\
**Category:** flash\
**Created:** [November 26, 2008, 1:04pm UTC](https://forum.kirupa.com/t/access-textfields-in-a-loop/276381 "2008-11-26T13:04:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lillo\_\_hotmail](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lillo\_\_hotmail](https://forum.kirupa.com/u/lillo__hotmail)\
**Post date:** [November 26, 2008, 1:04pm UTC](https://forum.kirupa.com/t/access-textfields-in-a-loop/276381/1 "2008-11-26T13:04:51Z")

</div>

Hi!  
I’m trying to access some textfields that I have loaded in a movieclip in another loop. The code below doesen’t work but I’m using it to illustrate what I’m after.

for(i=0; i\<5; i++){  
myText.text+i.text\_txt.\_x+=100  
}

I hope someone can help me.

Have a great day!
