RE: [flexcoders] hide/show tabs of a tab navigator based on security?

2005-06-29 Thread Abdul Qabiz
Hi, I am sure, this topic has been discussed in past. Please search the archives ( http://www.mail-archive.com/flexcoders%40yahoogroups.com ). I think of two ways: 1) Delete the views from TabNavigator when user login. If user is not supposed to see some tabs, that view is not required delete

RE: [flexcoders] hide/show tabs of a tab navigator based on security?

2005-06-29 Thread Nick Watson
You may be able to use yourTabNav[tabBar]._tab1.enabled=false; For example ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml creationComplete=appInit() mx:Script function appInit() { testNav[tabBar]._tab1.enabled=false; }

RE: [flexcoders] hide/show tabs of a tab navigator based on security?

2005-06-29 Thread Tracy Spratt
: RE: [flexcoders] hide/show tabs of a tab navigator based on security? You may be able to use yourTabNav[tabBar]._tab1.enabled=false; For example ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml creationComplete=appInit() mx:Script