# Problems with dynamic text

**URL:** <https://forum.kirupa.com/t/problems-with-dynamic-text/331581>\
**Category:** Uncategorized\
**Created:** [September 4, 2013, 9:38am UTC](https://forum.kirupa.com/t/problems-with-dynamic-text/331581 "2013-09-04T09:38:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_James\_Ho](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@Brian\_James\_Ho](https://forum.kirupa.com/u/Brian_James_Ho)\
**Post date:** [September 4, 2013, 9:38am UTC](https://forum.kirupa.com/t/problems-with-dynamic-text/331581/1 "2013-09-04T09:38:50Z")

</div>

This is done is Actionscript 2/1 setting on Adobe Flash CS6.  
I am having some problems creating a dynamic text box to display how much money you have in a game I am working on. What I have right now is:  
\_root.hud.credits = 50;  
The text field is inside a movie clip named hud. When I run my game the field just remains blank, and does not display 50. I have set the “variable” of the dynamic text as credits, not the instance, but I have tried switching them and it does not work still.
