Skip to main content
Participant
April 1, 2010
Question

Need avise - really simple layout

  • April 1, 2010
  • 1 reply
  • 2091 views

Hi, I'm new to TLF and I need to create really simple layout. See image below:

I need to create this programmatically (web service gets me plain text and image url). I tryed to use InlineGraphicsElement but the text wont wrap around it. Can someone please help?

Thanks Viktor

This topic has been closed for replies.

1 reply

Adobe Employee
April 2, 2010

You could do this layout using linked containers. Create two ContainerControllers. The first one to hold the text that will go to the left of the image, and the second to go below. Use FlowComposer.addController() to add them in to the textflow, and position the containers (Sprites) correctly with respect to the image. The text in the flow will start in the first container, and if there is enough text, flow into the second container.

- robin