# Referencing dynamic movieclip names?

**URL:** <https://forum.kirupa.com/t/referencing-dynamic-movieclip-names/226630>\
**Category:** Uncategorized\
**Created:** [May 22, 2007, 7:34pm UTC](https://forum.kirupa.com/t/referencing-dynamic-movieclip-names/226630 "2007-05-22T19:34:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chzter](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@chzter](https://forum.kirupa.com/u/chzter)\
**Post date:** [May 22, 2007, 7:34pm UTC](https://forum.kirupa.com/t/referencing-dynamic-movieclip-names/226630/1 "2007-05-22T19:34:07Z")

</div>

i can’t figure this out.

here’s a simplified version of what i expect:

var mcname:String = “ball”;  
[mcname].x += 1;

assuming ball is an mc on the stage somewhere, how can i start referencing ball via mcname?
