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 '
.
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
精彩评论