Hi,
I am having trouble with my actionscript. It doesn't appear to be hitting the php script. Here it is:
if anyone has any idea on a fix, please let me know.
thanks!
on (release) {
if (name == "" || name == undefined) {
getURL("javascript:alert('Please enter your name')"

;
gotoAndStop("stop"

;
} else {
loadVariablesNum("contact.php", 0, "POST"

;
gotoAndPlay("thankyou"

;
}
}
on (release) {
if (address1 == "" || address1 == undefined) {
getURL("javascript:alert('Please enter your address')"

;
gotoAndStop("stop"

;
} else {
loadVariablesNum("contact.php", 0, "POST"

;
gotoAndPlay("thankyou"

;
}
}
on (release) {
if (city == "" || city == undefined) {
getURL("javascript:alert('Please enter your city')"

;
gotoAndStop("stop"

;
} else {
loadVariablesNum("contact.php", 0, "POST"

;
gotoAndPlay("thankyou"

;
}
}
on (release) {
if (state == "" || state == undefined) {
getURL("javascript:alert('Please enter your state')"

;
gotoAndStop("stop"

;
} else {
loadVariablesNum("contact.php", 0, "POST"

;
gotoAndPlay("thankyou"

;
}
}
on (release) {
if (zip == "" || zip == undefined) {
getURL("javascript:alert('Please enter your zip code')"

;
gotoAndStop("stop"

;
} else {
loadVariablesNum("contact.php", 0, "POST"

;
gotoAndPlay("thankyou"

;
}
}
on (release) {
if (email.indexOf(" "

!= -1 || email.indexOf("@"

== -1 || email.indexOf("."

== -1 || email.length<6 || email.lastIndexOf("."

<email.indexOf("@"

) {
getURL("javascript:alert('Please enter a valid email address')"

;
gotoAndStop("stop"

;
} else {
loadVariablesNum("contact.php", 0, "POST"

;
gotoAndPlay("thankyou"

;
}
}