# Dynamic Text In A Dynamic Movie

**URL:** <https://forum.kirupa.com/t/dynamic-text-in-a-dynamic-movie/311827>\
**Category:** flash\
**Created:** [July 17, 2010, 1:47pm UTC](https://forum.kirupa.com/t/dynamic-text-in-a-dynamic-movie/311827 "2010-07-17T13:47:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lord\_Pickle](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@Lord\_Pickle](https://forum.kirupa.com/u/Lord_Pickle)\
**Post date:** [July 17, 2010, 1:47pm UTC](https://forum.kirupa.com/t/dynamic-text-in-a-dynamic-movie/311827/1 "2010-07-17T13:47:48Z")

</div>

I’ve been searching Kirupa and the web for about 2 hours now, but can’t find the answer to my problem.

Keep in mind, I’m not an expert at Actionscript.

I’m trying to input a dynamic text field into many dynamic movies. I use a for loop to successfully create 18 movies. I can’t seem to get the text to be input dynamically however.

The dynamic text field in the dynamic movies is named eventText.

This code in the for loop successfully creates 18 movies:

```auto
_root.attachMovie(myData["loader"+x]+"Movie", myData["event"+x], x, {_x:100, _y:100});

```

This code, in the for loop, does not input any text into the dynamic text fields in those movies:

```auto
_root.myData["event"+x].eventText.text = "test";

```

For testing purposes, this code does input text into the dynamic fields after the for loop is finished:

```auto
_root.event1.eventText.text = "test";

```

Any help would be much appreciated 🙂
