Hi
I want that the <img> tag in TextField should take the src path from an Flex embed source is it possible ?? I don't want it to download the image as on server it takes a very long time any idea????????????
<?xml version="1.0"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml " layout=" vertical " width="800 " xmlns:local="* " >
<mx:Script>
<![CDATA[
[Embed (source= "flag_Argentina.gif")]
public var imgCls:Class;
]]>
</mx:Script>
<mx:Text id=" myText" >
<mx:htmlText>
<![CDATA[
<p>You can include an image in your HTML text with the <img> tag.</p><p><img src='{imgCls}' width='30' height='30' align='left' hspace='10' vspace='10'>Here is text that follows the image. I'm extending the text by lengthening this sentence until it's long enough to show wrapping around the bottom of the image.</p>
]]>
</mx:htmlText>
</mx:Text>
</mx:Application>