Skip navigation
Viktor Bezdek
Currently Being Moderated

Need avise - really simple layout

Apr 1, 2010 6:46 AM

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

 

img.gif

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

 
Replies
  • Currently Being Moderated
    Apr 1, 2010 10:17 PM   in reply to Viktor Bezdek

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points