hello all,
have a question, how could you load movie clips into a data array?
I have the yahoo flash components and i want to use the tabs setup with a few movie clips.
unfortunately, i can seem to make sense of this yet.
heres what they gave with their samples
as i said, i am curious as to wether or not i can create movie clips to enter into their array so that when a tab is clicked it will show the proper movie clip??Code:import fl.data.DataProvider; import com.yahoo.astra.fl.controls.TabBar; var tabData:Array = [ "Tab 1", "Tab Number Two", "The 3rd Tab" ]; var tabBar:TabBar = new TabBar(); tabBar.move(10, 10); tabBar.dataProvider = new DataProvider( tabData ); tabBar.selectedIndex = 0; this.addChild( tabBar );
any help with the code is also greatly appreciated.


Reply With Quote