Hi, I'm piecing together elements form several tutorials on
various sites to make my own xml based slideshow with linkable
images. It is working great except that I am not able to control
the order in which the images are loaded. They get loaded in the
order they are downloaded, not in the order of my XML file. This is
this is causing the links, and other attributes I'm putting in my
xml doc, to fall out of sync.

I assume there is a way to either push my items in a specific
order, or make sure the extra attributes are loaded at the time
that imaged is pushed into the array. I guess some context would
help (see attached code)

I think I've provided all the relevant information, but if
you need to see another function just let me know.

Again, everything loads just fine when I test locally, its
just that the order is off sync when I'm actually downloading the
items. The heavier images get moved to the back, while those
atributes are in the correct order.

I would really prefer to keep the images in the order of the
XML doc, but if that isn't possible I need to at least be able to
make sure the attribute values are assigned to the proper image
container. I'm not sure where and how.