# Why am I losing my Text Format?

**URL:** <https://forum.kirupa.com/t/why-am-i-losing-my-text-format/241374>\
**Category:** Uncategorized\
**Created:** [October 12, 2007, 7:08pm UTC](https://forum.kirupa.com/t/why-am-i-losing-my-text-format/241374 "2007-10-12T19:08:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tylerdudley1986](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@tylerdudley1986](https://forum.kirupa.com/u/tylerdudley1986)\
**Post date:** [October 12, 2007, 7:08pm UTC](https://forum.kirupa.com/t/why-am-i-losing-my-text-format/241374/1 "2007-10-12T19:08:17Z")

</div>

Ok, so I’m not in any kind of real AS trouble, but I’m miffed.

I have a TextField. I have set ‘letterSpacing’ for my text field because I think the letters are too far apart. Then when I want to manipulate the text in my TextField, I do this:

TextField.text = “my new text”

…But when I do this I lose my nicely spaced effect, and the text goes back to how it was - all far apart!!

So I have to set the letterSpacing using a TextFormat object EVERY time I reset the TextField.text. Now why on earth would this be? Does anyone have the same thing, or am I doing it wrong? eek!

anyway, if anyone could either \*\*\*\*\* about this or shed some light on it I’d be very greatful.

Thanks,

Tyler
