0 Replies Latest reply on May 3, 2007 1:42 AM by codetale

    LoadVars.send() not working

    codetale
      here my code

      var sendData:LoadVars = new LoadVars();
      sendData["dataID"] = "MyDataID";
      sendData.send(" http://www.mydomain.com/submit.php", "_self", "POST");

      when i'm running the swf and the php on same server, everythings ok.
      once i'm moving the swf into another server with difference domain name

      images.mydomain.com (where the swf locate)
      www.mydomain.com (where the php page locate)

      i call the LoadVars.send() with provide it absolute path to www.mydomain.com,
      but there nothing happen when i press the button.

      but it work if i place my swf in www.mydomain.com

      any idea?

      thanks a lot