TextArea replaces CR-NL with CR-CR

FYI…

If you put a carriage return (13) newline (10) sequence into a TextArea, it is automatically converted in the TextArea to two carriage returns. (Did we know this?)

I’m using AS3 as the front end to an Oracle DB (communicating via ASP), and check fields to see if they’ve been edited (i.e., no longer match what’s in the DB and need to be saved). TextAreas assigned the CR-NL sequence inherently never match.

Work Around:
After I write variable text from the DB to the TextArea, I write the TextArea.text back into the variable.

This seems like some kind of pretty bizarre AS3 snizzle & I’m a little disappointed to have to troubleshoot stuff like this. (Thanks for letting me cry on your shoulder.)

Hope this tidbit is of use to someone else.