
04/04/2007, 19:44
|
| | Fecha de Ingreso: septiembre-2006
Mensajes: 1.193
Antigüedad: 18 años, 4 meses Puntos: 30 | |
Re: Controlar un Text Field
Código:
var matric_xml:XML = new XML();
matric_xml.ignoreWhite = true;
matric_xml.load("matriculas.xml");
matric_xml.onLoad = function() {
// Shows the ID Number contained on Node 0
// which is the same number in the pic name.
matric_txt.text = matric_xml.firstChild.childNodes[0].firstChild.nodeValue;
trace(matric_xml.firstChild.childNodes[0].firstChild.nodeValue);
};
tenias error de sintaxis matric_xml.onLoad |