Flash call PHP & wait for return variables
August 29th, 2007
Filed under: Web Design | No Comments »
url = “something.php?variable=number”;
_root.myLoadVars = new LoadVars();
myLoadVars.place = place; // place is an example variable returned by PHP
_root.myLoadVars.onLoad = function(succes)
{
if(succes)
{
for(var i in this)
{
trace(i+” = “+this[i]);
}
}
else
{
trace(”error”);
}
};
_root.myLoadVars.load(url);
Bookmark to:







