# Cant figure out HTML Formatted Dynamic Text!?!

**URL:** https://forum.kirupa.com/t/cant-figure-out-html-formatted-dynamic-text/117703
**Category:** Uncategorized
**Created:** [July 29, 2004, 3:39pm UTC](https://forum.kirupa.com/t/cant-figure-out-html-formatted-dynamic-text/117703 "2004-07-29T15:39:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Axios](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Axios](https://forum.kirupa.com/u/Axios)
#### Post date: [July 29, 2004, 3:39pm UTC](https://forum.kirupa.com/t/cant-figure-out-html-formatted-dynamic-text/117703/1 "2004-07-29T15:39:02Z")

</div>

Hi there!

I really hope someone can help me. I have lots of pages of text for this flash project Im working on & I have put all the text into one text file & am using variables to dynamically load the text into a text box on each external swf.

My problem is that I have decided to format the text using html, just put things in itallic & bold etc and it doesnt seem to work. After the 1st html tag, the text just dissapears. I have the format as html button pressed & have searched these forums & still cant find the answer. Please help!

My code on the 1st frame of the external swf is…

```auto
//loads text
loadText = new LoadVars();
    loadText.load("axios.txt");
    loadText.onLoad = function(success) {
        if (success) {
            //trace(success);
			box.html = true;
            box.htmlText = this.corptext;
			delete this.onEnterFrame;
        }
    };

```

And my text file looks like this…

```auto
&corptext=<b>Axios Systems</b> is a leading provider of consolidated IT Service Management software solutions.&

```

But any text between the html tags dissapears. What am I doing wrong?

Your help is much appreciated 🙂

---

<div class="post-metadata">

### Author: ![kode](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@kode](https://forum.kirupa.com/u/kode)
#### Post date: [July 29, 2004, 4:27pm UTC](https://forum.kirupa.com/t/cant-figure-out-html-formatted-dynamic-text/117703/2 "2004-07-29T16:27:54Z")

</div>

[http://www.macromedia.com/support/flash/ts/documents/html\_text\_outlines.htm](http://www.macromedia.com/support/flash/ts/documents/html_text_outlines.htm)

…? 🙂

---

<div class="post-metadata">

### Author: ![Axios](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Axios](https://forum.kirupa.com/u/Axios)
#### Post date: [July 29, 2004, 6:20pm UTC](https://forum.kirupa.com/t/cant-figure-out-html-formatted-dynamic-text/117703/3 "2004-07-29T18:20:23Z")

</div>

Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you!!! :thumb:

---

<div class="post-metadata">

### Author: ![kode](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@kode](https://forum.kirupa.com/u/kode)
#### Post date: [July 29, 2004, 7:09pm UTC](https://forum.kirupa.com/t/cant-figure-out-html-formatted-dynamic-text/117703/4 "2004-07-29T19:09:10Z")

</div>

You’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome, you’re welcome!!! 😉
