Custom slideshow component acting weird

Hi.

This is propably a newbie question regarding components, but here goes:

I’ve made a custom slideshow component, which works nicely. The problem, however, is that when I place the component on my scene twice, it starts to show the same first picture in both instances and doesn’t begin the slideshow like it should.

The component loads in an xml file, parses it to get the image urls out, creates empty movieclips for each image, once the first image is loaded it fades it in and once all images are loaded, it starts the slideshow (fade current image out and the net image in).

Like I said, everything is fine when the component is on the scene only once. If there are two instances, it breaks.

The curious thing is that it does load the different xml files correctly, it just shows the same mc in both component (with the first image) and stops there.

See corresponding zip and you’ll see what I mean.