Invalid metadata

i have 3 movieclips(they should serve as buttons) located in main timeline ( called ‘button1’ ‘button2’ ‘button3’)
and 2 movielcips (‘content’ ‘change’)
bascially i know this proabbably aind the perfect way to do things but what i really dont understand is why am i getting this 2 errors in line 23 , so can you pls help me out?
it says the errors are in this line:
[“button” + broj].removeEventListener(MouseEvent.CLICK, [“function” + broj]);

the errors i get are: 1084:syntax error, expecting identifier before dot
1064:invalid metadata

anyway i really need to fix that soon so all the help is more than welcome

full code is:


import fl.transitions.Tween;
import fl.transitions.easing.*;
stop();

change_mc.addEventListener(Event.ENTER_FRAME, changefunction);
var number:int = 1;
changefunction();

button1.addEventListener(MouseEvent.CLICK, function1);
button2.addEventListener(MouseEvent.CLICK, function2);
button3.addEventListener(MouseEvent.CLICK, function3);

//trigers everyframe to check if efect is on 18 frame than slike goes //nextFrame
function changefunction(event:Event):void{
	if (change_mc.currentFrame == 15 ){
	var dodatak:int = number+1;
	content_mc.gotoAndStop(dodatak);
	}
		if (change_mc.currentFrame == 34 ){
	var myTweenY:Tween = new Tween(["button" + number], "y", Strong.easeOut , 247.95, 32.9, 9, false);
	}
	change_mc.removeEventListener(Event.ENTER_FRAME, changefunction);
	["button" + number].removeEventListener(MouseEvent.CLICK, ["function" + number]);	
}


function function1(event:MouseEvent):void {
	var myTweenY:Tween = new Tween(["button" + number], "y", Strong.easeOut , 32.9, 247.95 , 6, false);
	number = 1 ;
	changefunction();
}

function function2(event:MouseEvent):void {
	var myTweenY:Tween = new Tween(["button" + number], "y", Strong.easeOut , 32.9, 247.95 , 6, false);
	number = 2 ;
	changefunction();
}

function function3(event:MouseEvent):void {
	var myTweenY:Tween = new Tween(["button" + number], "y", Strong.easeOut , 32.9, 247.95 , 6, false);
	number = 3 ;
	changefunction();
}