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. however, if the children of the last panel are child.visible=false, child.includeInLayout=false - it will just look like the accordion is closed. When they click on anything other than the last, it works great. If they actually do click on the last, you would just change those properties (visible & includeInLayout) back to true. Hope this helps!
--- In flexcoders@yahoogroups.com, "burttram" <[EMAIL PROTECTED]> wrote: > > > 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 be very interested in hearing how you solve this. I'm using > Flex 2 instead of 3, but I would think that the suggestion above may > work for both products/cases. Please post any progress you're able to > make! > > Thanks in advance, > Brian >