A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: Contact Form

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146

    Contact Form

    How do I get my contact form to work? I have three HTML text boxes (Name, Address, Phone). I want to code my send button to have the values in the textboxes sent to my email. Can someone please help me.

    thank you

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    There are several examples of this in the KoolExchange

  3. #3
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    How do I find these examples in KoolExchange? And is KoolExchange a forum?

  4. #4
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    Quote Originally Posted by blanius
    There are several examples of this in the KoolExchange
    Never mind. Please disregard my last reply. I clicked on your link to KoolExchange ... dummy me ... Thank you

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    No Problem. If you download mine and have any questions post them here.

  6. #6
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    Quote Originally Posted by blanius
    There are several examples of this in the KoolExchange
    I had problems with the code from the "Email form with error checking" script. The return message read "&Answer=message sent" It didn't show me the HTML return page after the message was sent. I don't know what I'm doing wrong. Also, I couldn't open the KoolMoves movie because I'm running version 4.3.1. So in my flash movie behind the send button, I'm using the properties dialog box with the following properties:

    Action = Send form data on release
    URL = http://www.talytech.com/jjhsuhs.php
    URL target = _self
    Send using = POST

  7. #7
    That web bloke Stoke Laurie's Avatar
    Join Date
    Jan 2006
    Location
    England
    Posts
    869
    Quote Originally Posted by talytech
    I'm running version 4.3.1.
    You seriously need to upgrade.

  8. #8
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    hmm.. The conact form should not change your HTML page like a HTML form would. The response looks right to me and the from it's in is to set a variable in the flash file. The form is a complete thing in it'self.

    Also if you couldn't open the .fun file how are you using it?

  9. #9
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    I didn't use it. that's the problem probably. I set up the PHP script and used my version of Koolmoves.

  10. #10
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    You can do it in that version. But it sounds like you are mixing a Flash form with HTML form actions... That's not the way to do it. You place the contact flash movie on the page but NOT IN A FORM. The flash will send it to the PHP from within the flash movie and handle the response from the PHP to display the status.

  11. #11
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    Quote Originally Posted by blanius
    You can do it in that version. But it sounds like you are mixing a Flash form with HTML form actions... That's not the way to do it. You place the contact flash movie on the page but NOT IN A FORM. The flash will send it to the PHP from within the flash movie and handle the response from the PHP to display the status.
    I don't know what it is but this is what I have: Using KoolMoves, I have 2 key frames. On the first frame I have 3 dynamic text boxes and a send button. The text boxes are named: (name,phone,email). On the second frame I have a label that reads: "Thanks for your information" and a link to go back to the previous frame. Both frames have a stop action. Behind the send button is : Send form data on release action; URL = http://www.talytech.com/jjhsuhs.php; Send using POST method.

  12. #12
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    well I tested it and it at least sends the email....

    The problem is with the actionscript. The PHP code if it's the one I wrote (which I suspect it is) then it was written for loadVariables, even with that you might consider using this actionscript instead of the built in function..

    on(release){
    loadVariables("jjhsuhs.php","POST");
    }

  13. #13
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    ok thank you ... I'll try that instead of the Send data ..... funtion and let you know if it works ..... thanks again for your expert advice

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