Carriage Return In Dynamic Text

Im loading content from an external text file, but when I press return to do a line break Flash shows its as a double line break.

eg:
Blah Blah Blah
Blah

is what I want

Blah Blah Blah

Blah

Is what I get.

I’ve searched the forums and found out how to do it in xml, but I’m using normal .txt files. Help please…

I suggest you make the dynamic text box render as html and in the text file you can then use standard HTML tags and you will have more control over the layout.

ie use the ‘br’ or ‘p’ tags (as well ‘b’ or ‘font’)

:slight_smile:

I know that will work… but I was going for a non-html text file… I guesss it will have to do though, it’s not much of an inconvenience really.

try putting \r and

one is a carriage return, and one is a line break… use them both together for a new paragraph -

cheers!