How are you doing the code to copy and paste? Setting up a sting in MXML can look different than if you set it in actionscript. This may well be the issue.
Eg. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script > <![CDATA[ private var word : String = "&\n hello"; ]]> </mx:Script> <mx:VBox> <mx:TextArea text="{word}" /> <mx:TextArea text="&\n hello" /> </mx:VBox> </mx:Application> This displays & hello in the first box and &\n hello In the second box. HTH or at least gives you something to look into, Kenneth. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: 22 October 2008 08:25 To: flexcoders@yahoogroups.com Subject: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear! Hey guys, I'm having this problem on safari and Firefox, and it's a *big* problem. Any time I paste a bunch of text into my <mx:textarea/> it all looks OK, but the newlines aren't really there. Trace(comp.text) shows they're not there, and if I copy from the textarea they're gone. Is this a known bug, or am I forgetting some magic setting or something? I *really* need to be able to paste into this app! -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] :: http://flex.joshmcdonald.info/ Disclaimer ------------------------------------------------------------------------------------------- This electronic message contains information which may be privileged and confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone on 0131 476 6000 and delete the material from your computer. Registered in Scotland number: SC 172507. Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. This email message has been scanned for viruses by Mimecast. -------------------------------------------------------------------------------------------