Question

In my flex app I have custom tooltips on buttons that hide and show based on user context. The problem that I dealing with is that when I call my showTips() function I only want to show tooltips on the buttons that visible in the view. So buttons that on a un-selected tab (tabNavigator) should not show the tooltips. For some reason all tooltips are showing. Is there a way to detect if a button is not in current view, like on a un-selected tab?

Was it helpful?

Solution

If you gave us some code I could check this out, but would this work?

if(button.parent.visible) { showTip(button);} 

OTHER TIPS

Instead of custom coding for each button, make use your tabnavigator's creation policy is set to "auto".

Check this link for more details

http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top