[flexcoders] Re: How to default an Accordian to a "closed" state (Flex 3)

2008-10-09 Thread nathanpdaniel
I'd first give the WindowShade (posted in this thread already) - if you still want to try this you can use the includeInLayout & visible properties (already mentioned) but in order to do that - you'd need to set accordion.selectedIndex to accordion.length-1 - which "opens" the last child. howe

[flexcoders] Re: How to default an Accordian to a "closed" state (Flex 3)

2008-10-08 Thread burttram
> Have you thought of using includeInLayout to make the children of the > containers populating the Accordion have no dimension? This will > visually look like the accordion is closed. I was asking about this not long ago (http://tech.groups.yahoo.com/group/flexcoders/message/127045) and would

[flexcoders] Re: How to default an Accordian to a "closed" state (Flex 3)

2008-10-08 Thread valdhor
Have you checked into WindowShade in FlexLib? http://code.google.com/p/flexlib/wiki/ComponentList --- In flexcoders@yahoogroups.com, "Erich Cervantez" <[EMAIL PROTECTED]> wrote: > > Anyone know of a simple (or not so simple) trick to default an > accordian to a "closed" state. Basically, I'd lik

[flexcoders] Re: How to default an Accordian to a "closed" state (Flex 3)

2008-10-08 Thread Amy
--- In flexcoders@yahoogroups.com, "Erich Cervantez" <[EMAIL PROTECTED]> wrote: > > Yes, the height of the Accordion would change whenever a user clicks a > header to open up that headers menu item contents. > > Right now, the first header "group" in the Accordion defaults to open > when the appli

[flexcoders] Re: How to default an Accordian to a "closed" state (Flex 3)

2008-10-08 Thread Erich Cervantez
Yes, the height of the Accordion would change whenever a user clicks a header to open up that headers menu item contents. Right now, the first header "group" in the Accordion defaults to open when the application loads. I'd like to have that first group closed or collapsed initially and force the