# Formatting text with AS3

**URL:** <https://forum.kirupa.com/t/formatting-text-with-as3/295412>\
**Category:** Uncategorized\
**Created:** [August 29, 2009, 6:34pm UTC](https://forum.kirupa.com/t/formatting-text-with-as3/295412 "2009-08-29T18:34:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![possum87](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@possum87](https://forum.kirupa.com/u/possum87)\
**Post date:** [August 29, 2009, 6:34pm UTC](https://forum.kirupa.com/t/formatting-text-with-as3/295412/1 "2009-08-29T18:34:18Z")

</div>

Could someone please outline the proper syntax for formatting text in a dynamically created texfield using actionscript 3 please?

I understand the textColor but for some reason txtfld.textFont = “Verdana”; doesnt work for me.
