> You could always wrap CDATA around it. If you read the first post you would have seen that this is for an attribute of an xml node.
-Steven > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mick G > Sent: Monday, May 15, 2006 6:16 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] \r > > > On 5/16/06, Fumio Nonaka <[EMAIL PROTECTED]> wrote: > > > > Even if you manipulate newline only with string, you might > get annoying > > result: > > > > // Frame action > > var my_str:String = newline; > > my_str += ""+newline; > > > > // [Debug] > [List Variables]: > > Variable _level0.my_str = "¥n¥r" > > > > Tested on Flash 8.0/Mac OS X.4.6 & Windows XP (SP1) > > _____ > > Derek Vadneau wrote: > > > The bugger is using \n or newline in a string and setting > the text of a > > > textfield to that string converts \n to \r when you read > the text again. > > > It's why I never use \n or newline. > > > > Good luck, > > > > Fumio Nonaka > > mailto:[EMAIL PROTECTED] > > http://www.FumioNonaka.com/ > > My books<http://www.FumioNonaka.com/Books/index.html> > > Flash community<http://F-site.org/> > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com