[flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread nasawebguy
This seems to do the trick in my case...courtesy of flexcoder Cato Paus http://www.umbrellacorp.no and SearchCoders. Different problem, but I modified it to meet my needs. Not sure why this works... target.getTabAt(i).visible= false; and not the getChildAt, removeChildAt things I tried but it do

Re: [flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread Ralf Bokelberg
Use a Viewstack and a TabBar and update the dataProvider of the TabBar whenever the permissions change. Cheers Ralf. On Nov 8, 2007 7:47 PM, Scott Melby <[EMAIL PROTECTED]> wrote: > > > > > > > Should be possible to remove child using something like the following. In > fact I believe this should

Re: [flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread Scott Melby
Should be possible to remove child using something like the following. In fact I believe this should work with regular TabNavigator as well. tabNav.removeChildAt(index); tabNav.invalidateDisplayList(); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com nasawebg

[flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread nasawebguy
Thanks Scott. I look it over some...very nice. But, I don't readily see an option to programmatically close a specific tab. --- In flexcoders@yahoogroups.com, Scott Melby <[EMAIL PROTECTED]> wrote: > > You may be better off using the SuperTabBar >