FLASH CS5, AS3 Movieclip change on multiple rollovers

Hi there!

I’m having a bit of trouble coming up with a solution for a movieclip that I have set to have a rollover function. The first initial rollover changes to a frame of another movieclip on the main timeline. I have a set of buttons at the top, each changing to to a different frame on the main timeline upon rollover. What I would like to do, is somehow link the movieclip rollover to change when the top set of buttons changes as well.

I also want to keep the feature of being able to click on the movieclip rollover again and it stops displaying the linked movieclip.

Here’s a link to my work in progress so you can get a better understanding of my setup (the grey button in the left corner is the movieclip rollover I’m talking about):

Here is the code I am currently using on my initial movieclip rollover:




this.addEventListener(MouseEvent.MOUSE_OVER, OVER)
this.addEventListener(MouseEvent.MOUSE_OUT, OUT)
this.addEventListener(MouseEvent.CLICK, GO)

function GO(e:Event):void{


MovieClip(root).POPS1_mc.gotoAndPlay("hovers")


}

this.buttonMode =  true

function OVER(e:Event):void{

	play();
}



function OUT(e:Event):void{
		
	this.addEventListener(Event.ENTER_FRAME, OUTfade);
}

function OUTfade(e:Event):void{
	if (currentFrame == 1) {
		
			
		this.removeEventListener(Event.ENTER_FRAME, OUTfade);
		}
		
	
		else{
	prevFrame();
		}
}



[/END CODE]
Any help would be VERY very much appreciated! [img]/uploads/default/4621/957302be0b3c73bb.gif[/img]