0 Replies Latest reply on Sep 11, 2008 4:28 AM by littleshell

    LoadVars.sendAndLoad() cannot POST

      i find that i cannot POST data with LoadVars.sendAndLoad(),
      i use firebug for tracking request data

      in the code, "request_receiver.php" is used to show $_REQUEST, $_POST & $_GET

      parameters were sent succesfully from lv when i set the method to GET
      but when i set method to POST, there's no data sent from lv
      which means php didn't received any POST data

      also i tried LoadVars.send()
      the POST value sent successfully~~ but i dont need to refresh the page nor popup a new page

      PS:dont suggest me using alternative way, i want to figure out why the method failed suddenly while i've been using this method long time ago without any error


      here is my code:
      var lv:LoadVars = new LoadVars();
      var rv:LoadVars = new LoadVars();

      mcc.onRelease = function() {
      lv.para1 = 1;
      lv.para2 = 2;
      lv.para3 = 3;

      rv.onLoad = function(succ) {
      //blar blar blar