Copy link to clipboard
Copied
Hi,
I'm having trouble figuring this one out. I have a view that takes a moment to build itself - it is the first view of one of the tabs in my TabbedViewNavigatorApplication. I wanted to add a busy indicator so I created an MXML component that simply included a transprent gray overlay with a busy indicator in the middle. From the first view of my TabbedViewNavigatorApplication, on init, I add a CHANGING event listener to tabbedNavigator. My theory is that I listen for the change event, add the busy indicator component to the current view based on the oldIndex of the tabbedNavigator during the change. Then, once the new view is set as active, I kill or hide the busy indicator component. Is this the totally wrong way to go about this? Because I can't get it to work at all.
Thanks!