Accessing Object Properties Dynamically

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


i += 1;

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

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