1 Reply Latest reply on Aug 27, 2009 4:13 AM by flex2008

    want to display image in textbox

    Varun Bajaj (PHP)



      I want to create a textbox with image at right side and as i start typing in textbox the image should change with another image.




      Any help is highly appriciable.


      thanks and warm regards,



        • 1. Re: want to display image in textbox
          flex2008 Level 3

          This is how you can do it:


          1.Extend text input and create your own custom AS3 class.

          2.Add the image as a child to the textinput after defining the image properties.

          3.override the keyDownHandler method in your custom class and inside the method write the code to change the source property of the image.

          1 person found this helpful