1 Reply Latest reply on Oct 8, 2007 8:12 AM by bsr328

    setting a background image for headers?

    GKRichie
      I am currently working on a flex app and have come across some design changes I would like to make. I would like to take an accordion and make each header for each section a different image. so Section 1 would be image 'A', section 2 would be image 'B' and so on. These images would stay the same for each section no matter what event occurs. Can this be done through css, or skinning, or maybe a combination of the two. If so, are there any tutorials on this?
      Thanks
      -Rich
        • 1. Re: setting a background image for headers?
          bsr328 Level 1
          If the sections of your accordion are VBox components (or some other component with an "icon" property), you just have to set those icon properties, and you will get icons on your headers.

          i.e...

          <mx:Accordion>
          <mx:VBox label="Nodes"icon="@Embed('assets/image/mail_24.png')">
          </mx:VBox>
          </mx:Accordion>