You can subclass Accordion, override updateDisplayLIst, call the super.updateDisplayList, then further adjust your headers and content afterwards.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: Friday, April 25, 2008 1:24 AM To: [email protected] Subject: Re: [Flexcoders] Variable headerheight in an Accordion I know, but how can you change this default behaviour? I hacked my way into the accordion and also made a custom header class. My solution works, but it does feel a bit dirty. Any thoughts on this subject? On Thu, Apr 24, 2008 at 1:18 AM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: The accordion sets all headers to the same height. ________________________________ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Webdevotion Sent: Wednesday, April 23, 2008 9:15 AM To: [email protected] <mailto:[email protected]> Subject: [Flexcoders] Variable headerheight in an Accordion Hello Coders, How can I set a variable headerheight for my accordion headers? I'm almost there but every time the "accordion state toggles" ( opens a new child to be displayed), the accordion re-calculates the wrong headerheight. I'm using: - a custom headerclass - a vbox with a textarea as the accordion children The accordion is displaying data from an xml file. Is there an event overwriting my measure, updatedisplaylist functions in the header class? Thoughts are more then welcome! Bram

