Loading and arranging thumbnails dynamically

Hi everybody (first post),

little problem here…

i want to create a dynamic thumbnail gallery working as follows:

i have a xml file with links to the thumbnail files…i want my swf to read out all the files and arrange them in a grid at a certain area of the stage…now reading the xml file and loading the thumbs works perfect but how to position them???

any suggestoins appreciated…