all groups > flash data integration > april 2005 >
You're in the

flash data integration

group:

load php


load php Ulitasch
4/26/2005 12:00:00 AM
flash data integration:
ok . i have managed to get data from a xml-file. this file is generated by a
php file. So on every load I have to get this php file to generated the newest
xml-document. How can i load the PHP-file into my flash-site?
Re: load php Clau=D0io_-_Flash_Developer_-_www.websigns.com.ar_-
4/28/2005 7:09:04 AM
your php generates the xml?, well, all u need is cal it with
laodVariables, the php file will run and update your xml.

Clau=D0io
Re: load php LuigiL
4/29/2005 12:00:00 AM
You call the php-file from the loadhandler defined in a function that loads the
XML-data.
function initXML();
data_xml:XML=new XML();
data_xml.ignoreWhite=true; //if your XML-file contains white space
data_xml.onLoad=function(success:Boolean){
if(success){
// code to execute
} else {
trace("Error parisng the XML-file");
}
};
data_xml.load("http://www.yourwebsite.com/yourphpfile.php");
AddThis Social Bookmark Button