5 Replies Latest reply on Jan 25, 2010 9:30 PM by Flex harUI

    Custom ComboBox selectedItem renderer?

    rfkrocktk

      Is it possible to have a custom ComboBox selectedItem renderer? I have a ComboBox filled with images and I want to basically make it show the image where the label typically is after it's selected. Eg, rather than this:

      ---------------
      | [LABEL] | V |
      ---------------
      

       

      I'd like to have it look like this:

      ---------------
      | [IMAGE] | V |
      ---------------
      

       

      Hopefully that makes sense. Basically, I'd like to be able to declare an item renderer which will render an image for the selected item rather than text. Any easy way to do this with spark.components.ComboBox or mx.controls.ComboBox?