Flash AS Problemo

Okay i’m re using code in my current project that i’m using. I’m making a new member registration form for a website that i’m building. I build an interface with a movie clip called joinForm. Within the movie clip i have my input components with the require instances. somehow i’m not getting that thing to work.

 Code:
 [LEFT]stop();

// --------------------<send from LoadVars>-------------------- \
var gatherForm:LoadVars = new LoadVars();

function sendForm() {
gatherForm.email_to = "[email protected]";
gatherForm.visitor_lastname = joinForm.userLastName.text;
gatherForm.visitor_name = joinForm.userName.text;
gatherForm.visitor_email = joinForm.userEmail.text;
gatherForm.visitor_origin = joinForm.userOrigin.text;

if (joinForm.userFreshman.selected){

gatherForm.visitor_freshman = true
}
if (joinForm.userSophomore.selected){
gatherForm.visitor_sophomore = true
}
if (joinForm.userJunior.selected){
gatherForm.visitor_junior = true
}
if (joinForm.userSenior.selected){
gatherForm.visitor_senior = true
}

gatherForm.send("http://ksuisa.org/send.php","POST");

}

// --------------------</send from LoadVars>-------------------- \

_global.style.setStyle(“fontFamily”, “Bitstream Vera Sans”);
_global.style.setStyle(“fontWeight”, “bold”);
_global.style.setStyle(“fontSize”, 12);
_global.style.setStyle(“color”, 0x000000);

//--------------------<submit button AS>---------------------\

this.joinForm.submitBtn.Submit.autoSize = “center”;
this.joinForm.submitBtn.Submit.text = “submit”;

onRollOver
this.joinForm.submitBtn.onRollOver = function() {
this.joinForm.submitBtn.gotoAndStop (2);
}

onRollOut
this.joinForm.submitBtn.onRollOut = function() {
joinForm.submitBtn.gotoAndStop (1);
}

onRelease
this.joinForm.submitBtn.onRelease = function() {
if (joinForm.userEmail.text == “” || joinForm.userName.text == “”) {
gotoAndStop(“error”);
} else {
sendForm();
gotoAndStop(“correct”);
}
}[/LEFT]

I saved as Inside Join just letting you know. I would love to upload the complete flash file but can’t its a huge file that is beyond the max of what the forum requires. (76 MB) so if someone private email me their email address so i can send my file to you.
Thank you so much.

Gabriel

Anyone please help :hurt:

[quote=Ksuguy25;1983943]Okay i’m re using code in my current project that i’m using. I’m making a new member registration form for a website that i’m building. I build an interface with a movie clip called joinForm. Within the movie clip i have my input components with the require instances. somehow i’m not getting that thing to work.

 Code:
 [LEFT]stop();

// --------------------<send from LoadVars>-------------------- \
var gatherForm:LoadVars = new LoadVars();

function sendForm() {
gatherForm.email_to = "[email protected]";
gatherForm.visitor_lastname = joinForm.userLastName.text;
gatherForm.visitor_name = joinForm.userName.text;
gatherForm.visitor_email = joinForm.userEmail.text;
gatherForm.visitor_origin = joinForm.userOrigin.text;

if (joinForm.userFreshman.selected){

gatherForm.visitor_freshman = true
}
if (joinForm.userSophomore.selected){
gatherForm.visitor_sophomore = true
}
if (joinForm.userJunior.selected){
gatherForm.visitor_junior = true
}
if (joinForm.userSenior.selected){
gatherForm.visitor_senior = true
}

gatherForm.send("http://ksuisa.org/send.php","POST");

}

// --------------------</send from LoadVars>-------------------- \

_global.style.setStyle(“fontFamily”, “Bitstream Vera Sans”);
_global.style.setStyle(“fontWeight”, “bold”);
_global.style.setStyle(“fontSize”, 12);
_global.style.setStyle(“color”, 0x000000);

//--------------------<submit button AS>---------------------\

this.joinForm.submitBtn.Submit.autoSize = “center”;
this.joinForm.submitBtn.Submit.text = “submit”;

onRollOver
this.joinForm.submitBtn.onRollOver = function() {
this.joinForm.submitBtn.gotoAndStop (2);
}

onRollOut
this.joinForm.submitBtn.onRollOut = function() {
joinForm.submitBtn.gotoAndStop (1);
}

onRelease
this.joinForm.submitBtn.onRelease = function() {
if (joinForm.userEmail.text == “” || joinForm.userName.text == “”) {
gotoAndStop(“error”);
} else {
sendForm();
gotoAndStop(“correct”);
}
}[/LEFT]

I saved as Inside Join just letting you know. I would love to upload the complete flash file but can’t its a huge file that is beyond the max of what the forum requires. (76 MB) so if someone private email me their email address so i can send my file to you.
Thank you so much.

Gabriel[/quote]