0
나는 comboBox의 선택된 항목을 HttpService의 매개 변수로 전달해야하는 시점에 갇혀 있습니다. 누군가이 방법을 알려줍니다.Flexbuilder에서 HttpService에 매개 변수 전달 3
나는 comboBox의 선택된 항목을 HttpService의 매개 변수로 전달해야하는 시점에 갇혀 있습니다. 누군가이 방법을 알려줍니다.Flexbuilder에서 HttpService에 매개 변수 전달 3
는
params["serviceParamName"] = comboBox.selectedItem;
httpServ.send(params);
<mx:HTTPService id="httpServ">
<mx:resultFormat>flashvars</mx:resultFormat>
<mx:url>http://www.adobe.com</mx:url>
<mx:result>combo.selectedItem=httpServ.lastResult.message</mx:result>
<mx:fault>Alert.show(event.toString(), event.type);</mx:fault>
</mx:HTTPService>
아래에 다음 코드를 사용해보십시오