开发者

How to wrap some text around an image?

开发者 https://www.devze.com 2023-01-10 16:06 出处:网络
In flex, I have HBox in which I have loaded an image. I want to wrap text around it. Hence, there would be an image on right and text will be on left. After the image is cleared, text will be displaye

In flex, I have HBox in which I have loaded an image. I want to wrap text around it. Hence, there would be an image on right and text will be on left. After the image is cleared, text will be displayed 100% of the width.

How can I ach开发者_如何学编程ieve it?


Although what you describe is easy to do with HTML. I didn't think the htmlText property in Flex supported anything more than simple HTML.

You'll want to look into the Text Layout Framework for Flex.


Edit: Despite my initial claim, the htmlText property actually does support the img tag with align property. It is documented here

0

精彩评论

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