开发者

how to inject HTML tags in an MX:Text control with a bound text value that renders properly

i am working in a flex application, i have an mx text control or I can use whatever control I need to do displ开发者_高级运维ay the text value, but what I am trying to accomplish is to be able to format that text value with html 'before' it gets bound to the text control.

<mx:Text text="{data.combinedCriteria}" width="99%">

In the .as file that manipulates the combinedCriteria property of data, i can do whatever i want, but I haven't found much help out there.


Have you tried htmlText instead of text?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜