Skip to main content
February 23, 2007
Question

scope of unicode text

  • February 23, 2007
  • 5 replies
  • 714 views
This one is doing my head in.

I have an app, it loads in language specific XML,
now this works fine for all languages (i.e greek, arabic, chinese etc) but ONLY on the root!!!
I've tried embeding the fonts,
Ive tried using system fonts
it doesn't work (except on the root)

I'm bug fixing someone else code, so it makes it a bit harder

btw all the txtboxes are stage items not as created

anyone had similar issues??
This topic has been closed for replies.

5 replies

kglad
Community Expert
Community Expert
February 23, 2007
copy and paste your code.
kglad
Community Expert
Community Expert
February 23, 2007
are you using the trace() function on the same timeline that you're using to assign text (or htmlText) to your textfields? if not, you have a path reference problem.
February 23, 2007
quote:

Originally posted by: kglad
are you using the trace() function on the same timeline that you're using to assign text (or htmlText) to your textfields? if not, you have a path reference problem.


no, am tracing directly from textBoxes, then comparing to the data, then testing that the text boxes exist:

loop{
current_item = attachMovie(etc....)
current_item.textBox.htmlText= reference to current xml node....
trace("from textBox = "+current_item.textBox.text)
trace("from xml= "+reference to current xml node)
trace("textBox= "+current_item.textBox)

}

they all check out, but no fonts displayed
Inspiring
February 23, 2007
There are certain fonts (like Hindi) which cannot be embedded. For these you just have to hope the end user has the proper software installed. Of course those fonts are different on different machines…it is like the early 90s all over again.
February 23, 2007
quote:

Originally posted by: Rothrock
There are certain fonts (like Hindi) which cannot be embedded. For these you just have to hope the end user has the proper software installed. Of course those fonts are different on different machines…it is like the early 90s all over again.


No, its not a problem like this, as those textBoxes in the main time line work fine (chinese T & S, arabic, and greek)
Inspiring
February 23, 2007
Nope. I've done hindi in lots of different places.

There is something else going on here.
kglad
Community Expert
Community Expert
February 23, 2007
what's displaying in the textfields that are not on the _root timeline?
February 23, 2007
nothing is displayed in the textBoxes (even roman), however tracing their text and htmlText values gives the correct symbols.
so the problem must(??) be that the font is not available

thanks for taking the time...