Target one movie clip from within another movie clip?

So here’s what I’m fighting with…

I have two movie clips on stage: mc1 and mc2

Within both movie clips, there are 10 frames, all named frame1, frame2, etc…

In “mc1” there is one button on each of the frames named btn1, btn2, etc…

I’m trying to get it so when a button is pressed, (mc1.btn1 or mc1.btn10) it causes the other movie clip to advance to a certain frame.

I’ve tried this code within the mc1 clip, on the same frame as the button:


btn1.addEventListener(MouseEvent.CLICK, btn1Action);

function btn1Action(e:Event) 
	{
	this.parent.mc2.gotoAndPlay("frame2");
	}

But get a 1119 error. (Access of a possibly undefined property mc2 through a reference with static type…

Any ideas/help?

Thanks,

Joe