Generated Variables (Non hand-coded names)

Hello Everyone.
I need your help. Please view the example code below to figure out what I am trying to do:


for(i = 0; i < 10; i++){
_root.attachMovie("name", "name"+i; i);
}

Well, I want a variable to be made for each of those movieclips. I was thinking…


var "nameVar"+i;

But that doesn’t work. Can this be done? Thanks for all of the help in advance. :smiley: