How to achieve this?

Hi

I am using events to manipulate movie clips over and out functionality.

I have a main movie clip which contains all other individual clip e.e clip1 , clip2 and so one and inside clip1 I have two more movie clips sub clip1 and sub clip2. Now when mouse roll over clip one I want to run over event for both sub clips of one and like wise for clip2/

If you have a look at the attached diagram then you will have a better idea of wht I am talking about.

my AS3 code is given below.


mainClip.addEventListener(MouseEvent.MOUSE_OVER, onOver)
mainClip.addEventListener(MouseEvent.MOUSE_OUT, onOut)
mainClip.buttonMode = true

function onOver(event:MouseEvent)
{
    //event.currentTarget.alpha = 0;
    event.target.alpha = 0;
}

function onOut(event:MouseEvent)
{
    //event.currentTarget.alpha = 1;
    event.target.alpha = 1;
}

Thanks