1 Reply Latest reply on Jun 4, 2006 7:57 PM by gratch

    help on form  (component?)

    gratch
      Im having a small problem creating a form in flash, this is the function (below)i am using,it sends the info with out any problem but it also sends info that I have
      not requested for ,Im sure that there is a simple way the stop the form from sending data that i do not need but I cant figure out how at this time.Im pretty new at using the
      components in flash 8 have I missed somthing simple?. Also I was wondering if there is a way to use the redirect to send the movie to a new frame instead of to a new browser page?
      Any help would be appreciated. Thanks in advance

      My function
      ------------------------------------------------------------------
      function sendData(evt:Object) {
      recipient = "meat@my.net";
      redirect= (" http://my.net/new/here/there.html");
      Name = fName_txt.text;
      From = email_txt.text;
      getURL(" http://my.net/2cgi-bin2/MyFormMail.pl", "lower", "POST");
      }
      send_btn.addEventListener("click", sendData);
      ---------------------------------------------------------------------

      This is the info I get that I have not requested for

      iicon: undefined

      label: Contact

      _complete: true

      width: undefined

      height: undefined

      left: undefined

      x: undefined

      top: undefined

      y: undefined

      right: undefined

      bottom: undefined

      visible: undefined

      move: [type Function]

      setSize: [type Function]

      size: [type Function]

      addEventListener: [type Function]

      __origAddEventListener: [type Function]

      removeEventListener: [type Function]

      dispatchEvent: [type Function]

      dispatchQueue: [type Function]

      radioGroup: [object Object]

      searchKey: 207

      disenableall: [type Function]

      emptyText: [type Function]

      emptyText1: [type Function]

      emptyText2: [type Function]

      reset: [type Function]

      changePanel: [type Function]

      sendData: [type Function]
        • 1. Re: help on form  (component?)
          gratch Level 1
          ok I got most of it had to use
          new LoadVars();

          to stop getting the info that I have
          not requested for.

          As for the other question, is there a way to use
          the redirect to send the movie to a new frame of the flash movie
          instead of to a new browser page? Any takers on this one?