Skip to main content
Participant
January 12, 2011
Question

TLF insertinlineGraphic inserts but not visible

  • January 12, 2011
  • 1 reply
  • 1190 views

I am using

IEditManager( editor.textFlow.interactionManager ).insertInlineGraphic(urlRequest, 100, 100, "left");

to add an image to the textFlow. If i use "none" the image is rendered inline as you would expect. However when set to "left" or "right" it adds it without error, but the image does not display on the screen. (i know it display because if i look at the tlf text ouput the img is added, also a small whitspace is added to the screen)

anyone have any ideas?

This topic has been closed for replies.

1 reply

Adobe Employee
January 12, 2011

If you are using TLF 1.0 or 1.1, which are part of Flash CS5 and Flex 4.0 and 4.1, then "none" is the only option

supported in insertInlineGraphic. TLF 2.0, included as part of Flex Hero,supports additional options including "left", "right", "start" and "end".

What version of TLF are you using?

- robin

ozDiGennaro
Participating Frequently
January 13, 2011

I am having the same problem.  Do I discover the version of TLF by looking in my Flash Building installation tree?

   C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\projects\textLayout\src\flashx\textLayout\elements

The files look older than the latest version.  How do I update to the latest TLF?

Thanks.

Oz

January 13, 2011

If you're using Flash Builder, TLF 2.0 is meant to be used with the upcoming version. So the easiest way to update to the latest TLF is to switch to the Hero builds: http://opensource.adobe.com/wiki/display/flexsdk/Hero

But if you want to try using TLF 2.0 with the 4.0 or 4.1 Flex SDK, we have a blog post detailing what you need to do: http://blogs.adobe.com/tlf/2010/07/flex-4-updates-for-tlf-20.html