Mega Code Archive

 
Categories / Flex / Components
 

Use ToolTips on child elements in a components data provider

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">   <mx:VBox>     <mx:LinkBar dataProvider="{vs1}" borderStyle="solid" />     <mx:ViewStack id="vs1" borderStyle="solid" width="100%" height="150">        <mx:Canvas id="search" label="Search" toolTip="Search Screen">         <mx:Label text="Search" />       </mx:Canvas>       <mx:Canvas id="custInfo" label="Customer" toolTip="Customer Info Screen">         <mx:Label text="Customer" />       </mx:Canvas>       <mx:Canvas id="accountInfo" label="Account" toolTip="Account Info Screen">         <mx:Label text="Account" />       </mx:Canvas>     </mx:ViewStack>   </mx:VBox> </mx:Application>