Assign var value to mc both taken from array

Hello,

I can’t seem to find a way around this one.

2 arrays:

//array containing mc instance name placed on stage
var mc_array = new Array(mc1, mc2, mc3, mc4, mc5, mc6, mc7, mc8, mc9, mc10, mc11);
//array of values for var selMc, to be assigned to mcs
var selMc_array = new Array(“mc1”, “mc2”, “mc3”, “mc4”, “mc5”, “mc6”, “mc7”, “mc8”, “mc9”, “mc10”, “mc11”);

Basically I’m trying to do that when mc_array[0] is pressed it traces the value of selMc_array[0], for mc_array[1]/selMc_array[1]…blabla for the eleventh of them.

I tried with for(g in mc_array), trace mc1 ; for(i=0,i<mc_array,i++) and while which trace mc11 whichever mc you press, plus any type of combination of if/else/onEnterFrame.:cantlook: Anyway I run out of idea and I’ve been searching all afternoon for a solution.

Any kind soul who could put me in the right direction, please.

:beer: