Skip to main content
Known Participant
July 31, 2010
Question

Image not displaying in the text flow

  • July 31, 2010
  • 1 reply
  • 667 views

Hi

I am adding image in my text flow using following:

<TextFlow  columnCount="inherit" columnGap="inherit" columnWidth="inherit"  fontFamily="Arial" lineBreak="inherit" paddingBottom="inherit"  paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit"  verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p><span  color="0x0" fontSize="14"></span><img color="0x0" fontFamily="Arial"  fontSize="12" height="23" width="23" source="http://192.168.17.94/Flex/DragAndDrop/bin-debug/smiley/s2.png"  float="none"/><span></span><span></span></p></TextFlow>

Now the issue is that the same image is appear on some machines and not on some machines. Even the machines in which the image appear for one time, some time missing the same image and do not display.

I am unable to find out the exact reason behind the issue.

Any Help.

This topic has been closed for replies.

1 reply

Adobe Employee
August 2, 2010

I am guessing that there is a security violation that happens on some machines that prevents the graphic from loading. I am not an expert on this, but I would suggest you look here for more information:

www.adobe.com/devnet/flashplayer/.../flash_player_9_security.pdf

TLF does send you some events on this, and if you want to get those events, see here for how to do it:

http://river-prod.corp.adobe.com:81/Vellum/standalone/langref/flashx/textLayout/events/StatusChangeEvent.html

It has some example code that may help, but basically you attach an event listener to the TextFlow, and this should tell you if it has an error loading the graphic.

If you can't get enough information that way, the other thing you could try is to make a simple Loader that loads the URL, completely independent of TLF, and listen to the raw Player events sent by the loader.

Hope this helps,

- robin