Adobe Flex Actionscript Question:

Download Job Interview Questions and Answers PDF

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

Adobe Flex Actionscript Interview Question
Adobe Flex Actionscript Interview Question

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 Interview Questions And Answers PDF

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?