AS3 Convert TextField LineBreaks to CRLF for Display as Plain Text (Notepad) on Windows

/ Published in: ActionScript 3
Save to your folder(s)

Linebreaks differ between Flash TextField and a plain text file like Notepad. In this example we convert the html linebreaks in Flash to \r\n

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.