title: How to use markup tag <img> in TextFlow object in Flex
body: <p>In the .mxml file, we can easy create the RichEditableText (RET) component with content of image in it:</p>
  
  <pre><code>&lt;s:RichEditableText id="ret" height="600" width="900" selectable="false" editable="false" click="onClick(event)"&gt;
      &lt;s:content&gt;
          &lt;s:div&gt;
              &lt;s:p&gt;
                  &lt;s:span&gt;
                      This is a
                  &lt;/s:span&gt;
                  &lt;s:img source="@Embed('image.png')" /&gt;
                  &lt;s:span&gt;
                      span test!
                  &lt;/s:span&gt;
              &lt;/s:p&gt;
          &lt;/s:div&gt;            
      &lt;/s:content&gt;
  &lt;/s:RichEditableText&gt;
  </code></pre>
  
  <p>But if I want to create content of RET dynamically, such as </p>
  
  <pre><code>richEditableText.textFlow = TextConverter.importToFlow(textFlowStr, TextConverter.TEXT_FIELD_HTML_FORMAT);
  richEditableText.textFlow = TextFlowUtil.importFromString(textFlowStr);
  richEditableText.textFlow = TextConverter.importToFlow(textFlowStr, TextConverter.TEXT_LAYOUT_FORMAT)
  </code></pre>
  
  <p>It always give the exception. My <code>textFlowStr</code> is like this:</p>
  
  <pre><code>&lt;img src="image.png" /&gt;  **for html format**
  &lt;img source="image.png" /&gt; **for Text Layout Format**
  </code></pre>
  
  <p>In this <a href="https://stackoverflow.com/questions/16909916/how-to-add-dynamically-text-and-tags-inside-textflow">How to add dynamically text and tags inside textFlow</a>, it gives a example, but I try <code>&lt;img&gt;</code> it does not work.</p>
  
  <p><a href="http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7ff6.html" rel="nofollow noreferrer">This link</a> says it support <code>&lt;img&gt;</code> tag. But I do not know how to use it?</p>