Email button from XML

im trying to load an email address from xml into a button…when its clicked, i want to use “mailto:” to initiate an email to the address in the xml file. simple right?

my erroneous AS is as follows:


myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function(success) {
if (success) {
var p:Array = this.firstChild.childNodes;
i = 0;
contact_txt.text = p*.attributes.contact;
 
**email_mc.onRelease = function(){** 
**getURL("mailto:" + attributes.contact); **
**}**
 
 }
}
myXML.load("emailtest.xml");
 

ive attached the fla and the xml too if that helps at all.
theres gotta be a simple solution but im stumped. :bored:

ANY help is appreciated!