as3 textfield changing string value

Deadly 提交于 2019-12-27 16:06:48

问题


i am new in as3 in flash. i need to show an alert. in alert box the shown text field is like : "ou ra ro la atio hata". But the real text that i want to show is like "Mouse drag drop play action hata".

at the code pair the text field is like "Mouse drag drop play action hata". and when i debug code, also i see the text field like same. actually i did not find out why the text field is changing like "ou ra ro la atio hata". is it changing, or replacing, or removing etc. i really don't know.

when i copy the text in alert box which is like "ou ra ro la atio hata", then paste it to the notepad, the text is shown like original text which is like "Mouse drag drop play action hata".

is there anyone to help me ???

thanksss


回答1:


With the few details mentioned in your questions, I think this is a problem of text appearance of your dynamic text field which is in a direct relationship with embedding fonts in your Flash project. To avoid such behavior, you can take a look on these links :

  • Adobe Help : Embed fonts for consistent text appearance.

  • Google Help : Embed fonts for a dynamic text field.

  • Adobe Help : Embed fonts in flash (video tutorial).

  • Adobe Flash Developer Center : Embedding fonts (old article for CS4).

Hope that can help you.



来源:https://stackoverflow.com/questions/27940167/as3-textfield-changing-string-value

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