开发者

Flex s:text htmltext missing out/cutting the full html text

开发者 https://www.devze.com 2023-02-10 14:54 出处:网络
I am trying to implement htmlText for a text component as the returned string is in html format (with the html tags etc). If I put a text=.... i get the full text, but with the tags (which i want conv

I am trying to implement htmlText for a text component as the returned string is in html format (with the html tags etc). If I put a text=.... i get the full text, but with the tags (which i want converted to html). So i use htmlText=.... and it formats it fine, but cuts half the text from the variable. The text im supposed to ge开发者_开发百科t back has tons of html tags, and maybe its cutting it somewhere because of the tag its not able to escape... How do i fix this? Any solutions?


Not all tags are supported in the htmlText property. Here's a list of the tags that can be handled :

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#htmlText

An example though would make debugging easier :)

0

精彩评论

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