Hi Gordon,
who told you, that this is JavaScript?
This is plain HTML, which can, as Vesa mentioned, be called directly either with an action in a flash button, or as a link in the html page.
Inside of html it is:
<a href="mailto:yourMail@yourServer.com">Mail me</a>
or in a button:
on(release){
getURL("mailto:yourMail@yourServer.com");
}
Both accept parameters:
mailto:yourMail@yourServer.com?subject=Subject of your mail&Body=Body of your mail
prepairs a complete email in the mail client of the user.