i have this code…i just want that when i click the duplicated MC then it will trace “button1 clicked” then the other goes also like that…here is the code… thanks in advanced
//var container:MovieClip = setUpContainer();
var ln:Number = 5;
var spacer:Number = 3;
var duplicate:MovieClip;
for(var i:Number = 1; i < ln; i++) {
var newY:Number = i * (box._width + spacer);
duplicate = box.duplicateMovieClip("baks" + i, i, {_x:newY});
/*baks1.onRelease = function(){
trace ("wata na pres1");
}
baks2.onRelease = function(){
trace ("wata na pres2" );
}*/
box._visible = false;
//trace(duplicate); // _level0.clip-[number]
}