Changing dyanmic text field in MovieClip added to stage by AS3 is not working?

不打扰是莪最后的温柔 提交于 2019-12-05 12:49:40
mgraph

try this:

this.game_board.stage_2.text_1.embedFonts = false;
this.game_board.stage_2.text_1.text = "test";

that happend because flash cs5 use embedFonts by default, so if you didn't set a font in your library then attach it to your document, flash cs5 will only embed Fonts that are in your Text input only, you can do test if you change the value of text_1 from 0 to te and remove embedFonts you will only get tet without s, to use embedFonts in all your text see this: Embedding Fonts in AS3 - Dynamic Text Field disappears

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!