# Dynamic Text Background Formatting

**URL:** https://forum.kirupa.com/t/dynamic-text-background-formatting/302995
**Category:** Uncategorized
**Created:** [January 12, 2010, 6:42am UTC](https://forum.kirupa.com/t/dynamic-text-background-formatting/302995 "2010-01-12T06:42:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jazzy\_superior](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jazzy\_superior](https://forum.kirupa.com/u/jazzy_superior)
#### Post date: [January 12, 2010, 6:42am UTC](https://forum.kirupa.com/t/dynamic-text-background-formatting/302995/1 "2010-01-12T06:42:45Z")

</div>

Hey all, this is my first query here at this forums, btw i am at this forum since 2006 or 07 but registered fwe months back and topic its my almost first thread… 🙂

Coming to the topic, I currently faced an issue, I am creating a dynamic text field via AS, i want to show its background as yellow, but it needs to be rounded shape…

I’ve tried to do it as

```auto
myTF.backgroundColor = 0xFFC600;

```

The TextField is resized dynamically depending upon the contents it contain, so this bg will also resize dynamically, but as you all know its currently displaying a squad while i need it to be a rectangle with rounded edges…

I have however fixed it by placing a rect behind TF, positioning it and resizing it equivalent to text field, but I was wondering that is it possible to do it using TextField Class in either AS2 or AS3…

Sorry for my bad English coz i am Asian… 🙂
