You mean something like this?
 
<mx:ComboBox id="cb" change="cb.dataProvider =
someOtherData[cb.selectedItem.name]" />

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ucabb4u
Sent: Monday, May 19, 2008 2:15 AM
To: [email protected]
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.



 

Reply via email to