for(i=1;i<5;i++){ _root["al"+i+"_Mc"].local_i _root["al"+i+"_Mc"].onRelease = function(){ akarmi.text=local_i } }