# Dynamic Text Question

**URL:** <https://forum.kirupa.com/t/dynamic-text-question/307993>\
**Category:** Uncategorized\
**Created:** [April 14, 2010, 5:46pm UTC](https://forum.kirupa.com/t/dynamic-text-question/307993 "2010-04-14T17:46:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snowman4415](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@snowman4415](https://forum.kirupa.com/u/snowman4415)\
**Post date:** [April 14, 2010, 5:46pm UTC](https://forum.kirupa.com/t/dynamic-text-question/307993/1 "2010-04-14T17:46:27Z")

</div>

Hello

I have a dynamic text box and I would like to be able to use actionscript 3 to change the color,font,size, etc. of only HALF the dynamic text. Is there a way to use the TextFormat class (or another way) to format half the string and append it to the end of the dynamic text?

- I also don’t want to use server side script or anything outside of flash.

I want to do this:

[SIZE=4]Hello World -\> Hello [COLOR=blue]World[/COLOR][/SIZE]  
[SIZE=4][COLOR=#0000ff][/COLOR][/SIZE]  
[COLOR=black]Example: change the color of Half of the dynamic text box.[/COLOR]

Thanks in advance!
