I’m having two main problems with the ArtGalleryMG
http://www.fmx6.com/teststuff/resize/artgallerymG.swf
The first problem is that when I switch between the different galleries (defined in the xml) one of the images will rermain on a top layer. When I try to switch to a different gallery, the image from the last gallery appears over everything. If I try to switch within the same gallery, the image will chage normally, but then the next image I choose has the same problem. I noticed in the demo it has the same problem. I can’t seem to find anything in the script that would even show me where to begin. Any suggestions or has anyone fixed this?
The second trouble I’m having is trying to get the first image to auto appear.
I thought the preloader function would do it:
_global.preloaderf = function(klip) {
l.mytext.text = "Loading picture "+Number(klip+1);
if (myarray[klip].holder._width>0) {
myarray[klip].holder._visible = false;
myarray[klip].holder._x = Stage.width/2-myarray[klip].holder._width/2;
myarray[klip].holder._y = Stage.height/2-myarray[klip].holder._height/2;
clearInterval(myinterval);
paper[“btn”+klip]._alpha = 100;
paper[“btn”+klip].enabled = true;
if (klip<myarray.length-1) {
startfunction();
} else {
l.mytext.text = “”;
clearInterval(myinterval);
}
}
};
since it’s pretty similar to the one used for the Hybrid Gallery2 that Strigy wrote.
I just can’t seem to get it to work though.
At the moment, I’m using pretty much the downloaded script, so there’s nothing that could be causing any trouble.
Thanks for any help!