开发者

problem with textField.htmlText and apostrophe (')

Apostrophe is shown in textField.htmlText as &apos (which is not a valid html encoding of apostrophe), intead of &#39. How can i change it开发者_JAVA百科?


It's ' you forgot the ";" at the end.


You can also use the escape character sequence for the apostrophe ( \' ), newline ( \n ), return ( \r ), and many other characters in the AS3 using an htmlText TextField.

Here is the related article: http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜