How to set tooltip for buttonbar button

Posted by donpal on Stack Overflow See other posts from Stack Overflow or by donpal
Published on 2010-05-24T02:18:25Z Indexed on 2010/05/24 2:20 UTC
Read the original article Hit count: 332

Filed under:
|
|

I have a buttonbar that has 3 buttons. I'm trying to set a tooltip for each of the buttons, but not sure where. The ButtonBar itself has a skin, which in turn includes a skin for each of the buttons.

<s:ButtonBar id="bb" selectedIndex="0" skinClass="skins.bbSkin">
     <s:dataProvider>
          <s:ArrayList>
              <fx:Object label="item1" />
              <fx:Object label="item2" />
              <fx:Object label="item3" />
         </s:ArrayList>
     </s:dataProvider>
</s:ButtonBar>

The skin for the buttonbar is skins.bbSkin

The skin inside it for each button is skins.bbbSkin

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3