I typically do check the archives first…not sure why I didn’t this time around…*lazy yawn* J…sorry for the redundancy but thanks so much for the quick response guys!  I’ll check out both solutions!

 

Rob

 

robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york, ny 10022

p: 212.822.4821
f: 212.822.4820


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nick Watson
Sent: Wednesday, June 29, 2005 3:54 PM
To: flexcoders@yahoogroups.com
Subject: 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>

         function appInit() {

            testNav["tabBar"]._tab1.enabled=false;

         }

</mx:Script>

        <mx:TabNavigator id="testNav" width="100%">

                <mx:HBox label="tab 1">

                        <mx:Text text="aaa"/>

                </mx:HBox>

                <mx:HBox label="tab 2">

                        <mx:Text text="bbb"/>

                </mx:HBox>

                <mx:HBox label="tab 3">

                        <mx:Text text="ccc"/>

                </mx:HBox>

        </mx:TabNavigator>

        

        

    

</mx:Application>


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: 29 June 2005 20:30
To: flexcoders@yahoogroups.com
Subject: [flexcoders] hide/show tabs of a tab navigator based on security?

 

Is there an easy way to hide or show a tab in a tab navigator? 

Say my MXML file has a tab navigator with 4 custom components (separate
MXML files) statically coded as children of the tab navigator to show
tabs for...a user logs in, I only want user1 to see tabs 1 and 3 and
user2 to see 2 and 4...setting the visible attribute of the custom
components doesn't work, which I thought it would...what do I need to do
for this?

Thanks in advance for any help!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of sanjayd
Sent: Wednesday, June 29, 2005 3:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] change background color of a gridCell ?

quick question...does anybody know, how to change the background color
of a cell in a dataGrid? Thanks in advance. Sanjay





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links




--------------------------------------------------------

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



 

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to