Alguien puede ayudarme?
Código ActionScript :
var xml_eventos:XML = new XML ()
var imagenes_pastillas_arr:Array = [];
var nombres_imagenes_pastillas_arr:Array = [];
var imagenes_grandes_arr:Array = [];
var nombres_imagenes_grandes_arr:Array = [];
// Funcion carga_xml en archivo as externo
carga_xml ( "eventos.xml", "", callback_xml )
var url_imagenes_pastillas:String = "pastillas_proyectos"
var url_imagenes_grandes:String = "pastillas_proyectos_grandes"
function callback_xml ( xml:XML ) {
xml_eventos = xml;
//Funcion conversora de XMLLIST a ARRAY
nombres_imagenes_pastillas_arr = xml_list_to_array(xml_eventos.proyecto.thu_archivo)
nombres_imagenes_grandes_arr = xml_list_to_array(xml_eventos.proyecto.archivo)
//
carga_contenidos ( nombres_imagenes_pastillas_arr, url_imagenes_pastillas, callBack )
carga_contenidos ( nombres_imagenes_grandes_arr, url_imagenes_grandes, callBack2 )
}
//Carga thumbs
var callBack:Function = function ( contenido:Bitmap ) {
imagenes_pastillas_arr.push ( contenido )
if (imagenes_pastillas_arr.length == numero_proyectos ) {
contruye_menu ()
}
}
//Carga imgs grandes
var callBack2:Function = function ( contenido:Bitmap ) {
imagenes_grandes_arr.push ( contenido )
} 