Positioning dynamic images

Hello,

This is my first but probably not last time that I will be asking a question.

I am creating a fully dynamic XML based flash site.

here is a sample of some of my code:

myXML = new XML();
myXML.ignoreWhite = true;
myXML.load("gallery.xml");
myXML.onLoad = function() {       
    numimages = this.firstChild.childNodes.length       
    logospacing = 70
    spacing =90;
    for (i=0; i<numimages; i++) {
        loader._x = 250;
        loader._y = 220;
        title_txt._x = 250;
        title_txt._y = 420;
        logos._x = 25;
        trace (logos._x)
        logos._y = 25;
        picHolder = this.firstChild.childNodes*;
        this.logoHolder = _root.logos.createEmptyMovieClip("logo"+i, i);
        this.logoHolder._x = i*logospacing;
        this.logoHolder.logo = picHolder.attributes.logo;
        this.logoHolder.campain = picHolder.attributes.campain;
        this.logoLoader = this.logoHolder.createEmptyMovieClip("logo_image"+i, i);
        var twlm:Tween = new Tween(sep1, "_y", Regular.easeOut, 0, 92, 1, true);
        var twlm:Tween = new Tween(logomask, "_alpha", Regular.easeInOut, 100, 0, 1, true);
        var twlh:Tween = new Tween(logos, "_y", Regular.easeOut, -75,25, 1, true);
        this.logoLoader.loadMovie(picHolder.attributes.logo);

My question is how do I position the created logoHolder with all the logos that are going to be dynamically loaded by the XML to be centered on the stage via _x.

I know that the positioning of the logoHolder can be positioned by setting the logos._x to a value and it will put it on the stage along the x axis.

What I would really like is for the logos to either be centered on the stage or have them spread out accross the stage evenly but staying within the boundaries of the stage.

If this is confusing I am sorry. But you can check out what I have done so far by going to HERE and what i mean by the logos being spaced. The logos I want spaced properly are the Puma logos.

Thnks in advance for your help.