miuuzhun Posted October 7, 2005 Posted October 7, 2005 Hello, I have constructed the entire form within flash and set up the following function for sending the form: function sendForm () { my_lv = new LoadVars(); my_lv.flname = _parent.name_txt.text; my_lv.email = _parent.email_txt.text; my_lv.specialist = _parent.specialist_txt.text; my_lv.themessage = _parent.message_txt.text; my_lv.send ("??????", "???????"); nextFrame (); } I dont know to put for the bold ?'s If anyone could help Id really appreciate it! Thanks Quote
stevevan Posted October 8, 2005 Posted October 8, 2005 Welcome to the forums, Bennett. While I don't use Flash (like to learn it, tho! ), be patient...one of the flash guru's should be along to answer your question. Quote
TCH-Rob Posted October 8, 2005 Posted October 8, 2005 Something along the lines of, ("http://mytchdomain.com/mailform.cfm", "POST"); Depends on how you want to process it. Quote
miuuzhun Posted October 8, 2005 Author Posted October 8, 2005 Something along the lines of,Depends on how you want to process it. I looked around for information and came up with this but it will not work either: // Submit Button action submit_btn.onRelease = function() { //Add Path of the php file feedbackpath = "mailto.php"; // str1 = email.indexOf("@"); str2 = email.indexOf("@")+1; str3 = email.charAt(str1+1); str4 = email.lastIndexOf("."); str5 = email.charAt(str4+1); len = length(email); counter = 1; flag = 0; while (Number(counter)<=Number(len)) { Char = substring(email, counter, 1); if (Char ne "@") { flag = Number(flag)+1; } counter = Number(counter)+1; } } submit_btn.onRelease = function () { if (flname_txt.text == "" || email_txt.text == "" || themessage_txt.text == "" ) { status_txt.text = "Please complete the entire form ..."; } else { status_txt.text = ""; loadVariablesNum(feedbackpath+"?name="+name+"&email="+email+"&feedback="+suggestion, 0); gotoAndStop(63); } }; any suggestions would he helpful Quote
TCH-Rob Posted October 9, 2005 Posted October 9, 2005 To be honest, I have not used Flash in a very long time so I was going from memory. I would have to reinstall my copy and play with it a bit to see what I could find. Quote
dave_the_designer Posted October 28, 2005 Posted October 28, 2005 do you have a mailto.php file? Quote
miuuzhun Posted October 28, 2005 Author Posted October 28, 2005 do you have a mailto.php file? yeah i figured it out - thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.