Mail form in flash (MailForm.pl)

i’ve created mailing form in flash. i’m not using ‘flash components’, but i’ve created input text fields in wich page visitor should write his personal data that should be mailed to me, after pressing send button.

site is located on server that supports perl scripting, and in my provider’s FAQ i’ve found the following HTML code for creating a mailing form:


<form action=“http://www.inet.hr/cgi-bin/FormMail.pl” method=“post”>
<input type=hidden name=“recipient” value=“[email protected]”><br>
Naslov poruke<br><input type=text name=“subject”><br>
Vaš e-mail<br><input type=text name=“email”><br>
Vaše ime<br><input type=text name=“realname”><br><br>
Tekst poruke<br><textarea name=“Poruka” cols=60 rows=8></textarea><br><br>
<input type=“submit” value=“Posalji!”>
<input type=“reset” value=“Obrisi!”>
</form>

i’ve tried posting this code in html document, and it works, but i can’t get my mailing form in flash working. i tried with this actionscript code:


recipient=“[email protected]
subject=“test”
Poruka=“jdslkjglkjdsagljk”
loadVariablesNum(“http://www.inet.hr/cgi-bin/FormMail.pl",0,"POST”);

but it doesn’t send anything. can somebody tell me where am i mistakeing? pay attention to variable name ‘Poruka’ instead of standard ‘body’ in HTML sample code, i think that script FormMail.pl is partialy translated to my language (croatian). anyway, HTML code works, and i need to adjust it to actionscript use.

tnx.