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:
_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:
_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:
_root.event1.eventText.text = "test";
Any help would be much appreciated