Flash Displaying Weird Text in a Dynamic Text Field
Posted
by
Andrew M
on Stack Overflow
See other posts from Stack Overflow
or by Andrew M
Published on 2011-03-02T23:21:37Z
Indexed on
2011/03/02
23:25 UTC
Read the original article
Hit count: 225
I am working in Flash CS5 and I have placed a text field (dynamic, classic text) on the stage. I am accessing it through Actionscript on the same frame like this:
var ct:TextField = TextField(getChildByName("Temperature"));
ct.text = "Hello world";
What ACTUALLY appears is this:
eo wor
So... The H, Ls, and D are gone. Mysteriously. Without warning. I am sitting here utterly confused. Is this just me?
PS. The text field is set to Myriad Pro Bold, a font on my computer, so it isn't like it's a font problem.
© Stack Overflow or respective owner