You'll want to check out the WindowShade component in flexlib
--- In [email protected], "burttram" <[EMAIL PROTECTED]> wrote:
>
> Is there any way to prevent and accordion control item from opening,
> so that the "header" will just act as a button?
>
> I'm currently trying to use an accordion control as kind of a menu,
> such that several items with sub-categories will open to reveal a
> treeview in the appropriate accordion "block" (sorry for my lack of
> terminology), however there are several items that have no
> sub-categories (i.e. Home and Contact).
>
> What I'd like to do is to prevent that default action of opening from
> happening, and instead collapse all members of the accordion control
> at the same time. Example can be seen at
> http://beta.2b-studios.com/BDB.html
>
> Any advice or suggestions?
>
> Thanks in advance for your time,
> Brian
>