A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: email

  1. #1
    Member
    Join Date
    Jun 2002
    Location
    au
    Posts
    116

    email

    okie.. here's my situation...

    i have build a main mc.. which in turn loads a contact mc within the same movie. Main.swf loads contact.swf to a new level within main.swf... that's all good.

    my problem is that i can make the contact.swf send the mail by itself, but it won't work if i have it in the main MC.


    i guess my question is.. how do i send variables through to a php page, in a multi-MC site..?? Does that make sense..??

    eChimp!!

  2. #2
    Huygens to Titan PCRIDE's Avatar
    Join Date
    May 2002
    Location
    PLUTO
    Posts
    1,335
    its just like HTML on making a form

    make the text fields (input)and name them (variblaes) , email, recipient, comments etc

    then make a buttons submit,

    put this on a keyframe. like frame 1 on the form
    recipient = "eamilGoesHere.us";


    then put this on the submit button

    on (release) {
    getURL("http://doaminnameCGIScript.com/cgi-bin/form-mail.cgi", "lower", "GET");
    }

    then just make sure your varible names in flash match the varibles in PHP and it should work
    All out of Honey Buffers, so i grabed a few Goose Heads

  3. #3
    New Guy ! cks's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    97
    Great Job.....

  4. #4
    Member
    Join Date
    Jun 2002
    Location
    au
    Posts
    116
    kinda...

    the problem is i'm doing more than just sending an email... sorry i should have stated that in the first thread.

    basically the contact page.. sends an email to both the proper destination and the users email as a kind of confirmation email. There's error handling and all the guff too.

    I've attached a zip file with my php file as well as the main and contact files.

    any help would greatly be appreciated.

    eChimp!!
    Attached Files Attached Files

  5. #5
    Member
    Join Date
    Jun 2002
    Location
    au
    Posts
    116
    any ideas anyone..??

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