Is there a way to assign a data provider to combo box at run time using
action script instead of mxml?
I've tried:
function setCombo(){
MyWebService.MyFunction.send();
MyComboBox.setDataProvider(MyWebService.MyFunction.result);
}
Yahoo! Groups Sponsor
Terry,
What you can do is to assign
a result event to your webservice method and then bind the result to the combo box
dataprovider.
mx:WebService
wsdl=YourWebServiceUrl id=MyWebService
mx:operation
name=MyFunction
result=someFunction(event)/
/mx:WebService
On 8/4/05, terry_hrtn [EMAIL PROTECTED] wrote:
Is there a way to assign a data provider to combo box at run time using
action script instead of mxml?
Yups, simply set the dataProvider property.
comboBox.dataProvider = newDataProvider;
Manish
Yahoo! Groups Sponsor
3 matches
Mail list logo