AS2 creating objects in a for loop

This piece of code gives me an error because i have an equation on the left side of the equal sign, logically it makes sense, but flash doesn’t like the code how would i do some thing like this?


for (i=1; i<=10; i++) {
    eval("dynamicObject"+i) = new Object();
}