flex 嵌入简单的html

来源:互联网 发布:java 注解反射出类 编辑:程序博客网 时间:2024/04/24 02:59
<mx:TextArea width="200" height="100">
<mx:htmlText>
This is an example of setting a <B>TextArea</B> control's <I>htmlText<I> property.
</mx:htmlText>
</mx:TextArea>

支持的样式标记
  • <b> - Bold tag for text
  • <i> - Italic tag for text
  • <u> - Underline tag for text
  • <a> - Anchor tag for links (more information below)
  • <br> - Break tag for text
  • <font> - Font tag for text
  • <img> - Image tag for embedding inline images
  • <li> - List item tag
  • <p> - Paragraph tag
  • <textformat> - Text format tag (more information below)