# Dynamic text html formatting help

**URL:** <https://forum.kirupa.com/t/dynamic-text-html-formatting-help/29616>\
**Category:** Uncategorized\
**Created:** [August 28, 2003, 5:50pm UTC](https://forum.kirupa.com/t/dynamic-text-html-formatting-help/29616 "2003-08-28T17:50:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ironman](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@Ironman](https://forum.kirupa.com/u/Ironman)\
**Post date:** [August 28, 2003, 5:50pm UTC](https://forum.kirupa.com/t/dynamic-text-html-formatting-help/29616/1 "2003-08-28T17:50:49Z")

</div>

Alright, getting frustrated with dynamic text html formatting…  
I create an ordered list with the traditional \< ol\> and \< li\> tags and it will indent the text, but will not number the lines. Also, I can’t center text. Any solutions?

---

<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:** [August 28, 2003, 6:18pm UTC](https://forum.kirupa.com/t/dynamic-text-html-formatting-help/29616/2 "2003-08-28T18:18:46Z")

</div>

As far as I’m concerned, there are some tags that Flash don’t support. Some of them are the hr (horizontal rule), table, center. However, the ol and/or the ul tags should work.

If you are loading this from an external file, then in a keyframe (preferably in the beginning of the movie), type in the following

```auto

textboxInstanceName.html = true;

//If you are using the loadText.onLoad = function(), 
then replace the following line with the following:

textboxInstanceName.htmlText = this.textboxVariable;

```

Hope that helps (and hope that MX 2004 will support other HTML formatting tags like \< center \> as well :beam: ).

---

<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:** [August 29, 2003, 5:14pm UTC](https://forum.kirupa.com/t/dynamic-text-html-formatting-help/29616/3 "2003-08-29T17:14:27Z")

</div>

the action script that I am using in my frame is:

loadText = new loadVars();  
loadText.load(“jaypidgeon.txt”);  
textboxjayinteview.htmlText = this.textboxVariable;  
{jayinterview.text = this.jay;  
};

my file is called - jaypidgeon.txt  
Instance name - jayinterview  
and variable - Jay.

I’ve changed the 3rd line as instructed but all that appears in the text box is html code describing the alignment and data from the text properties in flash.

Before I change the third line of action sript above the text loaded fine but would accept html tags.

What am I missing???:hangover:
