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

Blank pages again for IE7 and IE6

How to update nested ListCollectionViews?

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??