# Actionscript & dynamic text

**URL:** <https://forum.kirupa.com/t/actionscript-dynamic-text/52942>\
**Category:** Uncategorized\
**Created:** [May 29, 2004, 3:28am UTC](https://forum.kirupa.com/t/actionscript-dynamic-text/52942 "2004-05-29T03:28:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![feiticeria](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@feiticeria](https://forum.kirupa.com/u/feiticeria)\
**Post date:** [May 29, 2004, 3:28am UTC](https://forum.kirupa.com/t/actionscript-dynamic-text/52942/1 "2004-05-29T03:28:51Z")

</div>

I’ve hit a small snafu…is there anyway I can read from a dynamic text and use it as a name to control one of the movieclips?

ie: I have a dymanic text called “dText”, where I set “kirupa” as the comment within. I also have a movieclip, which I named “kirupa”, is there anyway I can take the comment in the dynamic text and use it in the actionscript? I’m trying to hide the movieclip, so far I’ve tried:  
[\_root.dText].\_visible = true;  
(\_root.dText).\_visible = true; &  
“(\_root.dText)”.\_visible = true;

None has worked, is there any other way? is this even possible?
