No se puede acceder a imágenes incrustadas en htmlText
as imágenes se pueden incluir enTextArea
controles usando elhtmlText
propiedad
ta.htmlText = '<img src="http://..."/>';
Cómo puedo referencia de imágenes incrustadas?
Un ejemplo
<mx:TextArea xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
[Embed(source='../assets/img.gif')]
public var img:Class;
]]>
</mx:Script>
<mx:htmlText>
<![CDATA[
<img src="???" />
]]>
</mx:htmlText>
</mx:TextArea>
UPD:
<img src='../assets/img.gif />
works en la máquina local, pero en el entorno del servidor arroja:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
¿Cómo puedo arreglar esto