0

So heres the code Im using:

endScreen.scorePrint.text = String(score);
endScreen.distancePrint.text = String(distance);

And it doesent show anything, while the very same code in other places in my app works, I tried to embed fonts and stuff but I still get blank space. what am I doing wrong?

EDIT: endScreen is a MovieClip without AS linkage, its manipulated by .visible , scorePrint and distancePrint are a part of that MovieClip.

scorePrint and distancePrint are identical in all but names and are as following: classic text -> dynamic text

4

2 回答 2

0

我修好了,问题是抗锯齿。为了便于阅读,我从抗锯齿更改为设备字体。修复了这两个领域。

谢谢你的支持 :)

于 2013-07-22T10:38:24.090 回答
0

尝试

endScreen.scorePrint.text = "" + score;

如果不是,那么会

trace("" + score);

显示什么?

于 2013-07-22T03:53:49.063 回答