# Concatenating variable names

**URL:** <https://forum.kirupa.com/t/concatenating-variable-names/171336>\
**Category:** flash\
**Created:** [December 4, 2005, 3:43pm UTC](https://forum.kirupa.com/t/concatenating-variable-names/171336 "2005-12-04T15:43:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielson](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/danielson/32/1779_2.png) [@danielson](https://forum.kirupa.com/u/danielson)\
**Post date:** [December 4, 2005, 3:43pm UTC](https://forum.kirupa.com/t/concatenating-variable-names/171336/1 "2005-12-04T15:43:24Z")

</div>

I’m currently working on an advanced preloader and i’m creating loads of different variables etc. based on the percentage loaded.

I need the variables to be named Number + percentage, so in the end I will have Number1, Number2, Number3, Number4 etc.

How can I create variable names using my percentage variable? Can’t seem to find anything that answers my question.
