Ver Mensaje Individual
  #15 (permalink)  
Antiguo 04/04/2007, 19:38
pedro_cesar
 
Fecha de Ingreso: septiembre-2006
Mensajes: 328
Antigüedad: 17 años, 7 meses
Puntos: 3
Re: Controlar un Text Field

Corregi algunos errores que tenia en mi código pero aún no funciona aquí está mi AS:

Cita:
var matric_xml:XML = new XML();
matric_xml.ignoreWhite = true;
matric_xml.load ("matriculas.xml");

mactric_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;

}
y los datos del archivo matriculas.xml

Cita:
<matrics>

<matric0> 2006-6055 </matric0>
<matric1> 2006-6863 </matric1>

</matrics>
todavia no encuentro el error. :S