# Spacing of dynamic text field

**URL:** <https://forum.kirupa.com/t/spacing-of-dynamic-text-field/179731>\
**Category:** Uncategorized\
**Created:** [February 22, 2006, 5:02pm UTC](https://forum.kirupa.com/t/spacing-of-dynamic-text-field/179731 "2006-02-22T17:02:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [February 22, 2006, 5:02pm UTC](https://forum.kirupa.com/t/spacing-of-dynamic-text-field/179731/1 "2006-02-22T17:02:44Z")

</div>

Normally I would space the mc’s on a whole number like for thumbnails, but since the widht is set to autosize, I cant do that. Help please. 🙂

```auto

var showWhat = 0;
var links:XML = new XML();
links.ignoreWhite = true;
links.onLoad = function(ok) {
    if (ok) {
        var entrys = this.firstChild.childNodes;
        for (var i = 0; i<entrys.length; i++) {
            var current = entrys*;
            var secret = current.childNodes[0].firstChild.toString();
            if (secret == showWhat) {
                var titleBtn = menu_mc.attachMovie("title_txt", "button"+i, i);
                titleBtn.titleTxt.autoSize = true;
                titleBtn.titleTxt.text = current.childNodes[1].firstChild.toString();
                // need help with this line
                titleBtn._x = 
                ////
                titleBtn.entry = current.childNodes[2].firstChild.toString();
                titleBtn.date = current.childNodes[3].firstChild.toString();
                titleBtn.link = current.childNodes[4].firstChild.toString();
                titleBtn.img = current.childNodes[5].firstChild.toString();
                titleBtn.onRelease = function() {
                    trace(this.entry);
                    trace(this.date);
                    trace(this.link);
                    trace(this.img);
                };
            }
        }
    }
};
links.load('http://www.xml.xml');

```
