New code, but seems to have AS2
Okay I googled and researched a lot. This is my code now (i changed message to mes as well as the instance. I made various other changes also):
Code:
submit.onRelease = function() {
if(mes.text == ""||email.text == "")
{
stop();
}
else
{
loadVariablesNum("form.php", 0, "POST");
gotoAndPlay("thanks");
}
}
Now I only have one problem.
Error: 1180: Call to a possibly undefined method loadVariablesNum.
After researching, it turns out this is for AS2. I need to change this to be AS3. Lots of people seem to have said to use a URLLoader, but I don't really know how to use it.
Can I get some help with this?
Thanks in advance,
S K