--- In [email protected], "abhishekchess1" 
<[EMAIL PROTECTED]> wrote:
>
> hello frnd,
> 
>     i have a simple query ,
>     i'm storing text in string var like
>     var coreData:String = '<img border="0" alt="" style="width: 
77px;
> height: 43px;" src="chart.png" />' +
>                                         '<span style="font-weight:
> bold;">Hi how are you</span><span style="font-weight: bold;">' +
>                                         ' Welcome 
here<br /><br /><img
> border="0" alt="" style="width: 76px; height: 43px;" src="chart.png"
> /> ' +
>                                         'abhishek 
here<br /></span><br
> /><span style="font-weight: bold;"><br /><br /></span>';
>                 var s:String;
>                 s ="<html><head></head><body>";
>                 s +=coreData;
>                 s +="</body></html>";       
>                 myhtml.htmlText = s;
> 
>     it woring correctlly in AIr application like :
>     <mx:VBox width="100%" height="100%">
>     <mx:HTML width="100%" height="100%" id="myhtml"/>
>     </mx:VBox>
> 
> 
>     but when i used same in flex   u can see it not working same 
like
> in air.
> 
>  
> Flex code:
> <mx:VBox width="100%" height="100%" >
>         <mx:TextArea id="myhtml"  textAlign="center" width="100%"
> height="100%"/>
>     </mx:VBox>
>  
> 
>     u can run and check code in flex and air, ui'' find difference. 
In
> AIr its showing right but not in flex.
>     r u have any idea  how to make work above example ?
>  i come to know tht thr is problem with image displaying in textarea
> in flex ,is any other way anyone know?

ths fntkality s onli afaliball n aIR



Reply via email to