PDA

View Full Version : xml data: Hyphens are not liked in Embedded Fonts


meengla
09-25-2005, 05:12 PM
Hi:
I have a dynamic text field which has Font Embeded. All is working fine except that if there is any hyphens/dashes in XML data, then the text is not rendered properly: It simply causes a linebreak where the hyphen is. For example

"I-385"

causes problems, but "I - 385" does not (note the space). I am thinking that Flash is interpreting "I-385" as sort of a Range of characters to Accept?

Any ideas? I think I could solve this issue if instead of hyphen I use its ascii value. But I want to hear what others have to say?

Thanks.

meengla
09-25-2005, 05:22 PM
More info. The problem only happens if the text is formatted as (Note: At end of sentence):

"Space Available I-385"

But:

"Space I-385 Available"

works fine.