# Generating variables dynamically

**URL:** <https://forum.kirupa.com/t/generating-variables-dynamically/315993>\
**Category:** Uncategorized\
**Created:** [November 9, 2010, 4:30pm UTC](https://forum.kirupa.com/t/generating-variables-dynamically/315993 "2010-11-09T16:30:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chilldog](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Post date:** [November 9, 2010, 4:30pm UTC](https://forum.kirupa.com/t/generating-variables-dynamically/315993/1 "2010-11-09T16:30:40Z")

</div>

:inc:

Trying to do this:

variable1;  
variable2;  
variable3;  
variable4;  
.  
.  
.  
variable10;

Without typing it all out, using as few lines as possible. Is it possible to generate numbered variables “on the fly”?

The variables’ type in question will be movieclip instances.
