Gracias a un compañero de foros del web me dio una solucion para este 
 
 script 
 
 peso.text = 0;
 
thumbs = new XML();
thumbs.ignoreWhite = true;
thumbs.load("valores.xml");
 
thumbs.onLoad = function() {
	root = this.firstChild;
	total = root.childNodes.length;
 
	valor1.text = Number(root.childNodes[0].attributes.val1);
	valor2.text = Number(root.childNodes[0].attributes.val2);
	valor3.text = Number(root.childNodes[0].attributes.val3);
	valor4.text = Number(root.childNodes[0].attributes.val4);
	valor5.text = Number(root.childNodes[0].attributes.val5);
	valor6.text = Number(root.childNodes[0].attributes.val6);
}
//
 
calcular.onRelease = function(){
	//trace(peso.text);
		total1.text = peso.text * valor1.text;
		total2.text = peso.text * valor2.text;
		total3.text = peso.text * valor3.text;
		total4.text = peso.text * valor4.text;
		total5.text = peso.text * valor5.text;
		total6.text = peso.text * valor6.text;
}
 
borrar.onRelease = function(){
    peso.text = "";
    total1.text = "";
    total2.text = "";
    total3.text = "";
    total4.text = "";
    total5.text = "";
    total6.text = "";
}
 
pero lo que quisiera es que cuando no se introduce ningun valor que
 
diese 0 en vez de salir NAN
 
muchas gracias por vuestra ayuda 
  
 
