I am attempting to create a Flex component based on a combination of 
Flexlib's SuperTabBar and ButtonScrollingCanvas components. The 
intended result is to be a component that looks and behaves similar to 
the tab bar, described in "SuperTabNavigator_Sample.mxml" as 
the "example using just the SuperTabBar without the entire TabNavigator 
component." In the compiled SWF, this scrolling tab bar example is 
displayed at the bottom of the browser window.

However, I am having troubles getting the dataProvider to work 
correctly. The only method that has been successful in the setting the 
SuperTabBar's dataProvider correctly has been when using an mxml 
dataProvider tag with string objects populating the tag. 

If I attempt to create an array of those same strings and 
programmatically pass this array to the dataProvider setter, by either 
calling the setter or by using the dataProvider tag 
attribute ...dataProvider="{theArray}"... the result, as displayed in 
the component, is a single blank tab.

Any suggestions on what I might be doing wrong?

Reply via email to