Skip to main content
Inspiring
August 23, 2010
Question

need images along with the text in TLF

  • August 23, 2010
  • 1 reply
  • 647 views

Hi,

I need images to be wrapped along text in the TLF. What should I use, an example code would be a great help.

Thanks

Ankur

This topic has been closed for replies.

1 reply

Adobe Employee
August 23, 2010

You can see this blog entry with examples:

http://blogs.adobe.com/tlf/2009/12/new-and-updated-tlf-samples.html

There's an example with low level insertion of a graphic (InlineGraphic.as). You can also insert one as part of the markup: see the <img> element documented here: http://blogs.adobe.com/tlf/2009/09/tlf-markup-overview.html. For an example of actionscript that uses markup, see the ImportMarkup example. Or if you already have a TextFlow, and just want to add an inline to it, you can use the IEditManager interface via textFlow.interactionManager (see insertInlineGraphic method of IEditManager).

Hope this helps,

- robin