Have you ever purchased a flash template and find out that the documentation is worthless? Yeah - that happens with most templates. I recently purchased a flash template for a client and went through the php code and could not find the right area where you needed to change it to go to your email address. With the help from Leah at www.IWD4U.com - I was able to fix the form. You want to go through all the actionscript code in your flash site (not the php file) until you find this:
rec="emailaddressgoeshere";
serv="php";
var fields_descriptions= Array ("",
Array("t1", "your_name", " Name:"),
Array("t2", "your_email", " E-mail:"),
Array("t3", "telephone", "Telephone:"),
Array("t4", "message", " Message:"),
Array("t5", "field_2", "E-mail:"),
Array("t6", "field_3", "Address:"),
Array("t7", "field_4", "fax:")
);
function reset_txt(name,name2,value) {
path=eval(_target);
path[name2]=value;this[name].onSetFocus=function() {
path=eval(_target);
if(path[name2]==value) { path[name2]="";}
}this[name].onKillFocus=function() {
path=eval(_target);
if(path[name2]=="") { path[name2]=value;}
}
}for (i=1; i< =fields_descriptions.length; i++) {
reset_txt("t"+i, fields_descriptions[i][1], fields_descriptions[i][2]);
}
The rec= part will be different depending on who made the template. You want to change that to your email address or whatever email you want the form to be sent to. I hope this helps because when I did a search on this - I was led to many message boards with people asking the same question but no answer. Here’s the answer - thanks to Leah!
Btw, you do NOT need to change the “recipient” parts on the php form (below). Only change the rec= on the flash form.
if (key($_REQUEST)!=‘recipient’) …mail($_REQUEST[‘recipient’], $subject, “…