Generally speaking theres no extra configuration you need to make this work as hering said in the comment an HTTPService will serve your purposes. Here's what you need to do:
private var myCollection:ArrayCollection;
public function creationComplete(event:Event):void
{
var myService:HTTPService = new HTTPService();
myService.url = "myscript.php"
myService.method = "POST";
myService.addEventListener(ResultEvent.RESULT, resultHandler);
myService.send();
}
public function resultHandler(event:ResultEvent):void
{
if(event.result..entries is ArrayCollection)
myCollection = event.result..entries;
else if(event.result..entries is Object)
myCollection = new ArrayCollection(event.result..entries)
}
I'm assuming you're adding a listener to whatever control this service call lives in for creation complete that calls the creation complete function. I also assume you have (php generate) an xml structure like:
<entry>
<entries>1</entries>
<entries>2</entries>
</entry>