# Converting a string to a movieclip

**URL:** <https://forum.kirupa.com/t/converting-a-string-to-a-movieclip/323404>\
**Category:** flash\
**Created:** [June 29, 2011, 2:47pm UTC](https://forum.kirupa.com/t/converting-a-string-to-a-movieclip/323404 "2011-06-29T14:47:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nuwa](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Post date:** [June 29, 2011, 2:47pm UTC](https://forum.kirupa.com/t/converting-a-string-to-a-movieclip/323404/1 "2011-06-29T14:47:04Z")

</div>

Is it possible to convert a string to a movieclip instance name.  
If so can someone tell me how??  
I tried,

```auto
var theName:String;
MovieClip(theName); 

```

but it says, “Type Coercion failed: cannot convert “mv3” to flash.display.MovieClip”

Help!!
