# Displaying Variables Help

**URL:** <https://forum.kirupa.com/t/displaying-variables-help/224804>\
**Category:** flash\
**Created:** [May 5, 2007, 6:56pm UTC](https://forum.kirupa.com/t/displaying-variables-help/224804 "2007-05-05T18:56:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flamingtoaster](https://avatars.discourse-cdn.com/v4/letter/f/c37758/32.png) [@Flamingtoaster](https://forum.kirupa.com/u/Flamingtoaster)\
**Post date:** [May 5, 2007, 6:56pm UTC](https://forum.kirupa.com/t/displaying-variables-help/224804/1 "2007-05-05T18:56:42Z")

</div>

I hope there is an easy solution to this I am just missing. Anyways I define some varibles like this:  
game = {startNumber:0, endNumber:5}  
When I use the variables later in the code by typing game.startNumber = whatever, it works fine, but when I make a dynamic text box and for the variable put game.startNumber, nothing shows. I have tried all other combinations I can think of involving “\_root.” and “game.” and "StartNumber "but nothing is working. Anyone know how to link that variable to display in a textbox?
