I can't find out how to get some data from a PHP file across into Flash AS3. I can get a simple string across, however my data is XML data pulled from a database. I need the xml to be brought into AS3 and then I can forceDownload from within flash.
This is my php line which grabs the two columns of data.
list($data, $name) = mysql_fetch_array($queryDownload);
The $data is the XML code and $name is the name of the file.
How do I send that to AS3 in a way that keeps the data as XML data? and get AS3 to use that to create a downloadable file?