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
Example of text field creation in my as:
.............................................................................................
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.