Child calling parent function

I have setup a simple video interface. The video player lives in the parent swf. The video list chooser is loaded as a child swf. In this child swf, I have some video buttons nested within two movieclips in order to facilitate the scrolling feature. I am trying to get the movie buttons to load flvs into the component flv player in the parent swf. I have declared the functions in the parent and I am trying to call them in the child:

Code in the Parent:

function vid1(event:MouseEvent): void{
pubPlayer.source = ‘vid1.flv’;
}

function vid2(event:MouseEvent): void{
pubPlayer.source = ‘vid2.flv’;
}


Code in the child:

vid1_btn.addEventListener(MouseEvent.CLICK, parent.vid1);
vid2_btn.addEventListener(MouseEvent.CLICK, parent.vid2);

Obviously the compiler sees that there is no ‘vid1’ and ‘vid2’ functions in the child swf and it gives an error. I’ve tried preceding the call function with ‘parent’ but no luck. Any idea?

Any help is appreciated.