30 Replies Latest reply on Nov 29, 2007 3:55 PM by illtrax

    Contact Form Help

    rockcreekrover
      Hello, I am very new at flash. I have downloaded a template and can not get the send button to work on the contact form. I have been everywhere on tutorials and tried changing many things. If someone could help me figure out what I am doing wrong, it would be greatly appreciated.

      FLASH SEND BUTTON:

      on (rollOver) {
      gotoAndPlay("p1");
      }
      on (releaseOutside, rollOut, dragOut) {
      gotoAndPlay("p2");
      }
      on (release) {
      if (fname eq "" or lname eq "" or phone eq "" or mail eq "" or mess eq"") {
      stop();
      } else{
      loadVariablesNum("form.php",0,"POST");
      gotoAndStop(2);
      }
      }


      PHP CODE (Placed in Dreamweaver as a seperate page titled form.php and in the same folder at the fla files):

      <?

      $to = "designs@roadrunner.com";
      $msg = "$fname\n\n";
      $msg = "$lname\n\n";
      $msg = "$phone\n\n";
      $msg = "$mail\n\n";
      $msg = "$mess\n\n";

      mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");

      ?>