Interesting

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek
Vadneau
Sent: Monday, May 15, 2006 3:34 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] \r


I think this was brought up here before, but:
trace(newline == '\r'); // true
trace(newline == '\n'); // false
trace(newline === '\r'); // false
trace(newline === '\n'); // true

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.


Derek Vadneau

----- Original Message ----- 
From: "Robert Chyko" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Monday, May 15, 2006 3:16 PM
Subject: RE: [Flashcoders] \r


Actually, \r is return I believe, \n is newline... But like you said...
moot point.


_______________________________________________
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

Reply via email to