# Help Please.. Having trouble with accessing a dynamic text box, inside a movie

**URL:** https://forum.kirupa.com/t/help-please-having-trouble-with-accessing-a-dynamic-text-box-inside-a-movie/21001
**Category:** Uncategorized
**Created:** [May 15, 2003, 4:43pm UTC](https://forum.kirupa.com/t/help-please-having-trouble-with-accessing-a-dynamic-text-box-inside-a-movie/21001 "2003-05-15T16:43:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![charbar98](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@charbar98](https://forum.kirupa.com/u/charbar98)
#### Post date: [May 15, 2003, 4:43pm UTC](https://forum.kirupa.com/t/help-please-having-trouble-with-accessing-a-dynamic-text-box-inside-a-movie/21001/1 "2003-05-15T16:43:43Z")

</div>

am trying to access a dynamic text field that is in a movie which is contained in an array.

My code looks something like this

movies = new Array();

// add1, add2, etc are the instance names of the movies

movies[0] = add1;  
movies[1] = add2;  
movies[2] = add3;  
movies[3] = add4;  
movies[4] = add5;

/\*inside of the movie addtest (add1 - add5 are all instances of this same movie) I have a dynamic textfield called number1. How do I access this field in order to change it?

I have created an array that I would like to put the text from the fields in.\*/

num1 = new Array();  
for (i=0; i \< 5; i++)  
{  
num1\* = \_root.movies\*.number1;  
}

is this right? If not how would I go about doing this??

Any help would be appreciated.  
:toad:
