Forms in flash.sending data.problems

hey guys, thanks for checking out my issue.

i’m trying to create my own custom mailing list sign up for an ecard i’m making. i followed a tutorial which led me to the code posted below.

submit.onRelease = function() {
    // logical operator makes sure the textfield is not blank. IndexOf checks for "@" and "." characters in textfield
    if (!YMLP0.length || YMLP0.indexOf("@") == -1 || YMLP0.indexOf(".") == -1) {
        YMLP0 = "Please enter a valid email address.";
        //
    } else if (!YMLP1.length) {
        YMLP1 = "Please enter your name.";
        //
    } else {
        loadVariablesNum("http://www.ymlp.com/subscribe.php?thekilltakers",0, "GET");
    }
};

i’ve got the text fields set up with the correct var names and a submit button called “submit”. the pathing is correct, everything is on the _root and consist of no more than one frame. when i test this inside a HTML page and i enter the dummy info then click submit, you can see in the browser status that it connects to my mailing list server and it says it’s “transferring data from…” my server.

but nothing ever happens. i dont’ want the page to refresh or open the response page in a _blank window. i want it to send my variables to the mailing list server and then animate my movie on to a custom response like it should. that’s why i’m not using getURL like a lot of tutorials tell you to because that always insists on opening a new page or refreshing.

the alternate code which would normally pasted into a static HTML page looks like this: (which is where i got my variable names and action code from to make mine in flash)

<form method="post" action="http://www.ymlp.com/subscribe.php?thekilltakers">
<table border="0">
<tr>
<td colspan="2">Fill out your e-mail address <br>to receive our newsletter!</td>
</tr>
<tr>
<td>E-mail address:</td>
<td><input type="text" name="YMLP0" size="20"></td>
</tr>
<tr>
<td>Location:</td>
<td><input type="text" name="YMLP1" size="20"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Submit"></td>
</tr>
</table>
</form>

so, any help would be grand. please and thank you!

i’m all ears…

:ear: