1.設置數據源:jsp
<mx:HTTPServiceid="productsRequest"/>
2.動態調用數據源(每次調用從新獲取數據):url
private function init():void{ productsRequest.url = "http://localhost:8080/FlexDataServer/XML.jsp?" + newDate(); productsRequest.send(); }