doesn't work!!! any othe ideas??
--- In [email protected], Manish Jethani <[EMAIL PROTECTED]> wrote: > On Sat, 19 Mar 2005 15:47:30 -0000, Ghislain Simard > <[EMAIL PROTECTED]> wrote: > > > I would like to generate dynamically each containers inside an > > accordion. It seems that I can't use the visible=false attribute. My > > idea was to turn true the container in specific condition. > > Hmm... that's because the Accordion itself uses the visible property > to hide/show its children. So you set it to false but the Accordion > sets it to true again. > > > <mx:Accordion> > > <mx:HBox...visible="false"/> > > </mx:Accordion> > > <mx:Accordion> > <mx:HBox> <!-- let the Accordion play with this --> > <mx:HBox...visible="false"/> > </mx:HBox> > </mx:Accordion> > > That should do it. One way to look at it is, you want to hide/show > the content inside the container, not the container itself. > > Manish Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

