Skip to main content
Inspiring
May 26, 2010
Question

External HTML source possible for floating images with captions?

  • May 26, 2010
  • 1 reply
  • 532 views

I'm building a presentation that's driven by external data files (XML with HTML text for body text on each slide), and I'd like to specify HTML that enables the content producers to insert floating images (each image requires a caption) and wrapping text. It's only one column text, but I'm at a loss for finding examples of TLF with images that use external data sources to drive the experience. Any suggestions would be greatly appreciated.

This topic has been closed for replies.

1 reply

Adobe Employee
May 27, 2010

I think you'll have to write some wrapper code around this to make it work. Depending on what you want, the easiest solution might be to set up a Flex VBox that contains Images and rich text components. The content of each rich text component could be serialized to & from HTML. That gives you a nice, high-level interface to work at. I don't have any specific examples that look like this, but you could look in the Tour de Flex to see if there is something there. There are some Flex-based TLF examples posted on the TLF blog, see http://blogs.adobe.com/tlf/2009/12/new-and-updated-tlf-samples.html.

Alternatively, if this does not work for you, you could create a single text flow that has multiple paragraph, where the images are in paragraphs of their own. Easiest way to do this would be to do it all in TLF markup, though, not HTML.

- robin