Hello Friends,
I apply css for button. and set default button and focus.
but i need to press tab to see the button highlighted.
But if i remove the css then default blue focus ia appearing.
Can someone please help me in this to set default focus with css .

E.g
<mx:Style>
                .exitBtn
                {
                        downSkin: Embed("images/exitHover.png");
                        overSkin: Embed("images/exitHover.png");
                        upSkin: Embed("images/exitUp.png");
                        themeColor: #ff6633;
                }
                .addCommentBtn
                {
                        downSkin: Embed("images/respondToInquiryOver.png");
                        overSkin: Embed("images/respondToInquiryOver.png");
                        upSkin: Embed("images/respondToInquiryUp.png");
                        themeColor: #ff6633;
                }
        </mx:Style>
        <mx:VBox width="100%" height="100%" verticalAlign="middle"
horizontalAlign="center" >
        <mx:Button  click="{Alert.show('one')}" id="btn"
styleName="addCommentBtn"/>
        <mx:Button click="{Alert.show('Two')}" styleName="exitBtn"/>
</mx:VBox>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to