loadVars text formatting

:alien:
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

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

:alien:
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

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