Hi, If you know which Tab (UI child) not to show. Then it is much easier.
visible = "false"; includeInLayout = "false"; Beware : This neither removers your object nor frees memory. Happy Flexing ~ Mayur --- In [email protected], "Tracy Spratt" <tspr...@...> wrote: > > I would use a TabBar whose dataProvider content was dynamically driven, > to show or hide tabs as desired. I would have that TabBar drive a > Viewstack. > > > > Tracy > > > > ________________________________ > > From: [email protected] [mailto:[email protected]] On > Behalf Of Mario Vieira > Sent: Friday, January 02, 2009 6:49 AM > To: [email protected] > Subject: Re: [flexcoders] hideing a tab in a TabNavigator > > > > editing the display list is a way, or simply trying to set the tabNav > children visible to true/false is also a goal > > > > you can create your UI with a method, and so perform checks to see who > will be added at run time or not > > you can create item renderers that uses XML, and perform further checks > based on the UI > > or, or... > > > > HOWEVER, I would not remove and add child without a more developed way > of doing this so (what about the info you may have in this tab > container?) > > > > On 31 Dec 2008, at 15:46, btroop202 wrote: > > > > > > How can I hide a with AS3 when a if condition is true. So it would > show in the TabNavigator sometimes. > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f- b4cf- > 1e62079f6847 > <https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f- b4cf > -1e62079f6847> > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo > <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups > Links > > > (Yahoo! ID required) > > mailto:[email protected] > <mailto:[email protected]> >

