# loadVars text formatting

**URL:** <https://forum.kirupa.com/t/loadvars-text-formatting/19732>\
**Category:** flash\
**Created:** [April 30, 2003, 10:17pm UTC](https://forum.kirupa.com/t/loadvars-text-formatting/19732 "2003-04-30T22:17:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elios](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@Elios](https://forum.kirupa.com/u/Elios)\
**Post date:** [April 30, 2003, 10:17pm UTC](https://forum.kirupa.com/t/loadvars-text-formatting/19732/1 "2003-04-30T22:17:29Z")

</div>

👽  
Well, I spent about thirty minutes searching through the help files/this forum/macromedia’s site for the answer to this question, but I guess it’s just to undocumented. So, I remember seeing a link somewhere that outline the way Flash MX reads the dynamically loaded text files. If I recall correctly, it had it’s own notation for line breaks (equivalent to “/n” in actionscript) and other formatting (as the technotes about HTML stuff didn’t mention the \< BR \> command so that’s out of the picture). Anyway, thanks for the help in advance.  
–Elios

---

<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:** [May 1, 2003, 10:26am UTC](https://forum.kirupa.com/t/loadvars-text-formatting/19732/2 "2003-05-01T10:26:18Z")

</div>

Hi,  
I am not sure I undrestand your question, but if you put your text on a single line in your txt fil, like

myText=blah de blah de blah de blah de blah and so on

then set your text box to multiline it will format for you, if you want a space between lines, just put your text on seperate lines

myText=blah de blah de blah de blah de blah  
de blah de blah and so on

will look like this:

blah de blah de blah de blah de blah

de blah de blah and so on

Flash does support some html tags including \<br\>, but I am not sure which ones, have you done a search for HTML tags, also I think the tags supported are in the help (F1) files

Hope that helps

SteveD

---

<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:** [May 1, 2003, 10:40am UTC](https://forum.kirupa.com/t/loadvars-text-formatting/19732/3 "2003-05-01T10:40:56Z")

</div>

👽  
I read my help files. I know how to write the text file, but, if I recall, there were other kinds of things (escape characters) that you could use along with them (i.e. not html). I’m just at a loss as to where I saw the help file that had all that stuff.

Thanks though,  
–Elios

---

<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:** [May 1, 2003, 3:04pm UTC](https://forum.kirupa.com/t/loadvars-text-formatting/19732/4 "2003-05-01T15:04:08Z")

</div>

the html br tag is supported (and works seemingly perfect), just unofficially 🙂
