Flash AS3 - 文本输入框@》 键盘字符问题
这个问题以前已经出现过,但给出的答案对我没有帮助。
我有文本输入框,显示“符号代替@,反之亦然。
当我在本地测试时,只有当我上传到服务器时,我的@和”才会正确显示,才会出现问题。
我读到您可以为文本输入框设置“使用设备字体”。 维斯显然纠正了这个问题。
有没有办法为文本输入组件执行此操作?
或者我应该构建自定义文本输入框?
或者还有第三种方法吗?
非常感谢任何意见。
干杯
this q has already come up before but the answers given didn't help me.
I have text input boxes which display the " symbol in place of the @ and vice-versa.
when i test locally my @ and " are appearing correctly only when i upload to the server does the problem arise.
I read that you can have "Use device fonts" set for text input box. Whis apparently corrects the issue.
Is there a way to do this for a text input component?
or should i build custom text input boxes?
or is there a third way?
any input is greatly appreciated.
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您使用的是透明模式还是不透明模式? 在所有浏览器中,此 wmode 都存在相当多的错误和故障,包括键盘配置的更改......请参阅:
http://bugs.adobe.com/jira/browse/FP-105
唯一真正的解决方案是使用 wmode=window (默认行为)。 如果您确实需要将 wmode 设置为透明或不透明(即重叠 HTML),则没有简单的解决方法,因为它不仅是 @ 字符,而且整个键盘配置都被混淆了。
我建议您永远不要使用 wmode 透明或不透明来处理任何更复杂的横幅,因为它们在浏览器/系统/月亮对齐之间非常难以预测,因此测试阶段可以是真正的测试阶段恶梦...
Are you using wmode transparent or opaque? there are quite a few bugs and glitches with this wmodes in all browsers, including the change in keyboard configuration... see this:
http://bugs.adobe.com/jira/browse/FP-105
The only real solution is to use wmode=window (the default behaviour). If you really need the wmode as transparent or opaque (i.e. for overlapping HTML), there is no easy workaround, as it's not only the @ character, but the whole keyboard configuration that gets mixed up.
I would suggest you to never use wmode transparent or opaque for anything a bit more complex as a banner, as they are very unpredictable across browsers/systems/moon-alignments, so the testing phase can be a real nightmare...
您尝试过嵌入字体吗?
Have you tried embedding the font ?