# Problem with dynamic text boxes

**URL:** https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324
**Category:** Uncategorized
**Created:** [August 4, 2004, 2:57pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324 "2004-08-04T14:57:14Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)
#### Post date: [August 4, 2004, 2:57pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/1 "2004-08-04T14:57:14Z")

</div>

Hi Im making a flash website and i followed some of your instructions on how to load a swf file inside another swf file… the second swf file contains a dynamic text box, where the text in the box is loaded from an external txt file. Now the problem is when the second swf file is loaded up the dynamic text box, or rather the text from the external file is not displayed.

everything else on the swf file shows up fine, its just the text that does not show up, can anyone help please.

many thanks, sang.

---

<div class="post-metadata">

### Author: ![claudio](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@claudio](https://forum.kirupa.com/u/claudio)
#### Post date: [August 4, 2004, 3:00pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/2 "2004-08-04T15:00:22Z")

</div>

Can you show us the code you’re using to load the text?

---

<div class="post-metadata">

### Author: ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)
#### Post date: [August 4, 2004, 3:02pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/3 "2004-08-04T15:02:36Z")

</div>

loadVariablesNum(“about.txt”,0);  
stop ();

the text file is called about.txt

---

<div class="post-metadata">

### Author: ![damo](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@damo](https://forum.kirupa.com/u/damo)
#### Post date: [August 4, 2004, 3:18pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/4 "2004-08-04T15:18:57Z")

</div>

the problem is you’re not loading your variables into any target except for a level

change the load thing from level to target and put in the name of the var you’ve assigned to your text box… that should work i think

---

<div class="post-metadata">

### Author: ![Sim085](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Sim085](https://forum.kirupa.com/u/Sim085)
#### Post date: [August 4, 2004, 3:22pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/5 "2004-08-04T15:22:27Z")

</div>

Ok!! are you placing the second swf file into another folder. For example:

The files are placed as follows about.txt will never load when you are loading Second.swf into Main.swf

[font=Courier New]Main.swf = C:/MyProject/Main.swf[/font]  
[font=Courier New]Second.swf = C:/MyProject/Pages/Second.swf[/font]  
[font=Courier New]About.txt = C:/MyProject/Pages/About.txt[/font]

**You should place About.txt in the same folder were there is Main.swf**  
Thus:

[font=Courier New]Main.swf = C:/MyProject/Main.swf[/font]  
[font=Courier New]Second.swf = C:/MyProject/Pages/Second.swf[/font]  
[font=Courier New]About.txt = C:/MyProject/About.txt[/font]

Hope it helps!!

---

<div class="post-metadata">

### Author: ![damo](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@damo](https://forum.kirupa.com/u/damo)
#### Post date: [August 4, 2004, 3:24pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/6 "2004-08-04T15:24:16Z")

</div>

Firstly have you assigned a variable to your dynamic text box? secondly have you put that variable in your txt file followed by your txt eg your varibable is about the your text file would look like this

about= your text goes here

---

<div class="post-metadata">

### Author: ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)
#### Post date: [August 4, 2004, 3:39pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/7 "2004-08-04T15:39:04Z")

</div>

yes i have done all of that.

basically it was working fine before but the container was to far to the right so i moved it to the left now the text is not showing up.

---

<div class="post-metadata">

### Author: ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)
#### Post date: [August 4, 2004, 3:46pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/8 "2004-08-04T15:46:12Z")

</div>

if i put the files up on a server would it be possible for you to take a look and tell me where i’m going wrong?

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [August 4, 2004, 3:48pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/9 "2004-08-04T15:48:08Z")

</div>

Yep, and others will look too. 😉

---

<div class="post-metadata">

### Author: ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)
#### Post date: [August 4, 2004, 3:49pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/10 "2004-08-04T15:49:44Z")

</div>

the main page is: [http://www.vr1music.co.uk/flash/mainmovie2004.html](http://www.vr1music.co.uk/flash/mainmovie2004.html)

the flash files for the two swf files are [http://www.vr1music.co.uk/flash/mainmovie2004.fla](http://www.vr1music.co.uk/flash/mainmovie2004.fla) (1st swf)

and

[http://www.vr1music.co.uk/flash/section1.fla](http://www.vr1music.co.uk/flash/section1.fla) (makes the 2nd swf file: thisis the one that has the dynamic text box)

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [August 4, 2004, 3:52pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/11 "2004-08-04T15:52:18Z")

</div>

Are you using MX2004? You are posting in the MX forum. 🙂 If you can resave those as MX format I can take a look at them, otherwise someone with MX2004 will have to.

:hr:

---

<div class="post-metadata">

### Author: ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)
#### Post date: [August 4, 2004, 3:55pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/12 "2004-08-04T15:55:08Z")

</div>

ok i will resave them to mx format later on as i know i have to go out… im working on a windows laptop and internet is on a mac, so bit of transferring to do.

i am using mx 2004 pro

---

<div class="post-metadata">

### Author: ![Coolio](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@Coolio](https://forum.kirupa.com/u/Coolio)
#### Post date: [August 5, 2004, 3:33pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/13 "2004-08-05T15:33:41Z")

</div>

well, i kinda had the same prob with a dynamic txt box…

have you imbedded the font outlines? 😮

that was what i needed, click your dynamic text box \> click characteres \> select the second option from the top.

that worked for me 🙂

---

<div class="post-metadata">

### Author: ![sang](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sang](https://forum.kirupa.com/u/sang)
#### Post date: [August 5, 2004, 3:57pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/14 "2004-08-05T15:57:02Z")

</div>

hey thanks but the text is appearing kinda narrow, if you under what im sayin.

---

<div class="post-metadata">

### Author: ![battleboy](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@battleboy](https://forum.kirupa.com/u/battleboy)
#### Post date: [August 5, 2004, 5:22pm UTC](https://forum.kirupa.com/t/problem-with-dynamic-text-boxes/118324/15 "2004-08-05T17:22:35Z")

</div>

[http://groups.yahoo.com/group/flashexamples/](http://groups.yahoo.com/group/flashexamples/)
