7 Replies Latest reply on Feb 8, 2008 6:04 AM by -HC-

    What Goes Where andhow to email!


      Looking for a little help here, this is the first time i would have written AS im more a PHP man but have used flash alot to create more movie type interatcive sites anyway im using FLASH CS3

      I have 4 Text Inputs and a Button with instances


      There on a Graphics Symbol thats inside a Movie Symbol thats placed in the main screen on frame 169
      on frame 172 is animation that i would like to show while the data is being sent frame 173 is an error and 174 is the confirm

      The PHP file im trying to post these to is working fine (with other HTML websites)

      Now this is what i have got in the action script inside a layer on the graphic symbol that holds the fields:

      System.useCodepage = true;
      send_btn.onRelease = function() {
      my_vars = new LoadVars();
      my_vars.name = name_box.text;
      my_vars.email = email_box.text;
      my_vars.tele = tele_box.text;
      my_vars.message = message_box.text;
      if (my_vars.name != "" and my_vars.email != "" and my_vars.message != "") {
      my_vars.sendAndLoad("mailer.php", my_vars, "POST");
      } else {
      my_vars.onLoad = function() {

      After this not working it tried placing gotoAndPlay.root(frame number) but this didn't work and tried placing the original action script on the main in a layer of its own

      Anyone have any ideas to how i could get the to work?

      Thank you in advanced