# Global text format

**URL:** <https://forum.kirupa.com/t/global-text-format/90018>\
**Category:** flash\
**Created:** [May 13, 2005, 3:13pm UTC](https://forum.kirupa.com/t/global-text-format/90018 "2005-05-13T15:13:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jankratochvil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jankratochvil/32/566_2.png) [@jankratochvil](https://forum.kirupa.com/u/jankratochvil)\
**Post date:** [May 13, 2005, 3:13pm UTC](https://forum.kirupa.com/t/global-text-format/90018/1 "2005-05-13T15:13:35Z")

</div>

I plan to use the same text style in my project, how can i specify the same text format for all text fields?

In my project i use dynamic created textfield also.

Is it possible?

i use this text format

```auto
// set TEXT FORMAT
kk_text_fmt = new TextFormat()
kk_text_fmt.font = "Verdana"
kk_text_fmt.size = 10
kk_text_fmt.color = 0xFFFFFF

```

If i want to use embedFonts method it not works

```auto

createTextField("main_text_txt",1000,205,198,330,150);
main_text_txt.multiline = true;
main_text_txt.wordWrap = true;
main_text_txt.border = true;
main_text_txt.background = false
main_text_txt.text = this.var_main_txt
main_text_txt._visible = 1
main_text_txt.embedFonts =true
main_text_txt.setTextFormat(kk_text_fmt);

```

Can i use [COLOR=red].embedFonts =true[/COLOR] in this case?
