开发者

flex 4 render html

can anybody advise me a free component that normally renders html in flex 4? For example i need to render html such as:

<p class="Normal" style="color:#FF0000; text-decoration: underline;"><span class="" style="text-decoration开发者_运维技巧: underline;">1.TESTgh</span></p>

i found iframe-flex. but it doesn't work in fourth version


There is a project TLFX that extends TLF to add nicer HTML support but they are not event in alpha.

You can write your own HTML cleaner by porting some Java HTML cleaners (this will let you transform HTML into XML) and then generate TLF markup from that XML. That's what we do in our project.

If you know that incoming HTML is a valid XML, you can skip cleaner state.

Unfortunately I don't know any ready-to-use solution.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜