# createTextField/embedFont problem

**URL:** https://forum.kirupa.com/t/createtextfield-embedfont-problem/196342
**Category:** flash
**Created:** [August 7, 2006, 8:00pm UTC](https://forum.kirupa.com/t/createtextfield-embedfont-problem/196342 "2006-08-07T20:00:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![seventhapex](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@seventhapex](https://forum.kirupa.com/u/seventhapex)
#### Post date: [August 7, 2006, 8:00pm UTC](https://forum.kirupa.com/t/createtextfield-embedfont-problem/196342/1 "2006-08-07T20:00:05Z")

</div>

I’m having trouble getting my created text field to take my linkage font…

```auto

var link_fmt:TextFormat = new TextFormat();
	link_fmt.font = "myFont";
	link_fmt.color = 0xff0000;
	
this.createTextField("webLink_txt", this.getNextHighestDepth(), 0, 18, 295, 18);
	webLink_txt.embedFonts = true;
	webLink_txt.text = "this is a test";//this._parent._parent.list_array[ID].linkA;
	webLink_txt.setNewTextFormat("link_fmt");

```

the only thing I can think of is that the mc containing the textfield is also dynamically attached through the linkage idintifyer.

it will not even change colors
