Php > xml > flash

Hi. I´m new here. It looks good!

I have written a php script that outputs xml, in order to load that into flash. My problem is, when using the XML object, or loadVars object to call the php script, in only loads the contents of the script itself, and not its output into flash…

do i need to open an XML socket here, or is there some other way of passing the output of the script to flash?

thanks.