Multiple Images Dynamically

What I’m Trying to Do: I am creating a header for a website that rotates from image to image dynamically using xml.

Problem: I am trying to pull 2 images in at the same time(images that corresponde with each other). The reason I can not combine them to the same image is because there are static layers in place that do not rotate with the image change. One of the images gets pulled in under the static layers… while the other one gets pulled in on top.

Where I’m at Now: I can get either image to pull in at once, but not at the same time.

Future Concerns: My other concern is that I will be able to get them both pulled in at the same time, but then won’t be able to have them stack up in the right spot in relation to the other layers.

Thanks in advance!