conviertes el textbox en clip de película, le pones nombre de instancia, y cuando vayas a cargar el xml en el textbox, agregas el nombre del clip de película a la ruta, por ejemplo:Código ActionScript : nombre_del_clip_de_pelicula.nombre_del_textbox.asignas_el_xml_a_que_se_cargue_aqui; hasta luego.
gracias por la ayuda pero como puedo hacerlo aqui esta el codigoeste es el archivo:Código ActionScript : stop(); system.useCodepage=true var obj_xml:XML = new XML(); obj_xml.ignoreWhite = true; obj_xml.load("cuestionario.xml"); obj_xml.onLoad=function(paso) { if(!paso) { trace("Se produjo un error"); } } b1.onRelease=function() { gotoAndStop(5); p.text=CargarPregunta(0); var Resp:Array=CargarRespuesta(0); r1.text=Resp[0]; r2.text=Resp[1]; r3.text=Resp[2]; r4.text=Resp[3]; bl._visible = false; } b2.onRelease=function() { gotoAndStop(5); p.text=CargarPregunta(1); var Resp:Array=CargarRespuesta(1); r1.text=Resp[0]; r2.text=Resp[1]; r3.text=Resp[2]; r4.text=Resp[3]; } b3.onRelease=function() { gotoAndStop(5); p.text=CargarPregunta(2); var Resp:Array=CargarRespuesta(2); r1.text=Resp[0]; r2.text=Resp[1]; r3.text=Resp[2]; r4.text=Resp[3]; } b4.onRelease=function() { gotoAndStop(5); p.text=CargarPregunta(3); var Resp:Array=CargarRespuesta(3); r1.text=Resp[0]; r2.text=Resp[1]; r3.text=Resp[2]; r4.text=Resp[3]; } b5.onRelease=function() { gotoAndStop(5); p.text=CargarPregunta(4); var Resp:Array=CargarRespuesta(4); r1.text=Resp[0]; r2.text=Resp[1]; r3.text=Resp[2]; r4.text=Resp[3]; } b6.onRelease=function() { gotoAndStop(5); p.text=CargarPregunta(5); var Resp:Array=CargarRespuesta(5); r1.text=Resp[0]; r2.text=Resp[1]; r3.text=Resp[2]; r4.text=Resp[3]; br._visible = false; } function CargarPregunta(numP:Number) { var childItems:Array = obj_xml.firstChild.childNodes; return(childItems[numP].firstChild.firstChild.nodeValue); } function CargarRespuesta(numP:Number) { var childItemsIn:Array = obj_xml.firstChild.childNodes[numP].childNodes[1].childNodes; var Resp:Array=new Array; for (var i:Number = 0; i < childItemsIn.length; i++) { Resp[i]=childItemsIn[i].firstChild.firstChild.nodeValue; for(var a:Number = 0 ; a < childItemsIn.length; a++) { _root.attachMovie("p","childItemsIn"+a,a++); } } return Resp; }