Problems with Infinite Menu

I’m fairly new to Flash, and am currently trying to put together a simple portfolio website based around the Infinite Menu tutorial from this website. I have also been working from some code that I found posted on this forum which loads image details from an XML file into the menu.

I have the menu pretty much working as I would like, but I’m having a problem with the gaps between images not remaining constant. This seems to occur when the image at the far left of the menu is half off the screen, if you move the menu left and right when this is the case, the gap between the left two images will slowly close up. I have been working through the code trying to figure out what is causing the problem, but so far haven’t come up with anything.

If someome could give me some help or suggestions with this that would be great! I have attached the .fla along with the .xml file and some test images.

Thanks,

Jon