开发者

problem with textField.htmlText and apostrophe (')

开发者 https://www.devze.com 2023-01-08 00:04 出处:网络
Apostrophe is shown in textField.htmlText as &apos (which is not a valid html encoding of apostrophe), intead of &#39.

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

精彩评论

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