1 Reply Latest reply on May 7, 2009 6:32 AM by Ned Murphy

    Help need in sendAndLoad method

    sugunadv

      Hi,

       

      I need to bring out the total price value to php from flash. How can i do this?...

      I got the email_box.text into the solution textbox... And now i need the solution box's text into my php page... Please help...

       

       

      Code in AS2
      var myVars = new LoadVars();
      myVars.name = email_box.text;
      trace (myVars.toString());
      solution = myVars.toString(name);
      myVars.sendAndLoad("builder.php", myVars, "POST");

       

       

      Thanks in Advance,

      Sugunadv

        • 1. Re: Help need in sendAndLoad method
          Ned Murphy Adobe Community Professional & MVP

          It's not clear what you're trying to accomplish from your description, but if you need to send multiple bits of data, then just include them in the LoadVars object..

           

          var myVars = new LoadVars();
          myVars.name = email_box.text;

          myVars.total = solution_box.text;

          myVars.whatever = whatever_else;