# CreateTextField fontstyle situation...new TextFormat not recognized

**URL:** <https://forum.kirupa.com/t/createtextfield-fontstyle-situation-new-textformat-not-recognized/110980>\
**Category:** Uncategorized\
**Created:** [May 21, 2004, 5:06pm UTC](https://forum.kirupa.com/t/createtextfield-fontstyle-situation-new-textformat-not-recognized/110980 "2004-05-21T17:06:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hetlicht](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hetlicht](https://forum.kirupa.com/u/hetlicht)\
**Post date:** [May 21, 2004, 5:06pm UTC](https://forum.kirupa.com/t/createtextfield-fontstyle-situation-new-textformat-not-recognized/110980/1 "2004-05-21T17:06:48Z")

</div>

Good day all… so I’ve tried a number of different myformat and setnewformat methods and still can’t seem to get the fontstyle(FFF Corporate) to display in my Dynamic Text Field.

Here is my code://

createTextField(“my\_tf2”, 0, 63, 100, 500, 600);  
tf2 = new TextFormat();  
tf2.font = ‘FFF Corporate’;  
tf2.size = ‘8’;  
my\_tf2.wordWrap = true;  
my\_st2 = “1997 - Internship With Hale+Co. Located in the Design District, Miami, FL. My main tasks at Hale+Co. were Design and Layout, Client Briefs, doing wraps, mini\_opens, scans, chromas and some video editing in the process and us”;  
onEnterFrame = function(){  
var nowStep = Math.min(step, my\_st2.length)  
var stringChunk = my\_st2.substr(-nowStep);  
my\_st2 = my\_st2.slice(0, -nowStep);  
my\_tf2.text = stringChunk+my\_tf2.text;  
if(my\_st2.length\<1){  
onEnterFrame = null;  
lastChar2 =text.length;  
setTextFormat(lastChar1, lastChar2, tf2);  
}  
}

Anyone that could assist me in figuring this out? I’d greatly appreciate it…
