handycam
08-10-2007, 08:25 PM
I have a linkBar in an ApplicationControlBar. It's data provider is a viewStack.
If I hard-code a tool tip for an element in the viewStack, it correctly appears over the button that's linked to that element.
However, if I use a bound data element, the tooltip appears when the view stack item is rolled over and over the element -- not over the linkbar button!
<mx:ApplicationControlBar id="appBar" width="100%">
<mx:LinkBar id="mainMenu" dataProvider="{mainViewStack}" width="100%" toolTipField="toolTip" />
</mx:ApplicationControlBar>
and
<mx:ViewStack id="mainViewStack" width="100%" height="100%" y="40" >
<comp:Step0 id="s0" label="Introduction" toolTip="{_stepData0.@title}" />
... other components ...
</mx:ViewStack>
If I hard-code a tool tip for an element in the viewStack, it correctly appears over the button that's linked to that element.
However, if I use a bound data element, the tooltip appears when the view stack item is rolled over and over the element -- not over the linkbar button!
<mx:ApplicationControlBar id="appBar" width="100%">
<mx:LinkBar id="mainMenu" dataProvider="{mainViewStack}" width="100%" toolTipField="toolTip" />
</mx:ApplicationControlBar>
and
<mx:ViewStack id="mainViewStack" width="100%" height="100%" y="40" >
<comp:Step0 id="s0" label="Introduction" toolTip="{_stepData0.@title}" />
... other components ...
</mx:ViewStack>