De todos modos dejo la funcion que llama a la siguiente funcion, por si hay algo mal (no me da errores en la publicacion)
En esta funcion entra sin problemas.
Código ActionScript :
function cargaXML(loaded) { if (loaded) { xmlNode = this.firstChild; image = []; description = []; thumbnails = []; total = xmlNode.childNodes.length; i = 0; while (i < total) { image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue; description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue; thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue; thumbnails_fn(i); /* Esta es la llamada a la funcion que quiero ejecutar y no funciona */ ++i; } firstImage(); return; } content = "file not loaded!"; }
Esta es la funcion que no funciona, creo que es porque no llega a entrar, pero por si acaso la copio por si hay algo mal hecho.
Código ActionScript :
function thumbnails_fn(k) { thumbnail_mc.createEmptyMovieClip("t"+k,thumbnail_mc.getNextHighestDepth()); tlistener = new Object(); tlistener.onLoadInit = function (target_mc) { target_mc._x = hit_left._x + (target_mc._width + 5) * k; target_mc.pictureValue = k; target_mc.onRelease = function () { p = this.pictureValue - 1; nextImage(); } ; target_mc.onRollOver = function () { this._alpha = 50; thumbNailScroller(); } ; target_mc.onRollOut = function () { this._alpha = 100; } ; } ; image_mcl = new MovieClipLoader(); image_mcl.addListener(tlistener); image_mcl.loadClip(thumbnails[k],"thumbnail_mc.t"+k); }
Muchas gracias por vuestra ayuda.