Multiple Objects of name 'X' do task on clickEvent

I have a number of dynamically created MC's (buttons)
I would like that if one were clicked that ALL of them would do an action.

public...