Array problem

Hello and thank you for reading. Here’s my problem:

I have 2 movieclips, mc_projekt1 and mc_projekt2.

I would like to store them in an array and then call a function which works for both of them, hence the array.

Here’s my code:

var over_alpha:Array = new Array(); 
over_alpha = [mc_projekt1, mc_projekt2];

over_alpha.addEventListener(MouseEvent.MOUSE_OVER, Over2);
    function Over2(e:Event):void{
    TweenLite.to(over_alpha, 0.25, {alpha:0.5});
}
over_alpha.addEventListener(MouseEvent.MOUSE_OUT, Out2);
    function Out2(e:Event):void{
    TweenLite.to(over_alpha, 0.25, {alpha:1});
}

I’m getting the following error:

TypeError: Error #1006: addEventListener is not a function.

I’m still really new to actionscript3 and I might be completely off with the way I’m putting my movieclips in the array, but I think I’m pretty close, just don’t understand the error I’m getting.

Hope you can help me out, thank you :slight_smile: