Actionscript 2如何将文本读取为html而不是普通文本?
我在 xml 中使用 html 作为 actionscript 中的某些名称,并且有 ;quot;
这是我的变量,我希望 actionscript 将名称读取为 html。而不是普通的文本。
var field:TextField = currItem.createH3Black(0, 0, 180, 10, h3Size, h3Leading, font, "Left", _root.white, currItem.name.toUpperCase(), "textItem");
如何使动作脚本将 currItem.name.toUpperCase()
作为 html?这样名称就会显示为带有 ""
的 HTM。 而不是显示 ;quot;
此处更新的是完整源代码, :http://pastie.org/ 2666913
I am using html in xml for some names in actionscript and there is ;quot;
Here is my variable where I want actionscript to read the name as html. Instead of normal text.
var field:TextField = currItem.createH3Black(0, 0, 180, 10, h3Size, h3Leading, font, "Left", _root.white, currItem.name.toUpperCase(), "textItem");
How do I make actionscript treadt the currItem.name.toUpperCase()
as html? So that the name shows as HTM with ""
. Instead of showing ;quot;
Update here is the full source code: http://pastie.org/2666913
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:
Try this: