# Text inside the text fields is scaling on move

**URL:** <https://forum.kirupa.com/t/text-inside-the-text-fields-is-scaling-on-move/295089>\
**Category:** Uncategorized\
**Created:** [August 25, 2009, 9:22am UTC](https://forum.kirupa.com/t/text-inside-the-text-fields-is-scaling-on-move/295089 "2009-08-25T09:22:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![moldvai](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@moldvai](https://forum.kirupa.com/u/moldvai)\
**Post date:** [August 25, 2009, 9:22am UTC](https://forum.kirupa.com/t/text-inside-the-text-fields-is-scaling-on-move/295089/1 "2009-08-25T09:22:27Z")

</div>

Hello.  
I have made a top 10 module for my site that loads variables dynamicly in text fields, it works pretty fine, but i have a problem. The text inside the text fields is scaling on move. I _don’t_ want the text inside to scale.  
Here you have the link:  
[http://sites.vilaglato.hu/sites/start3/banner/photowidget.swf](http://sites.vilaglato.hu/sites/start3/banner/photowidget.swf)

Example of text field creation in my as:

```auto

.............................................................................................
private function createTextField(x:Number, y:Number, width:Number, height:Number):TextField {
            var result:TextField = new TextField();
            result.x = x; result.y = y;
            result.width = width; result.height = height;
            
            addChild(result);
            return result;
                                    
        }

.................................................................................................
var sorszam:String = new String (_node["@sorsz"]);
            var _label1:TextField = this.createTextField(-47.5, -45.5, 20, 20);
            _label1.text = sorszam;
            _label1.selectable = false;
            _label1.textColor = 0xFFFFFF;
            
            
            var _label1TextFormat = new TextFormat();
            _label1TextFormat.bold = true;
            _label1TextFormat.size = 9;
            _label1TextFormat.font = "Lucida Sans Unicode";
            _label1TextFormat.align = "center";
            _label1TextFormat.tabStops;
            _label1.setTextFormat(_label1TextFormat);
...................................................................................................

```

10x.
