Dynamic Text Background Formatting

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… :slight_smile:

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

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… :slight_smile: