# Accessing Object Properties Dynamically

**URL:** <https://forum.kirupa.com/t/accessing-object-properties-dynamically/311099>\
**Category:** flash\
**Created:** [June 28, 2010, 3:41am UTC](https://forum.kirupa.com/t/accessing-object-properties-dynamically/311099 "2010-06-28T03:41:08Z")\
**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 28, 2010, 3:41am UTC](https://forum.kirupa.com/t/accessing-object-properties-dynamically/311099/1 "2010-06-28T03:41:08Z")

</div>

Hi Friends, what is the correct way to access an object dynamically? I have tried this with no success:

```auto

i += 1;

var myVar = this[myObject. + "myProperty" + i];

trace(myVar); // hoping for value from myObject.myProperty1

 

```
