4 Replies Latest reply on Jul 24, 2010 1:23 PM by ramyadel

    img tag in RichTextEditor Adobe AIR

    ramyadel

      Hi,

       

      I wanted to insert an image into a RichTextEditor in AIR application. For my surprise I found this code working perfectly if the project was Web application but it doesn't work if I use it into AIR Desktop application. Here's the code

       

           <mx:RichTextEditor height="100%" width="100%">
              <mx:htmlText>
                  <![CDATA[
                  <p>This is an image</p><p><img src='C:\flag.png'></p>
                  ]]>
              </mx:htmlText>
          </mx:RichTextEditor>

       

      Could you please help me to figure out why I can insert an image into the RichTextEditor with Web application and not with AIR?

       

      Many thanks,