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" <[email protected]>
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.


_______________________________________________
[email protected]
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