# Calling object names and variables dynamicly?

**URL:** <https://forum.kirupa.com/t/calling-object-names-and-variables-dynamicly/207481>\
**Category:** flash\
**Created:** [November 18, 2006, 12:08am UTC](https://forum.kirupa.com/t/calling-object-names-and-variables-dynamicly/207481 "2006-11-18T00:08:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DoktorAce](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@DoktorAce](https://forum.kirupa.com/u/DoktorAce)\
**Post date:** [November 18, 2006, 12:08am UTC](https://forum.kirupa.com/t/calling-object-names-and-variables-dynamicly/207481/1 "2006-11-18T00:08:02Z")

</div>

Im kind of new to flash, and Im having trouble figuring out how to do this.

Say I have some sort of user-input that will give me a number, for example the number 3.  
Then I want to call one of many movieClips i’ve previously created, according to that input.  
So I would like to dynamicly call ex. myMovieClip3.\_visible = true.

What I cant figure out is how to construct a way to call myMovieClip(x) and its variables.

Thanks for reading!
