For loop and assigning i

i’m trying to use a for loop to create 219 movie clips and have it assign the value i to each one.

this is how the movie clips are named on the stage

rollover1_mc, rollover2_mc, rollover3_mc and so on.

heres the for loop i was trying:


for(i=0; i<220; i++){
rollover + i + _mc.onRollOver = displayContent;
}

doesn’t seem to be working.

basically i need it to repeat so i creates the following lines of code:

rollover1_mc.onRollOver = displayContent;
rollover2_mc.onRollOver = displayContent;
rollover3_mc.onRollOver = displayContent;

etc, etc

Any pointers?