Hey everyone,
How do I properly render text that was pulled from an atomic value?
For example, here's the node:
a attrib=name1This is the atomic value. It's so cool./a
Getting the child node of that node a and tracing it in flash gives me:
This is the atomic value. Itapos;s so cool.
How do I
Have you tried somethign like
a attrib=name1![CDATA[This is the atmoic value. It's so cool]]/a
Ramon Tayag wrote:
Hey everyone,
How do I properly render text that was pulled from an atomic value?
For example, here's the node:
a attrib=name1This is the atomic value. It's so cool./a
Getting
Well,
- make sure your xml file (dynamic or 'physical') is utf-8 encoded.
- And make sure your textfield uses a typeface that supports your desired
special characthers.
- And if the typeface is being embedded make sure that you embed the special
charaters as well.
Cheers,
B) Søren
On 1/12/05
Still doesn't work :o
I'm not putting it in a textfield yet tho; just tracing it for now. I
know I can fix this by making the text an attribute and changing all
illegal chars to their codes but there's a lot of text.. :s
Thanks
On 12/2/05, Søren Christensen [EMAIL PROTECTED] wrote:
Well,
-
I was able to fix it; but I see now what was wrong. For the reference
of others:
Make sure you call the atomic data by node.childNodes[0].nodeValue
I traced out node.childNodes[0] directly - that's why it wasn't
tracing properly.
Thanks guys!
--
Ramon Miguel M. Tayag
5 matches
Mail list logo