Re: [Flashcoders] Linebreak textfield

2006-01-08 Thread Sander
I would like to replace a linebreak with a linebreak followed by a tabspace [slash]t. It doesn't answer your question, but if you switch to XML you can use list item tags (li) and format those with CSS or textFormat objects. myData node type='XHTML-content' ul

RE: [Flashcoders] Linebreak textfield

2006-01-08 Thread Adrian Lynch
I think it's likely to be String.fromCharCode(13) or String.fromCharCode(10) or a combination of the two rather than \r. Try setting your lookfor to one of the above. Which one wil depend on where and how the text file was created. Windows will but in a carriage return and and line feed, 13 and