jkoors Posted September 4, 2008 Share Posted September 4, 2008 I am creating a contact form in Flash. I cannot get a "submit button" code to work. I will write the scripts I currently have and hopefully someone can help. I will also put a link to the site at the very bottom so that you can see where I am at with this. The instance "form" of my form has the following action: t2.onSetFocus = function() { if (t2_2 == "your name") { t2_2 = ""; } }; t3.onSetFocus = function() { if (t3_2 == "e-mail") { t3_2 = ""; } }; t4.onSetFocus = function() { if (t4_2 == "phone") { t4_2 = ""; } } t5.onSetFocus = function() { if (t5_2 == "comments") { t5_2 = ""; } } My Reset button that actually works has the following script: on(release) { //_parent.t1_2=""; _parent.t2_2="your name"; _parent.t3_2="e-mail"; _parent.t4_2="phone"; _parent.t5_2="comments"; } Is there a code someone can help me with that will allow my submit button to pickup with variables from the Parent t1 document and send them back to my server and what should my server side PHP script look like? Here is the link... go to my contacts page and see what I am trying to accomplish, PLEASE HELP! http://www.diversifiedlandscapemgt.com/testsite/ Thanks! Link to comment https://forums.phpfreaks.com/topic/122763-need-submit-button-code-for-flash-php-integration/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.