I have a form that for some reason I can’t get to communicate with my ASP page. On my submit button I have this code…is it correct?
myButton.onPress = function(){
myForm.sendAndLoad(“processForm.asp”,0,“POST”);
gotoAndPlay(“thankyou”)
}
I’m getting this error:
Statement must appear within on handler
myButton.onPress = function(){
which leads me to believe that it needs this in front of it
on(release) {
any and all help would be greatly appreciated