# Dynamic text?

**URL:** <https://forum.kirupa.com/t/dynamic-text/279284>\
**Category:** Uncategorized\
**Created:** [January 12, 2009, 9:56pm UTC](https://forum.kirupa.com/t/dynamic-text/279284 "2009-01-12T21:56:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navarone](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Post date:** [January 12, 2009, 9:56pm UTC](https://forum.kirupa.com/t/dynamic-text/279284/1 "2009-01-12T21:56:27Z")

</div>

Is it possible to have a dynamic text field with some of the text one color and another part of the text some other color? Example: INTRODUCTION. I need INTRO to be red and DUCTION to be white. This is my code sofar.

```auto

// change title 
_global.changeTitle = function(title:String) {
    // set chapter text
    _root.chapter.title.autoSize = "right";
    _root.chapter.title.text = title;    
};
changeTitle("INTRODUCTION");

```
