2 Replies Latest reply on Mar 10, 2008 6:09 AM by Newsgroup_User

    Email form setup in flash

    Dave Blake Level 1
      I have an email form in a flash file. Currently I am using the send variables coding as for whatever reason, it doesn't function if I use loadvariables:

      Here's what I have set up on my submit button:

      on(release)
      {
      if(form.name == "" || form.phone == "" || form.email == "" || form.message == "")
      {
      form.gotoAndStop (3);
      }
      else
      {
      var lv = new LoadVars();
      lv.name = form.name;
      lv.phone = form.phone;
      lv.email = form.email;
      lv.message = form.message;
      lv.send("contact2.asp", 0, "POST");
      form.gotoAndStop(2);
      }
      }

      My problem is that on submit, the contact2.asp comes up when I hit submit. Is there a way to avoid having that page come up and keep it on the flash page?

      Thanks,
      Dave