Tema: flash y xml
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/12/2008, 04:35
Avatar de Musika
Musika
 
Fecha de Ingreso: junio-2002
Mensajes: 72
Antigüedad: 21 años, 10 meses
Puntos: 0
flash y xml

tengo un menu flash con imagenes tomadas de un xml, necesito colocarle un texto (titulo) debajo de cada foto.. lo logro pero me queda en un loguar fijo en el frame .
quiero colocarlo debajo de la foto y cuando se selecciones la foto se vea el titulo corrspondiente...

he aki el codigo :

Cita:
filename_list = new Array();
url_list = new Array();
title_list = new Array();
description_list = new Array();
var filepath:String = "thumbnails/";

var flashmo_xml = new XML();
flashmo_xml.ignoreWhite = true;
flashmo_xml.onLoad = function()
{
var nodes:Array = this.firstChild.childNodes;
for(var i=0;i<nodes.length;i++)
{
filename_list.push(nodes[i].attributes.filename);
url_list.push(nodes[i].attributes.url);
title_list.push(nodes[i].attributes.title);
description_list.push(nodes[i].attributes.description);
}
}
flashmo_xml.load("lista.xml");
tn_group_area._visible = false;
__________________
La mejor forma de enseñar es aprendiendo
------------------------------------------------
Un pokitin de Musika en tu Vida