Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    2

    Default Request - Flash Submit button code to WH Form Mail app

    Hello,
    I'm building a guestbook page in Adobe Flash Builder which will mail me the contents of a guestbook form. I wanted to use the WH form mail application to perform the mail submission. Does anybody have a code sample, that they could share, of the code behind the submit button?
    Thanks.

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    I am not real familiar with Flash really but is there a way you can set the src of the form that is being sent? The only thing is that formmail returns either html to the client or redirects depending on settings so not sure how well that is going to work for you.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  3. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    2

    Default

    Thanks for the tip WJD. I really just need to pass the variables from my form into FormMail which I've installed on my WH account. I do like the functionality that it provides and hope to implement some of that, after I get the syntax to do the POST. Just having trouble figuring that part out.

  4. #4
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    Ok did a bit of goggeling and it looks like the action script call for this is either:
    Code:
    getURL ("path/to/script.pl", "", "GET");
    http://www.devshed.com/c/a/Flash/Bui...orms-In-Flash/
    http://www.tizag.com/flashTutorial/flashforms.php

    Or:
    Code:
    form.loadVariables("path/to/script.pl", "POST");
    http://www.kirupa.com/developer/acti..._php_email.htm

    The two are interchangeable somewhat and depend on what you are wanting to do.
    http://www.actionscript.org/resource...lash/Page2.htm
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

Posting Permissions

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