1 Reply Latest reply on May 27, 2008 4:56 AM by Ned Murphy

    Embedding image in dynamic text field

    cybe_r
      When I am trying to call an image inside text field dynamically, it is appearing after a line break, but I want the image to come in line with the text.
      I have created the text field dynamically:

      txtHolder.createTextField("imageData",1,0,0,550,60);

      and set these properties:

      txtHolder.imageData.multiline = true;
      txtHolder.imageData.wordWrap = true;
      txtHolder.imageData.html = true;
      txtHolder.imageData.border = true;
      txtHolder.imageData.htmlText = "";

      Now I am loading an image along with text into it using XML. I want to use and arrow image which will come in the end but in same line. But the image is taking a line break.

      Can anyone suggest me how to use <img> in text field so that it appears without line-break.

      Thanks