Reset an html from flash

Ive got my form and javascript all workin fine, and ive got a flash button with

on (release) {
getURL(“javascript:myFunction()”);
}

on it. That all works fine. I also want a similar flash button to reset the form as would
<input type=“reset” value=“Clear all” name=“reset”>.

I assume it’s easy, just not overly obvious. Ive had a search with no luck. Thaks in advance.