Adobe Flex Actionscript Question:

How can you show a jpg image in Dynamic Text Field?

Tweet Share WhatsApp

Answer:

Using HTML Tags in HTML enabled text field you can load image in that. Make a Dynamic Text Field on Stage and give it instance name "txt", On frame paste the following code and test your flash.

Code:
txt.htmlText ="<img src='http://www.globalguideline.com/images/ggl.gif' width='139' height='139'> This image is under Dynamic text field of flash "

Download Adobe Flex Actionscript PDF Read All 84 Adobe Flex Actionscript Questions
Previous QuestionNext Question
Can I embed HTML in my Flex application?I have i input text field on stage and I have a button also, Further i am writing some text in that input text field. I want to save my written data on my local system (on my computer), How can i do this?