Here my problem:
i created a site in flash and xml that has one photo gallery with link in photos.
when click in photos may load the large photo. Right. but now when i click in some photo load the same large image, load the ultimate large image from xml file.
_global.path = "";
var plevel:Number = 1000;
for (i=0; i<20; i++) {
var peca:MovieClip = attachMovie("gal","gal"+i,plevel++);
var fotog:String = xdata.childNodes[0].childNodes*.childNodes[0].firstChild;
var fotol:String = xdata.childNodes[0].childNodes*.childNodes[1].firstChild;
peca.loadMovie(_global.path + fotog);
peca._x = 120*i;
peca._y = 130*i;
peca.onRelease = function() {
largph.loadMovie(_global.path + fotol); // here load only ultimate node of xml
}
}
Anyone know how to do it ? load independent large images …
Tks Guys!