Dynamically Positioning Movie clips- XML?

Hi
I was just wondering if this is possible, and if anyone knows how it could be done

What i intend to do is have a number of movie clips which load a photo from XML.
As well as the photo i want something in the XML code that tells the movie clip where to place itself on the scene. For example it could contain a number from 1-8 and the scene will be split into eight sections across the X axis. So if it has the number 3 it will go in the 3rd section across anywhere on the Y axis…

I hope someone can help.
I will be greatly appreciative
thanks in advance
Pete