Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 - Submit Your Web Site for the Sept 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2008, 09:26:35 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: How to create CGI Form in Flash 8  (Read 1011 times)
inner19
Newbie
*
Offline Offline

Posts: 2


« on: August 03, 2007, 01:11:13 PM »

I am using Flash 8 for my Flash site. I am building a simple feedback form. I set up my CGI using Lunarpages' recommended script from this site: http://nms-cgi.sourceforge.net, but I don't know where to find the specific variables AC2 script calls for from the CGI perl code in order to link the content of the form with my email.

The follow is my form-related AC2 script. The fields in red are the variables I don't know about. What I have here is just a example.

var gatherForm: LoadVars = new LoadVars();

function sendForm() {
   gatherForm.email_to = "connie@innerchimpcreatives.com""
   gatherForm.param.Name = contactForm.Name.text;
   gatherForm.param.Comment = contactForm.ProDes.text;

   gatherForm.send(cgiUrl, "_blank", "method");
}

sendForm();

Also, I have custom-made success and error page embedded on my Flash timeline that I want to use. But I notice the CGI scripts also coded the general html success and error pages for the form. How do I bypass those?

Thanks.

« Last Edit: August 03, 2007, 01:25:02 PM by inner19 » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM