# Dynamic text changes back to initial text on keyframes

**URL:** <https://forum.kirupa.com/t/dynamic-text-changes-back-to-initial-text-on-keyframes/223368>\
**Category:** flash\
**Created:** [April 21, 2007, 9:18pm UTC](https://forum.kirupa.com/t/dynamic-text-changes-back-to-initial-text-on-keyframes/223368 "2007-04-21T21:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ez74](https://avatars.discourse-cdn.com/v4/letter/e/a6a055/32.png) [@ez74](https://forum.kirupa.com/u/ez74)\
**Post date:** [April 21, 2007, 9:18pm UTC](https://forum.kirupa.com/t/dynamic-text-changes-back-to-initial-text-on-keyframes/223368/1 "2007-04-21T21:18:42Z")

</div>

Hi,

I’ve created a dynamic text field (named text\_txt) on stage - gave it a value of “ **123** ”;  
There is 1 keyframe (frame 1) followed by 9 frames.

I’ve added a tiny piece of actionScript:  
text\_txt.text = " **99";**

Running it - all works great - I see 99 in that text field.

If I add another keyframe (lets say on frame 5) - the text inside text\_txt changes back to **123** …  
Instance name there is still text\_txt…

Please see attached file,  
Any ideas?

Thnx,  
EZ
