# (mx) variable problems

**URL:** <https://forum.kirupa.com/t/mx-variable-problems/157989>\
**Category:** flash\
**Created:** [August 5, 2005, 5:40pm UTC](https://forum.kirupa.com/t/mx-variable-problems/157989 "2005-08-05T17:40:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdermyer](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@cdermyer](https://forum.kirupa.com/u/cdermyer)\
**Post date:** [August 5, 2005, 5:40pm UTC](https://forum.kirupa.com/t/mx-variable-problems/157989/1 "2005-08-05T17:40:08Z")

</div>

I think I understand the problem more, so I am going to rephrase it.

Here’s what happens:

I click the “studio” button.  
The studio object’s “txtVar” value is “studio\_txt”

The text box always references \_root.txtVar, so whichever menu item is clicked, when the text box is told to update, it will load the new value of \_root.txtVar.

The problem is when i click the “studio” button, the text box fills with [color=DarkOrange]“studio\_txt” [color=Black]instead of [color=DarkOrange]“our studio is really nice blah blah blah…”

[color=Black]So I need to know how to get the text box to read \_root.txtVar as a variable rather than a string, I think.

Can anyone help?

[/color][/color][/color][/color]
