try applying themeColor to <mx:Application> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" themeColor="#ff6633">
On Fri, Jun 18, 2010 at 12:16 PM, Ravi <[email protected]> wrote: > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

