# TextFormat not working :(

**URL:** <https://forum.kirupa.com/t/textformat-not-working/277380>\
**Category:** flash\
**Created:** [December 11, 2008, 12:24pm UTC](https://forum.kirupa.com/t/textformat-not-working/277380 "2008-12-11T12:24:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustyleaf](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rustyleaf](https://forum.kirupa.com/u/rustyleaf)\
**Post date:** [December 11, 2008, 12:24pm UTC](https://forum.kirupa.com/t/textformat-not-working/277380/1 "2008-12-11T12:24:03Z")

</div>

Does anyone know of any bugs in Flash that would prevent me from formatting a text field I have added dynamically to the screen?

My code is very standard but its having no effect ☹ Its really frustrating!!!

```auto
var _title:TextField = new TextField();
var tf:TextFormat = new TextFormat();
tf.size = 28;
tf.color = 0x000000;
tf.font = "Arial";
_title.setTextFormat(tf);
addChild(_title);

```
