# Changing font color of another movie clip's dynamic text (probably ridiculously easy)

**URL:** <https://forum.kirupa.com/t/changing-font-color-of-another-movie-clips-dynamic-text-probably-ridiculously-easy/261178>\
**Category:** flash\
**Created:** [May 23, 2008, 8:59pm UTC](https://forum.kirupa.com/t/changing-font-color-of-another-movie-clips-dynamic-text-probably-ridiculously-easy/261178 "2008-05-23T20:59:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![codyhawke](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@codyhawke](https://forum.kirupa.com/u/codyhawke)\
**Post date:** [May 23, 2008, 8:59pm UTC](https://forum.kirupa.com/t/changing-font-color-of-another-movie-clips-dynamic-text-probably-ridiculously-easy/261178/1 "2008-05-23T20:59:07Z")

</div>

Hi guys - I have two movie clips on the stage - KRS\_ZOOM and heading\_mc.

heading\_mc contains a dynamic text box named ht. I am trying to change its font color via a frame on the KRS\_ZOOM movie clip. how can i reference it?  
My code below is not working.

tf = new TextFormat();  
tf.color=0xFFFFFF;  
trace(\_root.heading\_mc.ht.text);  
\_root.heading\_mc.ht.setTextFormat(tf);

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [May 23, 2008, 9:39pm UTC](https://forum.kirupa.com/t/changing-font-color-of-another-movie-clips-dynamic-text-probably-ridiculously-easy/261178/2 "2008-05-23T21:39:05Z")

</div>

In frame 1 of KRS\_ZOOM:  
\_root.heading\_mc.ht.textColor = 0xFFFFFF;

In frame 10 of KRS\_ZOOM:  
\_root.heading\_mc.ht.textColor = 0x00FF00;
