tengo el .fla...péro!... necesito crear un nuevo xml (el cual no es problema), lo que no he podido resolver, es como hacer correctamente el vinculo, ya que los scripts en el fla estan direccionados hacia un xml situado en un servidor remoto (no tengo idea de el porque) al cual no tengo acceso, entonces, necesito cambiar eso, para que trabajo con un xml creado por mí, si alguien pudiera orientarme para poder solucionar esto, se lo agradeceria, para alguien con mas experiencia creo que será algo ovbio.
gracias de antemano, y dejo los scripts para que puedan ver el error.
Código ActionScript :
function parseXML() { var _loc6 = new Object(); var _loc2; _global.smallImg_array = new Array(); var _loc5 = img_xml.firstChild.firstChild.childNodes.length; if (_loc5 < 8) { getURL("javascript:alert(\'only " + _loc5 + " Artworks\');", ""); } // end if for (var _loc2 = 0; _loc2 < _loc5; ++_loc2) { var _loc4 = img_xml.firstChild.firstChild.childNodes[_loc2]; var _loc3 = new Object(); _loc3.img = _loc4.childNodes[0].firstChild.nodeValue; _loc3.link = _loc4.childNodes[1].firstChild.nodeValue; smallImg_array[_loc2] = _loc3; } // end of for _global.largeImg_array = new Array(); _loc5 = img_xml.firstChild.childNodes[1].childNodes.length; for (var _loc2 = 0; _loc2 < _loc5; ++_loc2) { _loc4 = img_xml.firstChild.childNodes[1].childNodes[_loc2]; _loc3 = new Object(); _loc3.img = _loc4.childNodes[0].firstChild.nodeValue; _loc3.link = _loc4.childNodes[1].firstChild.nodeValue; largeImg_array[_loc2] = _loc3; } // end of for } // End of the function function loadImage(i) { if (i > smallImages + largeImg_array.length - 1) { return; } // end if var _loc3; var _loc4; var no; if (i <= smallImages) { _loc3 = photo["picS" + i].holder; _loc4 = smallImg_array; no = i; } else { no = i - smallImages; _loc3 = photo["picL" + no].holder; _loc4 = largeImg_array; } // end else if if (no >= 5) { proceed = true; } // end if if (_loc3) { _loc3._parent.w = _loc3._width; _loc3._parent.h = _loc3._height; var _loc6 = "Loading.gif"; if (_loc4[no].img) { _loc6 = _loc4[no].img; } // end if _loc3._parent.href = "."; if (_loc4[no].link) { _loc3._parent.href = _loc4[no].link; } // end if this["p" + no + "_mcl"] = new MovieClipLoader(); this["p" + no + "_listener"] = new Object(); this["p" + no + "_listener"].onLoadInit = function (target_mc) { var _loc4 = target_mc._parent.w / target_mc._width * 100; var _loc3 = target_mc._parent.h / target_mc._height * 100; var _loc2 = Math.min(_loc4, _loc3); target_mc._xscale = _loc2; target_mc._yscale = _loc2; target_mc._x = -target_mc._width / 2; target_mc._y = -target_mc._height / 2; target_mc._parent.cover._visible = false; }; this["p" + no + "_listener"].onLoadComplete = function () { delete _root["p" + no + "_listener"]; _root.loadImage(i + 1); }; this["p" + no + "_listener"].onLoadError = function (err, errorCode) { _root.loadImage(i + 1); }; this["p" + no + "_mcl"].addListener(this["p" + no + "_listener"]); this["p" + no + "_mcl"].loadClip(_loc6, _loc3); } else { _root.loadImage(i + 1); } // end else if } // End of the function parseXML(); loadImage(0); proceed = false; smallImages = 51;