Flex 读取 XML

Flex 读取 XML

<mx:HTTPServiceid="productsRequest"/>

2.动态调用数据源(每次调用重新获取数据):

private function init():void{
      productsRequest.url = "http://localhost:8080/FlexDataServer/XML.jsp?" + newDate();
      productsRequest.send();
}