开发者

Actionscript 2 how to read text as html instead of normal text?

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


Try this:

your_string = your_string.split(";quot;").join('"');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜