I recently did a site in flash with a plain html redirect site for a client who used a FormMail .cgi script for his email form.

I got the script to work client side no problem but this particular script always returns a "thank you" or "error" message in a html page.

That was fine for the html site but i didn't want the flash movie being replaced when somebody used the form. So I did all the "required" fileds checking client side in the html and flash movie.

That works but to get round the returning page knocking out my .swf I put the forms in pop up windows.

Is there any way a fool like me could get or modify a script so it just returned some variables or something I could use in the movie?

I'd like to do that in the future for my own site.

Any ideas?

Thanks in advance