I can't figure this out. I've got some en dashes in an XML
doc that when parsed in Flash, seem to disappear in the dynamic
text field. The text field is set to HTML in the properties panel
since it was manually created at author time. When tracing the
string, they show up in the outputs panel.
I tried replacing the dashes in the XML doc with the HTML
entity "–" and also the XML entities "–" and
"–" but that was a no-go also. Then I tried using the
following code to replace the characters in Flash. Maybe the code
OMG, I'm almost embarrassed to post this. I figured out the
answer. Thanks ggshow, I tried your recommendation but it didn't
work either. You want to know why? I didn't have the punctuation
embedded in the document. DUHR!!!
It works now! My only hope is that if someone has the same
issue, they'll read this and think to check their embedded