A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: sendformdata

  1. #1
    Senior Member
    Join Date
    Sep 2002
    Posts
    106

    sendformdata

    I've used the sendformdata example of koolmoves to make a form in Koolmoves. I've also downloaded a mailingscript. But for my script to work I also have to set these variables. How can I set these in Koolmoves.

    <input type="hidden" name="recipient" value="[email protected]">
    <input type="hidden" name="subject" value="E-mail via website">
    <input type="hidden" name="redirect" value="../thanks.htm">
    www.flashflow.be

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    This question was previously asked. If I remember correctly, you create variables which are offscrean or invisible in some way.

  3. #3
    Senior Member
    Join Date
    Sep 2002
    Posts
    106
    I'll search for it.
    www.flashflow.be

  4. #4
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    On the same Timeline that your send form data button is create a Actionscript on a frame like this;

    recipient = "[email protected]";
    subject = "E-mail via website";
    redirect = "../thanks.htm";

    Really all there is to it.

  5. #5
    Senior Member
    Join Date
    Sep 2002
    Posts
    106
    I've tried it with the hidden textfields and it works. But I'll try this as well.

    Thanks
    www.flashflow.be

  6. #6
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    The reason why you used to make hidden text fields was KoolMoves got Dynamic text functionality before it got actionscript functionality.

    When you create a dynamic text field inside KoolMoves you are really creating a Dynamic textfield and a cariable both with the same name. Inside of Flash you can choose to have a different variable name for your text field. To simplify things KoolMoves automatically assigns the same name to both text field and var.

    What the above script does is; creates 3 variables with the values preset. This is the same thing that is happening with the hidden text fields except no text fields are created but just the vars.

    When you send data what happens is the Flash Player sends all the vars on that timeleine to the server side script/ preconfigured web page either as a querry string (With Get) or as a data packet (with Post). It works as I have used it very often.

  7. #7
    Senior Member
    Join Date
    Sep 2002
    Posts
    106
    thanks for the info.
    www.flashflow.be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center