Posted February 16, 2009 by senocular
This one, reported on Jira: Flash Player 10 removing line breaks when pasting text into text fields [FP-780], is pretty ugly. What's happening is that for the Mac version of Flash Player 10, all pasted text gets its newline characters stripped when the string value is assigned to the TextField.text property accessible through ActionScript. Visually, the text looks OK, but in code, a multiple-line TextField will appear as a single line. I've posted a workaround in the comments, but its probably not something you would want to have in all your text fields.