# Dynamic text

**URL:** <https://forum.kirupa.com/t/dynamic-text/6531>\
**Category:** Uncategorized\
**Created:** [October 9, 2002, 8:04pm UTC](https://forum.kirupa.com/t/dynamic-text/6531 "2002-10-09T20:04:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![billwatson](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@billwatson](https://forum.kirupa.com/u/billwatson)\
**Post date:** [October 9, 2002, 8:04pm UTC](https://forum.kirupa.com/t/dynamic-text/6531/1 "2002-10-09T20:04:34Z")

</div>

What am I doing wrong? or not doing? Building my first site and all the swf files run correctly. But when i run them from the index page with a movie ‘menu’ also on stage everything is fine EXCEPT that all dynamic text boxes have no content. Please help keep me sane…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 10, 2002, 12:28am UTC](https://forum.kirupa.com/t/dynamic-text/6531/2 "2002-10-10T00:28:16Z")

</div>

where did u test ur movie from index page? on hosting’s server? u sure u’ve also uploaded all the text files for those dynamic textbook contents?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 10, 2002, 1:19am UTC](https://forum.kirupa.com/t/dynamic-text/6531/3 "2002-10-10T01:19:18Z")

</div>

Are you targeting them right? If your not on the \_root timeline then you have to refer to your dynamic text box instance name with the \_root.

Like:

\_root.myTextField.text = “Hello!”;

again this depends on whether or not your targeting them from an alternate timeline and if your dynamic text fields are on the \_root timeline. If not make sure you use .text if your in Flash MX other wise declare a variable and assign that variable to the dynamic text field.

Hope this helps

Kyle

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 10, 2002, 11:10am UTC](https://forum.kirupa.com/t/dynamic-text/6531/4 "2002-10-10T11:10:47Z")

</div>

Thanks for your input but i still cant get it. I went right back to basics and created a movie only containing a dynamic text field with variable called test. Using LoadVariablesNum to input the text i.e. &test=Hi there… Ran the movie and the text loaded fine.  
create another movie with an empty movie clip and try to run the first movie…does’nt work Loadmovie(“test.swf”,\_root.clipname). Does work however if i declare the value of variable test in actionscript and dont input it, but as i wish the text to be loaded to de dependant on which radio button the user clicks this is not a solution.  
I will be grateful for any futher ides you may have.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 10, 2002, 11:51am UTC](https://forum.kirupa.com/t/dynamic-text/6531/5 "2002-10-10T11:51:09Z")

</div>

please post your fla and I’ll take a look.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 10, 2002, 2:49pm UTC](https://forum.kirupa.com/t/dynamic-text/6531/6 "2002-10-10T14:49:26Z")

</div>

I cant post the files are they are too large. However the enclosed fla’s demonstrate the problem.  
testext runs correctly, but when i load it from testextmovie…nothing. All other content on my fla’s loads correctly just these dynamic text boxes.

Thanks again for your help

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 10, 2002, 2:54pm UTC](https://forum.kirupa.com/t/dynamic-text/6531/7 "2002-10-10T14:54:36Z")

</div>

NB in testext I have used 0 instead of \_root.test with the same results. I have tried every combination i can think of.
