umm...this shouldn't be impossible...make your flash button and use this code attatched to the first frame...
btw...make sure to give your button a name in the property inspector and that it matches the name in the function.
i.e. here I use myButton as the name of the button instance. Also, "myform" would be the name you give your form element.