Hi there,

I have a movieclip with loads of instances of the same button inside of it. Each instance name is different, i.e. one might be jeff, the other john another dan etc.

I want to apply the same actions to each instance within the movieclip, but don't really want to have to write the code out again and again e.g.

myMC.jeff.onRelease = function(){
//code goes here
}

myMC.john.onRelease = function(){
//code goes here
}

etc.

Is there a way to find out all the instances within a movieclip and give them all the same code?

Cheers,

Bob
info@bobcooper.org.uk
www.bobcooper.org.uk