# Changing an object name to a string

**URL:** <https://forum.kirupa.com/t/changing-an-object-name-to-a-string/49833>\
**Category:** flash\
**Created:** [April 27, 2004, 1:06am UTC](https://forum.kirupa.com/t/changing-an-object-name-to-a-string/49833 "2004-04-27T01:06:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![babywax](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@babywax](https://forum.kirupa.com/u/babywax)\
**Post date:** [April 27, 2004, 1:06am UTC](https://forum.kirupa.com/t/changing-an-object-name-to-a-string/49833/1 "2004-04-27T01:06:28Z")

</div>

Is there any way to do this?  
Say I have a global variable called yarr:  
\_global.yarr = textbox;  
and I want to change that in to a string, I want to change it to “textbox” instead of textbox. Is there any way to do that?
