Yes. Normally, the header pulls it from the containers that are children of the Accordion. If you have different needs, you may need to subclass AccordionHeader.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of bryanpoopbartow Sent: Wednesday, September 12, 2007 1:03 PM To: [email protected] Subject: [flexcomponents] Re: Accordion Header with Graphic Assets? Alex, forgive my ignorance as I haven't done a lot of work with the accordion. Is it possible then for me to iterate through each individual accordion header and assign each one a unique icon? --- In [email protected] <mailto:flexcomponents%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > The label of the accordion header comes from the .label of the > container. > > > > The icon of the accordion header comes from the .icon of the container > > > > ________________________________ > > From: [email protected] <mailto:flexcomponents%40yahoogroups.com> > [mailto:[email protected] <mailto:flexcomponents%40yahoogroups.com> ] On Behalf Of bryanpoopbartow > Sent: Wednesday, September 12, 2007 12:43 PM > To: [email protected] <mailto:flexcomponents%40yahoogroups.com> > Subject: [flexcomponents] Accordion Header with Graphic Assets? > > > > Here's what I'm trying to do: I want to create and accordion whose > headers each have > different "icons" based on a reference to an asset in the model of the > application. I've seen > several examples of people using icons for each "state" of the accordion > header, but I'm > wanting to load the icon dynamically and not based on state. > Essentially, each header in the > accordion would have a different "icon" and when I changed the data > provider of the > accordion, it would re-populate with new icons in each header. Is this > possible? Has anyone > seen it done? >
