# Creating Dynamic Var Names

**URL:** <https://forum.kirupa.com/t/creating-dynamic-var-names/310922>\
**Category:** flash\
**Created:** [June 23, 2010, 1:28am UTC](https://forum.kirupa.com/t/creating-dynamic-var-names/310922 "2010-06-23T01:28:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![as3ohh](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Post date:** [June 23, 2010, 1:28am UTC](https://forum.kirupa.com/t/creating-dynamic-var-names/310922/1 "2010-06-23T01:28:38Z")

</div>

Is there a way to make dynamic var names? Cant remember how to do this.

Something like:

```
NameCount = 1;

Obj.eval("Item" + NameCount)) = "hello world";

Obj.Item1 // trace "hello world"
```
