Okay this is driving me nuts. I found an fla that uses an xml file (and a bit 'o php) to create a “stack” of photos. The code seems fairly straightforward but in the example all the photos are on the same level as the file. I would like to put my photos in a directory called “pics” but I can’t figure out where in the world to put the directory name in the code.
Here is the code for loading the images:
// load images
// ----------------------
function loadimage(id) {
if (loads[id]) {
loads[id]._visible = true;
loads[id].imgholder.loadMovie(loads[id].imgholder.src);
loads[id].imgholder.onLoad = function() {
loads[id].imgholder.onEnterFrame = function() {
if (this._parent._alpha<75) {
this._parent._alpha += 25;
} else if (this._parent._alpha<100) {
this._parent._alpha += 25;
loadimage(id+1);
} else {
delete this.onEnterFrame;
}
};
};
}
}
loadimage(0);
I tried a dozen different places but nothing works. If this doesn’t look like the right place to put the code then let me know and I’ll include additional bits.
Thanks for any insight -
:hr: