# Textfield property

**URL:** <https://forum.kirupa.com/t/textfield-property/219809>\
**Category:** Uncategorized\
**Created:** [March 20, 2007, 11:49am UTC](https://forum.kirupa.com/t/textfield-property/219809 "2007-03-20T11:49:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![korkor5](https://avatars.discourse-cdn.com/v4/letter/k/71c47a/32.png) [@korkor5](https://forum.kirupa.com/u/korkor5)\
**Post date:** [March 20, 2007, 11:49am UTC](https://forum.kirupa.com/t/textfield-property/219809/1 "2007-03-20T11:49:00Z")

</div>

Hello all,

i am trying to change the font property of a textfield in actionscript.

i tried this but i am not seeing the effect of it. Actually nothing happens. What am i doing wrong?

\_root.attachMovie(“nav1”,“nav”+coun, coun);  
\_root[“nav”+coun].textItem = “me”;  
myTextFormat = new TextFormat();  
myTextFormat.font = Arial;  
\_root[“nav”+coun].textItem.setTextFormat(myTextFormat);

korkor5
