Thanks, Helen! This was a perfect fix, as there's never more than maybe a hundred lines of text.

- Marc

At 05:59 PM 11/11/2005, Helen Triolo wrote:
The only way I know around that without using html formatting is a processing-intensive replacement of crlf's with just lf's:

str = str.split('\r\n').join('\n');

It's an ok solution if you don't have too much text.

Helen

Marc Hoffman wrote:

This gets displayed in a text field. Problem is, Flash is double-spacing every carriage return.


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to