1 Reply Latest reply on Oct 3, 2009 7:53 AM by Ned Murphy

    img tag limitation

    jiggy1965 Level 1
      mysmileys.html = true;
      mysmileys.wordWrap = true;
      mysmileys.multiline = true;
      mysmileys.htmlText = "These are smileys <img src='smiley.jpg' /><img src='smiley.jpg' /> who are angry";


      I'm expecting:

      These are smileys which are angry


      But I get:

      These are smileys    which are angry



      This is some limitation of Flash regarding img tags? That an image is place on a new line following the line with the img tag? Or is there a workaround?

        • 1. Re: img tag limitation
          Ned Murphy Adobe Community Professional & MVP

          In my own experience with htmlText dealings, which is not at all vast, I've found that incorporating images is a losing battle in terms of controlling where they land and how they behave with text.


          Your best bet might be to just take a screen shot of what you just showed, with the images and text cmbined into an image, and place that in your textfield.  It is probably the easiest solution compared to whatever other finagling you might have to using CSS or something, if that is even possible to use to make it work.


          I did take a look thru Google regarding this issue, but the search terms I used aren't leading to the problem you are facing, except one where the answer appeared to be to not use Flash.