Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

How can i display image in mx:TextArea Component?

$
0
0
I found display img tag in htmlText of mx:TextArea component is very difficult in Flex Air

I new a simple air project in flex builder, put the code below in it, i put a glad.png file in the src folder, every thing is OK, when i run it, image cannot be displayed. why this happend, I search the google for the solution, it seems there is a bug in air, and told me to use mx:HTML coponent, but that component still can not display img tag.

could any one help me with this?


<mx:TextArea width="100%" height="100%">
<mx:htmlText>
<![CDATA[
<a href='http://www.adobe.com'><img src='glad.png'/></a>Click the image to go to the Adobe home page.
]]>
</mx:htmlText>
</mx:TextArea>

Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>