as3 文本字段更改字符串值 [英] as3 textfield changing string value

查看:33
本文介绍了as3 文本字段更改字符串值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Flash 中 as3 的新手.我需要显示警报.在警报框中,显示的文本字段类似于:ou ra ro la atio hata".但我想显示的真实文本就像鼠标拖放播放动作hata".

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".

在代码对中,文本字段就像鼠标拖放操作 hata".当我调试代码时,我也会看到同样的文本字段.实际上我没有发现为什么文本字段会像ou ra ro la atio 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.

当我复制警告框中的文本,如ou ra ro la atio hata",然后将其粘贴到记事本时,文本显示为原始文本,如鼠标拖放播放动作hata".

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".

有人帮我吗???

谢谢

推荐答案

你的问题中提到的细节很少,我认为这是你的动态文本字段的文本外观问题,与嵌入字体有直接关系您的 Flash 项目.为避免此类行为,您可以查看以下链接:

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 :

Google 帮助:为动态文本字段嵌入字体.

Adobe 帮助:在 Flash 中嵌入字体(视频教程).

Adobe Flash 开发人员中心:嵌入字体(旧CS4 的文章).

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

希望能帮到你.

这篇关于as3 文本字段更改字符串值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆