I have a contact us page and I put this code for it. I also have a submit button which when clicked should submit the text fields.
I get an error saying:
1084: Syntax error: expecting rightparen before eq.

I do not understand how to fix this problem

Here is my code:

Code:
submit.addEventListener(MouseEvent.CLICK, submit);

function submit(event:MouseEvent) {
if (message eq "" or email eq "") {
stop ();
} else {
loadVariablesNum ("form.php", 0, "POST");
gotoAndPlay("thanks");
}
}
Thanks in advance,
SK