Wouldn’t you have to do the whole form in Flash, not just the submit button?
If you do the whole form, the submit button pulls the variables from your Flash textareas, but if you have no textareas in your flash file then you obviously did not fill out all the fields, causing you to get an error page because the submit button wouldn’t pull the variables from the HTML.