Check out this logic <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <fx:Script> <![CDATA[ protected function button1_mouseOverHandler(event:MouseEvent):void { var target:Button = event.target as Button; if ( target.filters == null ) target.toolTip = null; else target.toolTip = "Here is the disabled Icon"; } ]]> </fx:Script> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <mx:Button label="Disabled Icon" mouseOver="button1_mouseOverHandler(event)" /> </s:Application>
On Fri, May 11, 2012 at 5:09 AM, naresh <nnaresh.kku...@gmail.com> wrote: > Hi All, > > For Disable Icon, I'm using Filters = grayscaleFilter > > I want to show tooltip when mouse over on the disabled icon... > > > > > > > Thanks inAdvance > > -- > 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_india@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. > > -- 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_india@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.