Simple variable naming question

Is it possible do dynamically create and assign variable names using as like this for example:

name1
name2
name3

I am think about something like this which of course doesn’t work:

for (var i:int=1; i<4; i++){
 var "name"+i.toString():String = new String();
}

?

thanks