Flash call PHP & wait for return variables

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:

Pop up flash window redirects parent window and closes pop up window

on (release) {
 getURL(”javascript:window.opener.location.href = ‘page.htm’; self.close();”);
}
Bookmark to: