ragazzi ciaoo
ho un swf che richiamna foto tramite xml...come si fa ad associare alle foto l'apertura tramite lightbox e Thickbox??
l'xml si presenta così:
<items>
<item title="News Item 1 - Ut wisi enim ad minim"
url="http://www.flashmo.com/donate"
target="_blank"
description="This news list is powered by an external XML file. Feel free to edit and use this template. If this flash file is useful for your websites, please consider making a small donation to info@flashmo.com via PayPal. Thank you." />
</items>
grazie a tutti..
come action nel frame ho:
var filename_list = new Array();
var url_list = new Array();
var url_target_list:Array = new Array();
var title_list = new Array();
var 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);
url_target_list.push(nodes[i].attributes.target);
title_list.push(nodes[i].attributes.title);
description_list.push(nodes[i].attributes.description);
}
}
flashmo_xml.load("flashmo_117_product_list.xml");