# Blurred font Dynamic text field

**URL:** <https://forum.kirupa.com/t/blurred-font-dynamic-text-field/205622>\
**Category:** flash\
**Created:** [October 31, 2006, 9:42am UTC](https://forum.kirupa.com/t/blurred-font-dynamic-text-field/205622 "2006-10-31T09:42:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coop](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@coop](https://forum.kirupa.com/u/coop)\
**Post date:** [October 31, 2006, 9:42am UTC](https://forum.kirupa.com/t/blurred-font-dynamic-text-field/205622/1 "2006-10-31T09:42:19Z")

</div>

Hi all,

I have a vertical menu created with attached movie Clips that contain dynamic text fields. The names in the textfield are from an xml file, the problem is the text becomes blurred as the buttons go down and the .\_y increases

[AS]  
myXml = new XML();  
myXml.ignoreWhite = true;  
myXml.onLoad = function(success) {  
if (success) {  
loadFonts();  
} else {  
trace(“XML not loaded”);  
}  
};  
var btn\_spacing = 24;  
myXml.load(“places.xml”);  
loadFonts = function () {  
start = myXml.firstChild.childNodes;  
for (var i = 0; i\<start.length; i++) {  
info = start\*;  
fontBtn = nav\_mc.holder\_mc.attachMovie(“btn\_mc”, “btn\_mc+i”, i+1);  
fontBtn.base\_mc.\_alpha = 0;  
fontBtn.\_y = btn\_spacing\*i;  
fontBtn.name = info.attributes.name;  
fontBtn.id = info.attributes.id;  
fontBtn.name\_txt.text = fontBtn.name;  
fontBtn.onRollOver = function() {  
this.base\_mc.\_alpha = 100;  
this.name\_txt.textColor = 0x000000  
};  
fontBtn.onRollOut = fontBtn.onDragOut=function () {  
this.base\_mc.\_alpha = 0;  
this.name\_txt.textColor = 0xffffff  
};

};  
[/AS]
