How to displaying an image inline in TextArea ,htmlText


here code

 

<?xml version="1.0" encoding="utf-8"?>
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:textarea id="mychat" width="271" height="238" backgroundcolor="#ffffff" borderthickness="0" editable="false" enabled="true" horizontalscrollpolicy="off" wordwrap="true">
    <mx:htmltext>
    <![cdata[
          test...<img src='close.png' height='15' width='15'/>test...
    ]]>                                     
    </mx:htmltext>
</mx:textarea>

 

</mx:application>

 

thanks in advanced...

you can in way...

 

<?xml version="1.0"?>
<!-- textcontrols/imgtagwithhyperlink.mxml -->
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml" borderstyle="solid">
  <mx:textarea width="100%" height="100%">
     <mx:htmltext>
        <![cdata[
           <a href='http://www.adobe.com'><img src='../assets/butterfly.gif'/></a>
              
        ]]>
     </mx:htmltext>
  </mx:textarea>
</mx:application>

 

hope got point!!!

 

if post answers question or helps, please kindly mark such.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Using Arduino Uno R3 to bootload the atmega328-PU (non pico)

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support

How to update nested ListCollectionViews?