Estoy cargando un conjunto de imágenes en video clips enmascarada a través de un archivo XML y, a continuación, intentar el hipervínculo movieclip con una URL obtenidos a partir de XML.
El problema que estoy teniendo es que la 1 ª, 3 ª, 5 ª y 7 ª clips no se comportan como si tienen un hipervínculo que se les otorga a los demás están bien.
Estoy seguro de im faltaba algo realmente obvio, pero para la vida de mí no lo veo...alguien me puso fuera de mi misey por favor, se adjunta el código, quiero saber si usted desea que todos los archivos y yo a través de correo electrónico.
¡Salud!
Adjuntar Código
_global.image = new Array ();
_global.desc = new Array ();
_global.web = new Array ();
_global.del = new Array ();
xmlData = new XML ();
xmlData.ignoreWhite = true;
xmlData. onLoad = loadXML;
xmlData.load ( "images.xml");
_root.m0.onRelease = function () (
getURL ( "http://www.yell.com", "_blank");
);
_root.m1.onRelease = function () (
getURL (web [1], "_blank");
);
_root.m2.onRelease = function () (
getURL (web [2], "_blank");
);
_root.m3.onRelease = function () (
getURL (web [3], "_blank");
);
_root.m4. onRelease = function () (
getURL (web [4], "_blank");
);
_root.m5.onRelease = function () (
getURL (web [5], "_blank");
);
_root.m6.onRelease = function () (
getURL (web [6], "_blank");
);
_root.m7.onRelease = function () (
getURL (web [7], "_blank");
);
función loadXML (cargado) (
if (cargado) (
XmlNode = this.firstChild;
total = xmlNode.childNodes. longitud;
for (i = 0; i <total; i + +) (
imagen [i] = xmlNode.childNodes [i]. childNodes [0]. firstChild.nodeValue;
desc [i] = xmlNode.childNodes [i]. childNodes [1]. firstChild.nodeValue;
web [i] = xmlNode.childNodes [i]. childNodes [2]. firstChild.nodeValue;
loadMovie (imagen [i] ", con" + i);
_ROOT [ "t" + i]. desc = texto [i];
trace (web [i]);
)
) Else (
content = "el archivo no se carga!";
)
);