代码之家  ›  专栏  ›  技术社区  ›  Pieter van Niekerk

Flex 4 - Wrapping text around an Image

  •  1
  • Pieter van Niekerk  · 技术社区  · 16 年前

    Is it possible to wrap text around an image? 这里是一个 link of what I would like to do with Flex, not HTML as in the example. Will it be possible to use the textFlow component like we tried here?

    <s:TextArea width="100%" height="100%" editable="false">
     <s:textFlow>
      <s:TextFlow>
       <s:img source="imageLocation" width="80" height="80" />
       <s:p textAlign="justify">text_goes_here</s:p>
      </s:TextFlow>
     </s:textFlow>
    </s:TextArea>
    
    1 回复  |  直到 16 年前
        1
  •  1
  •   Florian F    16 年前

    It doesn't work out of the box with TLF.

    You could use 2 linked ControlerContainer as explained here : http://forums.adobe.com/message/2705930#2705930

    推荐文章