Thank you Alex. I think I phrased the question badly. Do you mean in the change event of the ComboBox, select a new data provider for the same ComboBox? In which case, it's not that.
I want to create a menu for Ely Greenfields "DisplayShelf" so that the user can select a group of images by subject. Hope thats easier to explain a solution. ---------------------oXo----------------------- --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You mean something like this? > > <mx:ComboBox id="cb" change="cb.dataProvider = > someOtherData[cb.selectedItem.name]" /> > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ucabb4u > Sent: Monday, May 19, 2008 2:15 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] How do I switch data providers? > > > > Can someone help me out please? > > I have a ComboBox with a list of subjects. I want the user's selection > to change the name > of the dataProvider. I found a reference in Adobe's docs that says it > can be done but I can't > figure out how. > > Can you also volunteer any information where I can find a cookbook of > examples. I have > tried all the usual sources, but can't find what I'm looking for. (Just > past newbie, but still a > bit confused). > > :) > > Thanks. >