Function names and strings

ok so i have a loop that goes throught about 4 times and through eace pass assigns an MouseEvent listener to a button, i would like to store the event listener function names in an array like this
var functionNames:Array = new Array(“functionOne”,“functionTwo”,functionThree");
myButton.addEventListener(MouseEvent.CLICK,functionNames*);

however this doesn’t work, any ideas, thanks

You need to have an actual reference to your functions, so code like this might work, depending on where your functions are defined:

var functionNames:Array = new Array(functionOne,functionTwo,functionThree);

that works great, thanks!