JP_West
September 24, 2004, 9:21am
1
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…
system
September 24, 2004, 10:08am
2
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’)
system
September 24, 2004, 11:41am
3
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.
system
September 24, 2004, 3:25pm
4
try putting \r and
one is a carriage return, and one is a line break… use them both together for a new paragraph -
cheers!