2 Replies Latest reply on Nov 5, 2009 11:23 PM by oggex

    Disable tooltips for specified elements

    oggex

      I hava bunch of buttons textboxes and other elements in my canvas. I want some elements to be disabled tooltip. But so far i know how to disable and enable all tooltips bu not specified ones. Need help.

        • 1. Re: Disable tooltips for specified elements
          Flex harUI Adobe Employee

          Not sure what you mean by "disabled" tooltips.  If the tooltip property is null it won't show a tooltip

          1 person found this helpful
          • 2. Re: Disable tooltips for specified elements
            oggex Level 1

            i solve the problem. I dont use tooltip property in my buttons but when i move mouse over them tooltip message appears and get the value from label property.

             

            <mx:Button styleName="myButton" x="5" y="5" label="1" width="30" height="30" click="addNumber(event)" id="b1"/>
            <mx:Button styleName="myButton" x="5" y="40" label="2" width="30" height="30" click="addNumber(event)" id="b2"/>
            

             

            You see there is no tooltip property in my buttons but it appears anyway . So i solve this by adding this lines in my code ;

             

            b1.toolTip = null;
            b2.toolTip = null;
            

             

            Thanks...