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='file:///C:/flag.png'></p>
]]>
</mx:htmlText>
</mx:RichTextEditor>
<mx:Image source="file:///C:/flag.png" autoLoad="true"/>
The Image are loaded successfully in the "mx:Image" but not in the "mx:RichTextEditor". I have tried also to use "C:\flag.png", C:/flag.png" and "http://www.mysite.com/flag.png"
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,