Código XML :
<ampliaciones> <ampliacion> <titulo>AMPLIACION NUMERO UNO</titulo> <image>ampliaciones/0.jpg</image> </ampliacion> </ampliaciones>
Y en el flash lo cargo así:
Código ActionScript :
var indice:Number; var ampliaciones_xml:XML; var titulo:String; var imagen:String; titulo = ampliaciones_xml.firstChild.childNodes[_indice].firstChild.firstChild.nodeValue; imagen = ampliaciones_xml.firstChild.childNodes[_indice].lastChild.firstChild.nodeValue; this.mensaje_txt.htmlText = titulo;
Y lo que pretendo hacer es, que tanto la variable titulo, como image, poner en el xml unas coordenadas, y que en el flash se coloquen según dichas coordenadas.
Yo pensaba que poniendo la propiedad _x e _y a imagen, sería suficiente, pero me da error...
Gracias de antemano
